7928 Commits

Author SHA1 Message Date
GriffinR f85baa5358 Merge pull request #2164 from cawtds/shop-menu-palette
Document shop menu palette
2025-07-26 14:36:03 -04:00
cawtds 5da5cb4c8c document shop menu palette 2025-07-26 20:19:45 +02:00
GriffinR 6f8a1bbdb8 Add pack/unpack for data masks (#2163) 2025-07-23 09:28:34 +01:00
GriffinR 20012cba6e Merge pull request #2130 from Catnip-Consumer/preproc-windows-fixes
Apply fixes to preproc for Windows compatibility
2025-07-21 18:56:37 -04:00
Philipp AUER e63e89e270 Fix potential stack memory leak in gbagfx due to out of bounds read (#2162)
* fix(tools): gbagfx potential oob read

---------

Co-authored-by: sbird <sbird@no.tld>
2025-07-21 18:33:44 +01:00
GriffinR e22b799d7f Merge pull request #2160 from rayrobdod/align_rl
Fix RL compressed data alignment
2025-07-17 13:22:41 -04:00
Raymond Dodge 80b9c23d0a Fix RL compressed data alignment
`RLUnComp`, like `LZ77UnComp`, expects the source data to be word-aligned.
So, to mirror how lz-compressed data is defined as `u32[]` to enforce
word-alignment, this changes rl-compressed data to be defined as `u32[]`
to enforce word-alignment.
2025-07-06 13:49:47 -04:00
GriffinR aac44d0f91 Merge pull request #2073 from AsparagusEduardo/_pret/pr/pyramidLocation
Improve Pyramid location documentaion
2025-06-30 13:30:14 -04:00
GriffinR 6ead1e50df Merge pull request #2159 from GriffinRichards/mapsec-default
Add explicit defaults for MAPSEC data
2025-06-30 13:25:48 -04:00
GriffinR 0c7c81e02f Merge branch 'master' into _pret/pr/pyramidLocation 2025-06-30 11:51:45 -04:00
GriffinR 44c3069895 Add explicit defaults for MAPSEC data 2025-06-26 16:26:59 -04:00
GriffinR 670d3a6c9f Merge pull request #2152 from GriffinRichards/mapsec-data
Relax MAPSEC region map data requirements
2025-06-25 22:05:35 -04:00
GriffinR 2a7a4f1e76 Merge pull request #2127 from AsparagusEduardo/_pret/maxLinkPlayers
Fix other missing instances of MAX_LINK_PLAYERS
2025-06-25 22:05:13 -04:00
DizzyEggg 9df5ab16e8 Ensure sMonMarkings_Gfx alignment (#2158) 2025-06-25 19:41:23 +01:00
DizzyEggg 64a6e8817c Fix sGpuRegBuffer potential alignment issues (#2157) 2025-06-25 17:54:13 +01:00
DizzyEggg e1b83d6056 Match graphics declarations with externs (#2089) 2025-06-23 20:31:18 +01:00
GriffinR 4ce83c7d96 Merge pull request #2104 from GriffinRichards/fix-collision-comparison
Fix collision comparison in PlayerNotOnBikeMoving
2025-06-22 20:05:30 -04:00
GriffinR f029fc5eac Merge pull request #2156 from DizzyEggg/temps
Fix wrong keep temps files directory in makefile
2025-06-22 19:54:58 -04:00
DizzyEggg 53f8ae11ff Move gTradePlatform_Tilemap to header (#2088) 2025-06-22 19:48:37 -04:00
DizzyEggg 01fc7e76ef Fix wrong keep temps files directory in makefile 2025-06-22 11:26:31 +02:00
GriffinR e2e3438674 Add missing uses of LOCALID_NONE for trainerbattle 2025-06-20 15:33:12 -04:00
psf 75fe3e7da6 Fixed typo in sMoveRelearnerMenuState (#2155) 2025-06-17 15:38:33 +01:00
GriffinR bfa3e4a07b Merge pull request #2145 from abaresk/remove-berryfix
Remove berry yield bug fix
2025-06-15 00:41:33 -04:00
GriffinR 5a3fc2a61b Merge pull request #2154 from DizzyEggg/patch-1
Fix AnimItemSteal_Step3 and AnimKnockOffOpponentsItem matches
2025-06-13 11:28:26 -04:00
DizzyEggg 1cc4321a42 Fix AnimItemSteal_Step3 and AnimKnockOffOpponentsItem matches 2025-06-13 16:45:24 +02:00
GriffinR 50d81616cd Relax MAPSEC region map data requirements 2025-06-10 13:05:03 -04:00
GriffinR ec6e85d4b4 Merge pull request #2151 from ghoulslash/pret/repeatparticlefix
Fix Repeat Ball Particle Animation Sprite Count
2025-06-09 16:43:57 -04:00
ghoulslash 96844bd3bb fix sprite count in RepeatBallOpenParticleAnimation 2025-06-09 16:19:25 -04:00
GriffinR 2101c73266 Merge pull request #2150 from cawtds/list-menu-documentation
Document list menu functions
2025-06-02 21:24:06 -04:00
cawtds b36a78ed47 replace magic numbers with enums 2025-06-02 22:55:41 +02:00
cawtds 0fc900514b sync list menu functions with firered 2025-06-02 22:51:26 +02:00
GriffinR 0c32d840fa Merge pull request #2141 from pret/porymap-6
Update for Porymap 6
2025-05-27 10:53:17 -04:00
GriffinR fba096a500 Remove map_group_count.h 2025-05-22 13:59:23 -04:00
GriffinR d6962aacd7 Merge pull request #2146 from AlexOn1ine/removeFiles
Remove files that were wrongly commited
2025-05-22 13:58:18 -04:00
AlexOn1ine e245f1ec22 Remove files that were wrongly commited 2025-05-22 14:33:31 +02:00
Alex b31a73f990 Rename ItemId_GetX to GetItemX (#2116) 2025-05-22 13:27:52 +01:00
Abaresk bef343cefa Remove berry yield bug fix 2025-05-21 16:11:18 -04:00
Kurausukun bd0a02c456 Correct C23 Checks (#2144) 2025-05-19 15:43:06 +01:00
Bassoonian 59d315734d Update header files to match source files (#2143) 2025-05-19 09:18:04 +01:00
Kurausukun e1e7d1cf35 Fixes for C23 Support (#2138)
* fixes for c23 support
* include global.h in m4a.c & remove <string.h> include
2025-05-19 09:11:59 +01:00
Bassoonian 16357c7e29 Streamline pointer notation (#2139) 2025-05-16 12:04:44 +01:00
GriffinR 74bf498aaa Merge pull request #2137 from mrgriffin/pret-suspicious-setvar
Warn on suspicious setvar usages
2025-05-15 17:21:00 -04:00
Martin Griffin 54e9505d2b Warn on suspicious setvar usages 2025-05-15 09:42:59 +01:00
GriffinR 929bc8b990 Merge branch 'master' of https://github.com/pret/pokeemerald into porymap-6 2025-05-14 11:50:11 -04:00
GriffinR 0aae36984f Merge pull request #2136 from mrgriffin/pret-remove-files
Remove files that should not have been committed in #2126
2025-05-13 12:15:58 -04:00
Martin Griffin 484c41c49d Remove files that should not have been committed 2025-05-13 14:56:31 +01:00
Alex 51b000860b Add BattlerId enum and document (#2135) 2025-05-11 07:36:39 +01:00
Alex baf5be2035 Replace: moveId -> move, moveIdx -> moveIndex (#2134) 2025-05-09 16:33:23 +01:00
Alex 2044bea883 Rename battlerId to battler for consistency (#2126) 2025-05-09 12:43:23 +01:00
Martin Griffin 384b8f127e Merge pull request #2132 from AsparagusEduardo/_pret/pr/respectMonPicOffsets
`InitSpritePosToAnimAttacker` documentation
2025-05-07 07:02:14 +01:00
Eduardo Quezada 15e39339b9 InitSpritePosToAnimAttacker documentation 2025-05-06 15:11:38 -04:00
GriffinR c39ef1a030 Merge pull request #2125 from DavidJCobb/battle-link-re
Battle link reverse-engineering
2025-05-05 18:17:28 -04:00
GriffinR 263026e432 Merge pull request #2128 from DavidJCobb/re-battle-weather-anims
Identified task and sprite fields related to battle weather animations
2025-05-02 11:33:04 -04:00
GriffinR 5a036aedcf Merge pull request #2131 from hedara90/fix-mapson-g++-include
Added missing include due to g++ changes
2025-05-02 11:28:12 -04:00
Hedara c8d3a6b4df Added missing include due to g++ changes 2025-05-02 16:03:55 +02:00
DavidJCobb 0f17e70371 Shorter names for engine/controller communication enum members 2025-05-02 00:01:15 -04:00
DavidJCobb d83b0671f7 Battle anims, ice: ARRAY_COUNT works if used with a cast 2025-05-01 23:49:05 -04:00
Catnip-Consumer 2cc013ff3e Apply fixes to preproc for Windows compatibility 2025-04-28 14:36:19 +03:00
DavidJCobb 35b33a46e9 Identified task and sprite fields related to battle weather animations
Named task and sprite fields related to the animations for Hail, Rain Dance, and Sandstorm.
2025-04-28 05:39:52 -04:00
Eduardo Quezada 56bd65eb9d Fix other missing instances of MAX_LINK_PLAYERS 2025-04-27 22:28:26 -04:00
DavidJCobb 7ee3043c58 Update battle_controllers.h
typo
2025-04-26 11:47:48 -04:00
DavidJCobb 2864408060 Tweaks to documentation comments 2025-04-26 11:40:14 -04:00
DavidJCobb b4ee45f3e8 Renamed BATTLELINKMSGTYPE_ to BATTLELINKCOMMTYPE_
I want to avoid the word "message" since PRET has already chosen "battle message" as the term for predefined strings usable in the battle scripts and UI.

I was considering the term "battle link packet" instead, but the library for wireless communications already uses the word "packet" even though GBATEK does not. I'm going with "battle link communication type" instead. For this particular context, I don't think we need a compound noun ("X type"); the singular noun "type" is fine enough.
2025-04-26 11:37:20 -04:00
DavidJCobb d8721b668e Fixed find-and-replace mistake
Functions were using the wrong constant.
2025-04-26 10:54:22 -04:00
DavidJCobb 8f5c1a452d Update battle_controllers.h
Simplified macros.
2025-04-26 01:33:17 -04:00
DavidJCobb 2738d11b0f Additional fixes to last few commits
ROM now compiles, but it's not comparing as equal...
2025-04-26 01:00:16 -04:00
DavidJCobb bab9f0cfef gBattleControllerExecFlags macro in MarkAllBattlersForControllerExec
whoops, missed one
2025-04-26 00:46:06 -04:00
DavidJCobb a4370ffcde gBattleControllerExecFlags bits now identified via helper macros
Created "exposition" macros to describe operations performed on gBattleControllerExecFlags. Updated the battle engine internals to use them, to more clearly document how battle link communications actually work.
2025-04-26 00:45:03 -04:00
DavidJCobb 9dc48899d3 BUFFER_A/B -> BATTLELINKMSGTYPE; link send/recv. task data names
Replaced the BUFFER_A and BUFFER_B constants with the BATTLELINKMSGTYPE enum, which also identifies the "controller becoming idle" message type.

Named the task data for the link send task and the link receive task. Added macros to functions related to those tasks, for legibility.
2025-04-26 00:13:42 -04:00
Martin Griffin 66c07f9c33 Merge pull request #2123 from estellarc/birch-dialog-box
Missing constant in Birch speech dialogue
2025-04-24 09:04:03 +01:00
Estellar dd70446db5 Added constant in Birch speech dialogue 2025-04-23 18:46:11 -04:00
GriffinR f11bddf854 Fixes for Mirage Tower graphics (#2120)
* Add documentation for CreateCeilingCrumbleSprites

* Combine mirage tower graphics

* Add comment about mirage tower / player palette
2025-04-14 08:12:45 +02:00
GriffinR 709cfa1c9a Merge pull request #2014 from Bassoonian/battleterrain
Rename battle terrain to environment
2025-04-13 19:32:06 -04:00
Martin Griffin 2a0d3fd070 Merge pull request #2118 from cawtds/linkdirection-range-x-access
Make linkDirection more robust to member reordering
2025-04-10 06:47:06 +01:00
GriffinR 6d71c656fc Merge pull request #2119 from pokemonmasteraaron/fix-agbprint
Fixed init call when using AGBPrint as log handler
2025-04-09 13:32:25 -04:00
pokemonmasteraaron d890436b2a Fixed a compilation error if using AGBPrint as your log handler, misnamed AGBPrintfInit should be AGBPrintInit 2025-04-09 09:06:20 -04:00
cawtds 1672d99060 make linkDirection more robust to member reordering 2025-04-09 13:40:39 +02:00
Eduardo Quezada a3075325a0 GENDER_COUNT in sPlayer/RivalAvatarGfxIds (#2117) 2025-04-05 20:18:07 -04:00
DizzyEggg 4618ba7407 Align gMPlayTrack_BGM 2025-04-01 00:31:38 +02:00
Martin Griffin 990d418060 Merge pull request #2114 from aronson/typo-union-room
Fix union room typo
2025-03-28 15:44:25 +00:00
Isaac Aronson 56947be5d6 Fix union room typo 2025-03-28 10:26:01 -05:00
Hedara 521432b269 Renamed a berry tag variable 2025-03-24 13:47:47 +01:00
Martin Griffin c8696bf279 Merge pull request #2112 from hedara90/fix-incorrect-pal-include
Changed unused compressed pal include from u16 to u32
2025-03-24 10:50:24 +00:00
Hedara 4a1d273b08 Changed unused compressed pal include from u16 to u32 2025-03-24 11:41:49 +01:00
Raymond Dodge 7b6b9ab655 Remove casts in decoration.c (#2110) 2025-03-18 18:41:51 -04:00
GriffinR 04eb22f4ea Fix offset for towerInterview in BattleFrontier 2025-03-15 17:45:42 -04:00
GriffinR b464fdbbde Fix collision comparison in PlayerNotOnBikeMoving 2025-02-13 15:37:18 -05:00
GriffinR f827022704 Merge pull request #2103 from fdeblasio/apprenticeIdHexToDec
Converted apprenctice IDs from hex to decimal
2025-02-13 12:39:51 -05:00
Frank a0a8434e26 Converted apprenctice IDs from hex to decimal 2025-02-13 12:13:22 -05:00
GriffinR 45d1c7ca7d Merge pull request #2086 from DizzyEggg/patch-5
extern void * const gNullScriptPtr;
2025-02-11 14:45:19 -05:00
GriffinR 07c897ad48 Merge pull request #2101 from GriffinRichards/heal-locations-file
Generate heal location constants automatically
2025-02-11 14:44:43 -05:00
GriffinR eb8eeaec48 Merge pull request #2094 from hedara90/pc-align-fix
Fixed potential unaligned issue in PC screen
2025-02-11 14:42:19 -05:00
GriffinR a4350005e7 Merge pull request #2092 from AsparagusEduardo/patch-2
Fixed Gen 1/2's Transform "pink color" reference
2025-02-11 14:40:34 -05:00
GriffinR cdadd7d2ed Generate heal location constants automatically, move data back to a single file. 2025-02-03 20:25:11 -05:00
GriffinR 678fdf9979 Merge pull request #2047 from GriffinRichards/generate-map-constants
Generate local IDs from map.json files
2025-02-03 16:18:32 -05:00
shachar700 95aa41f0d4 Fixed switchout bug in multibattle where order of mons gets messed up (#2099) 2025-01-29 07:43:13 +00:00
Raymond Dodge a3d0978762 Replace easy_chat alphabetialOrder magic numbers with EC_INDEX values (#2096) 2025-01-18 20:58:03 -05:00
DizzyEggg e83f7c79eb Fix conflicting types for rotating gate functions (#2087) 2025-01-17 18:19:21 -05:00
DizzyEggg 0a436d580e Extern gSprites and gOamMatrices with known array size (#2090) 2025-01-17 18:18:17 -05:00
GriffinR 2f67b17571 Document bard music (#2053)
* Missing bard song limit constants
* Index bard sound arrays with word constants
* Document bard music
2025-01-17 17:54:38 +00:00
Raymond Dodge b5b0ffd511 Define field script opcode constants (#2005)
Replace the magic number opcodes in field script command macros with
these new constants
2025-01-17 17:04:00 +00:00
Martin Griffin 9952b676db Merge pull request #2095 from DizzyEggg/transition
Fix CaveTransition pals
2025-01-15 09:21:22 +00:00
DizzyEggg 9385dfed67 Fix CaveTransition pals 2025-01-15 10:08:02 +01:00
Hedara 9bf7a772d0 Fixed potential unaligned issue in PC screen 2025-01-14 09:50:08 +01:00
Eduardo Quezada 453bb29b73 Fixed Gen 1/2's Transform "pink color" reference 2025-01-12 07:43:57 -03:00
DizzyEggg 07255a2237 extern void * const gNullScriptPtr; 2025-01-10 11:55:02 +01:00
Martin Griffin 1c765d1126 Merge pull request #2085 from DizzyEggg/patch-4
remove undef TASK_NONE from list_menu
2025-01-09 19:29:09 +00:00
DizzyEggg 84856817b2 remove undef TASK_NONE from list_menu 2025-01-09 19:33:45 +01:00
Martin Griffin 0779c9cf49 Merge pull request #2084 from DizzyEggg/patch-3
extern gAncientPowerRockSpriteTemplate fix
2025-01-09 15:51:10 +00:00
DizzyEggg 9ab4f5d26a extern gAncientPowerRockSpriteTemplate fix 2025-01-09 15:50:39 +01:00
Martin Griffin 697d2b7f30 Merge pull request #2083 from DizzyEggg/patch-2
missing const in extern gBasicHitSplatSpriteTemplate
2025-01-08 06:05:37 +00:00
DizzyEggg 0ec1189f34 extern const gBasicHitSplatSpriteTemplate 2025-01-07 22:14:54 +01:00
Martin Griffin 5e75cd037b Merge pull request #2082 from shachar700/patch-2
Update vars.h (cleanup)
2025-01-06 20:38:52 +00:00
shachar700 a0e8753083 Update vars.h (cleanup)
Removed an extra are
2025-01-06 22:17:24 +02:00
Eduardo Quezada 50d325f081 Slight contest documentation (#2078) 2024-12-27 11:09:33 -05:00
Eduardo Quezada 2a656ff1a5 Applied review changes 2024-12-27 12:40:25 -03:00
DizzyEggg 861c579c11 remove sBirchSpeechPlatformBlackPal (#2075) 2024-12-13 17:39:51 -05:00
GriffinR dbff8c4360 Merge branch 'porymap-6' into generate-map-constants 2024-12-09 20:25:41 -05:00
Eduardo Quezada 29ef1cf9ad Stick to the new name 2024-12-05 21:00:55 -03:00
Eduardo Quezada 720b2daecc Improve Pyramid location documentaion 2024-12-05 18:25:27 -03:00
Martin Griffin 404818e441 Merge pull request #2072 from AsparagusEduardo/_pret/pr/fixStyle
Fixed brace style inconsistencies
2024-12-05 21:10:49 +00:00
Eduardo Quezada 5483e05db6 Fixed brace style inconsistencies 2024-12-05 12:46:50 -03:00
Eduardo Quezada 3f98c78297 Added POKEMART_LIST_END to avoid users accidentally removing it (#1947) 2024-12-04 17:38:23 -05:00
Eduardo Quezada e605ffba53 Fix recorded battle link player loops (#2071) 2024-12-04 16:22:16 -05:00
Eduardo Quezada 4beb0efbcc Added extra encoded character support (#2050) 2024-11-24 20:46:01 -05:00
GriffinR 382ee9e276 Merge branch 'master' of https://github.com/pret/pokeemerald into porymap-6 2024-11-23 16:10:33 -05:00
GriffinR cc388ef30f Merge pull request #2063 from GriffinRichards/region-map-sections
Generate MAPSEC constants from JSON
2024-11-23 16:09:50 -05:00
GriffinR 6560bbab21 Restore .map file creation 2024-11-23 14:17:40 -05:00
Martin Griffin f775b09ae0 Merge pull request #2055 from GriffinRichards/spinda-spots
Add TRY_DRAW_SPOT_PIXEL
2024-11-20 12:22:59 +00:00
GriffinR 9275e71390 Merge pull request #2066 from surtr-games/bugfix_battle_ai
BUGFIX: Fix Counter and Mirror Coat checking the wrong category
2024-11-15 15:18:32 -05:00
surtr-games 13692076f9 Fixed a bug with Counter and Mirror Coat where they would be scored up depending on the wrong target mon type category. 2024-11-14 00:30:25 -05:00
GriffinR 039bc02546 Use size constants for MAPSEC popup theme array 2024-11-12 22:28:01 -05:00
GriffinR 9ea76f9815 Merge pull request #2064 from Lactozilla/fix-contestants-turn-blink-effect-offsets
Remove usage of gHeap in sSpritePalettes_ContestantsTurnBlinkEffect
2024-11-12 12:47:24 -05:00
Lactozilla b60da57d8a Remove usage of gHeap in sSpritePalettes_ContestantsTurnBlinkEffect
Those offsets into gHeap are actually just inside of eContestTempSave.
2024-11-12 14:28:33 -03:00
GriffinR b89fda79ea Generate MAPSEC constants from JSON 2024-11-06 21:43:13 -05:00
Martin Griffin f8119bedd4 Merge pull request #2062 from GriffinRichards/emerald-version-png
Lay out emerald version png horizontally
2024-11-04 20:47:19 +00:00
GriffinR 1b8e6fbe3f Lay out emerald version png horizontally 2024-11-04 15:40:10 -05:00
GriffinR f04c2faeb0 Silence 'Nothing to be done for generated' messages (#2059) 2024-11-03 23:53:53 +01:00
GriffinR da791cde94 Add TRY_DRAW_SPOT_PIXEL 2024-10-24 12:45:47 -04:00
Martin Griffin e45fe13af4 Merge pull request #2052 from fdeblasio/bardDefine
Added define value for bard sound length
2024-10-21 14:50:51 +01:00
Frank 544b76fbbf Added value for bard sound length 2024-10-21 09:04:42 -04:00
GriffinR 0ee9b3cf08 Fix event_constants recipe running twice 2024-10-15 22:17:38 -04:00
GriffinR 0eb6d1d74c Merge branch 'porymap-6' of https://github.com/pret/pokeemerald into generate-map-constants 2024-10-15 22:04:45 -04:00
GriffinR da9c0239d9 Merge branch 'master' of https://github.com/pret/pokeemerald into porymap-6 2024-10-15 22:02:40 -04:00
luckytyphlosion a55c75d350 Get rid of common syms (#2040) 2024-10-14 23:52:11 -04:00
mid-kid 253d3dd7ef Remove unnecessary looping for rule generation and unroll macros (#2046) 2024-10-14 23:47:07 -04:00
GriffinR a0be2cbf7b Fix Fallorbor typo 2024-10-12 23:50:12 -04:00
GriffinR f61c0099b9 OBJ_EVENT_ID_PLAYER/CAMERA -> LOCALID_PLAYER/CAMERA 2024-10-12 23:34:02 -04:00
GriffinR bf17d54b52 Finish adding local IDs to map.json files 2024-10-12 23:32:28 -04:00
GriffinR cb66ea6653 Continue adding local IDs to map.json files 2024-10-12 12:24:57 -04:00
GriffinR a2a3255bdd Fix typo, remove old size check 2024-10-12 03:30:35 -04:00
GriffinR 9f31b0fe90 Generate local IDs from map.json files 2024-10-12 03:04:24 -04:00
GriffinR 6518f1e3ff Merge branch 'master' of https://github.com/pret/pokeemerald into porymap-6 2024-10-11 15:26:58 -04:00
GriffinR 091b7269df Move heal locations data to their associated map.json (#2034) 2024-10-11 15:15:55 -04:00
GriffinR b6892f5b67 Let scaninc ignore empty C files 2024-10-11 15:03:38 -04:00
mid-kid 2c7964dbc2 Fix deleting files with dependency files (#2045) 2024-10-11 14:33:32 -04:00
Martin Griffin fcc067e515 [preproc] support C23 enum underlying type syntax (#2043) 2024-10-11 13:50:26 -04:00
GriffinR af8f4bf45d Merge branch 'master' of https://github.com/pret/pokeemerald into porymap-6 2024-10-11 13:38:04 -04:00
GriffinR 6d24d8a78f Fix libpng installation for workflow on Ubuntu 24.04 2024-10-11 13:29:16 -04:00
Martin Griffin 6395d55b43 Merge pull request #2044 from AreaZR/Excessive
Fix typo: | should be || in Task_TryFieldPoisonWhiteOut
2024-10-10 20:26:12 +01:00
Rose 9ad0018c17 Fix typo: | should be || in Task_TryFieldPoisonWhiteOut
Yes, this is honestly overkill, as it doesn't actually fix any behavioral bugs, but I was suggested to do this. This was a typo made in the source that GameFreak made, and the compiler warns against this. I opened a PR in pokeemerald expansion and was suggested to open one here.
2024-10-10 10:27:33 -04:00
psf 9a24c031bb Replaced copyright magic numbers in intro.c with constants (#2035) 2024-10-02 20:48:54 -04:00
GriffinR 2b73d10a2a Merge pull request #2041 from Jaizu/patch-9
Ignore mGBA screenshots
2024-10-02 15:35:20 -04:00
GriffinR 44e9228a6e Merge pull request #2038 from GriffinRichards/gflib-syms
Remove explicit symbol sizes in sym_common.txt
2024-10-02 15:34:42 -04:00
GriffinR 37d104f7a5 Merge pull request #2039 from Scyrous/patch-1
Bugfix for cable car hikerGraphicsIds array
2024-10-02 15:34:22 -04:00
Jaizu c8cc0fa5a3 Ignore mGBA screenshots
Everytime I make a new project I suffer, please merge.
2024-10-01 10:07:45 +02:00
Scyrous 1dc85df1f0 Update cable_car.c 2024-09-29 14:38:08 +02:00
Scyrous 8e2c3ca3f2 Bugfix for cable car sprite array count 2024-09-29 14:13:50 +02:00
GriffinR 80a37c16be Remove explicit symbol sizes in sym_common.txt 2024-09-25 16:14:10 -04:00
GriffinR a551efea43 Merge branch 'master' of https://github.com/pret/pokeemerald into porymap-6 2024-09-19 12:33:34 -04:00
GriffinR 473e0623ba Merge pull request #2031 from GriffinRichards/fix-toolchain
Minor toolchain fixes
2024-09-19 12:23:58 -04:00
GriffinR 8f41d9eb17 Merge branch 'master' into fix-toolchain 2024-09-19 12:20:51 -04:00
GriffinR 635325304b Merge pull request #2033 from Kurausukun/goodbye_gflib
Remove gflib
2024-09-19 12:19:48 -04:00
GriffinR e4e90eacd6 Merge pull request #2023 from Bassoonian/updatemapmacros
Fix defines in MAP_NUM and MAP_GROUP
2024-09-19 12:17:16 -04:00
Bassoonian cafeb3fa92 Update wild encounters json template 2024-09-19 11:27:02 +02:00
Bassoonian 49735754c3 Remove accidental expansion leftovers 2024-09-19 11:23:33 +02:00
Kurausukun 9cb353179b fix indentation 2024-09-18 10:42:28 -04:00
Kurausukun 52c2728ff6 remove gflib 2024-09-18 10:37:34 -04:00
GriffinR 62c27faba4 Merge pull request #2032 from DizzyEggg/patch-1
remove ScriptContext_Enable from secret_base.h
2024-09-14 13:17:26 -04:00
DizzyEggg c4b5818d98 remove ScriptContext_Enable from secret_base.h 2024-09-14 19:13:02 +02:00
GriffinR db898f8baa Merge pull request #2030 from skyeforeverblue/patch-2
Update pull_request_template.md to include Discord username update
2024-09-14 10:56:50 -04:00
GriffinR bc58a4ac04 Merge pull request #2029 from skyeforeverblue/patch-1
Update INSTALL.md to state that Windows 8 is no longer supported by Microsoft
2024-09-14 10:56:41 -04:00
GriffinR 302193a814 Have scaninc ignore non-existing files 2024-09-14 00:28:57 -04:00
GriffinR b8c71fa84d Fix .d files not updating if .o fails, fix clean rule, remove some unnecessary warnings 2024-09-13 23:38:50 -04:00
GriffinR 7007439be8 Remove old ld_script processing 2024-09-12 13:50:47 -04:00
GriffinR d9b824db3f Sync missing alignment from pokefirered 2024-09-12 12:27:31 -04:00
GriffinR 9e22bf1af4 Merge pull request #1957 from Icedude907/build-music-config
[Build System Rewrite] Improved audio rules
2024-09-12 10:46:30 -04:00
GriffinR 51131e2582 Merge pull request #1954 from Icedude907/build-scaninc-speed
[Build System Rewrite] Massive build speed improvement via scaninc changes
2024-09-12 10:45:41 -04:00
Skye Chappelle a75be4124d Update pull_request_template.md to include Discord username update 2024-09-10 23:39:41 -04:00
Skye Chappelle 28786b42a6 Update INSTALL.md to state that Windows 8 is no longer supported by Microsoft 2024-09-10 23:36:13 -04:00
GriffinR cfdb06a813 Merge pull request #2028 from NTx86/fix-contest-ai-point-macros
Fix incorrect point macros in contest_ai_script.inc
2024-09-08 14:47:28 -04:00
NT_x86 71fcb2e7b5 Fix incorrect point macros in contest_ai_script.inc 2024-09-08 12:50:35 +03:00
GriffinR 04197b4912 Fix swapped cycling road entrances 2024-08-31 01:54:25 -04:00
GriffinR 32f05269a3 Add missing terminal newlines 2024-08-31 00:53:23 -04:00
GriffinR c265c3f837 Merge branch 'master' of https://github.com/pret/pokeemerald into build-music-config 2024-08-31 00:51:15 -04:00
GriffinR 2d5231149e Merge branch 'master' of https://github.com/pret/pokeemerald into build-scaninc-speed 2024-08-31 00:39:48 -04:00
GriffinR 4d74dd5e33 Merge pull request #1950 from Icedude907/build-makefile-cleanup
[Build System Rewrite] Refactored `Makefile`
2024-08-31 00:36:50 -04:00
GriffinR a4dd821658 Restore review changes from dependent PR 2024-08-31 00:33:02 -04:00
GriffinR 19ad2e16ac Merge branch 'master' of https://github.com/pret/pokeemerald into build-makefile-cleanup 2024-08-31 00:17:07 -04:00
Icedude907 625a006cab [Build System Rewrite] mapjson now takes output directory parameters. (#1949) 2024-08-29 14:01:01 -04:00
GriffinR 7532f8ddb8 Revert MB name changes 2024-08-28 11:19:27 -04:00
psf 113226b03a Change metatile behaviors to enum (#2027) 2024-08-28 00:45:09 -04:00
GriffinR bc7c46ffe2 Merge pull request #2026 from mrgriffin/preproc-enum-arbitrary-expr
preproc: support arbitrary expressions in enums
2024-08-26 00:02:41 -04:00
Martin Griffin ac28fc52e5 Merge pull request #2007 from cawtds/ub-fix-battle-transition
UB fix in battle_transition.c
2024-08-21 19:08:07 +01:00
Martin Griffin 56d3faa32f Merge pull request #2025 from Bassoonian/cleandefinespaces
Clean up defines lacking spaces
2024-08-21 19:04:12 +01:00
Martin Griffin ea726eee31 Merge pull request #2024 from luckytyphlosion/master
Slight storage system documentation
2024-08-21 19:02:03 +01:00
Martin Griffin 5c55cc3748 [preproc] support arbitrary expressions in enums 2024-08-21 07:50:41 +01:00
GriffinR 3f49c5cbaf Fix trainer match call flags 2024-08-15 23:00:20 +02:00
Bassoonian c1ee43254e Clean up defines lacking spaces 2024-08-15 19:34:56 +02:00
luckytyphlosion 7d921fa89b Slight storage system documentation 2024-08-14 18:27:44 -04:00
Bassoonian 5fefd743a2 Fix defines in MAP_NUM and MAP_GROUP 2024-08-14 13:02:40 +02:00
GriffinR a3d5f54b75 Fix type for offset in MapConnection 2024-08-13 19:10:24 +02:00
psf 312749dd31 Changed type1 and type2 to be consistent (#2021)
* Changed type1 and type2 in gBattleMons to match gSpeciesInfo
* Changed monType1 and monType2 to monTypes to match gSpeciesInfo
2024-08-07 06:44:03 +01:00
GriffinR 9a3c6d072b Merge pull request #2018 from fdeblasio/fixMtPyreLabel
Fixed bottom half of Mt. Pyre not being labeled in PokeNav
2024-08-05 11:27:01 -04:00
Frank 62b4ea5aaa Fixed bottom half of Mt. Pyre not being labeled in PokeNav 2024-08-01 13:34:17 -04:00
Martin Griffin 30f8ccfe6e Merge pull request #2017 from PokemonSanFran/numSnowflakeSpritesConstant
Added constant for NUM_SNOWFLAKE_SPRITES
2024-07-27 07:26:40 +01:00
pkmnsnfrn 91b48a10d4 Added constant for NUM_SNOWFLAKE_SPRITES 2024-07-26 21:57:42 -07:00
luckytyphlosion 7316e54161 Merge pull request #2016 from luckytyphlosion/master
Fix WSL1 install instructions
2024-07-26 19:22:58 -04:00
luckytyphlosion 3d2b861436 Fix WSL1 install instructions 2024-07-23 17:53:19 -04:00
Philipp AUER 550e6688aa Support C-Style enum in preproc (#1984)
* [preproc] C-style enums

- asm files parseable from stdin
- 2nd preproc pass
- add parser for C-style `enum`
- positional arguments at end of command

---------

Co-authored-by: sbird <sbird@no.tld>
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
2024-07-13 18:26:33 +01:00
Bassoonian 367f6dc8fd Address concerns 2024-07-13 18:01:54 +02:00
Bassoonian 003bd54600 Rename battle terrain to environment 2024-07-13 12:02:18 +02:00
GriffinR a0a02f9733 Merge pull request #2012 from DizzyEggg/patch-1
Berry blender's Task_HandleOpponent small fixes
2024-07-04 15:02:58 -04:00
DizzyEggg 47533e3a7e Berry blender's Task_HandleOpponent small fixes 2024-07-04 20:56:22 +02:00
GriffinR 502eedaed8 Merge pull request #2009 from abcboy101/berry-blender
Decode unused JP text in berry_blender.c
2024-06-29 16:31:56 -04:00
abcboy101 779855ee02 Decode unused JP text in berry_blender.c 2024-06-29 14:02:50 -04:00
cawtds 5eea3d39cd UB fix ClockwiseWipe_TopRight 2024-06-25 21:53:05 +02:00
Martin Griffin cb1a14c9fa Merge pull request #2006 from leo60228/oops-not-expansion
Fix pokeemerald-expansion reference in INSTALL.md
2024-06-21 06:41:52 +01:00
leo60228 5dac97aa5d Fix pokeemerald-expansion reference in INSTALL.md 2024-06-20 15:55:51 -04:00
Alex Nash c0d630ee63 Add support for LF line endings to gbagfx 2024-06-20 21:44:32 +02:00
Martin Griffin 366f8b33a3 Merge pull request #1999 from leo60228/nixos-install
Fix build on NixOS and add instructions to INSTALL.md
2024-06-20 19:10:57 +01:00
Jaizu 189d542520 Fix Steven partner battle post-battle script (#2001) 2024-06-17 15:44:52 -04:00
leo60228 d8d4885c11 Add NixOS install instructions 2024-05-29 19:33:18 -04:00
leo60228 ef2330593c Don't assume bash is at /bin/bash 2024-05-29 19:32:17 -04:00
GriffinR 18f84b78f2 Merge pull request #1998 from Sneed69/define-POKE_ICON_BASE_PAL_TAG
Move POKE_ICON_BASE_PAL_TAG to a header
2024-05-22 20:29:12 -04:00
sneed b592c6eae5 Add POKE_ICON_BASE_PAL_TAG to a header 2024-05-23 02:45:22 +03:00
GriffinR aa4fa925c2 Merge pull request #1995 from Jaizu/adjust_friendship
Make AdjustFriendship more readable
2024-05-21 12:01:53 -04:00
GriffinR 999731fbf1 Merge pull request #1996 from Jaizu/fix_pokeblocks
Fix Pokeblock script missing a releaseall
2024-05-21 11:58:08 -04:00
Jaizu ef03daf6d4 Fix Pokeblock script missing a releaseall 2024-05-19 12:52:04 +02:00
Jaizu 411d7e6177 Make AdjustFriendship more readable 2024-05-14 12:48:20 +02:00
Kurausukun 5dbd90b917 Use Only One Loop in RandomlyGivePartyPokerus (#1991) 2024-04-19 14:17:12 -04:00
GriffinR 9cfe9b1bdd Merge pull request #1990 from NTx86/fix-hoenn-pokedex-pal
Fix hoenn pokedex palette being split in two
2024-04-19 14:14:12 -04:00
GriffinR 8c4b1a37d6 Merge pull request #1989 from NTx86/fix-poison-anim-array
Fix poison projectile array being incorrectly combined into three separate arrays
2024-04-19 14:11:22 -04:00
NT_x86 2b78a85828 Fix hoenn pokedex palette being split in two 2024-04-13 13:09:24 +03:00
NT_x86 c64453efe5 Fix poison projectile array being incorrectly combined into three seperate arrays 2024-04-13 10:14:31 +03:00
GriffinR af0165a35d Merge pull request #1987 from PokemonSanFran/cancelGroundEffectsCamera
Added fix to Keep the Camera from Making Waves
2024-04-11 14:41:04 -04:00
GriffinR a0637251f8 Merge pull request #1986 from LOuroboros/patch-1
Updated value of gMain.inBattle at OpponentHandleEndLinkBattle
2024-04-11 14:39:00 -04:00
GriffinR 0b73cd81d8 Merge pull request #1985 from PokemonSanFran/surfingDismountFix
BUGFIX for Surfing Dismount Ground Effects
2024-04-11 14:38:40 -04:00
pkmnsnfrn f9d690bafe Added fix to Keep the Camera from Making Waves 2024-04-05 14:58:31 -07:00
LOuroboros 3135a1fc2b Updated value-setting of gMain.inBattle at OpponentHandleEndLinkBattle 2024-04-05 17:04:46 -03:00
pkmnsnfrn 71b8d20397 Replaced magic numbers regarding triggerGroundEffectsOnMove to TRUE / FALSE 2024-04-04 16:21:34 -04:00
pkmnsnfrn 7ee921e9da Added BUGFIX for groundEffectsOnMove when the player stops Surfing 2024-04-04 16:17:48 -04:00
GriffinR f19747d6cc Merge pull request #1983 from LOuroboros/modernfateful
Renamed ScrCmd_setmonmodernfatefulencounter and ScrCmd_checkmonmodernfatefulencounter for consistency reasons
2024-03-21 21:28:30 -04:00
GriffinR b08d62b615 Merge pull request #1961 from GriffinRichards/doc-camera-sprite
Document camera sprite functions
2024-03-21 21:23:53 -04:00
GriffinR b4f92ad2e1 Merge pull request #1982 from DizzyEggg/anim_improvements
Simplify weirdly matching division/substraction code
2024-03-21 21:16:56 -04:00
LOuroboros 927f098cf5 Renamed setmodernfatefulencounter and checkmodernfatefulencounter for consistency reasons 2024-03-11 01:46:59 -03:00
DizzyEggg 82f8636502 Simplify division in berry_crush and field weather functions 2024-03-09 20:06:58 +01:00
DizzyEggg 9e67594dce Simplify weirdly matching division/substraction code 2024-03-08 16:19:04 +01:00
GriffinR 82c3e4af14 Merge pull request #1981 from DizzyEggg/patch-3
Make sure gHeap is always aligned
2024-03-07 10:33:52 -05:00
DizzyEggg 7da5cb421e Make sure gHeap is always aligned 2024-03-06 16:13:06 +01:00
GriffinR 954ba0a155 Merge pull request #1980 from Kurausukun/dexcry
Missing Constant in Dex Cry Screen
2024-02-10 09:38:51 -05:00
Kurausukun 3342fdafc2 add missing constant 2024-02-10 05:32:03 -05:00
GriffinR d7a361cef1 Merge pull request #1978 from DizzyEggg/windows_overflow
Fix HideMapNamePopUpWindow possible overflow
2024-02-04 20:34:17 -05:00
GriffinR 246f47d9d0 Merge pull request #1979 from DizzyEggg/patch-2
Change Safe Div to explicitly check b != 0
2024-02-04 20:22:37 -05:00
DizzyEggg 132ca1be14 Change Safe Div to explicitly check b != 0 2024-02-02 22:57:02 +01:00
DizzyEggg e87a69a5e7 Fix HideMapNamePopUpWindow possible overflow 2024-02-02 22:31:20 +01:00
GriffinR 5be69b2713 Merge slot machine smoke SubspriteTable arrays 2024-01-30 11:46:19 -05:00
GriffinR 232eab4bee Merge pull request #1975 from Sierraffinity/jsonproc-fix
jsonproc: filter out every non-alphanumeric character
2024-01-28 13:54:11 -05:00
GriffinR f2276e14a2 Merge pull request #1976 from SBird1337/ld/malloc
fix(linking): link gflib/malloc.c at top of EWRAM in ld_script_modern.ld
2024-01-28 13:39:49 -05:00
sbird e2eca97b02 fix(linking): link gflib/malloc.c at top of EWRAM in ld_script_modern.ld 2024-01-28 12:40:48 +01:00
Sierraffinity b98e044ce9 jsonproc: filter out every non-alphanumeric character 2024-01-27 19:29:29 -08:00
GriffinR 5e47049b3c Merge pull request #1974 from Sierraffinity/gbagfx-fix
gbagfx bit depth upconversion fix
2024-01-27 17:44:44 -05:00
Sierraffinity e85750bb55 gbagfx bit depth upconversion fix 2024-01-27 14:29:31 -08:00
GriffinR bcd5fc1481 Merge pull request #1972 from GriffinRichards/metatile-labels
Remove non-existent tilesets from label comments and alphabetize
2024-01-19 10:44:29 -05:00
GriffinR 1eadbc39da Merge pull request #1973 from AsparagusEduardo/_pret/pr2/braces
Fixed braces style
2024-01-19 10:40:25 -05:00
Eduardo Quezada 8cab1b7094 Fixed braces style 2024-01-18 17:07:17 -03:00
GriffinR 8e8d2f5efa Remove non-existent tilesets from label comments and alphabetize 2024-01-18 14:31:04 -05:00
GriffinR 6c96641035 Merge pull request #1969 from Kurausukun/macros
Safeguard SQUARE and CUBE Macro Arguments in Parentheses
2023-12-27 17:39:37 -05:00
Kurausukun 7567b0a57a safeguard SQUARE and CUBE macro arguments in parentheses 2023-12-27 17:29:35 -05:00
GriffinR 6385f0426d Merge pull request #1968 from Jaizu/patch-5
Missing constant
2023-12-20 09:03:35 -05:00
Jaizu 027dccfc95 Missing constant 2023-12-20 12:24:52 +01:00
GriffinR 0e10fc3ca5 Merge pull request #1966 from Bassoonian/pokeacutemonpret
Clean up pokemon/ball/dex mentions in comments
2023-12-13 13:30:32 -05:00
Bassoonian f8a4cf9d85 Update pokedex.c 2023-12-13 09:52:04 +01:00
Bassoonian 6365431122 Add PokéNav too 2023-12-12 23:20:22 +01:00
Bassoonian bc2a745171 Fix accidental symbol replacements 2023-12-12 23:18:35 +01:00
Bassoonian e5ac2fe0b1 Clean up pokemon/ball/dex mentions in comments 2023-12-12 19:02:36 +01:00
GriffinR e4149e83f8 Merge pull request #1962 from LOuroboros/patch-1
Updated the size of the struct InGameTrade's otName variable
2023-12-02 10:44:31 -05:00
LOuroboros 05708ace88 Updated the size of the struct InGameTrade's otName variable 2023-12-02 12:11:22 -03:00
GriffinR 15e1cd81a7 Merge pull request #1952 from Icedude907/build-linkerscript
[Build System Rewrite] Linkerscript now tracks RAM/ROM usage
2023-11-23 17:01:29 -05:00
Icedude907 e5ac2a103e Incorporate review changes 2023-11-24 10:25:39 +13:00
GriffinR 2db9ab2a2f Document camera sprite functions 2023-11-22 13:52:56 -05:00
GriffinR b302291bd3 Merge pull request #1953 from Icedude907/move-files
Moved files - spinda spots, jp fonts, redyellowgreen_frame.bin
2023-11-20 12:27:05 -05:00
GriffinR 758f7446f0 Merge pull request #1959 from SnorlaxMonster/master
Rename HITMARKER_IGNORE_SAFEGUARD
2023-11-18 08:43:44 -05:00
SnorlaxMonster 190e77e9c8 Rename HITMARKER_IGNORE_SAFEGUARD
Rename HITMARKER_IGNORE_SAFEGUARD to HITMARKER_STATUS_ABILITY_EFFECT.
This flag is used exclusively by status-inflicting Abilities,
and has 3 main functions:
- Whether the effect bypasses Shield Dust
- Whether the effect bypasses Safeguard
- Which text string to display when the status condition is inflicted
   (i.e. whether it was inflicted by a move or Ability)

I believe this new name better represents what the flag actually does.
This name was structured to parallel HITMARKER_SYNCHRONISE_EFFECT.
2023-11-18 13:57:50 +11:00
Icedude907 5e4e522d92 .cfg edits now rebuild .mid 2023-11-15 17:33:25 +13:00
Icedude907 cf1eaea7f7 Coalesced audio rules into audio.mk 2023-11-15 13:36:35 +13:00
Icedude907 85f4ca6943 All mid2agb songs are controlled by a midi.cfg file 2023-11-15 13:26:49 +13:00
Icedude907 4b2054c3ea Parallel SCANINC via .d generation.
Secondary expansion is redundant.
2023-11-12 16:38:32 +13:00
Icedude907 a0bf504bc1 Linkerscript now tracks RAM/ROM usage 2023-11-12 15:24:10 +13:00
Icedude907 81f397360e Moved files - spinda spots, jp fonts, redyellowgreen_frame.bin 2023-11-12 14:28:11 +13:00
Icedude907 2198ca31c7 Reordered makefile.
Added some documentation and simplified dependency scanning.
2023-11-12 13:57:44 +13:00
Icedude907 7fa9819d9a Makefile uses make_tools, mapjson takes out dir.
Removed generated files (layouts.h, map_groups.h) from git.
2023-11-12 00:53:34 +13:00
GriffinR 12a64fecb4 Merge pull request #1936 from GriffinRichards/doc-datahpupdate
Document datahpupdate
2023-11-07 12:25:26 -05:00
GriffinR 2e1fe4c82b Merge pull request #1940 from LOuroboros/copyMonToPC
Renamed SendMonToPC to CopyMonToPC instead
2023-11-07 12:22:31 -05:00
GriffinR 92e7963eff Merge pull request #1939 from Bassoonian/noeggsdiscovered
Rename Undiscovered to No Eggs Discovered
2023-11-07 12:20:07 -05:00
GriffinR 973f797d95 Merge pull request #1944 from quocmanh94/master
Delete the redundant files generated after running build
2023-11-03 01:56:43 -04:00
quocmanh94 a093e402d5 Delete the redundant files generated after running build 2023-11-03 12:50:47 +07:00
GriffinR 959623f82e Merge pull request #1942 from KABoissonneault/fix/dual-non-immunity
Added BUGFIX for "dual non-immunity" glitch.
2023-11-02 11:26:58 -04:00
kaboissonneault 5ddf3e2ee5 Fixed casing in comment on "dual non-immunity" glitch 2023-11-02 11:17:57 -04:00
kaboissonneault 3122d744f5 Added BUGFIX for "dual non-immunity" glitch. In certain AI script commands, the call to TypeCalc does not assign effectiveness flags properly, resulting in the check for immunity always failing 2023-11-02 09:48:13 -04:00
LOuroboros d44b2a972d Renamed SendMonToPC to CopyMonToPC instead
"SendMonToPC" implies that the Pokémon affected is actually sent over to the PC, but in reality the function simply copies the data of the Pokémon and then pastes it in the first available slot of the Pokémon Storage System.
2023-10-31 04:36:46 -03:00
Bassoonian cd9ef3a566 Formatting fix 2023-10-28 16:34:11 +02:00
Bassoonian f472d768dd Rename Undiscovered to No Eggs Discovered 2023-10-28 16:32:55 +02:00
GriffinR 2304283c3e Merge pull request #1935 from GriffinRichards/bugfixfix
Use BUGFIX in assembly files
2023-10-26 17:42:41 -04:00
GriffinR c169b856d4 Merge pull request #1937 from kittenchilly/removewhitespace
Remove all trailing whitespace
2023-10-26 10:09:00 -04:00
GriffinR 3a8df46832 Merge pull request #1938 from AsparagusEduardo/pret/pr2/ndebugModern
Fix mini_printf encoded string -Werror=pointer-sign warning
2023-10-26 10:08:25 -04:00
Eduardo Quezada 25d6f8ba74 Fix mini_printf encoded string -Werror=pointer-sign warning 2023-10-26 09:25:50 -03:00
kittenchilly 333523e5f7 Remove all leading whitespace 2023-10-23 13:24:38 -05:00
GriffinR 5712777dc2 Correct dynamic type flag name 2023-10-20 12:57:36 -04:00
GriffinR ffdc2456cb Document datahpupdate 2023-10-20 12:50:32 -04:00
GriffinR a5c2ac5e49 Use BUGFIX in assembly files 2023-10-20 09:10:49 -04:00
GriffinR ad0c28df70 Merge pull request #1919 from AnonymousRandomPerson/master
Replaced decomp list with pret.github.io link
2023-10-17 02:44:08 -04:00
GriffinR 104e81b359 Merge pull request #1915 from GriffinRichards/misc-tasks
Add some task/sprite data defines
2023-10-07 21:34:52 -04:00
GriffinR f01a6afc98 Merge branch 'master' into misc-tasks 2023-10-07 17:25:20 -04:00
marlux895 0e84c7deb3 corrected comment, tough to smart 2023-10-07 17:23:52 -04:00
Thomas Winwood 054d0f9852 Remove fakematch in NewGameInitPCItems 2023-10-07 12:52:57 -04:00
GriffinR 6f71fbe521 Add some missing trainer hill constant usage 2023-10-06 15:17:55 -04:00
GriffinR dec4b580a3 Merge pull request #1930 from KABoissonneault/fix/factory_oob
Fixed out-of-bounds access in GetFactoryMonFixedIV for BUGFIX
2023-10-05 11:51:17 -04:00
kaboissonneault 0a183c2027 Changed sFixedIVTable access from hardcoded index limits to ARRAY_COUNT 2023-10-05 08:26:34 -04:00
kaboissonneault 3a8a82d385 Fixed out-of-bounds access in GetFactoryMonFixedIV when generating player rentals in round 8 (if player has 15+ swaps) and in round 9 2023-10-04 09:18:02 -04:00
GriffinR 654b6380b1 Merge pull request #1926 from AsparagusEduardo/pret/pr2/EggWall
Solved a bunch of -Wall errors on modern
2023-10-01 11:57:30 -04:00
GriffinR 3ff27bdae0 Merge pull request #1928 from kittenchilly/friendship
Add friendship evo threshold constant
2023-10-01 11:53:03 -04:00
Eduardo Quezada b724cfc578 Review comment 2023-09-30 18:22:38 -03:00
kittenchilly cc30dc06d5 Add friendship evo threshold constant 2023-09-26 16:25:15 -05:00
GriffinR 3eb1fa6fcb Merge pull request #1925 from AsparagusEduardo/pret/pr2/dayNightConst
Slight RTC documentation + Evolution times constants
2023-09-26 15:01:37 -04:00
GriffinR 7cc75eb5b8 Merge pull request #1927 from Kurausukun/m4asym
Add Missing Constant Usage in m4a_1
2023-09-23 21:49:12 -04:00
Kurausukun 6eb6282c89 add missing constant usage in m4a_1 2023-09-23 17:06:12 -04:00
Eduardo Quezada aff709a3cb Fixed dumb mistake 2023-09-22 14:17:23 -03:00
Eduardo Quezada 03a1e7779b Null dereferencing fix 2023-09-22 11:23:27 -03:00
Eduardo Quezada a56eb4f53f Review changes. 2023-09-22 11:19:00 -03:00
Eduardo Quezada 927e4b6071 Renamed time amounts 2023-09-20 19:04:50 -03:00
Eduardo Quezada af210da972 Solved a bunch of -Wall errors on modern 2023-09-20 19:01:08 -03:00
GriffinR 003d7d7e2e Merge pull request #1923 from SBird1337/bugfix/ability-wild-mons
[BUGFIX] for abilities affecting wild encounter tables
2023-09-19 14:47:25 -04:00
Eduardo Quezada fb6f45b2c3 Slight RTC documentation + Evolution times constants 2023-09-17 13:45:06 -03:00
sbird 4ed4b69019 [BUGFIX] for abilities affecting wild encounter tables
fixes a potential buffer overread in TryGetAbilityInfluencedWildMonIndex.
The bug can occur if an electric type mon is in the first slots of a fishing
encounter table and the player carries a mon with the `ABILITY_STATIC` ability.
This never happens in the vanilla codebase.
2023-09-15 19:11:25 +02:00
GriffinR de3493ff0e Merge pull request #1921 from citrusbolt/blockboxrs
[LEAK-INFORMED] Add `blockBoxRS` field to `struct BoxPokemon`
2023-09-12 18:48:05 -04:00
GriffinR 16c0a24683 Merge pull request #1922 from AsparagusEduardo/pret/pr2/MrMime
Fixed Mr. Mime capitalization
2023-09-12 12:26:34 -04:00
Eduardo Quezada b89722500f Fixed Mr. Mime capitalization 2023-09-12 13:09:56 -03:00
citrusbolt d31b168522 Add blockBoxRS field to struct BoxPokemon 2023-09-05 06:17:10 -06:00
GriffinR 4439253f39 Add include guards for assembly constants files 2023-09-03 20:57:54 -04:00
AnonymousRandomPerson a8d0a0d709 Replaced decomp list with pret.github.io link 2023-08-30 00:08:19 -04:00
GriffinR d67914e114 Merge pull request #1912 from GriffinRichards/moves-mask
Handful of fixes related to MAX_MON_MOVES
2023-08-27 19:40:59 -04:00
GriffinR dcaf03e360 Merge pull request #1918 from WhenGryphonsFly/key_intr_enable
Correct KEY_INTR_ENABLE
2023-08-27 17:23:16 -04:00
WhenGryphonsFly 5abeb6718d Correct KEY_INTR_ENABLE 2023-08-27 14:30:57 -05:00
GriffinR 843830374c Merge pull request #1916 from grunt-lucas/gbagfx-cc
gbagfx to respect user CC setting
2023-08-22 14:57:32 -04:00
grunt-lucas 9d170c7e35 gbagfx to respect user CC setting 2023-08-22 07:37:48 -07:00
GriffinR 56ff4ce998 Add defines for field effect sprite data, misc task data 2023-08-20 17:45:58 -04:00
GriffinR e70577d59b Add missing sizeof in trainer_see 2023-08-20 17:22:29 -04:00
GriffinR 4941e2602a Merge pull request #1909 from GriffinRichards/stat-anim
Document stat change animation
2023-08-20 14:29:11 -04:00
GriffinR 6792028254 Document title screen task data 2023-08-20 01:18:44 -04:00
GriffinR 5beec06d9d Document Task_MapNamePopUpWindow 2023-08-19 17:20:53 -04:00
GriffinR 4f3068406c Merge pull request #1914 from AnonymousRandomPerson/master
Added newer decomp projects to readme
2023-08-18 23:45:44 -04:00
AnonymousRandomPerson 63f39133ab Added newer decomp projects to readme 2023-08-18 23:38:14 -04:00
GriffinR bdc0ea1037 Add MOD to match mod with powers of 2 2023-08-16 16:44:45 -04:00
GriffinR 057928438a Document ChooseMoveAndTargetInBattlePalace 2023-08-16 16:41:29 -04:00
GriffinR aca7998b93 Add missing use of ALL_MOVES_MASK 2023-08-16 14:33:15 -04:00
GriffinR 10a10e914b Merge pull request #1910 from GriffinRichards/misc-constants
Use miscellaneous missing constants
2023-08-15 17:53:41 -04:00
GriffinR 4c2b12541b Merge pull request #1908 from GriffinRichards/name-buffer
Automatically update nickname buffer sizes
2023-08-12 23:36:19 -04:00
GriffinR 344fe4dd65 Stop double-counting EOS in assert 2023-08-12 23:13:11 -04:00
GriffinR c5fb5fbb5f Merge pull request #1906 from AsparagusEduardo/pret/pr2/butItFailed
Renamed "ButItFailed" script names
2023-08-12 23:00:57 -04:00
Eduardo Quezada 33b16cb82d 2nd pass 2023-08-11 16:55:27 -04:00
GriffinR b248791f47 Merge pull request #1904 from GriffinRichards/temp-alias
Add temp flag and var aliases
2023-08-11 15:45:00 -04:00
GriffinR a0b42d0cd6 Merge pull request #1911 from Kermalis/remove-ewram-in-headers
Remove ewram in headers
2023-08-10 20:16:12 -04:00
Kermalis 9226b23fb8 Remove ewram in headers 2023-08-10 20:11:07 -04:00
GriffinR 60a6c9d160 Merge pull request #1903 from GriffinRichards/frontier-gfx
Fix some frontier gfx, adjacent cleanup
2023-08-10 14:49:44 -04:00
GriffinR d5d46bb438 More DISPLAY_WIDTH/HEIGHT constant usage 2023-08-10 01:42:38 -04:00
GriffinR 18319e8da3 Misc missing constant use 2023-08-10 01:42:18 -04:00
GriffinR 079f2da0f6 Fix some missing constant use in Apprentice 2023-08-10 00:38:23 -04:00
GriffinR d1c2a30149 Merge pull request #1907 from GriffinRichards/fix-tv
Fix Bravo Trainer Tower member names
2023-08-09 15:25:45 -04:00
GriffinR 6eaaa50ad5 Correct berry fix graphics colors, more PLTT constant use (#1892) 2023-08-09 12:49:21 -04:00
Martin Griffin 912a80e27a Reference TMs and HMs by move instead of number (#1732) 2023-08-09 10:51:01 -04:00
GriffinR 6598cb30bc Document stat change animation 2023-08-08 23:56:16 -04:00
GriffinR 65fee186f8 Automatically update nickname buffer sizes 2023-08-08 16:28:09 -04:00
GriffinR 087a2cecef Fix Bravo Trainer Tower member names 2023-08-08 14:38:00 -04:00
Eduardo Quezada 8a3eaadf7b Renamed "ButItFailed" script name to align with names below it 2023-08-08 08:58:57 -04:00
GriffinR 41847cd5aa STAT_ANIM constant usage 2023-08-04 16:27:45 -04:00
GriffinR 866c32a735 Add temp var aliases 2023-08-04 14:17:28 -04:00
GriffinR 6d4dadd7b5 Add temp flag aliases 2023-08-03 15:55:06 -04:00
GriffinR 16c0be7ed2 Fix some frontier gfx, adjacent cleanup 2023-08-03 11:15:15 -04:00
GriffinR da238562f0 Merge pull request #1902 from AsparagusEduardo/pret/rgb
Using RGB color constants where appropiate
2023-07-31 17:55:11 -04:00
Eduardo Quezada f8c0f91c66 Using RGB color constants where appropiate 2023-07-31 15:33:14 -04:00
GriffinR 39192725f2 Merge pull request #1901 from mrgriffin/pret-potential-misalignment
Detect potential misalignment in modern
2023-07-25 14:21:42 -04:00
Martin Griffin 31a3ada7de Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
Martin Griffin b53cca1a06 Declarations for 2- and 3-argument GetMonData (#1756)
* Type-safe GetMonData/GetBoxMonData

* Comments
2023-07-24 09:57:37 -04:00
GriffinR 56ec3b6461 Merge pull request #1900 from Bassoonian/priortiy
Fix priortiy typos
2023-07-19 11:44:10 -04:00
Bassoonian 7fa6ed8b05 Fix priortiy typos 2023-07-19 17:33:28 +02:00
luckytyphlosion 8ec0bff034 Update msys2 instructions
Add pacman -Sy msys2-keyring
2023-07-18 19:28:41 -04:00
GriffinR d79e62690b Merge pull request #1899 from gruxor/master
Remove unused macro to fix syntax highlights
2023-07-15 13:28:29 -04:00
gruxor 5fd881a1b6 Remove unused macro to fix syntax highlights 2023-07-12 14:44:23 -04:00
GriffinR f4111d8082 Sync castform folder organization 2023-07-09 14:57:51 -04:00
GriffinR 010ce6bc63 Revert "Install libpng using pacman instead of manual build for msys2"
This reverts commit dc2e210ade.
2023-07-06 11:56:04 -04:00
GriffinR 8822264130 Merge pull request #1896 from PokemonSanFran/incrementgamestat_fix
Added bugfix for SaveBeforeLinkMultisChallenge to remove extra incrementgamestat
2023-06-29 11:45:13 -04:00
PSF b2901c51b0 Added bugfix for SaveBeforeLinkMultisChallenge to remove extra incrementgamestat 2023-06-27 15:34:31 -07:00
GriffinR fce97dc397 Merge pull request #1891 from ipatix/makefilefix
Fix compilation for modern under certain circumstances
2023-06-08 12:20:42 -04:00
Michael Panzlaff 2651401e6b Fix PATH for modern target for non dkp systems
When prepending something to PATH, we should use PATH=/foo/bar:$PATH
and not PATH=/foo/bar:PATH. Because your shell won't certainly find
something under the literal name PATH.

If one is not using devkitarm, TOOLCHAIN will resolve to an empty
string. If TOOLCHAIN is an empty string the only search path for the
modern gcc will be /bin which may work on some installations but is
probably not what was originally intended with this line. So let's just
search the standard search path if nothing can be found under $(TOOLCHAIN).

Either way, PATH is already set up previously, so we can make sure
MODERNCC is invoked properly by calling MODERNCC with PATH=$(PATH).
2023-06-08 12:42:17 +02:00
GriffinR 7ecdb3046a Merge pull request #1894 from mrgriffin/patch-2
Fix EWRAM_DATA wildcards
2023-06-06 09:32:11 -04:00
Martin Griffin 62f592f4df Fix EWRAM_DATA wildcards
`ewram_data` not `.ewram_data`, doh!
2023-06-06 09:02:52 +01:00
GriffinR 9c4a59f865 Fix swapped Dodrio Berry Picking palettes 2023-06-05 19:53:59 -04:00
GriffinR 86459acb69 Fix sTVPokemonAnslerTextGroup typo 2023-06-05 13:13:35 -04:00
GriffinR 859eb4dab6 Merge pull request #1893 from Bassoonian/fixfishinggamestat
Rename GAME_STAT_FISHING_CAPTURES to GAME_STAT_FISHING_ENCOUNTERS
2023-06-05 08:45:05 -04:00
Bassoonian 7bf34448e4 Rename GAME_STAT_FISHING_CAPTURES to GAME_STAT_FISHING_ENCOUNTERS 2023-06-05 14:15:07 +02:00
GriffinR 23b57050c2 Fix some compressed tilemaps 2023-06-01 15:31:12 -04:00
GriffinR 5100eef017 Merge pull request #1890 from GriffinRichards/pal-macro
Add some missing palette macro use
2023-05-28 18:28:50 -04:00
GriffinR 890d00471a Merge pull request #1886 from GriffinRichards/1bpp
Index footprint images, convert Spinda spots to .png files
2023-05-27 21:58:45 -04:00
GriffinR 14f7e49099 Add some missing palette macro use 2023-05-25 15:09:16 -04:00
GriffinR 6fdf75bd8c Support plain pixel conversion, convert spinda spots to .png 2023-05-11 13:41:38 -04:00
GriffinR 8c537ccd72 Colorize bag select button 2023-05-10 00:33:43 -04:00
GriffinR 41ac28b210 Index pokemon footprint pngs 2023-05-09 22:43:48 -04:00
GriffinR 8b37b4292a Document DrawFootprint 2023-05-09 22:43:25 -04:00
GriffinR 1497719f8c Merge pull request #1884 from GriffinRichards/mapjson-err
Fix mapjson misreporting errors when processing map_groups.json
2023-05-09 10:48:29 -04:00
GriffinR dd65eddbdd Merge pull request #1883 from GriffinRichards/doc-mod
Add some missing ARRAY_COUNT, make TV_SHOWS_COUNT depend on NUM_NORMAL_TVSHOW_SLOTS
2023-05-05 02:38:30 -04:00
GriffinR f91abdf765 Merge pull request #1882 from GriffinRichards/ambient
Add time ranges to UpdateAmbientCry
2023-05-05 02:16:57 -04:00
GriffinR 8e5347b450 Fix mapjson misreporting errors when processing map_groups.json 2023-04-30 23:29:31 -04:00
GriffinR c2dad5ac44 Redefine TV_SHOWS_COUNT 2023-04-27 13:59:09 -04:00
GriffinR 36e6981ac0 Replace some & usage with % 2023-04-26 16:12:00 -04:00
GriffinR e83e08f21c Add time ranges to UpdateAmbientCry 2023-04-26 12:32:43 -04:00
GriffinR 73a6a583b3 Merge pull request #1879 from GriffinRichards/cable-car-tilemap
Use tilemap file for cable car pylons
2023-04-09 13:19:43 -04:00
GriffinR d4e243136f Merge pull request #1878 from GriffinRichards/num-text-printers
Replace NUM_TEXT_PRINTERS with WINDOWS_MAX
2023-04-08 08:41:04 -04:00
GriffinR 57396026b2 Replace NUM_TEXT_PRINTERS with WINDOWS_MAX 2023-03-31 14:57:51 -04:00
GriffinR 4b859ff1e4 Use tilemap file for cable car pylons 2023-03-31 00:44:22 -04:00
GriffinR 6be9a79b8c Merge pull request #1871 from GriffinRichards/doc-trendy-sayings
Document the trendy sayings word group
2023-03-24 08:05:51 -04:00
GriffinR 590eda3446 Merge pull request #1875 from Zunawe/fix-scanner-flag-name
Fix scanner item flag name
2023-03-24 01:04:04 -04:00
Zunawe 492422b6bd Fix scanner item flag name 2023-03-23 21:47:26 -07:00
GriffinR 8d67bebd51 Merge pull request #1869 from GriffinRichards/const-map
Treat map data as const
2023-03-22 13:00:06 -04:00
GriffinR 00e211a417 Merge pull request #1873 from AsparagusEduardo/pret/pr2/stringConversionIDE
Changed IDE macros to allow their use in compound literals without IDE errors
2023-03-15 03:00:01 -04:00
GriffinR 02a37830cc Merge pull request #1872 from AsparagusEduardo/pret/pr2/friendship
Added STANDARD_FRIENDSHIP constant to allow easier custom adjustments
2023-03-15 02:52:45 -04:00
Eduardo Quezada 2cb54c49da Changed definitions of string conversion IDE macros to allow their use in compound literals without IDE errors 2023-03-14 15:38:18 -03:00
Eduardo Quezada 0a9ab96390 Added STANDARD_FRIENDSHIP constant to allow easier custom adjustments 2023-03-14 08:54:49 -03:00
GriffinR 0c380862d6 Document the trendy saying word group 2023-03-13 15:58:40 -04:00
GriffinR dbf757be88 Treat map data as const 2023-03-08 12:00:30 -05:00
GriffinR bb078e0618 Merge pull request #1864 from AsparagusEduardo/pret/doc/songsComments
Document music usage to make it easier to search for a specific track
2023-03-05 15:29:38 -05:00
Eduardo Quezada a6bd35ceab Review changes 2023-03-05 17:17:39 -03:00
GriffinR ce6875817f Merge pull request #1860 from GriffinRichards/metatile-labels
Format metatile_labels
2023-03-04 23:36:04 -05:00
GriffinR 4d99d2c926 Merge pull request #1859 from AsparagusEduardo/pret/doc/natures
Reformatted gNatureStatTable
2023-03-04 23:31:43 -05:00
GriffinR ec89e519f9 Merge pull request #1858 from AsparagusEduardo/pret/doc/fateful
Rename eventLegal to modernFatefulEncounter
2023-02-28 11:48:34 -05:00
GriffinR adf28c2f63 Merge pull request #1855 from GriffinRichards/doc-chat
Add/correct some union room chat documentation
2023-02-27 13:25:05 -05:00
GriffinR 8d88a38561 Merge pull request #1854 from GriffinRichards/constants-num-frames
Add MAX_MON_PIC_FRAMES, and trainer pic size constants
2023-02-27 13:16:49 -05:00
GriffinR 4a6ea87247 Merge pull request #1865 from AsparagusEduardo/pret/doc/species2
Renamed MON_DATA_SPECIES2 to MON_DATA_SPECIES_OR_EGG for clarity
2023-02-27 13:06:04 -05:00
GriffinR c7b50c6dcb Merge pull request #1866 from AsparagusEduardo/pret/feature/toolsWhitelist
Whitelist instead of Blacklist for TOOLDIRS in Makefiles
2023-02-27 12:59:52 -05:00
GriffinR be84793713 Let scaninc/preproc ignore empty asm files 2023-02-27 12:47:35 -05:00
GriffinR 588100e4ab Merge pull request #1867 from Zunawe/fix-item-flag
Fix wrong route in item flag name
2023-02-25 17:12:08 -05:00
Zunawe f376b71f7c Fix wrong route in item flag name 2023-02-25 13:48:39 -08:00
Eduardo Quezada d00c8902f9 Whitelist instead of Blacklist for TOOLDIRS in Makefiles 2023-02-25 16:49:41 -03:00
Eduardo Quezada 079ca8ab29 Renamed MON_DATA_SPECIES2 to MON_DATA_SPECIES_OR_EGG for clarification 2023-02-24 07:53:02 -03:00
Eduardo Quezada d330ca051a Document music usage to make it easier to search for a specific track 2023-02-23 11:44:23 -03:00
Eduardo Quezada f5aa3b8272 Document the 2 different sText_GotchaPkmnCaught 2023-02-23 11:43:40 -03:00
GriffinR f209a5a66c Merge pull request #1863 from Zunawe/fix-hidden-item-flag
Fix wrong route in hidden item flag name
2023-02-22 16:20:55 -05:00
Zunawe 60be59d18b Fix wrong route in hidden item flag name 2023-02-22 13:13:57 -08:00
GriffinR d45e67e16e Merge pull request #1862 from Zunawe/fix-spelling
Fix spelling mistake for item flag
2023-02-20 22:10:07 -05:00
Zunawe 8f74a6777a Fix spelling mistake for item flag 2023-02-20 18:17:30 -08:00
GriffinR f888021c8f Merge pull request #1857 from GriffinRichards/sync-mapjson
Sync mapjson
2023-02-19 20:48:13 -05:00
GriffinR a164a021e4 Merge pull request #1861 from LOuroboros/metatitle
Fixed minor spelling mistake
2023-02-17 15:26:38 -05:00
LOuroboros 4be4ec3081 metatitleBehavior -> metatileBehavior 2023-02-17 16:43:22 -03:00
GriffinR bc3805f9d3 Fix two binary palettes 2023-02-17 13:27:39 -05:00
Eduardo Quezada dbd02d3a56 Clarified Champion Ribbon's description to avoid being interpreted as needing to beat the champion in both RSE and FRLG. 2023-02-15 14:06:42 -03:00
Eduardo Quezada bd54990333 Review changes 2023-02-15 13:56:11 -03:00
GriffinR 69fdf0faa4 Merge pull request #1853 from GriffinRichards/doc-contest-bar
Clarify AI_CV_AttackDown_UnknownTypeList
2023-02-15 11:29:57 -05:00
GriffinR 671c9c5353 Merge branch 'master' into doc-chat 2023-02-15 10:57:05 -05:00
GriffinR ef950e6663 Merge pull request #1852 from GriffinRichards/doc-windows
Document window IDs
2023-02-15 10:47:13 -05:00
GriffinR a322379feb Merge branch 'master' into doc-windows 2023-02-15 10:04:48 -05:00
GriffinR 9c1c598160 GROUPTYPE_NONE to unsigned 2023-02-15 09:49:33 -05:00
GriffinR d3d680c1dd Sort metatile labels alphabetically 2023-02-14 14:36:27 -05:00
GriffinR b656565af0 Standardize RS mossdeep gym metatile labels 2023-02-14 11:42:13 -05:00
GriffinR 0df56b808d Remove duplicate metatile label sections 2023-02-14 11:40:15 -05:00
Eduardo Quezada d699d55ba3 Reformatted gNatureStatTable 2023-02-12 01:19:03 -03:00
Eduardo Quezada a937b3221a Documented Ribbons 2023-02-11 23:16:24 -03:00
Eduardo Quezada 96865f66af Updated term to modernFatefulEncounter 2023-02-11 22:36:42 -03:00
Eduardo Quezada 6da5e0a280 Rename eventLegal to fatefulEncounter 2023-02-11 17:13:53 -03:00
GriffinR c32fbf594a Merge pull request #1851 from GriffinRichards/doc-fldspc
Document remaining field_specials task data
2023-02-08 22:34:57 -05:00
GriffinR c29cf5a5e5 Remove unnecessary version check 2023-02-08 13:34:38 -05:00
GriffinR de56e400ff Sync clone object macro 2023-02-08 13:11:10 -05:00
GriffinR 118a9701c9 Add event type errors 2023-02-08 12:52:28 -05:00
GriffinR db5edc49d7 Sync mapjson 2023-02-08 12:52:06 -05:00
GriffinR bbf0cf0103 Stop hard-coding number of preset names 2023-02-04 00:00:38 -05:00
GriffinR 5496f0e6b0 Merge pull request #1850 from GriffinRichards/sync-trade
Sync trade
2023-02-03 19:05:00 -05:00
GriffinR c1cfd3ac66 Add fix for commented bug 2023-02-03 16:01:13 -05:00
GriffinR 6c3bc86b56 Merge pull request #1856 from Jaizu/patch-4
Make contest opponents an enum
2023-02-03 12:42:13 -05:00
Jaizu 717ba22ea1 Make contest opponents an enum
I'm sure that at least 2 people eventually might consider editing them, this makes it easier.
2023-02-03 15:49:22 +01:00
GriffinR 5793a1a5e7 Correct some union room chat documentation 2023-02-02 11:41:02 -05:00
GriffinR 62aed217fe Remove unused common symbols in window.c 2023-02-01 16:14:32 -05:00
GriffinR 3b15fd34cc Merge branch 'master' of https://github.com/pret/pokeemerald into constants-num-frames 2023-02-01 16:09:01 -05:00
GriffinR 28ada9c93b Merge branch 'master' of https://github.com/pret/pokeemerald into doc-contest-bar 2023-02-01 15:52:19 -05:00
GriffinR 020266463c Add fix for described UB 2023-02-01 15:44:48 -05:00
GriffinR 07e00b2e41 Additional window id constant usage 2023-02-01 15:24:15 -05:00
GriffinR 4328ed8b19 Merge branch 'master' of https://github.com/pret/pokeemerald into doc-windows 2023-02-01 14:59:45 -05:00
GriffinR 30f893f255 Fix comment mistake 2023-02-01 11:52:32 -05:00
GriffinR 9003966fcc Misc field_specials cleanup 2023-02-01 11:48:55 -05:00
GriffinR 43af7d46ca Label data for elevator effects 2023-02-01 10:43:10 -05:00
GriffinR 27a5e05f75 Label data for screen effect tasks 2023-02-01 10:20:23 -05:00
GriffinR 603d870ea0 Fix debug printing negative values 2023-02-01 09:36:18 -05:00
GriffinR 65d476d575 Remove some incorrect color constant usage 2023-02-01 09:32:41 -05:00
GriffinR f4cb6d229f Add some missing sizeof usage for SpriteSheets 2023-01-24 17:04:48 -05:00
GriffinR 10230799d3 Simplify some max value macros 2023-01-23 16:01:46 -05:00
GriffinR 7681340966 Merge branch 'master' of https://github.com/pret/pokeemerald into sync-trade 2023-01-23 14:45:51 -05:00
GriffinR f40fad528d Merge pull request #1847 from GriffinRichards/mapjson-err
Better type conversions and errors for mapjson
2023-01-22 18:38:06 -05:00
GriffinR 29c1af50ca Fix Best Streak stat name 2023-01-20 11:25:04 -05:00
GriffinR 0851e55ccb Merge pull request #1657 from PikalaxALT/sync_battle_anim_args
Sync battle anim args
2023-01-18 12:16:49 -05:00
GriffinR b7d92e8537 Revert incorrect constant usage, add new correct ones 2023-01-18 12:11:09 -05:00
GriffinR d1e4bd44ce Correct comment in maps.h 2023-01-18 11:54:06 -05:00
GriffinR 5a906c33ac Merge branch 'master' into sync_battle_anim_args 2023-01-18 11:47:33 -05:00
GriffinR ff3168f6cc Merge pull request #1746 from mrgriffin/ui-standardize
Standardize the UI code
2023-01-18 11:15:52 -05:00
GriffinR 0cc10a1ada Merge branch 'master' of https://github.com/pret/pokeemerald into ui-standardize 2023-01-18 11:07:12 -05:00
GriffinR 4a9c4951ab Merge pull request #1815 from tustin2121/patch-5
Adding FindObjectEventPaletteIndexByTag bugfix
2023-01-18 10:40:07 -05:00
GriffinR a203c03eac Add bugfix to LoadObjectEventPalette 2023-01-18 10:33:39 -05:00
GriffinR d68e81c2be Clarify MB_SEMI_DEEP_WATER name 2023-01-17 21:32:55 -05:00
GriffinR 713e1825bd Report JSON field names in errors 2023-01-17 16:25:33 -05:00
GriffinR 1e3b0e8d76 Treat all mapjson fields as strings 2023-01-17 16:00:09 -05:00
GriffinR b836d9ebfb Stop some redundant JSON reads 2023-01-17 15:40:39 -05:00
GriffinR 15431bd397 Add initial mapsjon type conversions 2023-01-17 15:25:39 -05:00
GriffinR d5a4bfcd6f Merge pull request #1843 from GriffinRichards/colorize
Colorize more grayscaled/incorrectly colored pngs
2023-01-15 12:48:42 -05:00
GriffinR e839c8ebe5 Colorize tourney_info_card.png 2023-01-15 12:42:47 -05:00
GriffinR 0415cf73df Fix results_screen/tiles.png colors 2023-01-15 12:04:29 -05:00
GriffinR ba8bed4da3 Merge pull request #1846 from Jaizu/patch-31
Add constants when using GetMonsStateToDoubles_2
2023-01-15 08:46:11 -05:00
Jaizu a3ae182fc2 Add constants when using GetMonsStateToDoubles_2 2023-01-15 09:50:31 +01:00
GriffinR c0e68f33f7 Colorize pokemon storage tiles 2023-01-15 00:39:51 -05:00
GriffinR c663154760 Merge pull request #1836 from GriffinRichards/fix-clone
Add fix for Battle Tower cloning bug
2023-01-15 00:32:24 -05:00
GriffinR 18384894e0 Merge pull request #1822 from AsparagusEduardo/pret/doc/typesEggGroups
Made Types and Egg Groups into arrays
2023-01-15 00:27:20 -05:00
GriffinR 14e8526a55 Merge pull request #1845 from AsparagusEduardo/pret/pr2/EasyChat
Improve Easy Chat documentation
2023-01-15 00:22:57 -05:00
Eduardo Quezada 70d59d6aa9 Improve Easy Chat documentation 2023-01-15 02:15:11 -03:00
GriffinR aeec8d65ee Merge pull request #1844 from Kurausukun/patch-2
Update INSTALL.md
2023-01-14 21:10:43 -05:00
Kurausukun c28d8056c3 Update INSTALL.md
Clarify that WSL is also available on Windows 11
2023-01-14 21:05:10 -05:00
GriffinR 41c85b4af6 Fix slot_machine/menu colors 2023-01-14 16:34:14 -05:00
GriffinR 71d4b1687a Fix party_menu/bg colors 2023-01-14 12:32:54 -05:00
GriffinR 9be0818b78 Fix intro/scene_1 tiles 2023-01-14 00:48:58 -05:00
GriffinR 9c34bc2385 Colorize picture_frame tiles 2023-01-13 15:30:57 -05:00
GriffinR 387ea563fc Move FRLG trainer card gfx to own folder, fix tiles 2023-01-13 13:40:13 -05:00
GriffinR 1707f82992 Combine/colorize status graphics 2023-01-13 12:53:08 -05:00
GriffinR 0064db7a6d Correct colors for frontier_pass 2023-01-13 02:25:23 -05:00
GriffinR ee3f5033b3 Colorize contest/interface.png 2023-01-13 00:26:40 -05:00
GriffinR 52e00ac603 Correct colors in summary_screen/tiles.png 2023-01-12 21:41:06 -05:00
GriffinR 3a253ece0f Fix some colors in crusher.png 2023-01-12 19:04:49 -05:00
GriffinR 89286c91e3 Merge pull request #1842 from GriffinRichards/gbagfx-pals
Automatically constrain png pixels to bit depth
2023-01-12 16:36:05 -05:00
GriffinR a12432a0f3 Colorize crusher.png 2023-01-12 16:34:36 -05:00
GriffinR 12cbb0b30f Colorize and combine birch_bag/birch_grass 2023-01-12 15:22:23 -05:00
GriffinR 863779afbb Colorize rayquaza_scene/scene_1/clouds.png 2023-01-12 14:56:44 -05:00
GriffinR 0fd0eb7163 Colorize cable_car/bg.png 2023-01-12 14:47:04 -05:00
GriffinR 68f97d02f4 Colorize menu_info.png 2023-01-12 13:17:31 -05:00
GriffinR cf14c1fd13 Colorize mirage_tower.png 2023-01-12 11:40:15 -05:00
GriffinR 5b3596108d Add some missing PARTY_SIZE usage 2023-01-12 10:51:20 -05:00
GriffinR 3009cc7220 Colorize door animations that use multiple palettes 2023-01-11 13:31:17 -05:00
GriffinR 3ee3d6e346 Support reducing png bit depth 2023-01-11 10:11:11 -05:00
GriffinR b873d69679 Sync trade anim 2023-01-09 15:32:04 -05:00
GriffinR c91b13a12b Merge branch 'master' of https://github.com/pret/pokeemerald into doc-windows 2023-01-07 13:30:11 -05:00
Eduardo Quezada ca46c22533 Removed SpeciesInfo array defines 2023-01-04 08:14:34 -03:00
GriffinR 6d6a876dbd Merge pull request #1820 from GriffinRichards/doc-wnews
Document wonder news
2023-01-03 22:34:58 -05:00
GriffinR 36c89d345c Merge branch 'master' into doc-wnews 2023-01-03 22:28:21 -05:00
GriffinR e88139d1b5 Add fix for Battle Tower cloning bug 2022-12-29 11:22:53 -05:00
GriffinR 8c61869638 Merge pull request #1835 from Jaizu/patch-29
Fix ANIM_SPRITE on regular builds with BUGFIX.
2022-12-29 10:17:57 -05:00
Jaizu c40c7e7e65 Fix breaking modern, correct labels. 2022-12-29 16:11:17 +01:00
Jaizu e2d47a07f5 Fix ANIM_SPRITE on regular builds with BUGFIX.
Dicussion about this being a BUGFIX define instead limiting it only to modern.
Credit SBird.
2022-12-29 12:28:44 +01:00
GriffinR d02d518917 Merge pull request #1829 from AsparagusEduardo/pret/doc/SaveBlockPadding
Documenting padding in structs used by Saveblocks
2022-12-27 20:50:37 -05:00
GriffinR a3d09af095 Merge pull request #1832 from AsparagusEduardo/pret/pr2/doc/summaryTypes
Added TYPE_ICON_SPRITE_COUNT to Summary documentation
2022-12-27 20:49:59 -05:00
GriffinR 0947e792bf Merge pull request #1833 from SBird1337/doc/writesequencetobgtilemapbuffer
[doc] remove mislabled metatile attributes in bg.c
2022-12-27 20:49:38 -05:00
sbird 214718110a [doc] remove mislabled metatile attributes from WriteSequenceToBgTilemapBuffer 2022-12-27 15:38:13 +01:00
Eduardo Quezada b0127428c6 Review suggestions. 2022-12-27 00:04:46 -03:00
Eduardo Quezada 701179eb1f Documented missing use of SPRITE_ARR_ID_MOVE_SELECTOR1 2022-12-26 21:05:18 -03:00
GriffinR 7355c9c1d7 Merge pull request #1831 from sphericalice/caught-icon-rename
Rename ball_display_unused_extra
2022-12-26 12:01:56 -05:00
SphericalIce 09d20bd634 Rename ball_display_unused_extra 2022-12-26 11:30:12 +00:00
GriffinR 7a480c0a87 Merge pull request #1830 from sphericalice/registered-item-none
Use the ITEM_NONE constant for the registeredItem save block field
2022-12-18 16:11:29 -05:00
SphericalIce 17052d4547 Use the ITEM_NONE constant for the registeredItem save block field 2022-12-18 21:05:37 +00:00
Eduardo Quezada 66d1c9bc65 Documenting padding in structs used by Saveblocks 2022-12-17 22:55:43 -03:00
GriffinR 2aa6a9c164 Remove two unreferenced metatile labels 2022-12-16 11:05:56 -05:00
GriffinR 347a02ace1 Sync trade 2022-12-15 15:40:59 -05:00
GriffinR 5c90df73ba Merge pull request #1825 from AsparagusEduardo/pret/pr2/AnimationMacros
Species animation tables into macros
2022-12-10 10:00:34 -05:00
Eduardo Quezada 2f96344cd9 Removed ANIM_CMD macro from unused_anims.h 2022-12-10 11:46:41 -03:00
GriffinR f87c5be45a Merge pull request #1827 from SBird1337/fix/debugprint
[fix] DebugPrintf with no format arguments
2022-12-09 12:54:19 -05:00
sbird 0d5adac1e1 [debug, printf] add DebugPrintfLevel macro 2022-12-07 00:03:25 +01:00
sbird fab26b99f1 [fix] DebugPrintf with no format arguments 2022-12-06 15:59:59 +01:00
Eduardo Quezada 2d694a84e3 Trying to fix remote reference 2022-12-05 21:57:28 -03:00
GriffinR f55443656f Add NUM_TILES_PER_METATILE 2022-12-03 17:29:02 -05:00
GriffinR dc24fde7f6 Sync calcrom fixes 2022-11-27 17:33:09 -05:00
GriffinR e5260c9aa1 Merge pull request #1823 from tustin2121/patch-6
Use multi-include incbins for stormy_water animation
2022-11-27 12:26:52 -05:00
tustin2121 cf6f343726 Use multi-include incbins for stormy_water
- Removes a special case rule from the make files.
2022-11-26 23:38:39 -05:00
GriffinR 004ce32da0 Sync text ctrl codes with pokefirered 2022-11-23 21:13:00 -05:00
Eduardo Quezada 7999220361 Fixed modern compile 2022-11-22 18:37:38 -03:00
Eduardo Quezada 7327be6f9e Made Types and Egg Groups into arrays 2022-11-22 17:05:25 -03:00
GriffinR 483c3d5c13 Document wonder news 2022-11-22 02:17:03 -05:00
GriffinR 4736b4b14d Merge pull request #1810 from AsparagusEduardo/pret/pr/baseStatsRename
Renamed gBaseStats to gSpeciesInfo
2022-11-18 17:45:23 -05:00
GriffinR 5fa364256d Merge pull request #1808 from AsparagusEduardo/pret/PR/numSides
Introduce NUM_BATTLE_SIDES
2022-11-18 17:39:00 -05:00
GriffinR df470b75dd Merge pull request #1817 from GriffinRichards/sync-wireless
Add cursor kind constants, sync wireless improvements
2022-11-17 15:18:20 -05:00
GriffinR 601bb0b578 Index gBattleFrontierHeldItems 2022-11-10 16:14:06 -05:00
GriffinR 3b1c8dfb17 Update list menu graphics 2022-11-09 19:44:58 -05:00
GriffinR e434b0047f More missing constant usage 2022-11-09 15:53:47 -05:00
GriffinR 431a7ef8dd Add missing cursorKind field usage 2022-11-09 15:37:47 -05:00
GriffinR 1d1c2d41bb Add list menu cursor constants 2022-11-09 15:16:46 -05:00
GriffinR b3e75138da Sync wireless improvements 2022-11-09 15:14:18 -05:00
GriffinR 9e24fe6ec8 Merge pull request #1816 from LOuroboros/patch-1
Fixed indentation in ScrCmd_faceplayer
2022-11-08 19:07:34 -05:00
LOuroboros a35986fd9c Fixed indentation in ScrCmd_faceplayer 2022-11-08 21:01:50 -03:00
tustin2121 33f3a7c11a Adding FindObjectEventPaletteIndexByTag bugfix
The code in event_object_movement.c indicates that OBJ_EVENT_PAL_TAG_NONE was meant to be a sentinel for the bottom of each of the tables involving palettes in there. sObjectEventSpritePalettes is the exception, but the functions that access it look for OBJ_EVENT_PAL_TAG_NONE even though it's not in the table. If the palette tag isn't in the table, the functions which scan it fall off the bottom of the table into an infinite loop of scanning 256 "entries" of the table (because it uses a u8 index), and the game locks up. In vanilla, the search simply never falls off the bottom of the table. It seems the developers intended for that last entry to be {NULL, OBJ_EVENT_PAL_TAG_NONE}.
2022-11-07 06:09:21 -05:00
GriffinR 0a6de12b5e Merge pull request #1814 from AsparagusEduardo/pret/pr/storageDoc
Doc missing uses of ST_OAM_OBJ_X in Pokémon Storage System
2022-11-06 23:35:53 -05:00
Eduardo Quezada 237877e21b Doc missing uses of ST_OAM_OBJ_X in Pokémon Storage System 2022-11-07 00:00:23 -03:00
GriffinR b1af66ebe5 Merge pull request #1812 from tustin2121/patch-linker
GF Header and Modern Builds
2022-11-04 09:31:31 -04:00
tustin2121 116364334d Fix build of jsonproc
- Changing uint to unsigned int, as uint is not standard.
2022-11-02 19:51:43 -05:00
tustin2121 fd87c97ef8 Adding documentation about GFHeader 2022-11-02 12:42:58 -04:00
tustin2121 8ff5ae7eb4 Pinning the GF header to the front of modern
- Pinning the GF Header, crt0, and main to the front of the ROM when building modern.
- Moving the gflib before other source files, to make it closer to the non-modern linker script (and therefore smaller patches).
2022-11-02 12:42:26 -04:00
tustin2121 f4f9329653 Fix build of jsonproc
- Changing uint to unsigned int, as uint is not standard.
2022-11-02 12:39:32 -04:00
Eduardo Quezada 14e85249d1 Review changes 2022-10-30 17:12:13 -03:00
GriffinR d90132842a Update gitignore/spacing for new region map data 2022-10-30 12:22:41 -04:00
GriffinR c76beed989 Merge pull request #1807 from pret/porymap-5
Update for Porymap 5.0.0
2022-10-30 11:01:37 -04:00
GriffinR 01c71b4ce1 Fix more text and movements labeled as scripts 2022-10-30 03:27:28 -04:00
GriffinR f439a2dee7 Fix EventScript_WroteSecretCodeLockOpened typo 2022-10-30 03:14:47 -04:00
GriffinR b035fc1f42 Merge pull request #1811 from AsparagusEduardo/pret/pr/BardSounds
Cleaned up Bard Sounds
2022-10-27 14:01:48 -04:00
Eduardo Quezada 85c0d2dac8 Review changes 2022-10-27 11:26:09 -03:00
Eduardo Quezada 85ce30b1d6 Created macros for Bard Sounds 2022-10-25 14:33:02 -03:00
Eduardo Quezada 3ed485632f Renamed gBaseStats to gSpeciesInfo 2022-10-24 17:01:48 -03:00
GriffinR cc182bf05e Use Porymap's new order for connection fields 2022-10-24 10:05:59 -04:00
Marcus Huderle ae6ec3b1b8 Change cleanString() to convert invalid chars to underscores 2022-10-22 15:09:37 -05:00
GriffinR e752c8a2f9 Merge pull request #1805 from tustin2121/tustin2121-patch-runimmedeately
Document seldom-used trigger functionality
2022-10-20 11:45:35 -04:00
GriffinR fad92ec906 Merge pull request #1803 from abaresk/thunder
Add more documentation to thunder weather effect
2022-10-20 11:36:10 -04:00
Eduardo Quezada D'Ottone 18e7fc5efc Introduce NUM_BATTLE_SIDES 2022-10-20 08:41:18 -03:00
GriffinR 3e8baa5b04 Merge branch 'master' into porymap-5 2022-10-18 22:54:25 -04:00
GriffinR a418f8d976 Merge pull request #1755 from GriffinRichards/map-dynamic
Rename special map constants, treat warp ids as strings
2022-10-18 22:45:56 -04:00
tustin2121 4730870646 VAR_RUN_TRIGGER_IMMEDIATELY -> TRIGGER_RUN_IMMEDIATELY
Getting rid of the VAR_ prefix, to avoid the porymap problem.
2022-10-18 21:12:31 -04:00
GriffinR e33581ff9c Merge pull request #1671 from sphericalice/heal-location-none
Add the HEAL_LOCATION_NONE constant
2022-10-18 18:41:04 -04:00
Abaresk 7f09894045 Merge branch 'master' into thunder 2022-10-18 04:37:56 +00:00
Marcus Huderle 0d0a9bd31d Update src/overworld.c
Co-authored-by: GriffinR <griffin.g.richards@gmail.com>
2022-10-17 17:41:27 -07:00
Marcus Huderle 48ab684b48 Fix weather color map documentation 2022-10-17 17:41:27 -07:00
GriffinR 716025395c Merge pull request #1802 from abaresk/wild-encounters
Document new metatile wild encounter odds
2022-10-17 18:56:58 -04:00
tustin2121 327c648e87 Document seldom-used trigger functionality
Added a define for use in overworld triggers where the goal is to run the provided script in the immediate script context instead of the global one like normal. This is used in triggers in the desert, on faraway island, and a couple other places to do weather effects quickly and on the same frame. Suggestions for a better define name are welcome.
2022-10-16 20:46:50 -04:00
Abaresk e67d55bfc4 Fix names 2022-10-15 13:37:24 +00:00
Abaresk b538239f18 Add more documentation to thunder weather 2022-10-15 04:25:35 +00:00
GriffinR 2e128e3282 Merge pull request #1799 from AsparagusEduardo/pret/pr/recordedInvalid
Moved ILLEGAL_BATTLE_TYPES to include\constants\battle.h and renamed it to BATTLE_TYPE_RECORDED_INVALID
2022-10-13 14:30:18 -04:00
GriffinR 722e501b7c Merge pull request #1800 from AsparagusEduardo/pret/pr/gSoftResetDisabled
Documented missing gSoftResetDisabled uses
2022-10-13 14:29:43 -04:00
GriffinR a10ec0487e Color rotating gate pngs 2022-10-12 19:19:42 -04:00
Abaresk af081b08ee Make related func names more concise 2022-10-12 04:35:23 +00:00
Abaresk 11e3f03bd8 Document new metatile wild encounter odds 2022-10-12 04:03:02 +00:00
GriffinR 60e1ad20e4 Add NUM_MON_PIC_FRAMES, and trainer pic size constants 2022-10-10 23:16:08 -04:00
GriffinR bbb4ee32ca Merge pull request #1801 from Kurausukun/storage_struct
Combine "Unused" Field into Tile Buffer
2022-10-10 21:10:25 -04:00
Kurausukun dc97eca92d combine "unused" field into tile buffer 2022-10-10 21:00:31 -04:00
GriffinR bd023b1c6c Merge pull request #1796 from GriffinRichards/tilesets-c
Convert tilesets.s to C
2022-10-10 12:47:47 -04:00
GriffinR 65d3944a93 Give tileset palettes proper type, name compressed secret base tiles 2022-10-08 02:02:12 -04:00
Eduardo Quezada 044898fe95 Documented missing gSoftResetDisabled uses 2022-10-07 15:56:00 -03:00
Eduardo Quezada 453da8aa8c Moved ILLEGAL_BATTLE_TYPES to include\constants\battle.h and renamed it to BATTLE_TYPE_RECORDED_INVALID 2022-10-07 15:49:00 -03:00
GriffinR bb2e64b3fc Merge pull request #1786 from tustin2121/patch-spritestuff
Subsprite Tables Documentation
2022-10-06 22:17:32 -04:00
tustin2121 ea168d1a6b Fix typo 2: revelations 2022-10-06 20:34:46 -04:00
tustin2121 f3bddd1ea6 Fix typo 2022-10-06 19:36:01 -04:00
GriffinR e293986fbb Merge pull request #1793 from GriffinRichards/clean-shop
Clean up shop.c
2022-10-06 17:24:53 -04:00
GriffinR c6e4c29ea3 Merge pull request #1792 from GriffinRichards/display-tiles
Add DISPLAY_TILE_* constants
2022-10-05 20:44:28 -04:00
GriffinR cefbf5986c Merge pull request #1797 from AsparagusEduardo/pret/pr/item
Removed unused functions in item header
2022-10-04 22:42:42 -04:00
Eduardo Quezada a20334f79a Removed unused functions in item header 2022-10-04 22:06:07 -03:00
GriffinR e989879f71 Use window constants in battle_dome 2022-09-29 22:17:44 -04:00
GriffinR 7587963d24 Use window constants in berry_fix_program 2022-09-29 19:09:50 -04:00
GriffinR 7449525428 Use window constants in wallclock 2022-09-29 18:56:34 -04:00
GriffinR 77c3163cf0 Use window constants in reset_rtc_screen 2022-09-29 18:29:20 -04:00
GriffinR 7d4fddd56b Use window constants in mystery_event_menu 2022-09-29 15:55:26 -04:00
GriffinR fb87616e9d Use window constants in mystery_gift_menu 2022-09-29 15:48:19 -04:00
GriffinR 79a34411ce Add additional DISPLAY_TILE_WIDTH usage 2022-09-29 15:22:21 -04:00
GriffinR 5af7355fbd Clarify window ID usage in contest_util 2022-09-29 15:10:32 -04:00
GriffinR 6bc1955c99 Use window constants in easy_chat 2022-09-29 15:03:44 -04:00
GriffinR c719d5d9b1 Use window constants in link 2022-09-29 14:50:51 -04:00
GriffinR 9ae918bb35 Use window constants in field_region_map 2022-09-29 13:37:32 -04:00
GriffinR 2cd07d80b8 Use window constants in wireless_communication_status_screen 2022-09-29 13:31:01 -04:00
GriffinR 81defb5986 Use window constants in union_room_chat 2022-09-29 13:20:35 -04:00
GriffinR 4af1044439 Use window constants in region_map 2022-09-29 13:11:38 -04:00
GriffinR 1f225286d5 Use window constants in party_menu 2022-09-29 12:55:31 -04:00
GriffinR 9f5704b05a Use window constants in trainer_card 2022-09-29 12:30:10 -04:00
GriffinR dd5daa3208 Use window constants in berry_blender 2022-09-29 12:15:17 -04:00
GriffinR 16be1e8447 Use window constants for move relearner 2022-09-29 12:10:10 -04:00
GriffinR 1ae5010233 Merge pull request #1794 from SBird1337/doc/decompress-casts
[doc] clean up casts in decompress.c
2022-09-29 11:40:02 -04:00
sbird 8dad7cc649 [doc] clean up casts in decompress.c 2022-09-29 17:33:39 +02:00
GriffinR f254df9a1a Use window constants in berry_tag_screen 2022-09-29 11:28:27 -04:00
GriffinR 6db489e2d5 Use constants for overworld object palette slots 2022-09-27 20:16:48 -04:00
GriffinR 4f407a1066 Convert tilesets.s to C 2022-09-27 17:23:26 -04:00
GriffinR e515e52abb Add DISPLAY_TILE_* constants 2022-09-26 19:52:17 -04:00
GriffinR f0744641d1 Merge pull request #1651 from garakmon/entry_json
use json for region map sections
2022-09-25 21:56:09 -04:00
GriffinR 171367d66c Merge pull request #1643 from cbt6/object-event-graphics-info
Format object event graphics info
2022-09-25 21:55:22 -04:00
GriffinR 45e6b48170 Merge pull request #1636 from GriffinRichards/rme-update
Updates to region map for Porymap
2022-09-25 21:54:26 -04:00
GriffinR b8bf9dea56 Merge pull request #1791 from AsparagusEduardo/pret/pr/unk40EF
Documented unk40EF in Summary Screen
2022-09-25 21:50:37 -04:00
Eduardo Quezada 5054cf3586 Documented unk40EF in Summary Screen 2022-09-25 21:33:20 -03:00
GriffinR f695ddd1ba Ignore new Porymap config 2022-09-25 18:34:07 -04:00
GriffinR 56c28fb2dd Move region map gitignore to existing data gitignore 2022-09-25 18:15:16 -04:00
GriffinR e473aaf783 Merge branch 'master' of https://github.com/pret/pokeemerald into entry_json 2022-09-25 18:10:04 -04:00
GriffinR 7223dbd62f Merge branch 'master' into rme-update 2022-09-25 11:56:57 -04:00
GriffinR 4579efe4c7 Merge pull request #1790 from AsparagusEduardo/pret/pr/namingScreenGender
Gender icon in naming screen based on Pokémon name length
2022-09-24 23:27:40 -04:00
Eduardo Quezada 0f35f080ec Gender icon in naming screen based on Pokémon name length 2022-09-24 23:48:24 -03:00
GriffinR d8b3919063 Ignore Porymap's prefabs file 2022-09-24 18:27:53 -04:00
GriffinR 9b6b164aad Merge pull request #1768 from SBird1337/feature/mgba-print
[debug] add support for mgba printf
2022-09-23 13:49:48 -04:00
sbird 343d7f7d26 [debug] do not use heap allocation for MgbaPrintf 2022-09-23 04:12:57 +02:00
sbird 12670e8e3e [debug] simplify macros, add EX versions 2022-09-23 03:48:58 +02:00
sbird 22329d3318 [debug] use boolean constants for nStopProgram 2022-09-23 03:23:44 +02:00
sbird 44a5a8d31e [debug] fix AGBAssert for AGBPrintf debug block 2022-09-23 03:22:57 +02:00
GriffinR ad9247439c Merge pull request #1788 from AsparagusEduardo/pret/pr/newKeys
Added missing uses of JOY_xx macros
2022-09-22 20:50:19 -04:00
Eduardo Quezada 7e112b0f0d Added missing uses of JOY_xx macros 2022-09-22 21:43:33 -03:00
GriffinR 1107ff954d Clean up shop.c 2022-09-22 15:08:17 -04:00
GriffinR d79252aa7f Merge pull request #1784 from AsparagusEduardo/pret/pr/FrontierPartySize
Altered MAX_FRONTIER_PARTY_SIZE to be automatically calculated by the other frontier party sizes
2022-09-22 12:19:05 -04:00
GriffinR b8341558c3 Merge pull request #1779 from GriffinRichards/sync-fld-weather
Add misc constant usage to field_weather_effect
2022-09-22 12:13:07 -04:00
GriffinR 9bcc36fe08 Merge pull request #1767 from GriffinRichards/trainer-pals
Generate trainer pic palettes from image
2022-09-22 11:34:03 -04:00
GriffinR e74fa7b8c0 Merge pull request #1785 from AsparagusEduardo/pret/pr/malloc
Removed unnecessary malloc.h macros
2022-09-22 11:25:06 -04:00
tustin2121 5c55e44173 More diagrams
- Diagramed all subsprite tables in the code base. There's a LOT in the slot machine code.
2022-09-17 14:34:20 -04:00
tustin2121 c371a44a83 Formatting 2022-09-17 13:34:54 -04:00
tustin2121 13877f71dc Minor documentation
Some things I figured out while working on my hack.
- The Subsprite tables do not use `DISPLAY_WIDTH`, but rather use -16, since they are signed bytes. The negative numbers better illustrate what the tables are doing.
- Figured out the as-of-yet undocumented data in SpriteCB_FlygonSilhouette
2022-09-17 13:33:10 -04:00
Eduardo Quezada 8a68596b64 Removed free macro 2022-09-16 20:36:44 -03:00
Eduardo Quezada e412ec30a0 Removed calloc macro 2022-09-16 20:34:22 -03:00
Eduardo Quezada 63156b4398 Removed malloc macro 2022-09-16 20:24:26 -03:00
Eduardo Quezada bca1267ca8 Altered MAX_FRONTIER_PARTY_SIZE to be automatically calculated by the other frontier party sizes 2022-09-15 14:52:18 -03:00
GriffinR 36494c1c1d Merge pull request #1783 from AsparagusEduardo/pret/pr/battlerReservedPalettes
gReservedSpritePaletteCount using MAX_BATTLERS_COUNT for battles
2022-09-14 12:14:33 -04:00
Eduardo Quezada 492380bd24 gReservedSpritePaletteCount using MAX_BATTLERS_COUNT for battles 2022-09-14 12:20:59 -03:00
GriffinR c1dfd3c9ec Merge pull request #1763 from GriffinRichards/rm-global
Drop usage of global directive
2022-09-13 15:08:37 -04:00
GriffinR 509f1d59cd Merge pull request #1782 from LOuroboros/patch-2
Removed unused extern declaration of old gUnknown func
2022-09-13 14:51:20 -04:00
LOuroboros 2d841a25f9 Removed unused extern declaration of old gUnknown func 2022-09-13 15:45:01 -03:00
GriffinR 91c040b081 Merge pull request #1777 from AsparagusEduardo/pret/pr/trailingWhitespace
Cleaned trailing whitespace
2022-09-13 14:00:11 -04:00
GriffinR 4c34babb4d Merge pull request #1780 from LOuroboros/raquaza
Fixed a typo and scripting vars alignment
2022-09-12 22:02:46 -04:00
GriffinR e7a459c778 Merge pull request #1781 from AsparagusEduardo/pret/pr/argumentsHeaders
Added missing labels in headers
2022-09-12 21:27:57 -04:00
LOuroboros 14c6d8b91a Fixed alignment for the value of vars 0x4020 to 0x40FF 2022-09-12 21:33:03 -03:00
LOuroboros cb83a09203 Fixed vars alignment 2022-09-12 21:27:53 -03:00
LOuroboros 222362e804 Fixed Raquaza typo 2022-09-12 21:26:22 -03:00
Eduardo Quezada 5eb9312250 Added missing labels in headers 2022-09-12 21:14:15 -03:00
GriffinR 041870672a Add misc constant usage to field_weather_effect 2022-09-12 15:11:58 -04:00
GriffinR d3d8b4a181 Merge pull request #1762 from GriffinRichards/sync-fieldmap
Sync fieldmap
2022-09-12 14:32:27 -04:00
Eduardo Quezada 65108c3192 Cleaned trailing whitespace 2022-09-11 14:14:49 -04:00
GriffinR 91cba0e648 Merge pull request #1776 from AsparagusEduardo/pret/pr/ShinyValue
Added parenthesis to GET_SHINY_VALUE
2022-09-11 13:49:50 -04:00
Eduardo Quezada 61752a4977 Added parenthesis to GET_SHINY_VALUE 2022-09-11 13:35:58 -04:00
GriffinR c3623bc928 Merge pull request #1775 from AsparagusEduardo/pret/pr/repeatedStrings
Removed repeated extern consts in strings.h
2022-09-09 12:53:55 -04:00
Eduardo Quezada 9144779634 Removed repeated extern consts in strings.h 2022-09-09 08:49:16 -04:00
GriffinR ecb75ee514 Merge pull request #1774 from AsparagusEduardo/pret/pr/monCoords
Adjusted style of coords tables
2022-09-08 21:48:05 -04:00
Eduardo Quezada 1fa9bc1b5c Adjusted style of coords tables 2022-09-08 18:32:01 -04:00
GriffinR 75ded96ecf Merge pull request #1773 from Jaizu/patch-27
Fix 'y' actually being 'x' in CreatePCMultichoice
2022-09-08 16:31:26 -04:00
Jaizu d58af1ba92 Fix 'y' actually being 'x' in CreatePCMultichoice 2022-09-08 10:38:52 +02:00
GriffinR c5e1feae38 Merge pull request #1772 from LOuroboros/patch-1
Undefined temporary preproc macro HIBYTE
2022-09-07 16:50:57 -04:00
LOuroboros 05c13614c6 Undefined temporary preproc macro HIBYTE 2022-09-07 13:41:48 -03:00
GriffinR af1725793a Merge pull request #1771 from SBird1337/doc/aslr
[doc] fix misnamed dma <--> aslr
2022-09-07 10:43:08 -04:00
sbird 3a0759d458 [doc] fix misnamed dma <--> aslr 2022-09-07 14:37:03 +02:00
GriffinR 281bddcd3d Merge pull request #1765 from AsparagusEduardo/pret/pokefirered_sync4
Implemented review changes from https://github.com/pret/pokefirered/pull/548
2022-09-06 21:40:37 -04:00
GriffinR 74b563f696 Merge pull request #1749 from GriffinRichards/ur-classes
Fix names and constant usage for union room classes
2022-09-06 21:35:10 -04:00
GriffinR f334b61b44 Merge pull request #1769 from AsparagusEduardo/pret/pr/frontierTrainerMonAlign
Aligned FRONTIER_MONS trainer macros with the rest for consistency
2022-09-06 21:20:49 -04:00
Eduardo Quezada 12bb32666b Aligned FRONTIER_MONS trainer macros with the rest for consistency 2022-09-06 17:05:56 -04:00
sbird 584bfe0221 [debug] add support for mgba printf
* adds support for mgba printf debugging as well as adding support for switching between debugging configuration
* adds `mini_printf` as an alternative to libc printf as well as switches to choose a pretty printing handler
* adds a pretty printing format to `mini_printf` to print preproc encoded strings
2022-09-06 13:40:31 +02:00
GriffinR 7dac3c4b65 Merge pull request #1766 from tustin2121/tustin2121-patch-extern
Adding missing externs
2022-09-05 20:28:33 -04:00
GriffinR c8afeea182 Generate trainer pic palettes from image 2022-09-05 16:09:45 -04:00
tustin2121 33f10d2139 Adding missing externs
If there are not externs on these forward declarations, it's entirely possible for the program to link and missing data to be assigned to someplace presumed in IWRAM or something.
2022-09-05 09:49:20 -04:00
Eduardo Quezada 7500435a80 Implemented review changes from https://github.com/pret/pokefirered/pull/548 2022-09-04 21:24:12 -03:00
GriffinR 36551dff2f Treat warp ids as strings to allow constants 2022-09-03 15:43:43 -04:00
GriffinR 797aa08141 Merge pull request #1764 from AsparagusEduardo/pret/battlerMacros
Further uses of GET_BATTLER_SIDE macros'
2022-09-03 01:04:55 -04:00
Eduardo Quezada 41bf6bde25 Removed pointless macro 2022-09-03 00:28:53 -04:00
Eduardo Quezada 790bdd69f8 Using GET_BATTLER_SIDE and GET_BATTLER_SIDE2 2022-09-03 00:28:32 -04:00
GriffinR 97021baec6 Drop usage of global directive 2022-09-02 21:53:44 -04:00
GriffinR 8b7230c3c4 CpuFastFill -> CpuFastFill16 in fieldmap 2022-09-02 19:41:28 -04:00
GriffinR 7f1c4720a2 Update arguments for ApplyGlobalTintToPaletteSlot 2022-09-02 19:36:46 -04:00
GriffinR 03a98c72bc Sync fieldmap 2022-09-02 19:29:35 -04:00
GriffinR ff53a553bc Merge pull request #1761 from AsparagusEduardo/pret/tmFlagNames
Renamed TM flags to keep consistency with the rest of the repo
2022-09-02 17:09:49 -04:00
Eduardo Quezada c7fc2e13f7 Renamed TM flags to keep consistency with the rest of the repo 2022-09-02 16:54:58 -04:00
GriffinR a28fbbc1b8 Merge pull request #1748 from GriffinRichards/fix-judgement
Standardize judgement vs judgment spelling
2022-09-01 11:51:04 -04:00
GriffinR d211adbc77 Merge pull request #1760 from LOuroboros/bermuda
Updated a couple of sizeofs in src/battle_pyramid_bag.c
2022-09-01 11:42:09 -04:00
LOuroboros 5d346fd939 Updated a couple more sizeofs 2022-08-31 23:49:43 -03:00
GriffinR b66de1f056 Merge pull request #1759 from LOuroboros/pyramidSchemes
Automatized the contents of some sideof in src/item.c
2022-08-31 22:14:06 -04:00
LOuroboros ea345f90f5 Picked the correct pointers for correctness' sake 2022-08-31 23:06:20 -03:00
LOuroboros e02b33ee11 Automatized the contents of some sideof in src/item.c 2022-08-31 23:00:24 -03:00
GriffinR 0a2ac61b0f Merge pull request #1757 from AsparagusEduardo/pret_clean2
Cleanup based on previous PRs
2022-08-27 11:40:33 -04:00
Eduardo Quezada 1c8d3a4922 Removed unnecessary parenthesis 2022-08-27 11:19:50 -04:00
Eduardo Quezada 99fbad92e2 IS_BATTLER_OF_TYPE 2022-08-27 02:50:55 -04:00
Eduardo Quezada 866d916f2f SpriteTemplate formatting 2022-08-27 02:07:58 -04:00
Eduardo Quezada 1f0a952546 Usage of BATTLE_OPPOSITE 2022-08-27 01:44:39 -04:00
Eduardo Quezada 15d611ba65 Usage of BATTLE_PARTNER 2022-08-27 01:26:13 -04:00
Eduardo Quezada 6c457f42af Corrected uses of GetBattlerSide 2022-08-27 00:59:12 -04:00
Eduardo Quezada 0a34d47041 Merge remote-tracking branch 'pret/master' into pret_clean2 2022-08-27 00:56:00 -04:00
Eduardo Quezada 481210b7f3 Missing uses of MAX_SPRITES 2022-08-27 00:54:30 -04:00
GriffinR 8aead3b4c8 Merge pull request #1747 from GriffinRichards/contest-ai-bug
Incorporate commented bug fixes in contest AI scripts
2022-08-26 23:53:44 -04:00
GriffinR 578064d799 Add missing use of METATILE_ROW_WIDTH 2022-08-26 15:23:54 -04:00
GriffinR 0516f94837 Merge pull request #1753 from LOuroboros/GetLeadMonFriendshipScore
Added constants for GetLeadMonFriendshipScore
2022-08-26 14:52:10 -04:00
GriffinR c5e873aa2b Merge pull request #1742 from GriffinRichards/sound-pan
Add missing usage of SOUND_PAN_*
2022-08-26 14:47:24 -04:00
GriffinR 005c46f0da Merge pull request #1754 from AsparagusEduardo/pret_citySigns
Corrected Oldale Town Sign labels
2022-08-25 22:09:56 -04:00
Eduardo Quezada 6fb4da68f3 Corrected Oldale Town Sign labels 2022-08-25 22:00:24 -04:00
GriffinR ce4a6e9067 MAP_NONE -> MAP_DYNAMIC 2022-08-25 21:34:05 -04:00
LOuroboros 23bf67c63f Removed unnecessary inclusion of header in src/field_specials.c 2022-08-25 11:43:01 -03:00
LOuroboros 11d6ae4820 Renamed the GetLeadMonFriendshipScore constants 2022-08-25 11:34:37 -03:00
GriffinR 8a1130d046 Missing constant in friendshiptodamagecalculation 2022-08-25 10:21:41 -04:00
LOuroboros 1f4ef2a0fb Added constants for GetLeadMonFriendshipScore 2022-08-25 10:40:56 -03:00
GriffinR 32ea55dcba Merge pull request #1752 from LOuroboros/patch-4
Re-aligned READ_PTR_FROM_TASK's 2nd line EoL
2022-08-24 17:08:15 -04:00
GriffinR 8cc520ccd7 Merge pull request #1751 from LOuroboros/patch-3
Fixed KeyInterCB_DeferToEventScript comment
2022-08-24 17:07:59 -04:00
GriffinR eecf968390 Merge pull request #1750 from LOuroboros/patch-2
Fixed switch syntax in Task_TryFieldPoisonWhiteOut
2022-08-24 17:07:17 -04:00
LOuroboros 015961c00a Re-aligned READ_PTR_FROM_TASK's 2nd line EoL 2022-08-24 17:19:24 -03:00
LOuroboros 3a65529293 Fixed KeyInterCB_DeferToEventScript comment 2022-08-24 17:12:59 -03:00
LOuroboros 90f72a745a Fixed switch syntax in Task_TryFieldPoisonWhiteOut 2022-08-24 17:01:36 -03:00
GriffinR 3771abbe08 Fix names and constant usage for union room classes 2022-08-23 12:44:07 -04:00
GriffinR 8a8ba92f21 Revert COMMON wildcards 2022-08-22 19:04:47 -04:00
Martin Griffin f4a2040843 Options menu: cleanup 2022-08-22 08:38:06 +01:00
GriffinR 898ec580ae Merge pull request #1737 from GriffinRichards/lock-unlock
Clean up lock/unlock anim movement
2022-08-22 01:30:33 -04:00
Martin Griffin 2aa821176b Options menu: sort #includes 2022-08-21 15:06:05 +01:00
Martin Griffin ba6d4866e4 Options menu: standardize task data 2022-08-21 15:05:57 +01:00
GriffinR 30906762ed Merge pull request #1740 from AsparagusEduardo/pret_stringTabs
Fixed inconsistent use of white space for scripts, .c files and .h files.
2022-08-20 23:03:59 -04:00
GriffinR 261b0ff118 Standardize judgement vs judgment spelling 2022-08-20 22:58:46 -04:00
GriffinR 9e175a1037 Merge pull request #1735 from GriffinRichards/arena-const
Add some missing battle arena constants
2022-08-20 22:54:32 -04:00
GriffinR 81ef818f61 Merge pull request #1731 from GriffinRichards/missing-tag
Move party menu data constants
2022-08-20 22:43:52 -04:00
Eduardo Quezada 76d2d92abb Merge branch 'pretmaster' into pret_clean2 2022-08-20 12:43:09 -04:00
GriffinR 1685365cd4 Merge pull request #1727 from AsparagusEduardo/pret_clean
Cleanup from https://github.com/pret/pokefirered/pull/532
2022-08-19 21:27:55 -04:00
GriffinR 11b4958f23 Incorporate commented bug fixes in contest AI scripts 2022-08-19 19:45:15 -04:00
Martin Griffin d57442a511 Decimal paletteNums 2022-08-19 17:05:22 +01:00
GriffinR c2d5dd2a1f Additional battle anim sync 2022-08-19 11:51:13 -04:00
Martin Griffin 5719a7f7bc Use static inline instead of extern inline for modern 2022-08-19 15:47:50 +01:00
Martin Griffin 6fed961ed6 Write palette IDs in hex 2022-08-19 15:29:35 +01:00
GriffinR cce9918908 Add Wnum_tiles to additional num_tiles rules 2022-08-18 23:13:27 -04:00
Martin Griffin 5e593a62fb Ignore num_tiles if it would truncate non-transparent tiles (#1729) 2022-08-18 23:07:25 -04:00
Eduardo Quezada 3bc2cf921c Sync src/battle_controllers.c with pokefirered 2022-08-18 14:30:22 -04:00
Eduardo Quezada 59f89bde9e Misc cleanup 2022-08-18 14:23:45 -04:00
GriffinR 936ebbd973 Fix phaseShit typo 2022-08-17 11:47:00 -04:00
GriffinR e707cdffa8 Merge pull request #1744 from AsparagusEduardo/pret_syncMapSec
Synced Route 4 and 10's MapSec labels
2022-08-16 19:12:45 -04:00
Eduardo Quezada 5933c42439 Synced Route 4 and 10's MapSec labels 2022-08-16 18:23:37 -04:00
GriffinR 2ec8f27811 Add missing usage of SOUND_PAN_* 2022-08-16 13:04:00 -04:00
Eduardo Quezada e43f65cc69 using BATTLE_RUN constants in BattleScript_EffectTeleport 2022-08-15 21:06:26 -04:00
Eduardo Quezada 7b0c8ec972 Revert style changes 2022-08-15 20:41:12 -04:00
GriffinR 26734d80f3 Merge pull request #1728 from AsparagusEduardo/pret_monDataEnum
Convert MON_DATA constants into enum to ease editing and addition of fields.
2022-08-15 18:51:32 -04:00
Eduardo Quezada 44b26cc8aa From pokefirered 2022-08-15 18:27:37 -04:00
Eduardo Quezada 0149f420f9 Corrected comment 2022-08-15 17:36:55 -04:00
Eduardo Quezada e8a05e92e4 Corrected additional inconsistent uses of whitespace 2022-08-15 17:04:34 -04:00
GriffinR 96fa350b45 Merge pull request #1741 from tustin2121/tustin2121-patch-scriptcontext
Renaming the Script Contexts
2022-08-15 16:46:01 -04:00
tustin2121 ec73158f16 Moving documentation comments per request
from the discord chat.
2022-08-15 16:37:38 -04:00
tustin2121 1cb659df8c Renaming Script Contexts
- Determined how the various script contexts were used and renamed accordingly.
- ScriptContext2_Enable/Disable => Lock/UnlockPlayerFieldControls - The sole purpose of the flag is to make sure the player can't move around in the overworld. It has nothing to do with script contexts.
- ScriptContext1 => ScriptContext - It is the global script context used to set up scripts which run over many frames.
- ScriptContext2_RunNewScript => RunScriptImmediately - ScriptContext2's sole purpose was to run scripts immediately and in a separate context, usually while the global context is waiting for things like map loads or screen changes.
2022-08-15 15:18:12 -04:00
Eduardo Quezada 63e4a8adcd Fixed instances of .string being used with spaces instead of tabs 2022-08-15 14:32:01 -04:00
GriffinR 3dc3dc847f Merge pull request #1738 from mrgriffin/wildcard-ld-script
Wildcards in ld_script.txt
2022-08-15 08:35:48 -04:00
Martin Griffin c5b30b7f21 Wildcards in ld_script.txt
Allows hacks to introduce new files and variables without needing to
change ld_script.txt similar to ld_script_modern.txt.
2022-08-15 12:25:16 +01:00
GriffinR 5515e328b2 Clean up lock/unlock anim movement 2022-08-12 21:18:10 -04:00
GriffinR 2df6cc1820 Merge pull request #1730 from GriffinRichards/sync-naming-screen
Clean up naming screen graphics
2022-08-12 11:05:55 -04:00
GriffinR 574cf1ddb9 Merge pull request #1725 from GriffinRichards/security-signature
Sector security -> signature
2022-08-12 10:47:10 -04:00
GriffinR cf4d05e9e7 Fix typo 2022-08-11 12:09:38 -04:00
GriffinR 63468f9fcb Add some missing battle arena constants 2022-08-11 12:02:56 -04:00
GriffinR 286a99eb1d Merge pull request #1723 from GriffinRichards/fix-impassable
MapGridIsImpassableAt -> MapGridGetCollisionAt, and add fixes
2022-08-10 21:28:14 -04:00
GriffinR e814fe0224 Merge pull request #1734 from WhenGryphonsFly/clean__battledomebugfix
Fix BUGFIX return statement in battle_dome.c
2022-08-10 21:21:54 -04:00
WhenGryphonsFly 475658116e Fix BUGFIX return statement in battle_dome.c 2022-08-10 20:00:16 -05:00
GriffinR cd5a03d4aa Merge pull request #1733 from WhenGryphonsFly/clean__pokeruspartysize
Use PARTY_SIZE for Pokerus Nurse Conversation
2022-08-10 20:45:57 -04:00
WhenGryphonsFly 86881b12ef Use PARTY_SIZE for Pokerus Nurse Conversation 2022-08-10 19:09:59 -05:00
GriffinR e06ba39751 Use button constants in Task_HandleChooseMonInput 2022-08-10 15:14:35 -04:00
GriffinR f534e8e44a Move party menu data constants 2022-08-10 14:30:01 -04:00
GriffinR bfdbbad468 Split naming screen palettes/graphics, use correct image palettes, clean up 2022-08-09 09:27:28 -04:00
Eduardo Quezada 1fd1870a13 Moved enum to include/pokemon.h 2022-08-08 18:40:47 -04:00
Eduardo Quezada 75d52dc762 Convert MON_DATA constants into enum to ease editing and addition of fields. 2022-08-08 18:18:17 -04:00
Eduardo Quezada 4b08a511c3 Cleanup from https://github.com/pret/pokefirered/pull/532 2022-08-07 22:40:15 -04:00
GriffinR 079b1762ac Update special save sector size checks 2022-08-05 12:11:33 -04:00
GriffinR 2487ddb128 Sector security -> signature 2022-08-05 10:42:31 -04:00
GriffinR aa9ccbf194 Merge pull request #1724 from DizzyEggg/lang_improvements
Accomodate some parts of code based on the french decomp
2022-08-04 21:37:19 -04:00
DizzyEggg c991131b75 Change language stuff based on the french decomp 2022-08-04 11:53:16 +02:00
GriffinR e5c36cd745 MapGridIsImpassableAt -> MapGridGetCollisionAt, and add fixes 2022-08-03 14:21:13 -04:00
GriffinR 79384ec9f3 Merge pull request #1702 from GriffinRichards/clean-psn
Clean up field_poison.c
2022-08-02 13:20:49 -04:00
GriffinR 99a37b5aa5 Merge pull request #1717 from mrgriffin/trainer-party-macro
Macros for keeping .partyFlags, .partySize, and .party in sync
2022-08-02 13:11:43 -04:00
GriffinR 79c5a5983e Merge pull request #1721 from AsparagusEduardo/pret_clean2
Companion PR to pokefirered #525
2022-08-01 16:57:40 -04:00
Eduardo Quezada b49f8c10ad Review changes from https://github.com/pret/pokefirered/pull/525 2022-08-01 15:37:05 -04:00
Eduardo Quezada cc288e3786 Review changes 2022-08-01 15:14:21 -04:00
Eduardo Quezada 7ea49adf3c CpuCopy16 in UnkUtil_CpuRun 2022-08-01 08:04:48 -04:00
Eduardo Quezada a72d4c4168 Cleanup from syncing pss and mon markings 2022-07-30 12:43:14 -04:00
GriffinR 5101811407 Merge pull request #1719 from AsparagusEduardo/pret_cleanBattleScriptCommands
Further cleaning after comparing with pokefirered
2022-07-30 09:09:23 -04:00
Eduardo Quezada 897b3d07f6 Sync src/pokeball.c with pokefirered 2022-07-29 21:29:12 -04:00
Eduardo Quezada 40805fffc0 Space cleanup 2022-07-29 21:28:39 -04:00
Eduardo Quezada 2e1bf0d965 OamData mosaic FALSE 2022-07-29 21:27:39 -04:00
Eduardo Quezada 2214b01954 Forgot to include this fix 2022-07-29 17:07:56 -04:00
Eduardo Quezada 5d4b76c0ba Review changes from pokefirered #524 2022-07-29 17:00:07 -04:00
Eduardo Quezada 9dc64b67cd Review changes 2022-07-29 15:38:23 -04:00
Eduardo Quezada 01558ff8f3 Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
Eduardo Quezada 13672680b0 void pointer standarized 2022-07-29 10:52:35 -04:00
Eduardo Quezada aa93af4083 Fixed check 2022-07-29 10:34:21 -04:00
Eduardo Quezada fa32f337be Review changes 2022-07-29 10:21:20 -04:00
Eduardo Quezada 7b3401ee27 Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
Eduardo Quezada 9caca17064 Cleanup by syncing src/battle_script_commands.c with pokefirered 2022-07-29 09:43:16 -04:00
GriffinR 591eef550e Merge pull request #1720 from Jaizu/patch-25
Remove duplicated CB2_InitCopyrightScreenAfterBootup
2022-07-29 06:56:35 -04:00
Jaizu 7a8c28ccca Remove duplicated CB2_InitCopyrightScreenAfterBootup 2022-07-29 10:52:36 +02:00
Eduardo Quezada 09af7422d5 Further cleaning after comparing with pokefirered
STAT_BUFF changed to STAT_CHANGE, as it also uses debuffs
2022-07-28 01:27:05 -04:00
GriffinR 456d45985f Merge pull request #1718 from AsparagusEduardo/pret_cleanEvoScene
Cleaned by comparing evolution_scene.c with pokefirered
2022-07-27 21:54:34 -04:00
Eduardo Quezada dc47a959da Reverted comments from pokefirered 2022-07-27 20:33:34 -04:00
Eduardo Quezada b00bd8b181 Cleaned by comparing evolution_scene.c with pokefirered 2022-07-27 18:51:32 -04:00
Martin Griffin 2380d13a43 Macros for keeping .partyFlags, .partySize, and .party in sync 2022-07-27 23:25:37 +01:00
GriffinR 4ffe75c611 Merge pull request #1707 from GriffinRichards/use-pocket-consts
Add some missing pocket constant usage
2022-07-27 12:22:01 -04:00
GriffinR 1da46a4bbc Merge pull request #1715 from AsparagusEduardo/pret_docBooleans
Documented boolean uses
2022-07-27 12:09:02 -04:00
GriffinR 5366e89258 Merge pull request #1713 from DizzyEggg/patch-1
Change GAME_LANGUAGE to LANGUAGE_ENGLISH
2022-07-26 11:08:05 -05:00
DizzyEggg b7c78571a6 Update src/international_string_util.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
2022-07-26 15:39:29 +02:00
DizzyEggg c557c4eb27 Add a comment 2022-07-26 14:44:53 +02:00
LOuroboros b59f7aed7f Added a constant for NPC trainer name length (#1712) 2022-07-25 22:59:13 -04:00
Eduardo Quezada a37d8b1346 Documented boolean uses 2022-07-25 14:59:14 -04:00
DizzyEggg 151b5a5f8a Change GAME_LANGUAGE to LANGUAGE_ENGLISH 2022-07-23 12:23:04 +02:00
GriffinR a8c93dcf35 Add missing font constants after EXT_CTRL_CODE_FONT 2022-07-18 02:36:25 -04:00
GriffinR 165f51a295 Merge pull request #1701 from GriffinRichards/faint-cmd-name
Rename faintifabilitynotdamp and jumpifattackandspecialattackcannotfall
2022-07-16 08:15:54 -04:00
GriffinR 8898d84ced Merge pull request #1708 from LOuroboros/sStartMenuItems
Linked MENU_ACTION constants to the items in sStartMenuItems
2022-07-15 09:22:35 -04:00
LOuroboros 26e03dcda8 Linked MENU_ACTION constants to the items in sStartMenuItems 2022-07-15 04:45:05 -03:00
GriffinR 16ab534ddb Add some missing pocket constant usage 2022-07-14 10:27:51 -04:00
GriffinR f85b4699dc Fix conditional in SpriteCB_DeoxysRockFragment 2022-07-12 21:29:36 -04:00
GriffinR 30a5821997 Merge pull request #1705 from sphericalice/move-unavailable
Introduces a MOVE_UNAVAILABLE constant
2022-07-12 11:32:57 -04:00
GriffinR a359db6a8c Merge pull request #1704 from LOuroboros/typeAbNameLength
Relocated TYPE_NAME_LENGTH and ABILITY_NAME_LENGTH
2022-07-11 22:49:29 -04:00
sphericalice 167353223c Use MAX_MON_MOVES in Cmd_trysetencore 2022-07-11 15:23:23 +01:00
sphericalice 186f2c0232 Introduce a MOVE_UNAVAILABLE constant 2022-07-11 15:18:13 +01:00
LOuroboros a1004485c5 Relocated TYPE_NAME_LENGTH and ABILITY_NAME_LENGTH 2022-07-10 20:08:28 -03:00
GriffinR 15f386ede6 Move make compare to its own build section 2022-07-08 01:34:38 -04:00
GriffinR 06dc93fc2f Clean up field_poison.c 2022-07-06 21:04:54 -04:00
GriffinR 2c4c9497d2 Fix comment 2022-07-06 15:02:17 -04:00
GriffinR e6a374f2b6 Rename faintifabilitynotdamp and jumpifattackandspecialattackcannotfall 2022-07-06 14:49:08 -04:00
GriffinR 76659a4091 Merge pull request #1700 from mrgriffin/battle-setup-water-transition
Simplify GetBattleTransitionTypeByMap
2022-07-05 11:10:16 -04:00
Martin Griffin c9958e3087 Simplify GetBattleTransitionTypeByMap 2022-07-05 14:17:46 +01:00
GriffinR 8231ea2b68 Merge pull request #1699 from mrgriffin/field-camera-mod-16
Identify a % 16
2022-07-04 16:31:37 -04:00
Martin Griffin 4e76ffb4ca Identify a % 16 2022-07-04 21:25:19 +01:00
GriffinR 650f033c2b Merge pull request #1695 from GriffinRichards/update-gfromh
Update some GF rom header names
2022-06-29 11:59:43 -04:00
GriffinR 06c9e0eb99 Merge pull request #1697 from Kurausukun/bpm
Use Floats and Round Correctly in Tempo Calculation
2022-06-28 00:27:44 -04:00
Kurausukun 2e7f50064c use floats for tempo calculation 2022-06-28 00:11:59 -04:00
GriffinR 277750b088 Merge branch 'master' into rme-update 2022-06-22 10:02:17 -04:00
GriffinR 8950a41bfd Update some GF rom header names 2022-06-21 18:31:09 -04:00
GriffinR c2a08cc84d Merge pull request #1689 from GriffinRichards/task-ub
Remove UBFIX related to task destruction
2022-06-21 16:33:17 -04:00
GriffinR a5291cbc10 Merge pull request #1694 from sphericalice/patch-1
Fix missing COPYWIN_FULL constant use
2022-06-19 11:54:29 -04:00
sphericalice 5d7140fa83 Fix missing COPYWIN_FULL constant use 2022-06-19 13:33:47 +01:00
GriffinR fa1ae45b39 Merge pull request #1692 from coltongit/script-fixes
Supplant PR #1579 (Fix the last of the *.inc inconsistencies)
2022-06-18 21:02:28 -04:00
Colton G. Rushton 3de23b332a Supplant https://github.com/pret/pokeemerald/pull/1579 2022-06-18 21:51:05 -03:00
GriffinR 21ed288f50 Merge pull request #1687 from SimplyBLGDev/patch-1
Format newlines in surf.inc
2022-06-18 11:04:39 -04:00
GriffinR a931874164 Merge pull request #1691 from coltongit/patch-5
Format newline in BattleFrontier_BattlePikeLobby/scripts.inc
2022-06-18 11:04:20 -04:00
Colton G. Rushton c8e6d69fdc Format newline in BattleBattleFrontier_BattlePikeLobby/scripts.inc
One of the strings declared in BattleFrontier_BattlePikeLobby/scripts.inc was poorly formatted.
2022-06-18 11:49:13 -03:00
GriffinR 57222323c1 Merge pull request #1678 from GriffinRichards/const-frontier
Add some battle frontier constant usage
2022-06-18 10:22:58 -04:00
GriffinR d11b04f251 Merge pull request #1690 from Kurausukun/ai_doc
Document Design Oddity, Use Constants, Correct Comment
2022-06-17 22:09:43 -04:00
Kurausukun d3c8346a67 fix type, add bugfix 2022-06-17 21:58:56 -04:00
Kurausukun 23e9455e0a document design oddity, use constants, correct comment 2022-06-17 21:52:58 -04:00
GriffinR 7a6b417b8e Remove UBFIX related to task destruction 2022-06-17 21:01:23 -04:00
GriffinR de1145e790 Merge pull request #1688 from coltongit/patch-4
Add bugfix from bugs_and_glitches.md to BUGFIX
2022-06-17 17:48:53 -04:00
Colton G. Rushton f02ea58a68 Add comment description of this bugfix 2022-06-17 18:32:46 -03:00
Colton G. Rushton d7ab1ba588 Fix formatting 2022-06-17 18:22:47 -03:00
Colton G. Rushton b885e01b39 Update src/item_menu_icons.c
Co-authored-by: sneed <56992013+Sneed69@users.noreply.github.com>
2022-06-17 18:16:14 -03:00
Colton G. Rushton b17fb2ff56 Delete bugs_and_glitches.md 2022-06-17 18:07:46 -03:00
Colton G. Rushton e42498ab40 Add bugfix from bugs_and_glitches.md to BUGFIX
Item flicker fix now in `BUGFIX`
Supersedes and resolves #1680
Fixes #1215
Fixes #1514
2022-06-17 18:06:37 -03:00
Simply BLG 324a157b34 Format newlines in surf.inc
One of the strings declared in surf.inc was poorly formatted.

## Description
Some of the strings declared in surf.inc contained newline characters in the middle of the .string line, opposing the format used by every string in the `data/text` directory, I just updated them to match the format, making it more readable.
2022-06-17 15:21:12 -03:00
GriffinR 03e74c4aff Merge pull request #1686 from SimplyBLGDev/patch-2
Format newlines in pc_transfer.inc
2022-06-17 13:37:57 -04:00
Simply BLG 380cc8615b Format newlines in pc_transfer.inc 2022-06-17 14:22:31 -03:00
GriffinR 0e5fac564e Merge pull request #1684 from SimplyBLGDev/patch-1
Format newlines in contest_string.inc
2022-06-17 11:20:20 -04:00
Simply BLG 1860b61fe3 Corrected two missing newlines 2022-06-17 12:05:32 -03:00
Simply BLG e48341f7fc Format newlines in contest_string.inc
Some of the strings declared in contest_string.inc were poorly formatted, containing newline characters in the middle of the string, opposing the format used by every string in data/text, I just updated them to match the format, making it more readable.
2022-06-17 11:52:54 -03:00
GriffinR 4660f8c88b Document battle tower TV show 2022-06-14 09:37:39 -04:00
GriffinR 95f075ec90 Remove erroneous bugfix 2022-06-13 15:01:04 -04:00
GriffinR dec54e6e92 Additional constant usage 2022-06-13 03:21:20 -04:00
GriffinR 6418f08944 Merge pull request #1679 from LOuroboros/ribbons
Untangled CheckPartnersMonForRibbons
2022-06-09 14:47:38 -04:00
LOuroboros 7470a56d44 Untangled CheckPartnersMonForRibbons 2022-06-09 15:08:58 -03:00
GriffinR 7143865f6f Add some battle frontier constant usage 2022-06-09 12:57:28 -04:00
GriffinR 1f540845cb Merge pull request #1675 from GriffinRichards/doc-arg
Document generic arguments
2022-06-09 11:11:02 -04:00
GriffinR ceaff148f7 Shift to multiply 2022-06-09 10:52:19 -04:00
GriffinR 89e6e11f4c Merge pull request #1676 from GriffinRichards/obj-warning
Add warning to NUM_OBJ_EVENT_GFX
2022-06-05 21:19:39 -04:00
GriffinR bc2dbd772e Add warning to NUM_OBJ_EVENT_GFX 2022-06-03 16:18:34 -04:00
GriffinR 1ca1bff81c Merge branch 'master' of https://github.com/GriffinRichards/pokeemerald into doc-arg 2022-06-03 15:43:21 -04:00
GriffinR 34438e6bc4 Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
GriffinR 78b0c20738 Merge pull request #1674 from Sneed69/master
Include config.h in siirtc.c
2022-06-03 14:45:10 -04:00
sneed af6bf17930 Include config.h in siirtc.c 2022-06-03 21:04:14 +03:00
GriffinR 817fcb1c34 Merge pull request #1673 from sphericalice/try-free-and-set-null
Use the TRY_FREE_AND_SET_NULL macro where appropriate
2022-06-03 11:07:38 -04:00
sphericalice 284e46927a Use the FREE_AND_SET_NULL macro where appropriate 2022-06-03 15:56:11 +01:00
sphericalice d03756dfd2 Use the TRY_FREE_AND_SET_NULL macro where appropriate 2022-06-03 15:42:53 +01:00
GriffinR 7bea8c58e7 Merge pull request #1672 from sphericalice/create-region-map-player-icon-arg-names
Correct CreateRegionMapPlayerIcon's argument names
2022-06-03 10:22:03 -04:00
sphericalice bb3992e7dc Use TRY_FREE_AND_SET_NULL macro for sFlyMap 2022-06-03 15:12:58 +01:00
sphericalice 380cb46919 Correct CreateRegionMapPlayerIcon's argument names
Correct CreateRegionMapPlayerIcon's argument names in include/region_map.h
2022-06-03 15:04:52 +01:00
sphericalice 35bdaccedc Add the HEAL_LOCATION_NONE constant 2022-06-03 14:59:01 +01:00
GriffinR a8437493c1 Document generic argument names in battle anim palettes 2022-06-01 12:25:01 -04:00
GriffinR 5e6d8a77e4 Document some generic argument names 2022-05-31 14:34:25 -04:00
GriffinR a7b6dfee3a Merge pull request #1669 from Bl4ckSh4rk/boolean
Use more TRUE & FALSE constants
2022-05-26 21:19:47 -04:00
BlackShark 75a44fdd79 use more true & false constants 2022-05-27 02:18:52 +02:00
GriffinR b59fb7637a Merge pull request #1668 from mrgriffin/static-assert-save-structs
Static assertion for size of save structs
2022-05-25 15:25:49 -04:00
Martin Griffin 1cc59acca9 Static assertion for size of save structs 2022-05-25 19:48:42 +01:00
GriffinR 2a6e57c082 Merge pull request #1667 from Sneed69/summary_enum
Document DrawPagination
2022-05-25 10:15:21 -04:00
sneed a913191323 Document DrawPagination 2022-05-25 16:12:16 +03:00
GriffinR 12a0920c3b Merge pull request #1666 from Sneed69/summary_enum
Minor summary screen clarification
2022-05-25 01:51:17 -04:00
sneed 5c92062c23 Update pokemon_summary_screen.c 2022-05-25 08:37:36 +03:00
GriffinR 09ea1c84f9 Merge pull request #1665 from Sneed69/master
Rename chanceCommon to chanceNotRare in SetWildMonHeldItem
2022-05-23 18:59:09 -04:00
sneed c316b11739 chanceCommon to chanceNotRare 2022-05-24 00:53:09 +03:00
GriffinR 0fb4163f20 Merge pull request #1664 from Sneed69/itemCommon_itemRare
Rename BaseStats.item1 and item2 to provide context
2022-05-23 17:12:10 -04:00
sneed c8e08edbae rename item1 and item2 in BaseStats 2022-05-23 19:10:24 +03:00
GriffinR f756e60455 Merge pull request #1663 from GriffinRichards/castform-pal
Generalize usage of castformPalette
2022-05-21 23:45:01 -04:00
GriffinR 6d772a5e30 Merge pull request #1662 from GriffinRichards/door-gfx
Clean up door animations
2022-05-21 16:07:02 -04:00
GriffinR c9c754be06 Merge pull request #1661 from GriffinRichards/fix-inconsistent-static
Fix inconsistent static s/g names
2022-05-20 19:38:02 -04:00
GriffinR 7f64bf58d6 Merge pull request #1660 from GriffinRichards/doc-contest-bar
Document Task_UpdateContestResultBar
2022-05-19 12:52:44 -04:00
GriffinR 91baf08638 Generalize usage of castformPalette 2022-05-18 22:11:51 -04:00
GriffinR c2dc4a5dea Some field door comments 2022-05-18 13:03:02 -04:00
GriffinR 5c8e1e81ea Color single-palette door anim graphics 2022-05-18 12:41:20 -04:00
GriffinR 67d73ee36f Clean up door animation functions 2022-05-17 17:13:29 -04:00
GriffinR 5fa8ca55b0 Clean up some additional unknowns 2022-05-17 17:12:45 -04:00
GriffinR 593e2c9be0 Fix inconsistent static s/g names 2022-05-17 14:00:02 -04:00
GriffinR 71ea78cc32 Document Task_UpdateContestResultBar 2022-05-16 15:01:06 -04:00
GriffinR 8a921bb680 Merge pull request #1659 from cbt6/step-functions
Use ARRAY_COUNT in sStepTimes for step functions
2022-05-15 10:19:06 -04:00
cbt6 6d6dac3add Use ARRAY_COUNT in sStepTimes for step functions 2022-05-15 21:44:04 +08:00
GriffinR ed1cc203c6 Merge pull request #1654 from Kurausukun/better_dinfo
Don't Build Modern with -g by Default
2022-05-12 22:41:15 -04:00
Kurausukun 7d224197c0 Update INSTALL.md 2022-05-12 22:33:17 -04:00
Kurausukun 1c13335d16 Update INSTALL.md 2022-05-12 22:05:44 -04:00
GriffinR 1842af7570 Merge pull request #1655 from GriffinRichards/fix-berry-id
Fix math in CreateBerrySprite
2022-05-12 18:04:30 -04:00
PikalaxALT ff936c15e1 Sync arg descriptions from FireRed
https://github.com/pret/pokefirered/pull/501
2022-04-28 13:46:23 -04:00
PikalaxALT 3f7b6ca357 Remove spurious space in battle_anim_scripts.s 2022-04-28 09:04:16 -04:00
GriffinR 2b223acd87 Fix math in CreateBerrySprite 2022-04-26 21:44:11 -04:00
GriffinR ef4d99c87e Merge pull request #1645 from acidghost/fix-find-libpng
Fix finding libpng in gbagfx and rsfont on macOS M1
2022-04-20 10:47:12 -04:00
Kurausukun 0bda107188 don't build modern with -g by default 2022-04-20 01:07:10 -04:00
GriffinR fc5747f0f7 Merge pull request #1649 from GriffinRichards/clean-trainer
Trainer hill clean up
2022-04-20 00:20:44 -04:00
GriffinR 493210d66f Merge pull request #1653 from SBird1337/fix/agbprint
fix building without NDEBUG on agbcc
2022-04-16 14:57:06 -04:00
sbird 59cff2190d fix building without NDEBUG on agbcc 2022-04-16 19:03:20 +02:00
garakmon 3fe423a6f4 use json for region map sections
- update nlohmann/json and pantor/inja in tools/
  - create new inja template
2022-04-04 23:32:03 -04:00
GriffinR 8103caea15 Merge pull request #1650 from ISSOtm/patch-1
Add Arch Linux install instructions
2022-04-03 10:59:25 -04:00
Eldred Habert e1f89c70d9 Add Arch Linux install instructions
I didn't test the devkitARM install instructions, but they are pretty much transcribed from the Ubuntu/Deb ones, so that should be fine.
2022-04-03 11:37:22 +02:00
GriffinR 00e0eefe09 Document trainer hill prize selection 2022-04-01 01:37:48 -04:00
GriffinR 44b44d3e77 Merge pull request #1648 from GriffinRichards/factory-bugfix
Add bugfix for Battle Factory trainer IVs
2022-03-31 22:26:03 -04:00
GriffinR 328b925a08 Move trainer hill map data to bin files 2022-03-31 14:08:31 -04:00
GriffinR 62f3f144ab Clean up some trainer hill 2022-03-31 12:54:07 -04:00
GriffinR 66cbe29c14 Add bugfix for Battle Factory trainer IVs 2022-03-30 09:37:03 -04:00
Andrea Jemmett f8b3a1c658 Fix finding libpng in gbagfx and rsfont
On macOS 12, Homebrew installs libpng in a custom location.
2022-03-16 14:41:12 +01:00
GriffinR 5160520639 Merge pull request #1642 from GriffinRichards/bstrings
Add usage of battle strings table offset constant
2022-03-14 16:40:54 -04:00
GriffinR 33c05cefe2 Merge pull request #1644 from GriffinRichards/name-jump-long-grass
Name unknown_16.png
2022-03-14 16:32:08 -04:00
GriffinR 058783c148 Fix comment mistake 2022-03-14 16:01:17 -04:00
GriffinR 0a0157b62c Name unknown_16.png 2022-03-14 15:54:47 -04:00
cbt6 3cc21a0fc8 Format object event graphics info 2022-03-13 05:19:16 +08:00
GriffinR ce227aa055 Merge pull request #1640 from GriffinRichards/doc-egg-hatch
Improve egg hatch documentation
2022-03-12 09:41:14 -05:00
GriffinR bb91b1b0d1 Update generic macro argument names 2022-03-10 16:36:41 -05:00
GriffinR d664135572 Add usage of battle strings table offset constant 2022-03-10 10:44:04 -05:00
GriffinR b1d61b9227 Merge pull request #1641 from GriffinRichards/subsprite-arr-count
Use ARRAY_COUNT for obj event subsprite tables
2022-03-03 23:08:52 -05:00
GriffinR f78f46a1e2 Use ARRAY_COUNT for obj event subsprite tables 2022-03-03 14:54:05 -05:00
GriffinR 8bf7e7b6f5 Improve egg hatch documentation 2022-03-03 01:33:49 -05:00
GriffinR a2ee0c8393 Merge pull request #1639 from GriffinRichards/typo-hoppy
Fix bunny hoppy typo
2022-02-28 22:34:24 -05:00
GriffinR 5d58cdd297 Fix bunny hoppy typo 2022-02-28 13:34:39 -05:00
GriffinR 2142ad96d5 Merge pull request #1638 from GriffinRichards/menu-arr-count
Add missing menu array counts
2022-02-28 01:49:09 -05:00
GriffinR 3d0663fe81 Additional trader clean up 2022-02-27 13:58:48 -05:00
GriffinR 36e5d5e759 Add missing menu array counts 2022-02-27 13:47:50 -05:00
GriffinR 6262080e9c Merge pull request #1614 from laqieer/patch-1
Install libpng using pacman instead of manual build for msys2
2022-02-23 08:07:23 -05:00
GriffinR f7ba502c52 Merge pull request #1637 from cbt6/pc-location
Use constants for PC locations
2022-02-23 08:04:16 -05:00
cbt6 f826a5a82d Use constants for PC locations 2022-02-23 15:07:22 +08:00
GriffinR 8b43cffe09 Move remaining region map graphics to region map folder 2022-02-22 18:43:23 -05:00
GriffinR ed70b81ba0 Use constants for region map layout 2022-02-22 18:29:21 -05:00
GriffinR a0c127f72c Move region map layout to C 2022-02-22 18:13:11 -05:00
GriffinR 3765c1e7f1 Merge pull request #1635 from sphericalice/battle-pyramind
Rename GetBattlePyramindTrainerEncounterMusicId to fix typo
2022-02-22 14:22:35 -05:00
sphericalice 40efac0ddf Rename GetBattlePyramindTrainerEncounterMusicId to fix typo 2022-02-22 19:13:17 +00:00
GriffinR eca5233abe Merge pull request #1633 from abaresk/slot-cleanup
Clean up and document Slot Machines more
2022-02-20 17:59:14 -05:00
hondew 08bf2587ce Fix typos 2022-02-20 17:47:24 -05:00
hondew 39fc1cd414 Switch to 'symbol' nomenclature 2022-02-20 17:02:37 -05:00
hondew 26e87eed0a Address comments 2022-02-20 15:32:32 -05:00
hondew a578fa5e2b Minor fixes 2022-02-20 12:06:29 -05:00
hondew 50cb504d4c Remove stuff 2022-02-20 10:15:07 -05:00
Abaresk c39b0ff6d7 Document slot machine more (unabridged) 2022-02-20 10:09:49 -05:00
GriffinR 8c64ba335c Merge pull request #1630 from GriffinRichards/party-menu-slots
Convert party menu slots to bin files
2022-02-16 13:00:13 -05:00
GriffinR 3b75cd13d0 Merge pull request #1631 from GriffinRichards/missing-colors
Add some missing RGB constant usage
2022-02-16 09:24:16 -05:00
GriffinR 0710a5467b Add some missing RGB constant usage 2022-02-15 21:55:51 -05:00
GriffinR 131ed1916e Generalize name of party slot without HP 2022-02-15 16:24:19 -05:00
GriffinR 49eca60955 Convert party menu slots to bin files 2022-02-15 16:12:54 -05:00
GriffinR 2fcd57eab2 Merge pull request #1629 from GriffinRichards/connection-dir
Add missing direction constant usage
2022-02-14 23:50:06 -05:00
GriffinR 7ddb9cb84c Add missing direction constant usage 2022-02-14 17:34:01 -05:00
GriffinR eb07617a20 Merge pull request #1623 from kiliwily/master
Update money.c
2022-02-09 08:34:10 -05:00
kiliwily a86a279184 Update money.c 2022-02-06 16:25:56 +01:00
GriffinR 7d2344c07b Merge pull request #1616 from GriffinRichards/missing-req
Add missing :req, remove old macros
2022-02-02 22:09:36 -05:00
GriffinR f494238a9d Merge pull request #1621 from GriffinRichards/constants-collision
Add missing collision constant usage
2022-01-30 23:00:05 -05:00
GriffinR 1ff0b0efa9 Add missing collision constant usage 2022-01-29 21:13:46 -05:00
GriffinR e30b16f0fd Fix Swap_HandleQuitSwappingResposne typo 2022-01-26 21:50:15 -05:00
GriffinR 2efbd5f549 Merge pull request #1608 from GriffinRichards/fix-fieldmap
Fix some incorrect fieldmap names
2022-01-26 17:51:56 -05:00
GriffinR 4188dd405c Merge pull request #1620 from LOuroboros/gBallSpriteTemplates
Used ball constants in gBallSpriteTemplates
2022-01-26 17:44:26 -05:00
LOuroboros 6470b0d004 Used ball constants in gBallSpriteTemplates 2022-01-26 18:36:21 -03:00
GriffinR dc7d86f026 Add new macro comments 2022-01-23 19:30:39 -05:00
GriffinR 2495d18132 Add missing :req, remove old macros 2022-01-23 18:52:04 -05:00
laqieer dc2e210ade Install libpng using pacman instead of manual build for msys2 2022-01-23 17:31:54 +08:00
GriffinR 9f2b6ab2f2 Merge pull request #1613 from Kurausukun/m4asymbols
Move M4A Track Definitions
2022-01-22 21:41:37 -05:00
Kurausukun 2cc301603e lmao whitespace 2022-01-22 21:30:39 -05:00
Kurausukun 3b756bfb3d fix compilation on modern 2022-01-22 20:38:41 -05:00
Kurausukun 317e302147 fix inconsistent indentation 2022-01-22 19:43:11 -05:00
Kurausukun 04013fbdf2 forgot we could do this 2022-01-22 19:41:31 -05:00
Kurausukun a83e41b2cc move m4a track definitions 2022-01-22 19:37:46 -05:00
GriffinR 3d0326106e Z coord / height -> elevation 2022-01-21 12:48:19 -05:00
GriffinR 79dfac92c9 Merge pull request #1604 from GriffinRichards/clean-spinda
Document Spinda spot algorithm
2022-01-21 09:55:43 -05:00
GriffinR fb81d9ad4a Correct map data comment 2022-01-20 23:26:39 -05:00
GriffinR 8743172686 Merge pull request #1612 from AsparagusEduardo/pret_misc
Small documentation and cleanup
2022-01-20 12:11:27 -05:00
Eduardo Quezada D'Ottone 7d75e16312 Small documentation and cleanup 2022-01-20 12:25:48 -03:00
GriffinR 062cdbe01c Merge pull request #1599 from GriffinRichards/fix-tilemaps
Break up graphics/interface and graphics/misc
2022-01-20 08:53:44 -05:00
GriffinR a7e6045d71 Merge pull request #1597 from GriffinRichards/misc-cleanup
Miscellaneous fixes
2022-01-19 22:17:37 -05:00
GriffinR c4f33f2b2b TRAVERSABLE->UNUSED, rename MB_SECRET_BASE_OBSTACLE 2022-01-19 12:54:55 -05:00
GriffinR e682c12519 sTileBitAttributes to sparse array, rename MB_UNNUSED_CAVE 2022-01-19 12:39:11 -05:00
GriffinR e3b49604d4 Use metatile layer constants in shop 2022-01-19 10:59:37 -05:00
GriffinR 8200fda14e Fix decorations metatile attribute names 2022-01-19 10:56:54 -05:00
GriffinR a8b466dc80 Disambiguate fieldmap names 2022-01-19 10:15:32 -05:00
GriffinR f127e64a3c Name overworld tilemaps for their bg, add layer type constants 2022-01-19 09:37:12 -05:00
GriffinR 30d9704418 Specify unsigned in spot comment 2022-01-17 17:27:17 -05:00
GriffinR 313f14ed63 Add Spinda spot color constants 2022-01-17 17:00:18 -05:00
GriffinR 177863da47 Fix typo 2022-01-17 16:04:02 -05:00
GriffinR 225147a94f Document Spinda spot algorithm 2022-01-17 15:34:18 -05:00
GriffinR 69759b2d12 Merge pull request #1601 from GriffinRichards/fix-decor-flag
Fix FLAG_DECORATION_0 name
2022-01-16 17:44:58 -05:00
GriffinR 14a11899cf Merge pull request #1603 from LOuroboros/patch-2
Updated the value of MAX_MAP_DATA_SIZE
2022-01-16 17:37:26 -05:00
LOuroboros a4d31da923 Updated the value of MAX_MAP_DATA_SIZE 2022-01-16 19:22:28 -03:00
GriffinR dad4132762 Merge pull request #1596 from GriffinRichards/player-avatar-arr-const
Add missing array constants in field_player_avatar
2022-01-16 14:03:20 -05:00
GriffinR 60162a98b9 Merge pull request #1602 from GriffinRichards/charmap-quote
Allow right single quotation mark in charmap
2022-01-16 13:55:16 -05:00
GriffinR 6d6ff91268 Allow right single quotation mark in charmap 2022-01-16 10:29:15 -05:00
GriffinR 755d9143a6 Merge pull request #1600 from GriffinRichards/remove-berry-fix
Remove berry fix
2022-01-15 12:20:22 -05:00
GriffinR bd43b905b7 Apply palettes to some field effect pngs 2022-01-14 12:51:13 -05:00
GriffinR 4dec9b83a3 Move more graphics out of misc 2022-01-14 12:29:30 -05:00
GriffinR 9ded1eb14e Merge pull request #1598 from atasro2/master
Give sensical names to Unused_AdjustBgMosaic
2022-01-14 09:12:05 -05:00
MCboy 1a33187bad Move enum to bg.h 2022-01-14 13:48:46 +03:30
MCboy 998900bd1b Give sensical names to Unused_AdjustBgMosaic 2022-01-14 13:37:27 +03:30
GriffinR fd7457b05a Remove berry fix 2022-01-13 15:26:20 -05:00
GriffinR f899a02ac6 Use MON_GIVEN_TO_ constants for givemon 2022-01-12 18:34:26 -05:00
GriffinR 01af8e877f Move starter choose out of interface/misc 2022-01-11 17:49:08 -05:00
GriffinR 694aa3c65d Move balls, shop, link, map popups, and bag out of interface 2022-01-11 13:53:23 -05:00
GriffinR fa2d25d366 Merge pull request #1594 from GriffinRichards/pokestorage-clean
Misc pokemon_storage_system cleanup
2022-01-11 12:26:02 -05:00
GriffinR d782d3544d Move pokeblock graphics out of interface 2022-01-11 11:46:58 -05:00
GriffinR 565dd24309 Move party menu graphics out of interface 2022-01-11 11:37:13 -05:00
GriffinR 7103839a61 Move summary screen graphics out of interface, fix some names 2022-01-11 11:22:45 -05:00
GriffinR fde18b4774 Fix berry crusher graphics name 2022-01-11 10:42:00 -05:00
GriffinR 0a78cb5c9e Fix some battle dome graphics names 2022-01-11 10:04:47 -05:00
GriffinR 49418f8c01 Add missing commas 2022-01-11 09:55:11 -05:00
GriffinR 3a6c633905 Add seteventmon 2022-01-11 02:16:25 -05:00
GriffinR 110fbc559c Make item optional for givemon and setwildbattle 2022-01-11 02:08:14 -05:00
GriffinR 4024b3f1b3 Merge pull request #1590 from GriffinRichards/dex-enum
Convert pokedex defines to enums
2022-01-10 14:56:26 -05:00
Wiz ded2021361 Remove redundant assembler 2022-01-09 14:42:41 -06:00
GriffinR 429d53b95c Use runningState directly in CheckMovementInputNotOnBike 2022-01-09 11:12:35 -05:00
GriffinR 8b920691e6 Fix FLAG_DECORATION_0 name 2022-01-09 01:31:42 -05:00
GriffinR 8f1a760937 Add missing array constants in field_player_avatar 2022-01-08 23:55:26 -05:00
GriffinR 30dbf3f858 Merge pull request #1595 from sphericalice/patch-3
Remove unneeded brackets in GetWeekCount
2022-01-08 17:44:25 -05:00
sphericalice 6a21c3f5f3 Remove unneeded brackets in GetWeekCount 2022-01-08 20:39:45 +00:00
GriffinR ca9bc34bea Clean up pokemon_storage_system graphics 2022-01-07 17:36:38 -05:00
GriffinR 5cbe572607 Add window constants in pokemon_storage_system 2022-01-07 17:05:58 -05:00
GriffinR a837d1fe2c Merge pull request #1593 from laqieer/master
Fix macro v069 in sound/MPlayDef.s
2022-01-07 12:09:51 -05:00
laqieer 1c6232bc2e Fix macro v069 in sound/MPlayDef.s 2022-01-08 00:58:05 +08:00
GriffinR 577e6cc740 Merge pull request #1586 from GriffinRichards/clean-areascreen
Clean up pokedex_area_screen
2022-01-06 23:02:23 -05:00
GriffinR 713cd6616e Add glow tile empty 2022-01-06 22:33:00 -05:00
GriffinR 71e0b480a9 Merge pull request #1591 from kiliwily/master
Fix brackets inconsistency in field_specials.c
2022-01-06 13:58:06 -05:00
kiliwily 8a9740b819 Update field_specials.c 2022-01-06 19:47:56 +01:00
kiliwily ba9b533845 Revert "Update field_specials.c"
This reverts commit f67137ddb2.
2022-01-06 19:45:38 +01:00
kiliwily f67137ddb2 Update field_specials.c 2022-01-06 19:29:58 +01:00
GriffinR d4111d5520 Add comment about pokedex reordering 2022-01-05 14:50:19 -05:00
GriffinR 5d033c2e4d Convert pokedex defines to enums 2022-01-05 12:18:49 -05:00
GriffinR ce55e58ad8 Misc cleanup 2022-01-04 10:09:42 -05:00
GriffinR 45e8cd4b84 Merge pull request #1589 from sphericalice/patch-2
Use SPECIES_NONE and ITEM_NONE in battle_tower.c
2022-01-04 08:55:33 -05:00
sphericalice 48bf1ab98d Use SPECIES_NONE and ITEM_NONE in battle_tower.c 2022-01-04 13:46:46 +00:00
GriffinR ac47489216 Merge pull request #1588 from sphericalice/patch-1
Use TEXT_SKIP_DRAW in CreateAvailableDecorationsMenu
2022-01-02 16:09:31 -05:00
sphericalice 2d536bf560 Use TEXT_SKIP_DRAW in CreateAvailableDecorationsMenu 2022-01-02 21:02:53 +00:00
GriffinR 434086be69 Merge pull request #1585 from sphericalice/patch-2
Update field_specials.c to match the style
2021-12-31 12:39:43 -05:00
sphericalice 61a0036c47 Clarify ScrollableMultichoice_ProcessInput comment 2021-12-31 17:34:46 +00:00
sphericalice 9e660b2cdf Update src/field_specials.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
2021-12-31 16:29:11 +00:00
sphericalice 4f6323606f Update field_specials.c to match the style 2021-12-31 16:24:44 +00:00
GriffinR 23f5c9fd5c Clean up pokedex_area_screen 2021-12-31 00:16:56 -05:00
GriffinR 643cc62f73 Merge pull request #1584 from sphericalice/patch-1
Remove some magic numbers from TryPushBoulder
2021-12-30 09:00:08 -05:00
sphericalice 50522fdea4 Remove some magic numbers from TryPushBoulder 2021-12-30 12:21:47 +00:00
GriffinR 4192a40adf Merge pull request #1583 from GriffinRichards/renametilemaps
Give less generic names to some tilemaps, some misc fixes
2021-12-29 00:57:37 -05:00
GriffinR aadab8b016 Move pokemon and easy chat constants to global, misc clean-up 2021-12-28 18:07:41 -05:00
GriffinR aba5264260 RGB macro use in slot_machine 2021-12-28 17:46:05 -05:00
GriffinR 4fc345fff5 Rename unused frontier pass tilemap 2021-12-28 14:54:09 -05:00
GriffinR 3acf002a9c Rename generic jp contest tilemaps 2021-12-28 13:16:40 -05:00
GriffinR ee5e65d9ed Rename generic title screen tilemaps 2021-12-28 03:57:44 -05:00
GriffinR f554f09aed Merge pull request #1582 from LOuroboros/patch-2
Update main_menu.c
2021-12-27 16:29:08 -05:00
LOuroboros 599ca58059 Update main_menu.c 2021-12-25 07:04:19 -03:00
GriffinR 84925a892b Merge pull request #1576 from Kurausukun/aif2pcm16
Accept 16-bit AIFF Files and Convert to 8-bit
2021-12-24 02:48:48 -05:00
GriffinR 94c2b7f1c6 Merge pull request #1581 from LOuroboros/patch-2
Fixed typo in src/battle_script_commands.c
2021-12-24 00:07:24 -05:00
LOuroboros 03205c995d Update battle_script_commands.c 2021-12-24 01:59:40 -03:00
GriffinR f663e310b1 Merge pull request #1580 from LOuroboros/patch-2
Removed some commented out addresses
2021-12-21 20:55:41 -05:00
LOuroboros d94dae18f7 Removed more commented out addresses
I like to help.
2021-12-21 22:49:30 -03:00
LOuroboros e28fa7f91c Update event_scripts.s 2021-12-21 22:10:54 -03:00
Kurausukun 39f493287f one more lel 2021-12-17 23:03:09 -05:00
Kurausukun f336acb3a9 fix indentation again 2021-12-17 23:00:03 -05:00
Kurausukun efee1288a0 fix indentation 2021-12-17 22:56:20 -05:00
Kurausukun 0f6311b470 accept 16-bit aiff files and convert to 8-bit 2021-12-17 22:49:45 -05:00
GriffinR 32a9ac6eb1 Merge pull request #1575 from LOuroboros/benriBotan
[LEAK INFORMED] Documented the unk19 item field
2021-12-17 22:27:45 -05:00
LOuroboros 4a74d288d4 Review corrections 2021-12-18 00:01:50 -03:00
LOuroboros dbca24aa82 [LEAK INFORMED] Documented the unk19 item field 2021-12-17 19:41:39 -03:00
GriffinR 6e5520207f Merge pull request #1573 from GriffinRichards/tilesetanim
Clean up tileset_anims
2021-12-15 09:47:54 -05:00
GriffinR 961dbee5e3 Clean up tileset_anims 2021-12-14 21:41:07 -05:00
GriffinR df371fdda5 Merge pull request #1572 from LOuroboros/patch-2
Update trade.c
2021-12-14 12:54:09 -05:00
LOuroboros 660a3df929 Update trade.c 2021-12-14 14:47:04 -03:00
GriffinR d8e405c4f6 Merge pull request #1571 from GriffinRichards/fix-evergrandeflowers
Fix incorrect ever grande flower animation palettes
2021-12-08 18:02:41 -05:00
GriffinR cc05b08227 Fix incorrect ever grande flower animation palettes 2021-12-06 11:17:42 -05:00
GriffinR 888bb4ae9e Merge pull request #1570 from GriffinRichards/fix-flag
Fix incorrect flag animation palettes
2021-12-03 18:44:24 -05:00
GriffinR 8cbb207795 Merge pull request #1568 from GriffinRichards/fix-roamerstatus
Add BUGFIX for roamer's status
2021-12-03 16:58:53 -05:00
GriffinR d501636730 Fix incorrect flag animation palettes 2021-12-03 16:36:18 -05:00
GriffinR 1a08d8fcb4 Add BUGFIX for roamer's status 2021-11-29 12:56:03 -05:00
GriffinR 83be1bfc8f Remove sFiller from malloc.c 2021-11-29 11:19:30 -05:00
GriffinR 4c64863bc5 Merge pull request #1567 from LOuroboros/sBattleTerrainTable
Renamed gBattleTerrainTable
2021-11-27 23:43:22 -05:00
GriffinR 01859a63ff Merge pull request #1566 from cbt6/move-speed
Rename speed parameter to distance in jump functions
2021-11-27 23:37:50 -05:00
LOuroboros b042eb6436 gBattleTerrainTable -> sBattleTerrainTable 2021-11-28 01:22:27 -03:00
cbt6 c59c7b0518 Use enums for jump distances 2021-11-28 12:01:29 +08:00
cbt6 b6430098d4 Rename speed parameter to distance in jump functions 2021-11-28 12:01:29 +08:00
GriffinR e677a00676 Merge pull request #1560 from GriffinRichards/retire-ok
Retire OK bot
2021-11-27 21:27:14 -05:00
GriffinR e0fae879da Merge pull request #1558 from GriffinRichards/update-macros
Update event macro comments
2021-11-22 19:10:49 -05:00
GriffinR f81565163e Retire OK bot 2021-11-21 11:48:50 -05:00
GriffinR 5cb875b6cb Merge pull request #1559 from GriffinRichards/remove-flower
Fix incorrect flower animation palettes
2021-11-21 11:29:11 -05:00
GriffinR 23dd1dad7f Fix incorrect palettes in Mauville flower tileset anims 2021-11-21 11:23:03 -05:00
GriffinR 42a83ee50e Use STR_VAR names for apprentice_buff and frontier_gettrainername 2021-11-18 23:20:05 -05:00
GriffinR e66ea0cb99 Reformat compare + goto_if/call_if to single statements 2021-11-18 23:06:51 -05:00
GriffinR c57efdba5d Allow compare + goto_if/call_if as a single statement 2021-11-18 22:06:53 -05:00
GriffinR 6c6487dd7a Missing spaces to tabs in scripts files 2021-11-18 21:02:22 -05:00
GriffinR 591ab7241f Macro comment typo fix, Object->object 2021-11-18 17:24:43 -05:00
GriffinR c89dfd9f56 Finish updating macro comments 2021-11-18 01:47:58 -05:00
GriffinR b5b5d95de6 Distinguish 'virtual object' names from object events 2021-11-17 23:40:53 -05:00
GriffinR 1b35f9adad Use specific name limits for string limit functions 2021-11-17 22:11:03 -05:00
GriffinR b9fa18bdd4 Merge branch 'master' of https://github.com/GriffinRichards/pokeemerald into update-macros 2021-11-17 22:03:37 -05:00
GriffinR c4f8f4d11a Add STR_VAR_# ids to string buffer macros 2021-11-17 22:00:44 -05:00
GriffinR c940b67716 Continue macro comment updating 2021-11-17 17:45:59 -05:00
GriffinR 700425ef5f Index sMapHealLocations 2021-11-17 15:52:04 -05:00
GriffinR c1970a4bc8 Remove dead sub references 2021-11-17 15:47:47 -05:00
GriffinR cfb9ae40d7 Merge pull request #1557 from GriffinRichards/fix-calcrom-0
Fix calcrom's handling of 0s
2021-11-17 15:11:23 -05:00
GriffinR ec97a21f95 Fix calcrom's handling of 0s 2021-11-17 15:04:42 -05:00
GriffinR ecb13cdbf7 Merge pull request #1550 from GriffinRichards/doc-pokenav
Document Pokénav
2021-11-17 14:47:34 -05:00
GriffinR eb95ac0b9c Document field_tasks 2021-11-17 14:44:42 -05:00
GriffinR f872ac1b80 Merge pull request #1556 from cbt6/move-enum
Use movement action constant values over enum
2021-11-17 14:14:37 -05:00
cbt6 9d18ad0b5a Make arguments for create_movement_action required 2021-11-18 03:07:09 +08:00
cbt6 f23d9ff30e Use movement action constant values over enum 2021-11-18 02:43:39 +08:00
GriffinR 61aa9c3ba9 More updating event macro comments 2021-11-16 17:46:34 -05:00
GriffinR d414787932 Some TV clean-up 2021-11-16 16:22:17 -05:00
GriffinR 5d9c31a610 Label slot machine ids, fix GetPriceReduction 2021-11-16 15:43:52 -05:00
GriffinR 63c5905914 Continue updating event macro comments 2021-11-16 13:10:23 -05:00
GriffinR 04cc923d6c Handle optional arguments for warp commands, add WARP_ID_NONE 2021-11-16 10:53:00 -05:00
GriffinR c1130592fa Drop some overworld prefixes 2021-11-15 10:58:05 -05:00
GriffinR 65d3b58374 Add PARTY_NOTHING_CHOSEN 2021-11-15 10:57:06 -05:00
GriffinR f85de6eca5 Start event macro comment updates 2021-11-15 10:54:57 -05:00
GriffinR d98bd4dba7 Name pokenav region map structs 2021-11-15 01:37:22 -05:00
GriffinR 4275cf4b90 Rename pokenav match call files 2021-11-15 01:30:21 -05:00
GriffinR 14d78d7633 Finish match call menu doc 2021-11-15 01:20:03 -05:00
GriffinR c779d03b3e Rename pokenav_match_call_ui 2021-11-15 00:21:40 -05:00
GriffinR d4d4234283 Finish pokenav list ui doc 2021-11-15 00:09:02 -05:00
GriffinR 7e27a0746d Misc text clean-up 2021-11-14 22:21:17 -05:00
GriffinR 793947cd4b Merge pull request #1553 from GBAWiz420/Typo
Designate gBattleAnimBgImage_Attract and related as arrays
2021-11-14 18:02:20 -05:00
Wiz 927f9d27df Designate gBattleAnimBgImage_Attract and related as arrays 2021-11-14 17:08:03 -05:00
GriffinR 70577e844d Merge pull request #1548 from GriffinRichards/doc-banim
Document battle_anim_mons
2021-11-13 23:32:10 -05:00
GriffinR f42eafc85b Merge branch 'master' into doc-banim 2021-11-13 23:26:46 -05:00
GriffinR 8d18d03c79 Merge pull request #1552 from ProjectRevoTPP/fix_saveblock_reorder
Enforce structs to enforce save block order for modern toolchains.
2021-11-13 23:25:29 -05:00
GriffinR 159bb37bbe Merge branch 'master' into fix_saveblock_reorder 2021-11-13 23:19:57 -05:00
GriffinR 9a932cd9c3 Merge pull request #1549 from GriffinRichards/doc-binterface
Document remaining symbols in battle_interface, palette, and save
2021-11-13 23:19:08 -05:00
ProjectRevoTPP 9d3345a6d6 Enforce structs to enforce save block order for modern toolchains. 2021-11-13 21:41:16 -05:00
GriffinR 8e8b70c15c Add clarifying comment to LinkFullSave_WriteSector 2021-11-13 17:23:03 -05:00
GriffinR 4c4fa1f25e Typo fix 2021-11-13 16:56:45 -05:00
GriffinR b14fe9dce3 Merge pull request #1547 from GriffinRichards/doc-sounddata
Clean up sound, add CRY_MODE constants
2021-11-13 15:54:40 -05:00
GriffinR b3e593dff5 Continue pokenav list ui doc 2021-11-13 15:52:58 -05:00
GriffinR ec05157568 Move pokenav list item union out of list struct 2021-11-13 11:27:11 -05:00
GriffinR 3b91d8fdaf Start pokenav list ui doc 2021-11-12 20:36:19 -05:00
GriffinR da5752fd0d Start match call menu doc 2021-11-12 20:17:06 -05:00
GriffinR ffe2970e30 Rename pokenav menu handler files 2021-11-12 17:13:50 -05:00
GriffinR baeacbe2f1 Clean up pokenav general menus, organize pokenav graphics 2021-11-12 17:08:12 -05:00
GriffinR 004d1cab3f Clean up pokenav conditions doc 2021-11-12 11:13:49 -05:00
GriffinR 35aeff1b6d Rename pokenav conditions files 2021-11-12 11:07:52 -05:00
GriffinR f5152094a9 Finish pokenav conditions doc 2021-11-12 11:01:22 -05:00
GriffinR 7efdc0902b Finish condition graph doc 2021-11-11 15:29:15 -05:00
GriffinR 4590887359 Clean up some register constant use 2021-11-10 17:01:21 -05:00
GriffinR 343ac99049 Start pokenav conditions doc 2021-11-10 17:00:54 -05:00
GriffinR 57be596ce4 Fix calcrom partial doc becoming negative 2021-11-10 13:14:11 -05:00
GriffinR 342b7da5d3 Fix CRY_MODE_ECHO 2021-11-10 11:59:15 -05:00
GriffinR ef935f6f4a Merge pull request #1544 from GriffinRichards/romheadergf
Split headers from crt0.s
2021-11-09 23:54:57 -05:00
GriffinR 8e424b6985 Merge branch 'master' into doc-binterface 2021-11-09 16:09:48 -05:00
GriffinR 43e942c3af Clean up pokenav ribbons 2021-11-09 12:50:35 -05:00
GriffinR 1c82571fa0 Merge pull request #1542 from GriffinRichards/doc-menu
Document menu
2021-11-08 21:23:21 -05:00
GriffinR adf773f1ed Document remainder of save.c 2021-11-08 19:45:14 -05:00
GriffinR ab1074e629 Label unknown palette functions 2021-11-08 16:08:36 -05:00
GriffinR 684f599a44 Label remaining battle_interface symbols 2021-11-08 16:03:44 -05:00
GriffinR e3b6337c3a Finish battle_anim_mons doc 2021-11-08 14:29:37 -05:00
GriffinR ae2602b5a5 Add missing BATTLER_COORD usage 2021-11-08 11:54:29 -05:00
GriffinR d20341646a Start battle_anim_mons doc 2021-11-08 11:46:13 -05:00
GriffinR 1548e902cd Add MonCoods size macro 2021-11-08 09:41:23 -05:00
GriffinR c4169cfd29 Disambiguate cry functions 2021-11-07 14:26:09 -05:00
GriffinR 54b254a829 Add CRY_MODE constants 2021-11-07 13:33:05 -05:00
GriffinR 4f825a6ee0 Give generic names to unknown direct sound wave data 2021-11-06 17:00:24 -04:00
GriffinR 737a5cba55 Merge pull request #1546 from AsparagusEduardo/pret_sandstorm
Using WEATHER_SANDSTORM in battle_setup
2021-11-06 14:21:11 -04:00
Eduardo Quezada D'Ottone b282bbc270 Using WEATHER_SANDSTORM in battle_setup 2021-11-06 14:55:27 -03:00
GriffinR 93705bc257 Label phonemes 2021-11-06 12:30:40 -04:00
GriffinR 44295261b0 Give programmable wave samples generic names 2021-11-06 12:07:42 -04:00
GriffinR abab6cef09 Label remaining m4a functions 2021-11-06 11:42:34 -04:00
GriffinR f9e8c88eb5 Merge pull request #1543 from cbt6/move-fastest
Rename WalkFastest functions to WalkFaster
2021-11-06 10:32:59 -04:00
GriffinR 27957b5c1f Merge pull request #1545 from sphericalice/pal-constants
Use relevant constants for BlendPalettes
2021-11-05 18:05:41 -04:00
sphericalice 6e49b45eb6 Use relevant constants for BlendPalettes 2021-11-05 21:58:13 +00:00
GriffinR e65677c944 Update modern linker script 2021-11-04 17:28:41 -04:00
cbt6 32aaf6912f Rename movement scripts to use Faster over Fastest 2021-11-05 02:22:28 +08:00
cbt6 0fe3881961 Rename WalkInPlaceFastest to WalkInPlaceFaster 2021-11-05 01:54:34 +08:00
GriffinR c6b83bbb21 Fix merge 2021-11-04 12:18:34 -04:00
GriffinR be7d0bd3b0 Merge branch 'master' into doc-menu 2021-11-04 12:11:31 -04:00
GriffinR 17b657d83a Finish menu documentation 2021-11-04 11:52:43 -04:00
GriffinR c291fa8e7f Propagate BG_COORD constants 2021-11-03 23:02:06 -04:00
PikalaxALT 7940f121f6 Merge pull request #1539 from GriffinRichards/doc-finalmisc
Document files with a few remaining symbols
2021-11-03 20:49:14 -04:00
PikalaxALT 6bdf6f25f4 Merge pull request #1540 from GriffinRichards/sync-libgcn
Sync libgcnmultiboot
2021-11-03 20:45:54 -04:00
GriffinR d6f873ba69 Continue menu documentation 2021-11-03 20:38:23 -04:00
GriffinR 50d3003a0d Text clean-up, TEXT_SPEED_FF to TEXT_SKIP_DRAW 2021-11-03 19:54:20 -04:00
GriffinR 085f8adec6 Start remaining menu documentation 2021-11-03 17:38:08 -04:00
GriffinR 9a0618afc3 Add COPYWIN constants 2021-11-03 15:29:18 -04:00
GriffinR 3e49ac804b Merge branch 'master' into doc-finalmisc 2021-11-03 13:56:22 -04:00
GriffinR e14210ce1f Merge pull request #1536 from GriffinRichards/clean-braille
Add font id constants, better braille support
2021-11-03 13:17:29 -04:00
GriffinR 0ba22ca112 Merge pull request #1534 from GriffinRichards/doc-btrans
Document battle transition
2021-11-03 11:26:20 -04:00
GriffinR b16b918266 Merge pull request #1541 from cbt6/move-speed
Use constants for movement speeds
2021-11-03 11:18:54 -04:00
cbt6 fca863244b Index sStepTimes and sNpcStepFuncTables 2021-11-03 23:07:05 +08:00
cbt6 680f5f4458 Revert movement speed constants for jump movements 2021-11-03 23:00:37 +08:00
cbt6 87a094edcb Use constants for movement speeds 2021-11-03 20:51:41 +08:00
GriffinR dc44548e43 Sync libgcnmultiboot 2021-11-02 20:28:17 -04:00
GriffinR 929aade0fd Fix braille slash 2021-11-02 18:34:05 -04:00
GriffinR afb9ff3a40 Document files with a few remaining symbols 2021-11-02 18:06:06 -04:00
GriffinR c98fbb5ca6 Merge pull request #1538 from cbt6/move-speed
Rename some player movement speed functions
2021-11-02 15:07:59 -04:00
cbt6 510ccbdf4c Move definition of constants for movement speed 2021-11-03 02:56:23 +08:00
cbt6 3556024a06 Distinguish clearly the two enums related to speed 2021-11-03 02:51:30 +08:00
cbt6 3f5f057ebe Rename GoSpeedX functions to WalkNormal, WalkFast, etc. 2021-11-03 01:50:53 +08:00
cbt6 4cedd2d551 Rename WalkFastest functions to WalkFaster 2021-11-03 01:50:53 +08:00
cbt6 a2c2d7e230 Label indexes for movement speeds 2021-11-03 01:50:47 +08:00
GriffinR 47286d1ecb Merge pull request #1537 from AsparagusEduardo/pret_solarbeam
Standarized Solarbeam into Solar Beam
2021-11-01 17:46:45 -04:00
Eduardo Quezada D'Ottone f3013d8ee9 Standarized Solarbeam into Solar Beam 2021-11-01 18:36:35 -03:00
GriffinR 54a70ca4d4 Merge pull request #1530 from GriffinRichards/doc-graphics
Label remaining symbols in graphics.c
2021-11-01 17:00:06 -04:00
GriffinR 9b2038a9a5 Additional GF ROM header doc 2021-11-01 02:54:53 -04:00
GriffinR e0e2212db3 Avoid changed section warning 2021-11-01 01:47:38 -04:00
GriffinR ef2971d8dc Convert GF ROM header to C 2021-11-01 01:42:02 -04:00
GriffinR dac4192fd3 Split headers from crt0 2021-10-31 16:39:54 -04:00
GriffinR 36039e1b86 Convert fonts.s to C 2021-10-31 01:44:18 -04:00
GriffinR fdaf436960 Add font id constants 2021-10-30 19:54:15 -04:00
GriffinR 13cd2a41f0 Better braille support 2021-10-30 16:19:10 -04:00
GriffinR 71605556ab Clean up braille_puzzles 2021-10-30 11:59:14 -04:00
GriffinR 875be8a8a8 Merge pull request #1528 from GriffinRichards/doc-ereaderscr
Document ereader screen
2021-10-30 09:34:14 -04:00
PikalaxALT 475520a562 Merge pull request #1535 from GriffinRichards/calcromnewline
Add newlines around calcrom output
2021-10-29 20:58:03 -04:00
GriffinR 1a69eb33e8 Add newlines around calcrom output 2021-10-29 20:27:58 -04:00
GriffinR 886551f655 Clean up battle transition doc 2021-10-29 18:57:41 -04:00
GriffinR f51247615e Finish documenting battle_transition 2021-10-29 18:32:53 -04:00
GriffinR 8c2b401bb3 Merge pull request #1533 from LOuroboros/fontControl
Renamed "SIZE" text controller
2021-10-29 18:15:16 -04:00
LOuroboros 7574af3558 Fixed charmap comment about the FONT text controller 2021-10-29 19:08:24 -03:00
LOuroboros cde0ce878c EXT_CTRL_CODE_SIZE -> EXT_CTRL_CODE_FONT 2021-10-29 19:00:07 -03:00
LOuroboros 5536bce88d SIZE -> FONT 2021-10-29 18:39:31 -03:00
GriffinR af4d6dd8f0 Merge pull request #1532 from cbt6/anim-number
Label some animation index numbers
2021-10-29 14:14:15 -04:00
cbt6 9a1764f83e Label some animation index numbers 2021-10-30 01:37:49 +08:00
GriffinR 901cd476b6 Fix incorrect arguments on CopyRectToBgTilemapBufferRect 2021-10-29 11:51:47 -04:00
GriffinR 07bf225f94 Continue battle_transition documenting 2021-10-29 11:24:36 -04:00
GriffinR c793949f46 Merge pull request #1531 from GriffinRichards/fix-statoverflow
Restore ModifyStatByNature bug notes
2021-10-28 18:13:05 -04:00
GriffinR 7f49f26331 Restore ModifyStatByNature bug notes 2021-10-27 22:38:48 -04:00
GriffinR 1a5fa34790 Merge pull request #1529 from GriffinRichards/profileman
Replace 'mystery_event_club'
2021-10-27 14:36:12 -04:00
GriffinR a470e2c761 Tabs to spaces for graphics_file_rules alignment 2021-10-27 14:07:56 -04:00
GriffinR 41ecae91f8 Label remaining symbols in graphics.c 2021-10-27 13:47:18 -04:00
GriffinR fbf3bf2ce8 Replace 'mystery_event_club' 2021-10-26 22:43:56 -04:00
GriffinR b0c27a8521 Document ereader screen 2021-10-26 15:44:42 -04:00
GriffinR f9f91be60a Merge pull request #1527 from cbt6/field-player
Document field player functions
2021-10-26 14:29:44 -04:00
cbt6 bd9ea23925 Rename as StaticCollision instead 2021-10-27 02:21:51 +08:00
GriffinR d6571f2355 Merge pull request #1525 from GriffinRichards/doc-recmix
Document remainder of Record Mixing
2021-10-26 14:18:38 -04:00
cbt6 b3d779fd0d Document field player functions 2021-10-27 01:39:00 +08:00
GriffinR bf87faa922 Clean up battle_transition_frontier 2021-10-26 02:00:28 -04:00
GriffinR 1056209d8e Start battle_transition documenting 2021-10-26 01:39:28 -04:00
GriffinR 4f7f6c1082 Merge pull request #1526 from sphericalice/doc-curtain-special
Document the CloseBattlePikeCurtain special
2021-10-25 16:10:45 -04:00
sphericalice 7b5267c799 Rename TILESET_WIDTH to METATILE_ROW_WIDTH 2021-10-25 20:51:04 +01:00
sphericalice 5bce17cbce Fix typo in the TILESET_WIDTH comment 2021-10-25 18:11:06 +01:00
sphericalice 0637910f58 Use the TILESET_WIDTH constant in rotating_tile_puzzle.c 2021-10-25 18:07:46 +01:00
sphericalice 120e75d275 Document the CloseBattlePikeCurtain special 2021-10-25 18:03:14 +01:00
GriffinR a612c27f2d Drop battle transition 'phase' terminology 2021-10-25 10:20:48 -04:00
GriffinR 6dc3c9864c Merge pull request #1520 from GriffinRichards/doc-random
Document random remaining symbols
2021-10-24 23:43:17 -04:00
GriffinR 7a89ad98c3 Document record mixing hall records 2021-10-24 16:13:07 -04:00
GriffinR ab80264921 Merge pull request #1519 from GriffinRichards/doc-mgift
Document Mystery Gift
2021-10-24 15:50:39 -04:00
GriffinR 7f3c529935 Document record mixing mail swap 2021-10-24 15:49:19 -04:00
GriffinR 3834cc2957 Merge pull request #1524 from LOuroboros/patch-2
Added .sym files to .gitignore
2021-10-23 10:30:23 -04:00
LOuroboros f182e9b9fd Added .sym files to .gitignore 2021-10-23 11:17:23 -03:00
GriffinR 65fb468151 Merge pull request #1523 from Jademalo/ide-support
Improve IDE Support
2021-10-23 09:43:14 -04:00
Jademalo 62436d9f67 IDE support formatting and consistency 2021-10-23 10:10:00 +01:00
Jademalo eb860a368e Improve IDE support 2021-10-22 04:30:33 +01:00
GriffinR 6067aa65b4 Fix shadw typo 2021-10-21 22:15:08 -04:00
GriffinR 303ce856ad Fix GET_CARD_BATTLE_LOST typo 2021-10-21 16:54:16 -04:00
GriffinR 0fbf5f59b3 Merge pull request #1522 from GriffinRichards/fix-sectorsperslot
Fix incorrect NUM_SECTORS_PER_SLOT define
2021-10-19 16:40:40 -04:00
GriffinR bc409baeff Fix incorrect NUM_SECTORS_PER_SLOT define 2021-10-19 16:30:00 -04:00
GriffinR 934a7e7a5d Merge pull request #1516 from GriffinRichards/doc-miscbattle
Miscellaneous battle documentation
2021-10-19 08:09:17 -04:00
GriffinR 24b4e898ad More mauville_old_man clean up 2021-10-18 14:40:04 -04:00
GriffinR b31bddddca Clean up metatile_behavior 2021-10-18 12:54:29 -04:00
GriffinR 7590bacec1 Label remaining symbols in field_specials 2021-10-18 02:14:29 -04:00
GriffinR 46dd10c87b Clean up trainer_pokemon_sprites 2021-10-18 01:56:24 -04:00
GriffinR db8ce5d7f9 Clean up mauville_old_man, drop ScrSpecial prefix 2021-10-18 01:09:41 -04:00
GriffinR ed6fdd743f Some pokemon_icon clean up 2021-10-17 22:04:08 -04:00
GriffinR a950f9c771 Clean up international_string_util 2021-10-17 21:51:11 -04:00
GriffinR f2e0c9ec9d Some pokedex clean up 2021-10-17 21:32:09 -04:00
GriffinR 371a13e9f9 Clean up in save_location 2021-10-17 17:38:52 -04:00
GriffinR c70ec9748a Some union_room_chat clean up 2021-10-17 17:27:32 -04:00
GriffinR 164590e37d Merge pull request #1512 from GriffinRichards/minor-constants
Add some misc constants/usage
2021-10-17 11:32:30 -04:00
GriffinR ff594ccb82 Fix leftover icon_shadow names 2021-10-17 03:22:55 -04:00
GriffinR ece7ef3410 Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
GriffinR d0455485c3 Clean up mystery gift headers 2021-10-17 02:18:24 -04:00
GriffinR 3cd27acbea Document wonder news 2021-10-17 02:09:31 -04:00
GriffinR 5f9069628d Clean up mevent2 2021-10-17 01:35:26 -04:00
GriffinR c7d550e96c Clean up wonder card/news view 2021-10-17 01:15:16 -04:00
GriffinR 356e6d7f08 Clean up mystery gift menu 2021-10-16 23:58:11 -04:00
GriffinR 845a5e99cc General mystery gift documentation, finish mystery gift client/server/scripts 2021-10-16 23:35:17 -04:00
GriffinR e1900efe1e Merge branch 'master' into doc-miscbattle 2021-10-15 22:46:43 -04:00
GriffinR 1f39c34ca4 Merge branch 'master' into minor-constants 2021-10-15 22:44:49 -04:00
GriffinR a4a3c1c9e5 Merge pull request #1511 from GriffinRichards/doc-union
Document link_rfu / Union Room
2021-10-15 22:44:01 -04:00
GriffinR e3bb257bcf Fix some trainer card link access 2021-10-15 12:22:19 -04:00
GriffinR c02001c46d Document mystery gift link scripts, general mystery gift 2021-10-15 12:05:06 -04:00
PikalaxALT 187f10be9d Merge pull request #1518 from GriffinRichards/calcrom-data
Make calcrom data info optional
2021-10-14 15:22:28 -04:00
GriffinR 37e52c4f34 Document some mystery gift 2021-10-14 15:10:41 -04:00
GriffinR 95406384f4 Start wonder card/news documenting 2021-10-14 13:24:20 -04:00
GriffinR ceb871e3fa Process calcrom options first 2021-10-14 10:15:08 -04:00
GriffinR 2f6928f016 Make calcrom data info optional 2021-10-14 09:52:33 -04:00
GriffinR a8aef03a21 Merge pull request #1517 from GriffinRichards/fix-mapscriptdoc
Small correction to map script comments
2021-10-14 00:05:53 -04:00
GriffinR 9ab03f454d Small correction to map script comments 2021-10-13 23:24:10 -04:00
GriffinR def6cc8158 Label battle script macro arguments 2021-10-13 17:44:04 -04:00
GriffinR fc15b0d5f0 Add controller buffer constants, finish misc battle doc 2021-10-13 16:21:39 -04:00
GriffinR b9f6dd128d Merge pull request #1515 from GriffinRichards/fix-saveblockchunk
Disallow negative sizes in SAVEBLOCK_CHUNK
2021-10-13 13:30:53 -04:00
GriffinR 5860e0e937 Disallow negative sizes in SAVEBLOCK_CHUNK 2021-10-13 13:19:15 -04:00
GriffinR b0598b1aef Clean up recorded_battle, add MOVE_IS_PERMANENT 2021-10-12 01:14:17 -04:00
GriffinR f23e0beeba Rename battle anim cmds, move its data, name remaining symbols 2021-10-11 13:18:21 -04:00
GriffinR f55a8cb688 Merge pull request #1513 from GriffinRichards/fix-keyboarchars
Convert sKeyboardChars to 3D array
2021-10-11 11:47:30 -04:00
GriffinR a556856ce9 Convert sKeyboardChars to 3D array 2021-10-11 11:09:15 -04:00
GriffinR 3a7995bc7c Fix misleading RecordMixTrainerNames name 2021-10-11 10:39:37 -04:00
GriffinR b8a44bf10a Calculate pokemon substruct size, missing MON_PIC_SIZE 2021-10-11 10:35:53 -04:00
GriffinR b01213b8bc Some constants in wild_encounter.c, document Feebas spot generation 2021-10-09 15:23:59 -04:00
GriffinR ff01eb951b Use TRACKS constants for sGroundEffectTracksFuncs 2021-10-09 13:21:14 -04:00
GriffinR 862febe03a Add MAP_OFFSET 2021-10-09 13:19:27 -04:00
GriffinR 28de627913 Add TRACKS_ALL, remove BGCntrlBitfield 2021-10-09 11:34:51 -04:00
GriffinR d8e65fc4b6 More battle doc, add battle window ids 2021-10-09 03:01:10 -04:00
GriffinR 31b501e7eb Start misc battle documentation 2021-10-08 16:39:46 -04:00
GriffinR e26f9d10d7 Merge pull request #1509 from GriffinRichards/doc-sprman
Document remaining symbols in pokemon.c
2021-10-08 10:38:29 -04:00
IIMarckus 6012cf43cb Kill Freenode. 2021-10-08 04:57:05 -06:00
GriffinR a8e5ece113 Merge pull request #1510 from GriffinRichards/clean-roamer
Clean up roamer.c
2021-10-08 00:19:55 -04:00
GriffinR 7c5c41f23c Combine link slot length constants 2021-10-07 16:19:02 -04:00
GriffinR a2655ba9ab Merge branch 'master' into doc-union 2021-10-07 16:10:35 -04:00
GriffinR e86d3410a1 Update argument names in link headers, link_rfu doc cleanup 2021-10-07 16:05:12 -04:00
GriffinR 846942ce48 Finish remaining symbols in link_rfu_2 2021-10-07 15:23:47 -04:00
GriffinR 6aaf50ee27 Rename GF Gname, Rfu, finish bulk of Union Room, more link doc 2021-10-07 10:43:03 -04:00
GriffinR 4efa6c882a Continue misc link documentation, rename reset_save_heap 2021-10-05 23:37:54 -04:00
GriffinR cacd6410bf Drop double underscore 'empty' macros 2021-10-05 08:54:15 -04:00
GriffinR 394c52a7be Clean up roamer.c 2021-10-04 18:32:04 -04:00
GriffinR 6e62c057f5 Document remaining symbols in pokemon.c 2021-10-02 23:48:12 -04:00
GriffinR 739e7d3c31 Document summary screen sprite manager 2021-10-02 23:47:59 -04:00
GriffinR 001a25e49c Merge pull request #1507 from GriffinRichards/doc-walda
Document Walda Phrase
2021-09-30 12:27:20 -04:00
GriffinR 27d69ea8e6 Merge pull request #1508 from Pokestia/master
Use compact weather macros
2021-09-30 11:23:13 -04:00
Pokestia 38a4dea402 Rename Battle Weather flags 2021-09-30 12:08:20 +02:00
Pokestia e699965332 Use compact weather macros 2021-09-29 17:45:39 +02:00
GriffinR e270ee1a74 Merge pull request #1506 from GriffinRichards/single-doc
Document some single-remaining symbols
2021-09-29 00:10:09 -04:00
GriffinR 154e8a271a Merge pull request #1505 from GriffinRichards/tag-none
Add TAG_NONE
2021-09-28 22:22:09 -04:00
GriffinR 8a79ca3818 Document walda_phrase 2021-09-26 17:01:39 -04:00
GriffinR db057eb86b Relocate battle_message comment 2021-09-24 17:33:18 -04:00
GriffinR a66d7e1b43 Document some single-remaining symbols 2021-09-24 17:14:20 -04:00
GriffinR 42d2fefe02 Merge branch 'master' into tag-none 2021-09-24 10:17:34 -04:00
GriffinR 09fd4fc4c5 Merge pull request #1504 from LOuroboros/staticRegionMapSecIdToPopUpThemeIdMapping
Renamed gRegionMapSectionId_To_PopUpThemeIdMapping
2021-09-23 22:48:42 -04:00
LOuroboros ac599589ec gRegionMapSectionId_To_PopUpThemeIdMapping -> sRegionMapSectionId_To_PopUpThemeIdMapping 2021-09-23 23:36:37 -03:00
GriffinR 9d0f9042fe Merge pull request #1498 from LOuroboros/trailingSpaces
Removed trailing spaces in the most relevant files
2021-09-23 21:49:49 -04:00
GriffinR a6ab2eb883 Merge branch 'master' into trailingSpaces 2021-09-23 21:39:21 -04:00
GriffinR f8f7617946 Add TAG_NONE 2021-09-14 13:14:14 -04:00
PikalaxALT 0c2e9a5b4c Merge pull request #1502 from GriffinRichards/clean-lilycovelady
Clean up Lilycove Lady
2021-09-09 16:04:08 -04:00
GriffinR cbf8863e5b Clean up Lilycove Lady 2021-09-09 15:24:34 -04:00
GriffinR 4037cf147b Merge pull request #1500 from GriffinRichards/fix-healthboxgfx
Move more gfx symbols into gHealthboxElementsGfxTable
2021-09-06 21:47:44 -04:00
GriffinR b183a793a1 Move more gfx symbols into gHealthboxElementsGfxTable 2021-09-06 17:45:10 -04:00
GriffinR 4dbaca9dc6 Merge pull request #1499 from froggestspirit/master
Identify unknown healthbox GFX
2021-09-06 16:54:28 -04:00
froggestspirit 71da126dbb case 2021-09-06 16:41:59 -04:00
froggestspirit 5f755757f9 Const rename 2021-09-06 11:40:40 -04:00
froggestspirit f8a24cdd6f Identify unknown healthbox GFX 2021-09-06 10:42:05 -04:00
froggestspirit 73554ec88d Merge remote-tracking branch 'pret/master' 2021-09-06 10:32:14 -04:00
LOuroboros 554210c5e3 Removed trailing spaces in the most relevant files
Command used for the job:
egrep -rl ' $' --include *.c --include *.h --include  *.s --include  *.inc --include  *.txt *  | xargs sed -i 's/\s\+$//g'

Credits to Grant Murphy from Stack Overflow.
2021-08-24 19:59:32 -03:00
GriffinR 63e6b914e4 Merge pull request #1497 from GriffinRichards/doc-hasmargin
Label swap line margin flag
2021-08-21 12:06:30 -04:00
GriffinR 8f5e2bbeba Label swap line margin flag 2021-08-21 11:04:28 -04:00
GriffinR dfdcfc1568 Document remaining functions in cable_club 2021-08-15 16:22:15 -04:00
GriffinR e01ae55c13 Start more link_rfu_2 documentation 2021-08-15 15:13:42 -04:00
GriffinR ee5eee6ccc Merge pull request #1493 from GriffinRichards/doc-itemmenu2
Document item menu
2021-08-15 12:01:57 -04:00
PikalaxALT c7fc6ac893 Merge pull request #1492 from Kurausukun/cgbsound
Fix CgbSound Fakematches (Thanks to Revo)
2021-08-11 19:55:44 -04:00
GriffinR 034b7f0513 Fix conflicting PC window names 2021-08-11 19:14:50 -04:00
GriffinR 80348e7188 Merge branch 'master' into doc-itemmenu2 2021-08-11 19:01:47 -04:00
GriffinR cc51627465 Merge pull request #1489 from GriffinRichards/doc-playerpc
Document player pc
2021-08-11 18:59:58 -04:00
GriffinR 0bc26d9d79 Merge pull request #1488 from GriffinRichards/doc-frontierpass2
Document frontier pass
2021-08-11 17:40:55 -04:00
GriffinR 3a14f4472d Merge pull request #1495 from GriffinRichards/fix-symbols
Fix symbols branch commit message, limit to upstream
2021-08-11 17:35:31 -04:00
GriffinR 1860b7682f Allow symbols branch on forks 2021-08-11 17:19:21 -04:00
GriffinR 5098fbf7bb Fix symbols branch commit message, limit to upstream 2021-08-11 17:09:03 -04:00
GriffinR 2fb7440315 Merge pull request #1494 from GriffinRichards/tag-regionmap
Use tag constants in region_map.c
2021-08-11 12:24:36 -04:00
GriffinR d951d7c363 Use tag constants in region_map.c 2021-08-11 09:31:20 -04:00
GriffinR 28a8fe191a Document item menu 2021-08-10 22:13:02 -04:00
Kurausukun 2e892c6961 unsigned int -> u32 2021-08-08 22:22:50 -04:00
Kurausukun ddb3911d0d oops 2021-08-08 20:49:29 -04:00
Kurausukun 0bceaab046 rename variable 2021-08-08 20:34:16 -04:00
Kurausukun b51d025f1c port cgb fakematching fixes (thanks to revo) 2021-08-08 20:33:21 -04:00
GriffinR 0e33df21b9 Merge pull request #1491 from LOuroboros/inconsFlag
Corrected inconsistent flag label spelling
2021-08-05 16:41:10 -04:00
LOuroboros b4c4650186 Corrected inconsistent flag label spelling 2021-08-05 17:26:03 -03:00
GriffinR 3714963f0d Merge pull request #1490 from GriffinRichards/align-marts
Add align directives to all marts
2021-08-05 14:35:45 -04:00
GriffinR 44cd9eed6b Add align directives to all marts 2021-08-04 11:50:33 -04:00
GriffinR bd5cf07059 Merge branch 'master' into doc-playerpc 2021-08-02 14:08:10 -04:00
GriffinR 06b909bcd8 Document player pc 2021-08-02 13:58:40 -04:00
GriffinR 3e60a78406 Merge branch 'master' into doc-frontierpass2 2021-07-31 13:30:40 -04:00
GriffinR 602855ea99 Document frontier pass 2021-07-31 13:28:08 -04:00
GriffinR d391486247 Merge pull request #1484 from GriffinRichards/remove-addrcomments
Remove address comments
2021-07-27 18:08:10 -04:00
GriffinR 459b20d762 Merge pull request #1479 from PikalaxALT/flatten_sprite_pos
Flatten pos fields in struct Sprite
2021-07-27 18:02:00 -04:00
GriffinR 80c77fc120 Merge pull request #1487 from LOuroboros/hidden_item_flags
Re-ordered the hidden item flags list
2021-07-27 10:36:20 -04:00
LOuroboros 8012f4b25a Re-ordered the hidden item flags list
Instead of sorting them by location, it makes more sense to sort them by their value.
2021-07-26 20:18:11 -03:00
GriffinR b5bc762dc7 Merge pull request #1486 from sphericalice/pss-constant-fix
Use the correct constant for PSS page comparison
2021-07-25 12:49:35 -04:00
sphericalice 71de6ea939 Use the correct constant for PSS page comparison 2021-07-24 18:54:37 +01:00
GriffinR 0e22b21b14 Merge pull request #1485 from LOuroboros/patch-3
Removed unused status ailment constants
2021-07-23 13:15:46 -04:00
LOuroboros bfa824f761 Removed unused status ailment constants 2021-07-23 13:18:24 -03:00
GriffinR e67729f647 Remove address comments in sound directory 2021-07-21 00:56:04 -04:00
GriffinR 06351bf63c Remove address comments 2021-07-20 15:18:31 -04:00
PikalaxALT bea170e8e9 Merge pull request #1483 from PikalaxALT/symbols_merge_commit
Use merge commit message for symbols branch
2021-07-16 12:59:03 -04:00
PikalaxALT 52512cfbe1 Use merge commit message for symbols branch 2021-07-16 12:15:53 -04:00
GriffinR a274cc6a76 Merge branch 'master' into flatten_sprite_pos 2021-07-12 01:39:28 -04:00
GriffinR 876a89eba4 Merge pull request #1482 from cstyles/physical-macro
Use the `IS_TYPE_PHYSICAL` macro in `AddMovePoints`
2021-07-12 01:25:05 -04:00
Collin Styles eab1d7b5b1 Use the IS_TYPE_PHYSICAL macro in AddMovePoints 2021-07-11 22:02:24 -07:00
GriffinR 01f2381e01 Add LINK_MANAGER field comments from SDK 2021-07-11 16:48:59 -04:00
GriffinR 72bb2bd160 Merge pull request #1474 from GriffinRichards/clean-miragetower
Clean up Mirage Tower
2021-07-10 23:26:41 -04:00
PikalaxALT 4419337aeb Merge pull request #1481 from GriffinRichards/fix-symsname
Use PR title for symbols branch commits
2021-07-08 08:00:16 -04:00
GriffinR 2f1a997440 Use PR title for symbols branch commits 2021-07-08 00:49:27 -04:00
GriffinR 32fe412755 Merge pull request #1475 from GriffinRichards/doc-minor
Label remaining symbols in a few files
2021-07-08 00:24:56 -04:00
GriffinR fced9e507d Merge pull request #1478 from Kurausukun/itemprint
Change ItemPrintFunc to Use u32 Instead of s32
2021-07-08 00:15:45 -04:00
PikalaxALT 810ca5f8ff Flatten pos fields in struct Sprite 2021-07-07 09:11:52 -04:00
GriffinR 0f538102d9 Add local id constants for C 2021-07-05 13:54:43 -04:00
Kurausukun 42730a8315 Revert "remove gflib"
This reverts commit 8b59909ac5.
2021-07-03 17:39:33 -04:00
GriffinR b4f66496ed Merge pull request #1471 from GriffinRichards/fix-lock
Fix some object lock names
2021-07-03 11:21:10 -04:00
GriffinR 56b69157ef Merge pull request #1477 from SnorlaxMonster/comment-battledome
Correct card lines in Battle Dome comments
2021-07-03 09:55:41 -04:00
SnorlaxMonster 43c5107e4d Correct card lines in Battle Dome comments
The comments regarding the lines that Trainer information is displayed
on the Battle Dome Trainer Card were off-by-one.
2021-07-03 22:41:18 +10:00
GriffinR d2701b51ab Combine battle script labels, add EFFECT comments 2021-07-02 15:37:59 -04:00
GriffinR 2946342a6b Merge pull request #1476 from luckytyphlosion/master
Fix modern builds when devkitARM is not in PATH.
2021-07-02 15:07:27 -04:00
luckytyphlosion b3d66f5528 Merge branch 'master' of https://github.com/pret/pokeemerald 2021-07-02 12:53:12 -04:00
luckytyphlosion 9fd27fe855 Fix modern builds when devkitARM is not in PATH. 2021-07-02 12:52:31 -04:00
GriffinR c42b5d783a Fix 'determining' typo 2021-07-02 03:26:50 -04:00
GriffinR 64d06f4c8f Condense battle AI scripts, minor clean up 2021-07-02 02:46:01 -04:00
GriffinR 8f43d1ebeb Document smart shopper TV show 2021-07-02 01:45:23 -04:00
GriffinR d73b3c05c6 Label remaining hall_of_fame symbols 2021-07-02 01:02:28 -04:00
GriffinR fe89a4d147 Label remaining region_map symbols 2021-07-02 00:52:36 -04:00
GriffinR 10886a586b Clean up mirage tower 2021-07-01 23:46:15 -04:00
GriffinR 3964820a84 Merge pull request #1473 from GriffinRichards/fix-div0
Fix divide by 0 in Cmd_getexp
2021-07-01 14:26:34 -04:00
GriffinR 93188ef0a8 Fix divide by 0 in Cmd_getexp 2021-07-01 00:18:52 -04:00
GriffinR 63b93c4611 Merge pull request #1472 from garakmon/hi
fix encounter slot logic to accomodate changes
2021-06-27 21:22:53 -04:00
garakmon d391c136d8 fix encounter slot logic to accomodate changes 2021-06-27 21:14:21 -04:00
GriffinR 827c274979 Merge pull request #1470 from GriffinRichards/constants-ftrainerfemale
Add missing use of F_TRAINER_FEMALE
2021-06-25 12:40:22 -04:00
GriffinR 6d92b466e7 Add missing use of F_TRAINER_FEMALE 2021-06-25 11:50:09 -04:00
PikalaxALT e0b58592b2 Merge pull request #1469 from GriffinRichards/fix-contesthearts
Clarify contest heart tiles
2021-06-21 13:59:50 -04:00
GriffinR 810b51f96c Clarify contest heart tiles 2021-06-21 13:48:03 -04:00
GriffinR 7582a6b12e Merge pull request #1468 from ultima-soul/patch-1
Replace Hardcoded Number in MakeCaptureStars
2021-06-18 22:38:01 -04:00
ultima-soul 9407a1ac76 Replace hardcoded number in MakeCaptureStars. 2021-06-18 19:20:05 -07:00
PikalaxALT 182df7c101 Merge pull request #1465 from PikalaxALT/push_symbols
Port symfile implementation from Ruby, FireRed
2021-06-18 13:03:54 -04:00
PikalaxALT 6ca73737cf Fix regex error 2021-06-18 12:53:15 -04:00
Kurausukun 10c80230c4 change printItemFunc to use u32 instead of s32
also change a use of -2 to LIST_CANCEL
2021-06-18 00:15:45 -04:00
Kurausukun 8b59909ac5 remove gflib 2021-06-17 22:09:48 -04:00
GriffinR 780da6bfd0 Merge pull request #1466 from Sewef/patch-1
Fix sATypeMove_Table definition
2021-06-17 14:29:28 -04:00
Sewef fd55a0d015 Update src/battle_message.c
Nothing happened.

Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
2021-06-17 14:12:06 +02:00
Sewef d02be421bc Fix sATypeMove_Table definition 2021-06-17 14:06:40 +02:00
PikalaxALT ae8f6e29f8 Symplifi symfiles 2021-06-16 14:43:35 -04:00
PikalaxALT 5ccac26f26 Port symfile implementation from Ruby, FireRed 2021-06-16 11:03:23 -04:00
GriffinR 69fb670955 Merge pull request #1464 from ExpoSeed/pret/map-header-flags
Change map header flags to use a bitfield
2021-06-13 18:12:40 -04:00
ExpoSeed b6b0062bd6 Change map header flags to use a bitfield 2021-06-13 17:02:06 -05:00
GriffinR b0dfaa92be Merge pull request #1460 from luckytyphlosion/remove-temps
Buildsystem no longer builds temporary files for C compilation by default, and other makefile optimizations.
2021-06-13 17:51:17 -04:00
GriffinR f85fb3af89 Merge pull request #1463 from sphericalice/item-eventscript-labels
Rename item script labels to fit the established name scheme
2021-06-13 08:32:52 -04:00
SphericalIce 0a94dba4a7 Rename item script labels to fit the established name scheme 2021-06-13 13:21:23 +01:00
GriffinR e308dc8236 Merge pull request #1462 from ExpoSeed/pret/more-gray-less-grey
Remove remaining grey and replace with gray
2021-06-10 13:01:55 -04:00
ExpoSeed 3ed06c2cc2 Remove remaining grey and replace with gray 2021-06-10 11:36:10 -05:00
luckytyphlosion 7a7ebe1827 Merge pull request #1461 from Fontbane/patch-1
Rename sText_WildPkmnAppeared2 to reflect its use
2021-06-04 22:42:24 -04:00
AJ Fontaine 2fe7184d10 Rename sText_WildPkmnAppeared2 to reflect its use
sText_WildPkmnAppeared2 is used for Legendary battles, so sText_LegendaryPkmnAppeared would be more informative.
2021-06-04 22:32:33 -04:00
luckytyphlosion 7189e4e26f Fix build on macos.
Needs <cerrno> include in tools/preproc/c_file.cpp
2021-06-03 21:05:56 -04:00
luckytyphlosion 7e1ae9f95d Remove debug print statements in Makefile. 2021-06-03 18:22:49 -04:00
luckytyphlosion 4687847ace Fix building with KEEP_TEMPS=1, and NODEP=1.
KEEP_TEMPS=1 not working was due to the pattern substitution in the old makefile rules for compiling C files ($*) not working with the explicit generation of dependencies. NODEP=1 not working was due to the NODEP rule for src/%.s not being updated to use preproc and cpp.
2021-06-03 17:46:09 -04:00
GriffinR a21ceb2e3c Merge pull request #1457 from Kurausukun/const
Re-add const to gEvolutionTable in daycare.c
2021-06-02 16:28:39 -04:00
luckytyphlosion 92152e45e2 Fixes to makefile.
Merge C_ASM_DEP and DATA_ASM_DEP, NODEP and SCAN_DEPS can be overridden, add --no-print-directory to MAKEFLAGS in make_tools.mk (also removed some unused variables), add newline to help message in preproc.
2021-06-01 23:22:15 -04:00
luckytyphlosion f0b41debc3 Merge branch 'master' of https://github.com/pret/pokeemerald into remove-temps 2021-06-01 20:40:27 -04:00
luckytyphlosion a839463c84 Optimize Makefile.
Don't do recursive makes for COMPARE and MODERN, use minimal makefile for making tools.
2021-06-01 20:40:11 -04:00
Kurausukun 5c6b8ea8d6 re-add const to gEvolutionTable in daycare.c 2021-06-01 17:14:45 -04:00
Kurausukun 9f5bf65fb3 [PROBABLY LEAK-INFORMED] fix battle_transition fakematch, make
consistent use of SOME_VRAM_STORE
2021-05-31 18:12:35 -05:00
Kurausukun 2bbaf71998 [LEAK-INFORMED] fix CreateShedinja fakematch
info: the header change is required. accesses to the struct need to be
treated as non-const, even though the array must be const. thanks to
jiang for figuring this out.
2021-05-31 08:20:46 -05:00
Kurausukun 2705f2e5f4 [LEAK-INFORMED] also pretty dumb 2021-05-31 08:20:46 -05:00
Kurausukun 42021db743 [LEAK-INFORMED] literal dumbest fakematch ever 2021-05-31 08:20:46 -05:00
luckytyphlosion 823c862e4f Merge pull request #1274 from luckytyphlosion/master
Improve INSTALL.md
2021-05-29 10:29:15 -04:00
luckytyphlosion c5b262159d Merge branch 'master' of https://github.com/pret/pokeemerald 2021-05-27 16:36:47 -04:00
luckytyphlosion 8b45c8e48a Fix github links to pret's. 2021-05-27 16:20:13 -04:00
gAlfonso-bit c9c5586068 Fixed ChangeBgY_ScreenOff‘s signature. (#1447)
* Fix Functions

* Fix ChangeBgY_ScreenOff signature

* Remove unneeded changes

* Fix argument mismatch

Just to get this out of the way

* Not needed

* Update palette.c
2021-05-27 07:32:09 -05:00
GriffinR 2b062e89c1 Merge pull request #1448 from Kurausukun/dumb
[LEAK-INFORMED] Fix Fakematch in DrawWallpaper
2021-05-25 04:41:15 -04:00
Kurausukun 5d5327c0b7 better match 2021-05-25 04:32:47 -04:00
Kurausukun 5ae5cf110d [LEAK-INFORMED] fix fakematch in DrawWallpaper 2021-05-25 04:03:11 -04:00
Kurausukun 94939e395b one last goto 2021-05-24 13:31:54 -05:00
gAlfonso-bit aca96a1510 Mark 0xFFF8 as ~7
Since 7 is used as a mask, I wondered if 0xFFF8 was used to undo the mask and it turns out it was.
2021-05-24 07:36:08 -05:00
gAlfonso-bit ff16812f99 UBFix: uninitialized variables in m4a engine and siirtc.c (#1432) 2021-05-23 09:56:37 -05:00
luckytyphlosion c723d980e7 Merge branch 'master' of https://github.com/pret/pokeemerald 2021-05-23 10:51:26 -04:00
gAlfonso-bit ffbbc88801 BUGFIX: battle scripts (#1436) 2021-05-23 09:35:03 -05:00
gAlfonso-bit a454f9c187 UBFIX: sprite.c (#1442)
Fix out-of-bounds array access in `SortSprites()`.

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2021-05-23 09:10:55 -05:00
GriffinR ef6d91b0e3 Merge pull request #1443 from ExpoSeed/document-playbgm
Document second parameter of playbgm
2021-05-21 17:07:07 -04:00
ExpoSeed 6a977bdbfc Document second parameter of playbgm 2021-05-21 15:08:00 -05:00
GriffinR 58d83bf9a7 Merge pull request #1440 from GriffinRichards/remove-berry
Remove leftover berry descriptions
2021-05-17 03:12:23 -04:00
GriffinR c8be6a1fbb Remove leftover berry descriptions 2021-05-17 03:06:02 -04:00
GriffinR 9358ab33a5 Merge pull request #1439 from AsparagusEduardo/MissingTreeckoAnim
Added missing Treecko from animation list.
2021-05-16 20:58:13 -04:00
Eduardo Quezada D'Ottone 76b99e66dc Added missing Treecko from animation list. 2021-05-16 20:46:58 -04:00
GriffinR 9e690c07ed Merge pull request #1437 from ExpoSeed/bugfixes
Various BUGFIXes and UBFIXes
2021-05-16 12:24:04 -04:00
ExpoSeed a7e3da2301 pyramidWinStreas 2021-05-15 15:59:54 -05:00
ExpoSeed 361fa594b3 Various BUGFIXes and UBFIXes 2021-05-15 15:56:17 -05:00
gAlfonso-bit ab8318cc79 Fix UB: Destoyed task is modified.
After destruction, task is no longer used, so updating its values is worthless.
2021-05-15 14:35:32 -05:00
GriffinR f62b42eb59 Merge pull request #1386 from SatoMew/master
Remove Travis badge
2021-05-13 14:54:47 -04:00
SatoMew 7061e66212 Undo secondary changes 2021-05-13 19:49:15 +01:00
Kurausukun 3a403dc520 [LEAK-INFORMED] fix do {} while (0) in apprentice 2021-05-13 11:29:46 -05:00
Kurausukun e737f1f924 fix main_menu goto 2021-05-13 11:29:11 -05:00
Kurausukun 2cc38acb84 fix item.c gotos 2021-05-13 11:29:11 -05:00
Kurausukun 3b7f708eb0 fix player_pc goto 2021-05-13 11:29:11 -05:00
Kurausukun 0c7773ad75 fix mystery_gift gotos 2021-05-13 11:29:11 -05:00
Kurausukun f0453871a2 fix battle_dome goto 2021-05-13 11:29:11 -05:00
Kurausukun dbc1b9aacf fix goto in bike.c 2021-05-13 11:29:11 -05:00
Kurausukun 7740ca1303 replace raw values with char constants 2021-05-13 11:26:15 -05:00
Kurausukun fa23b196a9 [LEAK-INFORMED] fix battle_interface fakematch 2021-05-13 11:26:15 -05:00
Kurausukun dfd87e09f9 [LEAK-INFORMED] fix text.c "eff" fakematch 2021-05-13 11:26:15 -05:00
gAlfonso-bit 9a195c0fef Cherry-pick roamer bug fix from pokefirered
Adapted https://github.com/pret/pokefirered/blob/master/src/battle_main.c#L3831 to pokeemerald
2021-05-13 11:23:42 -05:00
gAlfonso-bit 2be29cdb77 Update IsPokemonCryPlaying 2021-05-13 11:23:11 -05:00
gAlfonso-bit 3e15a3ef8f Update IsPokemonCryPlaying 2021-05-13 11:23:11 -05:00
gAlfonso-bit 7d3f25dfb0 Change IsPokemonCryPlaying to bool32
Better reflects its usage
2021-05-13 11:23:11 -05:00
GriffinR 65fd334256 Name map groups 2021-05-11 10:16:04 -05:00
ExpoSeed 43854664b5 Fix UB in RotatingGate_RotateInDirection 2021-05-11 10:12:01 -05:00
GriffinR 40c13e97e7 Merge pull request #1427 from Flametix/typo
Fix Substitute typo
2021-05-06 22:22:40 -04:00
Flametix a8fab62c89 Fix Substitute typo 2021-05-06 20:49:04 -04:00
GriffinR de3b32f76b Merge pull request #1407 from ipatix/fix/modern
Fix modern target when libc functions are used.
2021-05-05 20:06:15 -04:00
luckytyphlosion c50a21fba0 Tidy just cleans both normal and modern. 2021-05-05 16:07:21 -04:00
Michael Panzlaff 783a167b76 ld_script_modern: minor fixes for gcc 11 2021-05-05 00:49:42 +02:00
GriffinR 7b3a1498d6 Merge pull request #1425 from Kurausukun/f32
Change Usages of float/double to f32/f64
2021-05-04 15:52:04 -04:00
GriffinR 6ce27c0ff0 Restore EReaderTrainerHillSet dummy 2021-05-04 15:43:24 -04:00
luckytyphlosion 9da2142a39 Scan all deps of time, also prevent deps from being scanned twice for compare and modern. 2021-05-04 10:08:54 -04:00
GriffinR 4206359862 Fix some object lock names 2021-05-04 01:21:50 -04:00
luckytyphlosion 9ec5a5b468 Wrap notes in details blocks. 2021-05-01 21:03:40 -04:00
Kurausukun 608c829acd change usages of float/double to f32/f64 2021-05-01 01:41:27 -04:00
GriffinR 24e02085d7 Merge pull request #1424 from GriffinRichards/constants-trhill
Use some missing fieldmap constants in trainer hill
2021-04-30 15:50:26 -04:00
GriffinR 2608018862 Use some missing fieldmap constants in trainer hill 2021-04-29 16:12:50 -04:00
GriffinR f7a699c686 Merge pull request #1421 from GriffinRichards/doc-tvrecordmix
Document TV
2021-04-29 00:25:01 -04:00
GriffinR 6c38837b26 Merge pull request #1420 from GriffinRichards/doc-dataanims
Document battler affine anims, default pokeball throw
2021-04-28 13:56:42 -04:00
GriffinR 58cef0ae52 Merge pull request #1418 from GriffinRichards/sync-ereaderhelp
Sync e-reader helpers, document trainer hill e-reader
2021-04-28 06:08:57 -04:00
GriffinR c6300b5325 Merge pull request #1417 from GriffinRichards/doc-pyramidbag
Document Battle Pyramid Bag
2021-04-27 14:48:09 -04:00
GriffinR 18f85b5cf0 Merge pull request #1415 from GriffinRichards/doc-contestutil
Some Contest clean up
2021-04-27 02:29:41 -04:00
GriffinR 265b49c47b Label missing sprite anims 2021-04-26 14:41:15 -04:00
GriffinR d74017d256 Merge pull request #1419 from GriffinRichards/doc-animstatus
Label more unused battle anims
2021-04-26 13:32:15 -04:00
GriffinR c0aedf8df4 Merge pull request #1410 from GriffinRichards/doc-tradedata
Document trade sequence animation, some trade cleanup
2021-04-26 13:26:12 -04:00
GriffinR aad090e154 Document TV 2021-04-26 12:35:35 -04:00
GriffinR e40f89b175 Move unknown data table, reference with species 2021-04-25 02:19:01 -04:00
GriffinR bee60f4c64 Document battler sprite affine anims, default pokeball throw 2021-04-25 02:18:34 -04:00
GriffinR e065c0c285 Label more unused battle anims 2021-04-24 18:26:25 -04:00
GriffinR 86475c5ded Document trainer hill ereader 2021-04-24 18:04:27 -04:00
GriffinR 004c37bf02 Sync ereader_helpers with pokefirered 2021-04-24 18:03:06 -04:00
GriffinR 8c820878bf Document Battle Pyramid Bag 2021-04-23 15:07:36 -04:00
GriffinR f823cd224f Merge pull request #1416 from ProjectRevoTPP/apprentice_fix
[LEAK INFORMED] Fix apprentice.c do{}while(0)
2021-04-22 17:25:52 -04:00
ProjectRevoTPP 6ebd0ccb57 add NO_COND macro 2021-04-22 17:20:28 -04:00
ProjectRevoTPP 5c51a3ecc6 get rid of apprentice fakematching(s) 2021-04-22 16:40:46 -04:00
GriffinR bc9fc38254 Misc contest cleanup 2021-04-22 15:51:04 -04:00
GriffinR e874dfcbc8 Merge pull request #1408 from GriffinRichards/doc-pokemonstorage
Document Pokémon Storage System
2021-04-22 01:32:16 -04:00
GriffinR 8dd6af1db1 Merge pull request #1414 from ProjectRevoTPP/rfu_NI_stopReceivingData
fix rfu_NI_stopReceivingData fakematching; i guess it aint over yet cowboy
2021-04-22 01:26:45 -04:00
ProjectRevoTPP ddc1534098 idiot, get rid of code in block 2021-04-21 21:38:42 -04:00
ProjectRevoTPP 00eeb727db fix rfu_NI_stopReceivingData fakematching; i guess it aint over yet cowboy 2021-04-21 21:37:12 -04:00
GriffinR dbe24f0baa Clean up contest_painting 2021-04-21 20:04:12 -04:00
GriffinR e96e7ba2e8 Merge pull request #1412 from ProjectRevoTPP/Sio32IDIntr
Eliminate the last fakematching (Sio32IDIntr). We are free of nonmatchings/fakematchings!
2021-04-21 08:49:22 -04:00
ProjectRevoTPP 57948b86a8 Eliminate the last fakematching. We are free of nonmatchings/fakematchings! 2021-04-20 21:31:39 -04:00
GriffinR a2a9f22612 Clean up contest_util 2021-04-20 21:16:47 -04:00
GriffinR f8e5bac883 Merge pull request #1411 from ProjectRevoTPP/sio32intr
Resolve sio32intr_clock_slave fakematching. One left!
2021-04-20 14:50:51 -04:00
ProjectRevoTPP 21f05a3c01 Resolve sio32intr_clock_slave fakematching. One left! 2021-04-20 12:58:50 -04:00
GriffinR 04af378904 Document trade sequence animation, some trade cleanup 2021-04-20 05:50:39 -04:00
GriffinR b65d4eb910 Merge pull request #1409 from Kurausukun/M4A_IS_DEAD
FIX CGBMODVOL FAKEMATCHING (WE DID IT REDDIT)
2021-04-20 00:14:02 -04:00
Kurausukun d542baf14b THE BEAST IS SLAIN 2021-04-19 23:44:24 -04:00
GriffinR 342ebbf406 Merge branch 'master' into doc-pokemonstorage 2021-04-18 01:49:09 -04:00
GriffinR 52495e889f Doc storage - cleanup 2021-04-18 01:44:25 -04:00
GriffinR 6f967ff6ad Doc storage - standardize names, drop PSS 2021-04-17 23:40:27 -04:00
GriffinR 33c68255de Doc storage - unk utility 2021-04-17 23:31:29 -04:00
GriffinR 7bf89d6446 Doc storage - icon scroll 2021-04-17 23:00:08 -04:00
GriffinR c921994ce1 Doc storage - tilemap util, place change 2021-04-17 19:02:30 -04:00
Michael Panzlaff 2859fa60cb Makefile: use different linker library sets for modern 2021-04-17 23:19:01 +02:00
Michael Panzlaff 38d0cca903 modern: link against libnosys
Without libnosys undefined references will occur if
libc functions are used.
2021-04-17 22:48:57 +02:00
Michael Panzlaff 7a480adafe modern: add missing sections to linkerscript
In order to correctly link a program which uses libc functions
a few sections are required to satisfy the linker.

This currently adds 0x3C bytes to IWRAM.
2021-04-17 22:46:15 +02:00
GriffinR 1c3e387d43 Doc storage - party menu 2021-04-17 14:33:00 -04:00
GriffinR cd2a99b7c4 Doc storage - misc cleanup, some item/cursor 2021-04-17 13:33:29 -04:00
Michael Panzlaff 0767f4b9ce Makefile: resolve libgcc and libc in correct order
When actually utilizing functions from libc, linking will fail
because the functions used from libc have to be defined after libc.

This is the case with libgcc, so we swap their order.
2021-04-17 19:00:02 +02:00
GriffinR 96dabc1a7f Doc storage - multi move 2021-04-16 22:36:37 -04:00
GriffinR 80cc7d46ae Doc storage - fix row/column flip 2021-04-16 15:07:10 -04:00
GriffinR e5f0d2f736 Doc storage - releasing, some cursor 2021-04-16 04:30:09 -04:00
GriffinR c1da6b29bc Merge pull request #1405 from GriffinRichards/constants-display
Add more usage of DISPLAY constants, misc REG constants
2021-04-16 01:30:03 -04:00
GriffinR 70d0b81fe0 Merge pull request #1406 from Kurausukun/doc_decode
Document Decoding Buffer
2021-04-16 01:07:21 -04:00
Kurausukun 3e804cb7d1 document decoding buffer 2021-04-16 00:58:54 -04:00
GriffinR 84e1cbaaa6 Doc storage - misc gfx, item icons 2021-04-15 22:07:12 -04:00
GriffinR 838a452363 Doc storage - choose box menu, move wallpaper gfx 2021-04-15 18:46:20 -04:00
GriffinR a1ed59450e Doc storage - wallpaper and titles 2021-04-15 16:09:41 -04:00
GriffinR 30fecca109 Doc storage - menu texts 2021-04-15 13:31:18 -04:00
GriffinR f94540c2b8 Misc reg constant cleanup 2021-04-15 03:14:42 -04:00
GriffinR 8368b753df More usage of WININ/OUT constants 2021-04-15 02:43:09 -04:00
GriffinR 62abcecc54 More usage of DISPLAY constants 2021-04-15 02:22:24 -04:00
GriffinR c4ef45c161 Merge pull request #1403 from GriffinRichards/doc-pokeblock
Document Pokéblock menu and feeding scene
2021-04-14 14:17:36 -04:00
GriffinR be84499b56 Drop static function argument names 2021-04-14 12:24:09 -04:00
GriffinR df8a62acc4 Merge pull request #1404 from GriffinRichards/doc-animeff1
Label more unused battle anims
2021-04-14 12:12:48 -04:00
GriffinR 98ab546d3a Label misc unused move anims 2021-04-13 04:04:09 -04:00
GriffinR 7645be27eb Label unused move anims in anim_effects_3 2021-04-13 03:28:03 -04:00
GriffinR f9f33b643e Label unused move anims in anim_effects_2 2021-04-13 03:17:39 -04:00
GriffinR 33ea2a1061 Remove unnecessary scope for TEST_BUTTON 2021-04-13 02:50:50 -04:00
GriffinR 56057d3c32 Label more unused battle anims 2021-04-13 02:50:37 -04:00
GriffinR 82f870091e Merge pull request #1400 from GriffinRichards/doc-pokemonanim
Document Pokémon animation
2021-04-13 01:36:15 -04:00
GriffinR 042a2ecc41 Document pokeblock feed scene 2021-04-12 18:44:37 -04:00
Marcus Huderle e92d2005c4 Use designated initializers for gTypeNames 2021-04-12 17:41:16 -05:00
GriffinR ed68de26ad Merge pull request #1401 from GriffinRichards/doc-moveanims
Label unused move anims
2021-04-12 12:27:36 -04:00
GriffinR c786a9b20c Document pokeblock menu 2021-04-11 18:10:05 -04:00
GriffinR 2166e337a1 Label unused move anims 2021-04-11 13:21:22 -04:00
Frogg ec6b1ea373 Merge pull request #2 from pret/master
update
2021-04-10 19:04:59 -04:00
GriffinR 09a9efd5c5 Merge pull request #1398 from GriffinRichards/doc-field
Document field
2021-04-10 13:05:51 -04:00
GriffinR f6016838b1 Merge pull request #1397 from GriffinRichards/doc-moremisc
Clean up battle scripts
2021-04-10 12:41:35 -04:00
GriffinR fb24336e8f Pokemon animation misc cleanup 2021-04-10 01:36:06 -04:00
GriffinR 72ba8cf58d Document pokemon animation types 2021-04-10 00:50:28 -04:00
GriffinR 5e82db8dc3 Merge pull request #1399 from Kurausukun/graey
Standardize Spelling of "Gray"
2021-04-09 23:05:56 -04:00
Kurausukun 3e725272fc standardize "grey" to "gray" 2021-04-09 22:39:34 -04:00
GriffinR c95e89e083 Remove old variables 2021-04-07 13:32:08 -04:00
GriffinR 356e63db03 Clean up fieldmap, port frlg macros 2021-04-07 13:26:02 -04:00
GriffinR d717a635c8 event_object_movement cleanup 2021-04-06 17:55:29 -04:00
GriffinR 0dc7ff8994 Minor misc field doc 2021-04-06 17:17:41 -04:00
GriffinR 7d2a94282a Label horizontal fog data 2021-04-06 17:05:38 -04:00
GriffinR 4a1cfbead2 Document remaining overworld 2021-04-06 16:55:43 -04:00
GriffinR 86a9d94ce1 Document fieldmap 2021-04-06 16:05:43 -04:00
GriffinR 8bad478b49 Document disguise field effects 2021-04-06 14:51:39 -04:00
GriffinR 756fad0e61 Document some event object movement 2021-04-06 14:34:36 -04:00
GriffinR 802d2b2f0f Label Kyogre/Groudon anims 2021-04-06 03:46:19 -04:00
GriffinR 00c3044c96 Clarify Groudon/Kyogre/Rayquaza gfx names 2021-04-06 02:38:15 -04:00
GriffinR 806abe2999 Document some objev anims, make objevgfx info static 2021-04-05 19:52:35 -04:00
GriffinR 553fe6239a Document more field effects 2021-04-05 18:21:17 -04:00
GriffinR f90026826a Document some weather, field effects 2021-04-04 17:52:07 -04:00
GriffinR 5fa20534f9 Label remaining fields in Weather struct 2021-04-04 00:52:17 -04:00
GriffinR b926fa6b07 Document thunderstorm 2021-04-04 00:44:20 -04:00
GriffinR 1494a83035 Sync drought with pokefirered, add weather tags 2021-04-03 22:47:58 -04:00
GriffinR fe1b757af5 Some constant use in WallyHandleActions 2021-04-03 16:37:00 -04:00
GriffinR b6711441f5 Fix AI Guard Spec use, and Specs->Spec 2021-04-03 15:18:17 -04:00
GriffinR f4d8a91ba4 Misc battle script cleanup 2021-04-03 14:07:31 -04:00
GriffinR 9ea9ffde09 Add remaining multistring chooser constants 2021-04-03 11:49:06 -04:00
GriffinR 677b4fc394 Merge pull request #1396 from GriffinRichards/fix-guards
Add missing include guard suffixes
2021-04-02 13:06:18 -04:00
GriffinR 1b8d405b5e Add missing include guard suffixes 2021-04-02 12:54:40 -04:00
GriffinR a836bd1085 Add missing trainer constant use 2021-04-02 02:17:36 -04:00
GriffinR 87430a1ebc Add WAIT_TIME battle script constants 2021-04-02 02:16:01 -04:00
GriffinR c9d3b26ff7 Label miss string indexes 2021-04-02 02:12:46 -04:00
GriffinR 8be2c5d60b Document Contest Lady TV Show 2021-04-02 01:49:38 -04:00
GriffinR a0b3d4df12 Merge pull request #1390 from GriffinRichards/doc-introcred
Document intro and credits sequences
2021-04-01 23:13:59 -04:00
GriffinR 51970f97b0 Merge pull request #1393 from GriffinRichards/doc-dewfordtrend
Document Dewford Trend and match_call.c
2021-04-01 22:19:48 -04:00
GriffinR 691c680908 Delete unreferenced palette 2021-04-01 14:32:23 -04:00
GriffinR 21fd6827b0 Merge pull request #1394 from GriffinRichards/fix-bgevent
Fix bg event macros
2021-04-01 14:22:48 -04:00
GriffinR 1ff6aaf57d Add constant use for match call text ids 2021-04-01 04:21:26 -04:00
GriffinR f58465a274 Document match_call.c 2021-04-01 03:29:15 -04:00
GriffinR 038505984c Fix bg event macros 2021-04-01 02:42:02 -04:00
GriffinR 69a6a97468 Remove incorrect comment 2021-03-31 17:29:09 -04:00
GriffinR 5ba858d19c Label missing easy chat symbols 2021-03-31 16:56:10 -04:00
GriffinR 771a434730 Label Trend Watcher TV show texts 2021-03-31 16:29:42 -04:00
GriffinR 86856098a3 Document Dewford Trend 2021-03-31 16:08:42 -04:00
GriffinR 6b070010b2 Merge pull request #1392 from GriffinRichards/multichoicebool
Use bool for multichoice ignoreBPress
2021-03-31 01:27:42 -04:00
GriffinR 5d7c438efc Merge pull request #1391 from GriffinRichards/objvram
Add some uses of OBJ_VRAM/VRAM_SIZE
2021-03-31 00:36:20 -04:00
GriffinR f602a9dcbf Use bool for multichoice ignoreBPress 2021-03-31 00:35:56 -04:00
GriffinR 8c6e89e994 Bit shifts from hex to decimal 2021-03-30 17:38:09 -04:00
GriffinR d5d1caf965 Add some uses of OBJ_VRAM/VRAM_SIZE 2021-03-30 15:07:04 -04:00
GriffinR 50e9666e16 Merge branch 'master' into doc-introcred 2021-03-29 20:56:15 -04:00
GriffinR dea07dc865 Standardize intro gfx names 2021-03-29 20:48:48 -04:00
GriffinR 09ff1524b4 Finish documenting credits 2021-03-29 19:58:29 -04:00
GriffinR e8b6b4b65e Merge pull request #1383 from Kurausukun/fr_doc
Port Some Documentation from FR
2021-03-29 18:53:26 -04:00
Kurausukun 102582a3df Merge branch 'master' of https://github.com/pret/pokeemerald into fr_doc 2021-03-29 18:36:18 -04:00
Kurausukun 79a8eb481f 1 to true 2021-03-29 18:32:22 -04:00
GriffinR c40fb9288c Merge pull request #1378 from GriffinRichards/doc-berrycrush
Document Berry Crush
2021-03-29 12:38:16 -04:00
GriffinR 731a442035 Merge pull request #1389 from huderlem/text_doc
Document some text-related things
2021-03-29 12:32:26 -04:00
Marcus Huderle 6cceb05cb7 Document some text-related things 2021-03-29 11:20:00 -05:00
GriffinR 62968895ca Add MON_PIC_SIZE constant 2021-03-29 09:38:19 -04:00
GriffinR 357c5439f5 Document some credits 2021-03-29 08:52:40 -04:00
GriffinR c86cc8b371 Document intro, start intro_credits/credits 2021-03-28 23:13:56 -04:00
Scott 5cb8ec4247 Rename IsNotEventLegalMewOrDeoxys 2021-03-27 17:27:32 -05:00
GriffinR 7a5c6d4d86 Standardize Friendship/Happiness 2021-03-27 17:27:20 -05:00
SatoMew ff866d0735 Remove Travis badge 2021-03-23 22:31:01 +00:00
GriffinR 0f869fb266 Remaining labels in trainer_card 2021-03-22 15:30:19 -05:00
GriffinR 2be0c52c17 Remaining labels in map_name_popup 2021-03-22 15:30:19 -05:00
GriffinR 1cc0a3506f Label misc field effects 2021-03-22 15:30:19 -05:00
GriffinR 4077c53338 A few labels in party, start, option menus 2021-03-22 15:30:19 -05:00
GriffinR 9773b436d2 Clean up shop.c 2021-03-22 15:30:19 -05:00
GriffinR 6127c6f32e Misc labels in battle facilities 2021-03-22 15:30:19 -05:00
Kurausukun 9eb5794482 cleanup some m4a code (thanks to shoomer) 2021-03-21 13:43:53 -05:00
GriffinR dfc6ee0e9e Add SAFE_DIV 2021-03-21 13:43:14 -05:00
GriffinR 28aff5b179 Correct ClearRankingHallRecords bugfix 2021-03-21 13:43:14 -05:00
GriffinR 557152b06e Minor link cleanup 2021-03-21 13:40:40 -05:00
Kurausukun 0691632ac6 oops 2021-03-19 18:52:37 -04:00
Kurausukun 7198d40ec8 port some documentation from FR 2021-03-19 18:49:19 -04:00
Kurausukun 5b910a11b4 port miscellaneous fr documentation 2021-03-18 20:35:39 -04:00
GriffinR 8eafe1fd4e Move pointillism points array to src 2021-03-18 17:36:18 -05:00
GriffinR 22e2c0a47c Document Berry Crush 2021-03-18 15:18:23 -04:00
GriffinR 3cb9300744 Merge pull request #1377 from Kurausukun/temp
Port Some Missed Berry Crush Documentation
2021-03-16 00:02:27 -04:00
Kurausukun 3baac6ef3c port some missed berry crush documentation 2021-03-15 23:55:10 -04:00
GriffinR ecd269ba2c Merge pull request #1372 from GriffinRichards/doc-countdown
Document minigame countdown
2021-03-15 21:39:58 -04:00
GriffinR 9242ec30de Merge pull request #1376 from PikalaxALT/battle_multi_buffer
Resolve link comm buffers in gBattleStruct
2021-03-15 21:35:16 -04:00
PikalaxALT 925e68c03f Update newly named fields 2021-03-15 15:22:41 -04:00
PikalaxALT 8352ebcc48 Merge branch 'master' of github.com:pret/pokeemerald into battle_multi_buffer 2021-03-15 09:46:57 -04:00
GriffinR 780e49dbc8 Merge pull request #1375 from GriffinRichards/bugfix-end
Note missing end in Trainer Hill
2021-03-14 19:08:36 -04:00
GriffinR cc9d54bf6d Merge pull request #1374 from SethBarberee/berry_crush_sync
berry_crush: sync some pokefirered names with pokeemerald
2021-03-13 16:52:11 -05:00
GriffinR fd3175bde4 Note missing end in Trainer Hill 2021-03-13 16:40:29 -05:00
Seth Barberee 4158f07dee move bgBuffers back to unk138 2021-03-12 19:24:03 -06:00
Seth Barberee fda56d6f47 berry_crush: sync some pokefirered names with pokeemerald 2021-03-12 18:39:25 -06:00
PikalaxALT 8d4dcb228a More documentation in battle_main 2021-03-12 16:55:58 -05:00
PikalaxALT e32a1571af Resolve link comm buffers in gBattleStruct 2021-03-12 15:37:31 -05:00
GriffinR 665dffe048 Merge pull request #1373 from PikalaxALT/fix_nonmatchings
Nonmatching resoltuion
2021-03-12 14:03:39 -05:00
PikalaxALT e6b1b97aa1 Nonmatching resoltuion
- Fix fakematch in Cmd_get_used_held_item
- Remove `static` overrides in MODERN in four objects
2021-03-12 13:55:07 -05:00
GriffinR b1a69d95ea Document minigame countdown 2021-03-11 14:25:22 -05:00
GriffinR 6c297d19e8 Merge pull request #1356 from GriffinRichards/doc-dodrioberrypicking
Document Dodrio Berry Picking
2021-03-10 18:55:41 -05:00
GriffinR 4620992f07 Merge pull request #1368 from GriffinRichards/fix-fightanim
Fix out of bounds access for fighting anims
2021-03-09 12:48:01 -05:00
GriffinR 6274acfe5f Fix out of bounds access for fighting anims 2021-03-08 14:32:20 -05:00
GriffinR ba1e006a64 Move webhook env vars, drop unnecessary secrets 2021-03-07 22:40:09 -05:00
GriffinR fd42e02af4 Move webhook event check to workflow 2021-03-07 17:35:56 -05:00
GriffinR 2bba2ce1a1 Link .text.unlikely for modern 2021-03-07 17:24:30 -05:00
GriffinR 1dc12890d1 Update event name in webhook 2021-03-07 15:33:14 -06:00
GriffinR c05f529a19 Replace Travis CI with Github workflow 2021-03-07 15:33:14 -06:00
N 94a883d600 Fix space 2021-03-04 19:36:44 -06:00
N 99c6a504e0 Finish renaming functions 2021-03-04 19:36:44 -06:00
N b9b33b6f2b Some renaming 2021-03-04 19:36:44 -06:00
N 7b046ebd1d rename gBerryCrushGame 2021-03-04 19:36:44 -06:00
N e79048e8ee Remove unneeded bitwise operations 2021-03-04 19:35:25 -06:00
N d5a63681e8 Fixed faulty define 2021-03-04 19:33:40 -06:00
N d63431ae88 Fix comment 2021-03-04 19:33:40 -06:00
N a2f757c7a6 Document BG_PLTT usage in Agb_Main 2021-03-04 19:33:40 -06:00
N b86b66660c Revert void change 2021-03-04 19:32:36 -06:00
N 8f5bd2fb33 Fix prefixes of variable names
Many static variables in this function are falsely labeled with a g prefix, as if it were global, when they are in fact state variables.
2021-03-04 19:32:36 -06:00
Kurausukun 204e95dfea remove unnecessary changes 2021-03-04 19:32:16 -06:00
Kurausukun dec5e8eee5 steal matching from #1333 2021-03-04 19:32:16 -06:00
GriffinR 55a40b901f Label battle tower link script 2021-03-04 19:30:19 -06:00
GriffinR 734a15135f Clean up a few unlabeled scripts 2021-03-04 19:30:19 -06:00
GriffinR 69f7882b5e Label missed pokemon jump anims 2021-03-03 14:32:09 -05:00
GriffinR b9c733495b Document dodrio berry picking 2021-03-03 14:26:05 -05:00
GriffinR 91ab30fa71 Rename mon markings struct 2021-02-28 17:11:46 -06:00
GriffinR ed0347476c Remove old declaration and define 2021-02-28 17:11:46 -06:00
GriffinR 031da44cab Document mon markings 2021-02-28 17:11:46 -06:00
GriffinR 8bfd1370c9 Merge pull request #1352 from huderlem/GetOpponentMostCommonMonType
Document GetOpponentMostCommonMonType and fix its fake matching
2021-02-28 17:27:39 -05:00
Marcus Huderle 200e8214cf Document GetOpponentMostCommonMonType and fix its fake matching 2021-02-28 10:43:56 -06:00
GriffinR cbc7a72814 Merge pull request #1346 from GriffinRichards/doc-pokejump
Document pokemon jump
2021-02-28 11:19:02 -05:00
N 6c07031c85 Remove redundant statements 2021-02-28 10:06:07 -06:00
N cab3728e96 Strangest match 2021-02-28 10:06:07 -06:00
huderlem 10c77f1bc2 Merge pull request #1345 from GriffinRichards/doc-rtcscreen
Document/clean up some minor screens
2021-02-28 10:03:22 -06:00
Marcus Huderle c900de35e7 Fix build and cleanup mistakes 2021-02-28 09:54:55 -06:00
Marcus Huderle a85fada314 Document more battle anim effects 2021-02-28 09:54:55 -06:00
GriffinR 1912b0cf0a Merge branch 'master' into doc-rtcscreen 2021-02-28 10:28:43 -05:00
GriffinR 3f59362397 Merge branch 'master' into doc-pokejump 2021-02-28 10:27:50 -05:00
GriffinR ea748ff7f5 Merge pull request #1344 from GriffinRichards/doc-ec
Document easy chat and mail, script.c cleanup, add/use some general constants
2021-02-28 10:26:49 -05:00
GriffinR 70c560cc84 Merge pull request #1347 from huderlem/battle_anim_doc
Document some battle anim funcs and data
2021-02-27 13:50:01 -05:00
Marcus Huderle c323e7f061 Document some battle anim funcs and data 2021-02-27 11:04:45 -06:00
GriffinR 763724a980 Shifts to mult in ShowBonus 2021-02-26 21:13:16 -05:00
GriffinR 117b90a261 Document pokemon jump 2021-02-26 17:26:39 -05:00
GriffinR 2dfa84c10f Clean up berry_fix_program 2021-02-24 16:46:57 -05:00
GriffinR f172ff84c9 Clean up save_failed_screen 2021-02-24 14:53:32 -05:00
GriffinR f09278393e Document reset_rtc_screen 2021-02-24 14:29:33 -05:00
GriffinR 293df1887f Fix comment typo 2021-02-24 11:26:26 -05:00
GriffinR b71b10623b Add palette selection constants 2021-02-24 11:03:51 -05:00
GriffinR c6141fea83 Document easy chat 2021-02-24 11:03:45 -05:00
GriffinR 1cac608dbe Document mail 2021-02-24 11:03:39 -05:00
GriffinR b04f0aaa2b Use SPRITE_NONE constant 2021-02-24 11:03:32 -05:00
GriffinR a5852d57d1 Use TASK_NONE constant 2021-02-24 11:03:25 -05:00
GriffinR e52b46ab43 Clean up script.c 2021-02-24 11:03:17 -05:00
GriffinR 81a7f491b7 Use WINDOW_NONE constant 2021-02-24 11:03:08 -05:00
GriffinR 06ae5a37e2 Merge pull request #1336 from GriffinRichards/giftribbons
Document some ribbon usage
2021-02-24 10:07:59 -05:00
GriffinR fc3d6eb178 Merge pull request #1328 from GriffinRichards/doc-pokeuseitem
Document PokemonUseItemEffects
2021-02-22 12:15:19 -05:00
GriffinR 65433c790e Merge pull request #1342 from sphericalice/heart-icon-palette-tag-constant
Use the field effects palette tag constant for the heart icon
2021-02-22 10:43:55 -05:00
GriffinR 9f9c85a6ef Merge pull request #1341 from sphericalice/cracked-floor-metatile-labels
Add labels for cracked floor metatiles
2021-02-22 10:38:01 -05:00
SphericalIce 2d7b25428a Use the field effects palette tag constant for the heart icon 2021-02-22 15:35:09 +00:00
SphericalIce 381116b3c4 Add labels for cracked floor metatiles 2021-02-22 15:29:14 +00:00
GriffinR d313f5e58c Merge pull request #1340 from snallapa/sahith/small-fix
changing gDifferentSaveFile to use true false constants
2021-02-21 19:44:58 -05:00
Sahith Nallapareddy dafca0ba22 changing to use constants 2021-02-21 19:27:59 -05:00
luckytyphlosion 6872d6f196 Merge pull request #1338 from HornedCrusader/patch-1
Fix bike flag
2021-02-20 19:14:26 -05:00
HornedCrusader 84cb04fa38 Fix bike flag 2021-02-20 11:52:41 -05:00
GriffinR da67b6ebd9 More window cleanup 2021-02-18 15:01:18 -05:00
GriffinR 64fc585cc3 Document pokenav ribbons summary screen 2021-02-18 11:33:55 -05:00
GriffinR d62f89b20c Minor window/bg cleanup 2021-02-18 10:00:07 -05:00
GriffinR 02c1fbd733 Document ribbon TV show, add new ribbon IDs/size 2021-02-18 09:59:24 -05:00
GriffinR 642ae8295e Some constant use in pokemon_icon.c 2021-02-17 14:11:59 -05:00
GriffinR e059c4fdfa Use new gift ribbons size, label unused ribbons 2021-02-17 14:11:45 -05:00
GriffinR 549ddb8c95 Merge pull request #1335 from Deokishisu/ExternalEvents-doc
Document More External Events
2021-02-16 16:25:02 -05:00
Deokishisu 1dda9939ab Fix Swapped Comments on PokeCoupon Tiers 2021-02-16 16:08:58 -05:00
Deokishisu 7f55bf875c Move BoxRS Data Down to ExternalEventFlags
As suggested, moved the BoxRS data fields into ExternalEventFlags and packed that struct.
2021-02-16 16:01:18 -05:00
Deokishisu fb60e036ce Document Box: Ruby & Sapphire Fields
Labeled another field in the ExternalEventData struct used by Pokémon Box: Ruby & Sapphire.

Special thanks to Citrus Bolt#4642.
2021-02-16 15:37:58 -05:00
Deokishisu cd89d17b12 Document More External Events
Did research to determine how the Japanese Colosseum Bonus Disc modifies the ExternalEventData fields. The Ageto Celebi flag, as well as the flag for the three PokeCoupon title rewards, have been documented and included into the struct.

The PokeCoupon fields are actually 3-byte fields, so they have been turned into bitfields, since u24 isn't possible.

Also discovered that Channel and US Colosseum Bonus Disc Jirachi use the same flag, so renamed that flag and commented to explain.

Also made general comments explaining how the ExternalEventData and ExternalEventFlags are applicable to Emerald specifically.
2021-02-16 09:41:07 -05:00
GriffinR 2e355ac848 Merge pull request #1329 from Kurausukun/fakematches
[LEAK-INFORMED] Resolve Fakematches
2021-02-15 23:59:55 -05:00
GriffinR ee4af94a36 Merge pull request #1324 from GriffinRichards/doc-sb
Document remainder of secret_base.c
2021-02-15 17:41:55 -05:00
GriffinR f8a70fdf24 Merge pull request #1334 from Deokishisu/giftRibbons-doc
[LEAK-INFORMED] Fix giftRibbons Field in SaveBlock1 & Relabel Gift Ribbons in pokemon.h
2021-02-15 17:33:29 -05:00
Deokishisu d418321627 Update crt0.s 2021-02-15 17:25:36 -05:00
Deokishisu 7b2bf8c7e2 Rename obedient/fatefulEncounter to eventLegal
Per discussion on pret, `obedient`/`fatefulEncounter` has been renamed to `eventLegal`, and all related functions and constants have been modified with this in mind.

Additionally, fixed some whitespace alignment issues in `script_cmd_table.h`, `pokemon.h`, and `tv.c` from the last commit.
2021-02-15 14:54:35 -05:00
Deokishisu b89c3e901e Fix giftRibbons Field in SaveBlock1 & Relabel Gift Ribbons in pokemon.h
The giftRibbons field has been split out into proper subfields. The new ExternalEvent structs deal with interconnectivity between external games/peripherals and Emerald, such as PokéCoupon storage and the flag for receiving Wishmaker Jirachi.

The giftRibbon fields in `PokemonSubstruct3` have also been renamed to their appropriate ribbons, and commented with distribution info if applicable. The previous `fatefulEncounter` field was actually filler, and relabeled as such, while the obedient bit was renamed `fatefulEncounter`. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind.
2021-02-15 11:40:16 -05:00
GriffinR 5f58ea02c6 Merge pull request #1330 from sphericalice/hidden-to-buried
Rename 'hidden' Trainers/obj events to 'buried'
2021-02-14 21:48:21 -05:00
GriffinR b797730234 Merge pull request #1331 from sphericalice/lilcove-typo-fix
Fix Lilcove Motel typos
2021-02-14 17:46:14 -05:00
GriffinR 17cfa9dc80 Merge pull request #1332 from sphericalice/use-rgb
Use RGB macros
2021-02-14 17:45:14 -05:00
SphericalIce 27dc32de26 Use RGB macros 2021-02-14 22:08:19 +00:00
SphericalIce 56e047f949 Fix Lilcove Motel typos 2021-02-14 21:38:39 +00:00
SphericalIce 70ff6c3b84 Rename 'hidden' Trainers/obj events to 'buried' 2021-02-14 19:25:23 +00:00
GriffinR be0699bd64 Merge pull request #1326 from GriffinRichards/doc-layouts
Label unused layouts
2021-02-14 14:22:28 -05:00
GriffinR a85ac11b28 Merge pull request #1325 from GriffinRichards/constants-berrytree
Add berry tree id constants
2021-02-14 14:15:51 -05:00
Kurausukun 10e430ae15 oops 2021-02-14 04:03:53 -05:00
Kurausukun 7c4116b32a fix indentation 2021-02-14 04:01:20 -05:00
Kurausukun 6b5db889dd [LEAK-INFORMED] remove fakematching comment
it is in fact not a fakematch
2021-02-14 03:57:50 -05:00
Kurausukun bf062f5547 [LEAK-INFORMED] fix battle dome fakematching
yes they actually fucking did this
2021-02-14 03:51:38 -05:00
GriffinR 8634710996 Document PokemonUseItemEffects 2021-02-12 16:02:04 -05:00
GriffinR 78925916f3 Merge pull request #1327 from LOuroboros/vitamins
Added constant labels for EV manipulating item effects
2021-02-12 11:57:36 -05:00
LOuroboros 21ee6cb9fb Added constant labels for EV manipulating item effects 2021-02-12 07:26:11 -03:00
luckytyphlosion 52ab1acea1 Easy changes per Griffin's comments 2021-02-10 17:32:46 -05:00
GriffinR 20b76c6071 Fix swapped route 102 berries 2021-02-10 16:26:09 -05:00
GriffinR 987fdf6fcd Merge pull request #1321 from GriffinRichards/doc-evoscene
Document evolution scene
2021-02-08 18:21:30 -05:00
GriffinR 487e04d269 Merge pull request #1319 from GriffinRichards/crt0comm
Add comments for some data in crt0.s
2021-02-08 17:15:52 -05:00
GriffinR 2237d0748f Label unused layouts 2021-02-08 14:45:56 -05:00
luckytyphlosion 1760d68010 Fix up dkP related naming here as well. 2021-02-08 12:39:43 -05:00
luckytyphlosion 6a865be4c2 Fix up incorrect term. 2021-02-08 12:38:49 -05:00
luckytyphlosion 0f13e061e1 Fix up dkP related naming. 2021-02-08 12:35:21 -05:00
luckytyphlosion 4c3c61fa35 Add instructions for installing libpng on macOS 2021-02-08 11:55:36 -05:00
GriffinR 6899acfb6f Merge pull request #1317 from opakedragon/master
Fix Spelling of BagMenu_RemoveBagItemMessageindow
2021-02-07 13:43:05 -05:00
GriffinR 0851c34bac Add berry tree id constants 2021-02-05 15:25:12 -05:00
GriffinR 2e57a00d17 Use GAME_LANGUAGE instead of LANGUAGE_ENGLISH 2021-02-05 12:08:49 -05:00
GriffinR a240481d5f Document secret_base.c 2021-02-05 12:08:25 -05:00
GriffinR 2b5f7fe151 Merge pull request #1323 from LOuroboros/newCursorArea
newCurosrArea -> newCursorArea
2021-02-05 07:16:38 -05:00
GriffinR 3b33c950b2 Merge pull request #1322 from Deokishisu/patch-2
Fix "Compatibility" Misspelling
2021-02-05 07:15:51 -05:00
LOuroboros 2e51a69400 newCurosrArea -> newCursorArea 2021-02-05 04:59:26 -03:00
Deokishisu ac43365d58 Fix "Compatibility" Misspelling
Someone misspelled "compatibility" as "compatability" in the daycare-related files. This commit spells them correctly.
2021-02-05 01:27:11 -05:00
GriffinR 15906ca143 Document evolution scene 2021-02-03 17:55:37 -05:00
GriffinR 64460e01ae Merge pull request #1314 from GriffinRichards/doc-controllers
Document battle controllers, misc other battle
2021-02-02 00:24:16 -05:00
GriffinR 7e26aa3d21 Merge pull request #1316 from GriffinRichards/doc-scrcmd
Label remaining script commands, document some scrcmd.c, event_object_lock, trainer_see, berry tree
2021-02-01 21:04:00 -05:00
GriffinR 90513a9d72 Merge pull request #1318 from GriffinRichards/bardmoves
Minor bard music clean up
2021-02-01 14:59:45 -05:00
luckytyphlosion 11eb805856 Temporary fix for macOS install.
Should probably figure out what's exactly setting $DEVKITPRO since it's set by something else upon opening the Terminal.
2021-01-31 16:22:54 -05:00
GriffinR 45ee3a687d Add comments for some data in crt0.s 2021-01-29 18:36:39 -05:00
opakedragon 1e8edcbfcd Revert "Revert "Fix Spelling of BagMenu_RemoveBagItemMessageindow""
This reverts commit be50fab8f2.
2021-01-29 13:36:24 -05:00
opakedragon be50fab8f2 Revert "Fix Spelling of BagMenu_RemoveBagItemMessageindow"
This reverts commit 3a6be5a34c.
2021-01-29 13:30:09 -05:00
GriffinR 12af03cd62 Label bard music pitch table 2021-01-28 16:36:56 -05:00
GriffinR 89b85a49ec Index gBardSounds_Moves and gBardSounds_Pokemon with constants 2021-01-28 15:55:33 -05:00
luckytyphlosion 57bc32e300 Fix templess builds from not exiting on error. 2021-01-27 09:57:50 -05:00
opakedragon 3a6be5a34c Fix Spelling of BagMenu_RemoveBagItemMessageindow 2021-01-27 06:18:29 -05:00
luckytyphlosion 740c0a6bc1 Merge pull request #1294 from luckytyphlosion/aif2pcm-fix
Fix bug in pcm delta compression.
2021-01-26 15:23:11 -05:00
luckytyphlosion b0de03356b Merge pull request #1315 from PokeCodec/patch-3
Use INTR_FLAG_VBLANK instead of constant 0x1
2021-01-26 15:22:24 -05:00
luckytyphlosion ff8952a3f0 Merge pull request #1308 from PokeCodec/pain
Get rid of Task_data_OP macro
2021-01-26 15:22:13 -05:00
GriffinR 92bd6400b7 Fix up berry sparkle 2021-01-26 05:40:34 -05:00
GriffinR 9e59581220 Document object lock and some trainer approach 2021-01-26 04:42:18 -05:00
GriffinR 0064333e4a Clean up scrcmd.c 2021-01-26 02:16:26 -05:00
N b1a29e5017 Use INTR_FLAG_VBLANK instead of constant 0x1 2021-01-25 21:37:04 -05:00
GriffinR 3fd5e143a9 Misc battle anim documentation 2021-01-23 00:40:46 -05:00
GriffinR a392cca928 Misc battle documentation 2021-01-23 00:40:31 -05:00
GriffinR 4228509e95 Sync link opponent controller doc to opponent 2021-01-22 21:47:00 -05:00
GriffinR 6f71569fbd Sync recorded opponent controller doc to opponent 2021-01-22 21:41:49 -05:00
GriffinR c106f7f130 Document battle_controller_opponent.c 2021-01-22 21:35:16 -05:00
GriffinR d1878f933b Sync link partner controller doc to player 2021-01-22 20:49:14 -05:00
GriffinR 74990a5a76 Sync player partner controller doc to player 2021-01-22 20:48:43 -05:00
GriffinR 1042426cc6 Sync recorded player controller doc to player 2021-01-22 20:47:59 -05:00
GriffinR b9baf9437d Sync safari/wally controller doc to player 2021-01-22 20:13:34 -05:00
GriffinR 63a7828772 Document battle_controller_player.c 2021-01-22 20:03:27 -05:00
N 07d19ba526 Update main.c 2021-01-22 18:40:08 -05:00
N 3102d94e3c Undo change 2021-01-22 17:41:57 -05:00
N c636b7c3ae Some more tweaks 2021-01-22 17:41:07 -05:00
GriffinR 4eca05ccf5 Document remainder of battle_controllers.c 2021-01-22 02:48:22 -05:00
GriffinR 8fe4d004e3 Merge pull request #1305 from GriffinRichards/doc-battletv
Document battle tv data
2021-01-21 12:27:14 -05:00
GriffinR 3ceb43177d Merge pull request #1312 from sphericalice/pokeemerald
Fix misnamed ground effect flags & document reflections
2021-01-20 18:50:31 -05:00
SphericalIce c0489199c0 Rename GetObjEventReflectionType & fix fakematch in GetGroundEffectFlags_Reflection 2021-01-20 22:32:04 +00:00
SphericalIce 86297398e6 Move the definition of RETURN_REFLECTION_TYPE_AT and make use of REFL_TYPE_NONE 2021-01-20 10:34:33 +00:00
SphericalIce 4334f7a379 Include NUM_REFLECTION_TYPES in the ReflectionTypes enum 2021-01-20 10:17:07 +00:00
GriffinR 18b8e0ee8e Merge pull request #1311 from GriffinRichards/clean-unused
Remove unused local variables and functions
2021-01-19 23:22:44 -05:00
GriffinR 6999b237eb Merge pull request #1309 from GriffinRichards/misc-macro
Use constants for item data, misc other constants/fixes
2021-01-19 20:49:58 -05:00
SphericalIce 2746fd1f95 Name object event ID arguments properly 2021-01-19 23:35:57 +00:00
SphericalIce 6dd973012b Correct ground effect flag names for reflections & document sprite data usage 2021-01-19 23:21:50 +00:00
GriffinR b65980cd4e Remove unused local variables and functions 2021-01-19 18:19:33 -05:00
N e5e390d64b Revert zero initialization 2021-01-19 14:33:11 -05:00
GriffinR c2ddb92c9e Merge pull request #1310 from sphericalice/pokeemerald
Make broader use of RGB macros
2021-01-19 13:53:30 -05:00
N d720520de8 Clarified comment again 2021-01-19 13:47:09 -05:00
N b6c483394e Clarified comments
Made comments clearer.
2021-01-19 13:43:57 -05:00
GriffinR 752982552e Add FIRST_BALL, some FIRST_BERRY_INDEX usage 2021-01-19 13:39:18 -05:00
SphericalIce 2dfaba9472 Name color return values more accurately 2021-01-19 17:59:36 +00:00
GriffinR 305ebdbc4a Parentheses for GET_UNOWN_LETTER 2021-01-19 12:36:36 -05:00
SphericalIce 8de76ed533 Make broader use of RGB macros 2021-01-19 17:15:12 +00:00
luckytyphlosion 10c0566121 Don't keep temporary C build files by default. 2021-01-19 11:43:50 -05:00
GriffinR cf9f8d01c5 Add misc item data constants 2021-01-19 05:49:20 -05:00
GriffinR de52df5613 Fix some mislabeled scripts 2021-01-19 04:51:34 -05:00
GriffinR 1a40202ea4 Note bug in Foresight AI 2021-01-19 04:46:31 -05:00
GriffinR 4e845b6395 Use constants for contestLinkResults 2021-01-19 04:40:06 -05:00
GriffinR c6a81c5277 Use MON_MALE/FEMALE for get_gender 2021-01-19 04:37:17 -05:00
GriffinR 3f36529cba Use NUMBER_OF_MON_TYPES in pokedex search 2021-01-19 04:34:50 -05:00
GriffinR 9dd867689e Use ARRAY_COUNT in PrintMenuTable 2021-01-19 04:19:14 -05:00
GriffinR 3f9037d63a Use ARRAY_COUNT in InitBgsFromTemplates 2021-01-19 04:14:07 -05:00
GriffinR bc20fda604 Use GET_UNOWN_LETTER macro 2021-01-19 04:03:16 -05:00
N 7134763b73 Update task.c 2021-01-17 13:00:53 -05:00
N 8297090267 Update task.c 2021-01-17 12:49:50 -05:00
N ad6ab09e30 Update comment 2021-01-17 12:46:08 -05:00
N 3b80f3caf1 Make variable name shorter 2021-01-17 12:44:08 -05:00
N d3259ebe2c renamed taskNum to followupFuncDataIndex 2021-01-16 21:56:49 -05:00
N 72e8683975 FIxed the comments 2021-01-16 21:50:59 -05:00
N e7436ab4c8 Update task.c 2021-01-16 21:35:40 -05:00
N 0159c0c1ae Update task.c 2021-01-16 21:09:51 -05:00
N a950167d89 Remove define 2021-01-16 21:05:35 -05:00
N 6b5ce647df Update task.c 2021-01-16 20:31:09 -05:00
N 26246ce281 Update task.c 2021-01-16 20:29:42 -05:00
N 926ef40c52 Get rid of Task_data_OP macro
This macro is so annoying. Can we please do away with it?
2021-01-16 20:19:00 -05:00
GriffinR 6c91534304 Merge pull request #1307 from Kurausukun/channel_constant
use constant for max directsound channels
2021-01-16 08:31:34 -05:00
Kurausukun c96a52b1f7 use constant for max directsound channels
makes it easier to modify the size of the struct used in m4a_1
2021-01-16 04:18:45 -05:00
GriffinR f19d1b2590 Merge pull request #1306 from GriffinRichards/pokefiller
Make filler in PokemonSubstruct0 explicit
2021-01-15 00:28:26 -05:00
GriffinR 2da0c3436e Make filler in PokemonSubstruct0 explicit 2021-01-15 00:14:46 -05:00
GriffinR 8305342521 Merge pull request #1304 from GriffinRichards/misc-clean
Minor table clean up
2021-01-14 15:34:26 -05:00
GriffinR 564278fd49 Document battle tv data 2021-01-14 06:29:59 -05:00
GriffinR 8e06d5679c Index gBardSoundsTable 2021-01-14 03:54:59 -05:00
GriffinR 46e0a0607d Array count for easy chat word groups 2021-01-14 03:48:49 -05:00
GriffinR f63bc6e27a Index sTMHMMoves 2021-01-14 03:41:28 -05:00
GriffinR 7dc52f6a5e Merge pull request #1303 from GriffinRichards/doc-battledef
Label remaining battle types
2021-01-14 02:20:55 -05:00
GriffinR b9e1b050e1 Label remaining battle types 2021-01-13 15:20:29 -05:00
GriffinR 29e59c8eef Merge pull request #1300 from GriffinRichards/bugfix-clean
Minor BUGFIX changes, remove redundant bug fix descriptions
2021-01-13 14:22:42 -05:00
GriffinR 707441827b Merge pull request #1301 from GriffinRichards/anim-index
List battle animation indexes alongside tables
2021-01-12 23:41:49 -05:00
GriffinR 92de664f79 List battle animation indexes alongside tables 2021-01-11 16:07:16 -05:00
GriffinR 9ed413fe8f Remove redundant bug fix description 2021-01-11 10:39:53 -05:00
GriffinR fa3acd79e7 Fix missing header for sub_817F77C BUGFIX 2021-01-11 10:37:22 -05:00
GriffinR 4a7a3df205 Move SeedRngWithRtc fix to BUGFIX conditional 2021-01-11 10:36:53 -05:00
GriffinR a733b211a3 Merge pull request #1297 from SatoMew/master
Document the unused battle strings for downpour weather
2021-01-11 10:01:57 -05:00
GriffinR a6317b7f57 Merge pull request #1299 from opakedragon/payday-string-id
rename payday string id
2021-01-11 09:51:18 -05:00
opakedragon 295ec313f5 rename string id/variable to reflect usage 2021-01-11 08:49:31 -05:00
opakedragon cbaf9b38b2 rename string id to reflect usage 2021-01-11 08:48:00 -05:00
opakedragon 3ce4e6b24b rename string id to reflect usage 2021-01-11 08:47:11 -05:00
SatoMew ead437e89b Document the unused battle strings for downpour weather 2021-01-10 22:26:00 +00:00
GriffinR e6aebc16da Merge pull request #1296 from GriffinRichards/bugfix-typo
Add missing braces to bugfix in CalculateMonStats
2021-01-10 12:34:39 -05:00
GriffinR 8afc28c98f Add missing braces to bugfix in CalculateMonStats 2021-01-10 12:24:59 -05:00
GriffinR 42a0b20e57 Merge pull request #1295 from sphericalice/pokeemerald
Use constants for IV-related values
2021-01-07 18:00:10 -05:00
SphericalIce f02afc134b Use the correct constant for max-IV masks 2021-01-07 22:34:57 +00:00
SphericalIce 3c2a33b9b2 Use constants for max IVs & the random IV generation flag 2021-01-07 22:13:14 +00:00
SphericalIce fb69d97b24 Use the constant for the max total of EVs 2021-01-07 21:11:45 +00:00
luckytyphlosion 44bd156f26 Actually test out that it builds. 2021-01-05 20:10:43 -05:00
luckytyphlosion a5f75b4949 Fix issue with diffs being incorrect with extreme values. 2021-01-05 19:53:41 -05:00
luckytyphlosion 8855623ad0 Fix choice of delta sign.
Ensure that the delta goes in the correct direction (i.e. use positive delta for prev <= sample, and negative delta for prev > sample)
2021-01-05 13:56:26 -05:00
luckytyphlosion fb396395e9 Fix bug in pcm delta compression.
error wasn't being correctly calculated for when new_sample was negative and sample was positive.
2021-01-05 11:34:38 -05:00
GriffinR c506cf747f Merge pull request #1293 from GriffinRichards/typo-pyramind
Fix sPyramindFloorNames typo
2021-01-05 00:16:24 -05:00
GriffinR fe5269b875 Fix sPyramindFloorNames typo 2021-01-04 23:58:33 -05:00
GriffinR a291bc4a2c Merge pull request #1292 from GriffinRichards/fix-partymenu
Remove unnecessary subtraction in switch
2021-01-04 20:49:08 -05:00
GriffinR 1b2c9d00ca Merge pull request #1291 from Sierraffinity/master
Fix/document possible division by zero in ConvertScaleParam
2021-01-04 20:48:58 -05:00
GriffinR eba7933c0c Remove unnecessary subtraction in switch 2021-01-04 19:50:05 -05:00
Sierraffinity a982e6ab88 Make div by zero fix more concice 2021-01-04 16:39:47 -08:00
Sierraffinity 67a656a4df Fix/document possible division by zero in ConvertScaleParam 2021-01-04 16:26:28 -08:00
GriffinR 5cf5adf7d7 Merge pull request #1290 from LOuroboros/bugs_doc_update
Updated the bag flickering fix
2021-01-04 18:21:16 -05:00
LOuroboros 09fc94677b Updated the bag flickering fix
Originally submitted by MEATLOAF#4302
2021-01-04 19:39:13 -03:00
GriffinR 0ca76fc179 Some decoration labels, use constant for tileset size 2021-01-04 16:27:57 -06:00
GriffinR 039108284d Clean up gDecorations with gItems format 2021-01-04 16:27:57 -06:00
GriffinR bec799ef72 Merge pull request #1288 from GriffinRichards/substitute
Fix substitute back sprite
2021-01-04 12:50:55 -05:00
luckytyphlosion 98f8c96c9e Fix $(AR) define, remove \u warns on macOS. 2021-01-04 11:35:59 -05:00
GriffinR e0c0143f41 Fix substitute back sprite 2021-01-04 10:14:01 -05:00
GriffinR dbccb759ba Merge pull request #1287 from GriffinRichards/string
Remove unnecessary string.h includes
2021-01-03 13:44:50 -05:00
GriffinR 06af0f0fe5 Remove unnecessary string.h includes 2021-01-03 13:36:07 -05:00
GriffinR d992e4277e Merge pull request #1283 from GriffinRichards/doc-factscreen
Document battle factory screen
2021-01-03 02:51:59 -05:00
GriffinR f2ce06683d Merge pull request #1285 from GriffinRichards/doc-fieldscr
Minor field_screen_effect / field_player_avatar documentation
2021-01-03 01:59:36 -05:00
GriffinR 4a04b16ac1 Merge pull request #1281 from GriffinRichards/index-bc
Index battle controller cmd tables
2021-01-01 17:14:34 -05:00
GriffinR 88e951bfe3 Label some ReturnToField funcs 2021-01-01 17:11:06 -05:00
GriffinR c711a2f73b Document warp spin functions 2021-01-01 17:11:02 -05:00
GriffinR 8cad412ae2 Label a few flash effect functions 2021-01-01 13:34:25 -05:00
GriffinR dfe03618c7 Merge pull request #1284 from GriffinRichards/deadname
Remove deadnaming, sync BgEvent
2020-12-31 14:35:23 -05:00
GriffinR ef60edd933 Remove deadnaming, sync BgEvent 2020-12-31 14:27:46 -05:00
GriffinR 84fbcc9dd6 Fix modern -> UBFIX macro change 2020-12-31 00:44:43 -05:00
GriffinR ec85c01e7c Merge branch 'master' into doc-factscreen 2020-12-31 00:40:45 -05:00
GriffinR 093610b46e Finish factory swap screen doc 2020-12-31 00:26:14 -05:00
GriffinR 0c74e2097f Merge pull request #1282 from Sierraffinity/master
Change how mon affine transform fix is handled
2020-12-30 21:21:12 -05:00
luckytyphlosion e744d86bf1 Fix msys2 instructions, also add more formatting to installation instructions. 2020-12-30 20:56:04 -05:00
Sierraffinity b88922daea Merge branch 'master' of github.com:pret/pokeemerald 2020-12-30 17:37:17 -08:00
Sierraffinity ef7832a55c Change how mon affine transform fix is handled 2020-12-30 17:36:53 -08:00
luckytyphlosion a0344a4094 Forgot to add some line breaks. 2020-12-30 18:49:04 -05:00
GriffinR 7ae78dc773 Finish factory select screen doc 2020-12-30 17:56:31 -05:00
GriffinR 0bf49198f6 Resume factory screen doc 2020-12-30 13:28:15 -05:00
GriffinR 2f426e0e7d Index battle controller cmd tables 2020-12-29 17:21:58 -05:00
GriffinR e1fd2f2a89 Merge pull request #1280 from Sierraffinity/master
Add fixes for undefined behavior with modern compiler
2020-12-26 22:08:48 -05:00
Sierraffinity 127bb97c0e Add UBFIX for division by zero in SpriteCB_PokedexListMonSprite 2020-12-26 18:25:21 -08:00
Sierraffinity bafbf9240d Add UBFIX for null deref in sub_80D08CC 2020-12-26 17:47:36 -08:00
Sierraffinity 86fdd033c6 Add UBFIX for null derefs in sub_8088950 2020-12-26 17:39:52 -08:00
Sierraffinity b155c307ea Add UBFIX for null deref in CameraObjectReset2 2020-12-26 17:25:51 -08:00
GriffinR d74f739e05 Merge pull request #1277 from GriffinRichards/doc-tower
Label remaining subs in battle_tower.c
2020-12-25 00:19:24 -05:00
GriffinR 769ddf22c2 Label remaining subs in battle_tower.c 2020-12-24 16:18:47 -05:00
luckytyphlosion feb6befd09 Improve storage instructions as per Griffin's recommendations.
Todo actually properly proofread this.
2020-12-23 22:51:35 -05:00
luckytyphlosion 56cad5c240 Re-add note about Qt since Porymap hasn't upgraded to 6.0. 2020-12-23 18:14:33 -05:00
luckytyphlosion 9da0920969 Improve INSTALL.mds as per recommendations.
- Put "conditional" notes in quotes to better communicate which instructions are more required
- Number instructions per OS as per Griffin's advice.
2020-12-23 18:02:30 -05:00
luckytyphlosion 2fd2573c4d Merge branch 'master' of https://github.com/pret/pokeemerald 2020-12-23 17:59:47 -05:00
GriffinR 4ec5c888b4 Merge pull request #1275 from Kurausukun/berrycrush_nonmatching
[LEAK INFORMED] Correct Berry Crush Structs and Eliminate Non/Fakematchings
2020-12-22 00:16:36 -05:00
Kurausukun 254b4e621c change "filler" to "unk", remove newline 2020-12-22 00:08:15 -05:00
Kurausukun 45a1156dc8 fix remaining functions, finally matches 2020-12-21 22:36:28 -05:00
Kurausukun 01ea479390 oops 2020-12-21 20:25:59 -05:00
Kurausukun b3f9a08ba6 fix sub_8021A28 2020-12-21 20:24:36 -05:00
Kurausukun 3203bac053 fix struct 2020-12-20 23:15:35 -05:00
Kurausukun 14e2898a29 fix structs and some function logic
(currently does not match)
2020-12-20 02:54:33 -05:00
luckytyphlosion 946faf682f Extra clarification about remounting the C: drive 2020-12-17 09:03:14 -05:00
luckytyphlosion 3d686116d8 [Round 3] Apply all source related changes for the new INSTALL.md in one commit. 2020-12-16 21:24:44 -05:00
luckytyphlosion 5a5acfb0ad [Round 3] Revert multiple source change commits for re-commit. 2020-12-16 21:24:08 -05:00
luckytyphlosion 32e566def0 Don't define CPP until MODERN is defined. 2020-12-16 21:16:55 -05:00
luckytyphlosion 166183d5ed [Round 2] Apply all source related changes for the new INSTALL.md in one commit. 2020-12-16 20:31:56 -05:00
luckytyphlosion 345aab63cf [Round 2] Revert multiple source change commits for re-commit. 2020-12-16 20:31:10 -05:00
luckytyphlosion 11df2113d9 Use arm-none-eabi-cpp for modern. 2020-12-16 20:29:58 -05:00
luckytyphlosion d597c5c883 Fix modern builds.
We actually need standard includes for modern.
2020-12-16 20:17:27 -05:00
luckytyphlosion 2783eed825 Check for $(TOOLCHAIN) before checking for $(TOOLCHAIN)/bin
if TOOLCHAIN is blank, wildcard can still detect the `/bin` directory.
2020-12-16 19:54:12 -05:00
luckytyphlosion 3b1cbc5861 Add a note on core.filemode error. 2020-12-16 18:56:03 -05:00
luckytyphlosion 8ad9730901 Make a note about the Microsoft Account dialog. 2020-12-16 15:37:08 -05:00
luckytyphlosion 936ba7f1bf Apply all source related changes for the new INSTALL.md in one commit.
For people who want to have dkPless builds in their repo.
2020-12-16 15:10:01 -05:00
luckytyphlosion 34fc9789c9 Merge branch 'master' of https://github.com/pret/pokeemerald into rebase-install-md 2020-12-16 14:51:21 -05:00
GriffinR 49bdaeb940 Remove redundant modern CFLAGS 2020-12-16 14:10:30 -05:00
luckytyphlosion cc5db41f30 Revert multiple source change commits for rebase. 2020-12-16 13:29:02 -05:00
luckytyphlosion aad94c3433 Fix asmdiff.sh to work without DKP, also improve the makefile command for recognizing a toolchain.
The new command requires the toolchain binary path to exist in the file system before building using a toolchain (to handle the case where gba-dev is uninstalled but $(DEVKITARM) still exists))
2020-12-16 13:15:54 -05:00
luckytyphlosion 4ecbb91ccb Simplify macOS instructions, clarify Linux instructions, general cleanup of macOS and Linux instructions, also some other minor clarifications. 2020-12-16 12:46:10 -05:00
GriffinR 15c2856b24 Merge pull request #1265 from Kurausukun/berry_crush
fakematch fixes, begin documenting Berry Crush (based on #1187)
2020-12-14 23:22:41 -05:00
Kurausukun 69cfe5ad01 use direction constant 2020-12-14 21:54:19 -05:00
Kurausukun 68b456e7f9 name a2 2020-12-14 21:51:38 -05:00
Kurausukun 266a23b327 fix indentation 2020-12-14 21:44:25 -05:00
Kurausukun 6faa63347a document reuse of variables in link mode 2020-12-14 21:41:30 -05:00
GriffinR c611421882 Merge pull request #1267 from ipatix/m4a_names
refactor m4a.c/m4a_1.s constant/variable/type naming
2020-12-14 20:03:53 -05:00
GriffinR 18a5feb413 Merge pull request #1269 from GriffinRichards/bugfix
Use BUGFIX for some inline fixes
2020-12-14 20:00:59 -05:00
luckytyphlosion 30bd712fd4 Temporarily change repo links to mine for people testing builds. 2020-12-14 02:20:07 -05:00
luckytyphlosion 680187d7d9 Add more detailed notes on Windows terminal comparisons, fix Cygwin instructions (didn't export devkitpro), add macOS and Linux instructions.
macOS and Linux instructions untested.
2020-12-14 02:16:25 -05:00
GriffinR 6dea3374d2 Merge pull request #1271 from Sierraffinity/pkmn_affine_anim_bugfix
Add bugfix for Pokémon with affine transforms as part of their entry animation glitching when being sent out/put back in ball
2020-12-13 18:43:55 -05:00
GriffinR f7a729df30 BUGFIX implies UBFIX 2020-12-13 16:16:48 -05:00
GriffinR 5fa47dc895 Merge pull request #1270 from timgates42/bugfix_typo_redundant
docs: fix simple typo, redunant -> redundant
2020-12-13 08:53:50 -05:00
Tim Gates 581306db7b docs: fix simple typo, redunant -> redundant
There is a small typo in include/constants/battle_frontier.h.

Should read `redundant` rather than `redunant`.
2020-12-13 22:14:50 +11:00
Sierra A 7031068641 Update bugs_and_glitches.md 2020-12-12 22:42:29 -08:00
Sierra A f24307346f Update bugs_and_glitches.md 2020-12-12 22:42:02 -08:00
Sierra A 56ec5c65a8 Update bugs_and_glitches.md 2020-12-12 22:41:46 -08:00
Sierraffinity 1aca378634 Fix name of SetDexNumberColor 2020-12-12 21:08:15 -08:00
GriffinR b1197ac2da UBFIX for if_status_not_in_party 2020-12-12 23:57:25 -05:00
GriffinR 81d95b9325 Use BUGFIX for some inline fixes 2020-12-12 23:30:51 -05:00
Sierraffinity abef3065d0 Fix affine anim bug with Pokémon going in and out of balls without an intermediate screen transition 2020-12-12 20:29:20 -08:00
GriffinR ba3021db64 Merge pull request #1268 from LOuroboros/move_flags
Corrected small inconsistency in move flag names
2020-12-12 11:14:48 -05:00
LOuroboros 55bc2b4bb9 Corrected small inconsistency in move flag names 2020-12-12 12:18:56 -03:00
Michael Panzlaff eaff64e223 remove trailing spaces 2020-12-12 13:19:08 +01:00
Michael Panzlaff 91ccf9e343 fix typo 2020-12-12 13:07:56 +01:00
GriffinR 52b7576a5e Merge pull request #1266 from Kurausukun/asmdiff
improve asmdiff.sh
2020-12-11 21:33:29 -05:00
GriffinR 25282fbaa8 Merge pull request #1264 from ExpoSeed/patch-2
Fix incorrect bug description
2020-12-11 21:23:48 -05:00
Michael Panzlaff f177c736fc more CgbSound decipher work 2020-12-11 16:33:58 +01:00
Michael Panzlaff 15ff55eee5 use better m4a variable/constant names 2020-12-11 16:33:55 +01:00
Kurausukun 54acea6083 improve asmdiff.sh 2020-12-11 00:32:12 -05:00
Kurausukun 58976ebaa8 Merge remote-tracking branch 'upstream/master' into berry_crush 2020-12-10 23:30:52 -05:00
ExpoSeed 76e40fe2dd Fix incorrect bug description 2020-12-09 16:45:27 -06:00
GriffinR 628ade247b Merge pull request #1263 from GriffinRichards/unown-constants
Define terminal species IDs relatively
2020-12-08 01:47:00 -05:00
GriffinR f95192ed87 Define terminal species IDs relatively 2020-12-08 00:45:05 -05:00
GriffinR c76aaa2aa4 Merge pull request #1259 from GriffinRichards/fix-backpicindex
Designated initializers for gTrainerBackPicTable
2020-12-01 16:26:42 -05:00
GriffinR 076b2c2edc Designated initializers for gTrainerBackPicTable 2020-11-30 15:32:08 -05:00
luckytyphlosion 24d94185b9 Fix typo (thanks Spherical Ice). 2020-11-28 11:42:45 -05:00
luckytyphlosion 47d4ff2448 Add case for downloads folder with space for the legacy WSL1 instructions, also fix WSL1 path in dedicated folder example with spaces. 2020-11-28 11:38:02 -05:00
luckytyphlosion b9eb605fbf Fix broken header links. 2020-11-28 11:34:03 -05:00
luckytyphlosion 3d0f038423 Add install instructions for repositories which don't have dkp-less support. 2020-11-28 11:30:11 -05:00
GriffinR 571c5988ec Merge pull request #1257 from Kurausukun/menu_nonmatching
[LEAK INFORMED] match sub_819A080
2020-11-27 11:10:03 -05:00
GriffinR 7b1fee3239 Merge pull request #1258 from V-FEXrt/master
Rename graphics files for COOLTRAINER to match define
2020-11-27 10:57:18 -05:00
luckytyphlosion 976b967732 Add msys2 and Cygwin instructions, also add .exe extension to built tools.
Todo: actually extensively test out msys2 and Cygwin, and double check the readme.
2020-11-26 20:21:16 -05:00
Ashley Coleman 0f04944b81 Rename graphics files for COOLTRAINER to match define 2020-11-26 11:05:02 -08:00
Kurausukun 54becd2303 whitespace 2020-11-26 01:35:08 -05:00
Kurausukun 94cbd3ff1b [LEAK INFORMED] match sub_819A080 2020-11-26 01:30:59 -05:00
luckytyphlosion 59a6d18679 Minor INSTALL.md cleanup, also don't print the wall of linked objects during make (helps spot warnings more easily) 2020-11-25 11:46:12 -05:00
luckytyphlosion 6bf6cf2eb8 Escape literal <user> text. 2020-11-25 11:32:22 -05:00
luckytyphlosion 01637deee5 Fix bad clarification. 2020-11-25 11:30:08 -05:00
luckytyphlosion 90d8bb1d33 Partially work on the new Install.MD.
Todo:
- Legacy Windows instructions
- macOS, Linux instructions
- figure out what to do with the base_tools note for macOS
- dkp installation instructions for platforms which do not install dkp.
2020-11-25 11:28:01 -05:00
luckytyphlosion 51e8b8b8db Don't use base_tools if dkP is installed, also just use $(CC) -E for CPP regardless. 2020-11-25 10:37:50 -05:00
luckytyphlosion 1536295872 Add support for dkp-less instructions.
Todo: actually test building with dkP.
2020-11-25 09:20:45 -05:00
GriffinR 8d29f65c6c Merge pull request #1255 from GriffinRichards/doc-paltags
Name object event palettes and tags
2020-11-24 15:59:14 -05:00
GriffinR 9d056e8656 Move object event pal declarations to graphics 2020-11-23 14:45:16 -05:00
GriffinR 513c7c5f45 Clarify Kecleon objects 2020-11-23 14:42:47 -05:00
GriffinR bf65c1fb25 Name object event pals/tags 2020-11-23 14:24:48 -05:00
GriffinR c0e3c71673 Merge pull request #1252 from luckytyphlosion/master
Missing inc files in asm/*.s and data/*.s will raise an actual error message.
2020-11-18 22:10:33 -05:00
luckytyphlosion 70b6e05a47 Remove useless comment. 2020-11-18 21:31:04 -05:00
luckytyphlosion 68b53c7437 Optimize Makefile, also add *.sna to gitignore. 2020-11-18 20:53:42 -05:00
GriffinR 0aa06c307b Merge pull request #1251 from ExpoSeed/patch-1
Document bugged IV inheritance difference
2020-11-17 14:25:36 -05:00
GriffinR 116fbecbe4 Merge pull request #1254 from kageru/pret
Use more constants in Battle Tower code
2020-11-17 13:49:58 -05:00
kageru 6f91f7e0e3 Use more constants in Battle Tower code 2020-11-17 17:40:26 +01:00
GriffinR de153a67cf Merge pull request #1253 from LOuroboros/patch-1
sanityIsBagEgg -> sanityIsBadEgg
2020-11-16 14:57:16 -05:00
LOuroboros cad5b57b42 sanityIsBagEgg -> sanityIsBadEgg
Fixed a typo.

Lunos#4026
2020-11-16 15:36:38 -03:00
ExpoSeed e5f043ff72 Fix grammar 2020-11-15 16:28:09 -06:00
ExpoSeed 3f157b5293 Document bugged IV inheritance difference 2020-11-15 16:24:19 -06:00
luckytyphlosion 5029c90979 Missing inc files in asm/*.s and data/*.s will raise an actual error message. 2020-11-12 11:04:38 -05:00
GriffinR 7172ea35f9 Merge pull request #1248 from luckytyphlosion/master
Bugfix for ChooseMoveOrAction_Doubles.
2020-11-09 12:17:41 -05:00
GriffinR 19fa021c63 Merge pull request #1249 from luckytyphlosion/master
Add missing files to .gitattributes.
2020-11-09 12:13:45 -05:00
luckytyphlosion 8a780977a8 Add missing files to .gitattributes.
Only *.sed is required, all other files are listed to be explicit.
2020-11-08 20:13:21 -05:00
luckytyphlosion 4b748d32cc Bugfix for ChooseMoveOrAction_Doubles. 2020-11-07 18:21:17 -05:00
luckytyphlosion a29b18ed2f Merge branch 'master' of https://github.com/pret/pokeemerald 2020-11-07 18:06:37 -05:00
GriffinR 8b1c2c946b Merge pull request #1247 from PidgeyALT/attemptcountfix
use constants for ball throw count
2020-11-06 15:41:25 -05:00
PikalaxALT 75b12b86dc Merge pull request #1246 from PikalaxALT/simplify_ram_reset
Simplify RAM reset adaptation for modern
2020-11-06 15:00:40 -05:00
MCboy e31158d017 add spaces around - and remove comment from include in battle.h 2020-11-06 23:29:52 +03:30
MCboy 3b91735e63 use constants for ball throw count 2020-11-06 22:59:46 +03:30
PikalaxALT 3112cf5726 swi --> svc 2020-11-06 12:34:57 -05:00
PikalaxALT c70c44fa48 Simplify RAM reset adaptation for modern 2020-11-06 12:29:40 -05:00
GriffinR 42b7f11db0 Merge pull request #1245 from GriffinRichards/modernfactoryfix
Fix battle factory on gcc 10
2020-11-04 18:34:53 -05:00
GriffinR 1220f0655c Revert to original battle factory gcc 10 fix 2020-11-04 17:46:07 -05:00
GriffinR c3080a5a2a Fix typo 2020-11-04 16:46:26 -05:00
GriffinR 70ff0d1735 Condense fix for battle factory on gcc 10 2020-11-04 16:43:59 -05:00
GriffinR c59a818462 Fix battle factory on gcc 10 2020-11-04 15:35:22 -05:00
PikalaxALT 99dd461bef Merge pull request #1189 from aaaaaa123456789/reverts
Undo PokeCodec's PRs and port changes
2020-11-03 09:28:45 -05:00
aaaaaa123456789 ca950a8daf Solve merge conflicts from previous commit 2020-11-02 22:18:26 -03:00
aaaaaa123456789 bacc831aa9 Re-apply joypad macros (minus merge conflicts) 2020-11-02 22:02:39 -03:00
Kurausukun 6545745e59 Merge branch 'reverts' of https://github.com/aaaaaa123456789/pokeemerald into reverts 2020-11-02 18:43:40 -05:00
Kurausukun 8bf401c227 address comments 2020-11-02 18:43:11 -05:00
GriffinR 9e55ae22b1 Merge pull request #1242 from GriffinRichards/constants-menuinfoicons
Use constants for menu info icon table
2020-10-29 23:50:43 -04:00
GriffinR fbff087e9a Merge pull request #1238 from ketsuban/master
Eliminate goto in ItemUseCB_Medicine
2020-10-29 23:50:17 -04:00
GriffinR be1685c87f Use constants for menu info icon table 2020-10-29 16:34:33 -04:00
aaaaaa123456789 9794b077b5 Update src/digit_obj_util.c
Co-authored-by: Seija <71219152+PokeCodec@users.noreply.github.com>
2020-10-26 19:14:08 -03:00
aaaaaa123456789 bcbd05e151 Fix whitespace issues 2020-10-26 15:52:44 -03:00
aaaaaa123456789 4bbc14ecdd Remove unused variable
Co-authored-by: Seija <71219152+PokeCodec@users.noreply.github.com>
2020-10-26 15:51:10 -03:00
aaaaaa123456789 00db69a302 Port back improvements from later commits 2020-10-26 12:31:07 -03:00
aaaaaa123456789 1c3d75f673 Merge branch 'master' into reverts 2020-10-26 12:16:36 -03:00
Kurausukun fe40c0c466 re-match BattleIntroOpponent1SendsOutMonAnimation
a lot of functions and a bit of data had to be moved from battle_main.c
to battle_util.c; I have added a note to battle_util.c stating the
reason for this
2020-10-26 05:52:00 -04:00
Kurausukun 539fd463c8 port MovementAction_StoreAndLockAnim_Step0 fix 2020-10-26 03:46:08 -04:00
Kurausukun 43701c3860 port PrintMonWeight fakematch fix 2020-10-26 00:49:57 -04:00
Kurausukun b2b363159f port sub_80C6104 fakematch fix 2020-10-26 00:46:01 -04:00
Kurausukun 072797844a port TrendyPhraseIdOld fakematch fix 2020-10-26 00:29:55 -04:00
Kurausukun e8fd0bd2c3 port InitPaintingMonOamData fakematch fix 2020-10-26 00:26:15 -04:00
Kurausukun 9e033fa554 port BerryCrushCommand_BeginNormalPaletteFade fix 2020-10-26 00:22:56 -04:00
Kurausukun 9ca406b15d port Cmd_forcerandomswitch fakematch fix 2020-10-26 00:17:26 -04:00
Kurausukun af0a1cb7bf port ReceiveDaycareMailData fakematch fix 2020-10-26 00:10:30 -04:00
Kurausukun 9d067dfe0d port sub_8181C2C fakematching fix 2020-10-26 00:06:19 -04:00
Kurausukun 83846b913a port sub_806F160 fakematch fix 2020-10-26 00:01:53 -04:00
Kurausukun 4c10f3f465 port GetFrontierOpponentClass fakematch fix 2020-10-25 23:55:38 -04:00
Kurausukun c7d624edeb re-match sub_81D5F58 2020-10-25 23:52:39 -04:00
Kurausukun 077a2c23dc port HasNoMonsToSwitch fakematch fix (from #1181) 2020-10-25 23:45:42 -04:00
Kurausukun 193e601c2c port Phase2_FrontierLogoWave_Func4 fix 2020-10-25 23:42:50 -04:00
Kurausukun b2100cb480 port ModifyStatByNature fakematch fix (from #1179) 2020-10-25 23:23:40 -04:00
Kurausukun 9c9b626ccb re-match CheckBagHasSpace (from #1179) 2020-10-25 23:19:56 -04:00
Kurausukun af04d99cd9 port fix for UpdateSaveAddresses (from #1177) 2020-10-23 22:12:09 -04:00
Kurausukun 44c2d15ca9 re-match sub_81C79BC (from #1177)
also re-define RBG macros
2020-10-23 22:07:30 -04:00
Kurausukun 627853a2bf re-match SetSearchRectHighlight (from #1177) 2020-10-23 21:59:15 -04:00
Kurausukun a1d69ae264 re-match sub_81BF2B8 (from $1177) 2020-10-23 21:51:46 -04:00
Kurausukun 9b573b283c re-match CreateFrontierBrainPokemon (from #1177) 2020-10-23 21:36:38 -04:00
Kurausukun a6cb8279f7 re-match DrawResultsTextWindow (from #1177) 2020-10-23 21:29:59 -04:00
Kurausukun 36d7e8c769 re-match TryPutLinkBattleTvShowOnAir (from #1177) 2020-10-23 21:04:28 -04:00
Kurausukun 16cf49ffbe re-match GetTypeEffectivenessPoints (from #1177) 2020-10-23 20:59:27 -04:00
Kurausukun 90211248af re-match Cmd_unknown_24 (from #1140)
changes to data structs are necessary. other things that look
unnecessary, like the order of operands, are also necessary. fuck this
function.
2020-10-23 20:47:10 -04:00
Kurausukun 64ba8c8061 port fakematch fixes from #1155 2020-10-22 05:45:53 -04:00
Kurausukun 9c4dddf870 re-match _InitContestMonPixels (from #1153) 2020-10-22 05:37:51 -04:00
Kurausukun 0bca313b41 remove naked asm (oops) 2020-10-22 05:04:35 -04:00
Kurausukun 2945a3a845 re-match GetConnectedChildStrength 2020-10-22 05:03:16 -04:00
Thomas Winwood 2239f3aa60 Eliminate goto in ItemUseCB_Medicine 2020-10-21 20:11:40 +01:00
Kurausukun 03f46ff23a re-match battle_anim_water functions (from #1136) 2020-10-21 04:41:57 -04:00
Kurausukun 063596d87b re-match GLYPH_COPY 2020-10-21 04:26:45 -04:00
Kurausukun 5fd555016f re-match battle_anim_flying functions (from #1126) 2020-10-21 04:04:59 -04:00
Kurausukun eee55c65f6 re-do "match function signatures" (from #1119)
not a matching, but I don't see why we shouldn't do this
2020-10-21 03:45:29 -04:00
Kurausukun c8e832980b re-match CreateWaterPulseRingBubbles 2020-10-19 06:37:00 -04:00
Kurausukun f0efd11aa9 re-match InitObjectEventStateFromTemplate 2020-10-19 06:19:21 -04:00
Kurausukun 56c3eefd9f re-match RotateAuroraRingColors_Step 2020-10-19 06:15:35 -04:00
Kurausukun 7d5fce9a72 re-remove extra semicolons (from #1104) 2020-10-19 05:58:51 -04:00
GriffinR 585f313c64 Merge pull request #1232 from Kurausukun/match_m4a
[LEAK INFORMED] Match FadeOutBody
2020-10-18 21:41:37 -04:00
Kurausukun aedfe27f8d Remove newline 2020-10-16 17:16:25 -04:00
Kurausukun bf03f1154f formatting 2020-10-16 16:57:41 -04:00
Kurausukun c31c2d93d7 [LEAK INFORMED] match FadeOutBody 2020-10-16 16:55:29 -04:00
ExpoSeed 8d2d34aae9 Merge pull request #5 from pret/master
Sync master
2020-10-12 17:09:38 -05:00
GriffinR 46212e0d14 Merge pull request #1230 from GriffinRichards/fixubcomm
Fix PutAwayDecorationLoop UB comment
2020-10-11 19:16:42 -04:00
GriffinR 1472111c5d Fix PutAwayDecorationLoop UB comment 2020-10-11 19:02:10 -04:00
GriffinR 17a77c9018 Merge pull request #1229 from ghoulslash/document
start pokenav documentation
2020-10-11 11:59:40 -04:00
Evan 280c68b531 renamed pokenav graphics file fixes 2020-10-11 09:11:12 -06:00
Evan f4909b4d96 align pokenav task funcs and update some pokenav menu bg gfx files 2020-10-11 08:50:58 -06:00
GriffinR 4efbdaf706 Merge pull request #1227 from kageru/pret
Document gUnknown_03006298
2020-10-11 07:17:09 -04:00
kageru 52ebc4252e Document gUnknown_03006298 2020-10-11 09:54:49 +02:00
Evan 2b2be90a52 start pokenav documentation 2020-10-10 16:17:34 -06:00
GriffinR 13f37cf974 Merge pull request #1223 from GriffinRichards/constants-misc
Add ITEM6_HEAL constants, change move flags to shifts
2020-10-06 18:39:43 -04:00
GriffinR ba18f4011a Merge pull request #1225 from ExpoSeed/make-clean-rl
Add *.rl to make clean
2020-10-06 00:46:31 -04:00
ExpoSeed 8f7e212967 Remove *.rl in make clean 2020-10-05 23:33:55 -05:00
ExpoSeed 9c43bcb429 Delete accidentally pushed file 2020-10-05 23:33:36 -05:00
GriffinR 65a4e06737 Add ITEM6_HEAL constants, change move flags to shifts 2020-10-05 18:48:51 -04:00
GriffinR a33d4874d9 Merge pull request #1219 from ExpoSeed/bye-pr-template
Eliminate most of PR template
2020-10-04 23:38:42 -04:00
GriffinR 9b90a773d2 Merge pull request #1221 from AsparagusEduardo/Doc-newGameBerries
Documenting where each of the berries are generated in new_game.inc
2020-10-04 23:37:41 -04:00
Eduardo Quezada 96e4b43ce5 Documenting where each of the berries are generated in new_game.inc 2020-10-03 21:52:09 -03:00
PikalaxALT 4a773ce18d Merge pull request #1217 from ipatix/fix_O3
rewrite MultiBootWaitCycles as naked function
2020-10-03 12:34:02 -04:00
PikalaxALT f0012504c6 Merge pull request #1218 from MeatLoaf3/patch-3
Change toOrrX and toOrrY to u8 in void FillBitmapRect4Bit, glib/blit.c
2020-10-03 12:33:44 -04:00
ExpoSeed 94bfc31629 Eliminate most of PR template 2020-10-02 11:24:39 -05:00
MeatLoaf3 5f17b07d0c Change toOrrX and toOrrY to u8 2020-10-02 11:17:11 -04:00
Michael Panzlaff 187c96d6e5 rewrite MultiBootWaitCycles as naked function
Before, when compiling MultiBootWaitCycles with O3 and MODERN=1, you
might have run into problems during optimizations when the compiler tried
to optimize the function, even if declared NOINLINE.

When rewriting this function as NAKED function, this no longer happens
as the optimizer will treat it as black box and compilation will resume.
2020-10-02 12:27:16 +02:00
GriffinR 5259898325 Replace POKEMON_SLOTS_NUMBER 2020-10-01 17:07:12 -05:00
Revo 22c6c03429 Remove unnecessary comments 2020-10-01 17:06:33 -05:00
Revo 7f1fa72746 :masuda: 2020-10-01 17:06:33 -05:00
ProjectRevoTPP 7c697e9536 Resolve fakematch CopyGlyphToWindow. 2020-10-01 17:06:33 -05:00
PikalaxALT cb69835536 Merge pull request #1210 from ExpoSeed/pull-request-template
More concise pull request template
2020-09-27 19:25:19 -04:00
ExpoSeed 933e180dd6 Remove breaking change line 2020-09-27 18:09:35 -05:00
ExpoSeed 70f7d4f256 More concise pull request template 2020-09-27 17:59:21 -05:00
PikalaxALT 46d748a219 Create pull_request_template.md 2020-09-27 17:40:30 -04:00
PikalaxALT 00b8208914 Merge pull request #1205 from GriffinRichards/constants-itemdigits
Use constants for item digits
2020-09-27 17:24:48 -04:00
GriffinR f8ce2efb55 Merge pull request #1206 from ExpoSeed/script-command-comments
Comments for script command tables
2020-09-25 15:13:38 -04:00
ExpoSeed 032669e2ab Change script command table comment alignment from tabs to spaces 2020-09-25 14:05:17 -05:00
ExpoSeed 3860551777 Mark unused script commands 2020-09-25 13:41:17 -05:00
ExpoSeed 31d12383b1 Add byte comments to mystery event script command table 2020-09-25 13:27:15 -05:00
ExpoSeed e7340ca0e1 Add byte comments to script command table 2020-09-25 13:25:36 -05:00
GriffinR 66bd1e6d3f Use constants for item digits 2020-09-25 11:18:52 -04:00
GriffinR 541eff3c73 Merge pull request #1204 from Kurausukun/rename-2
one more instrument
2020-09-23 23:39:12 -04:00
Kurausukun 04bf1d433a one more instrument
oops just found this one
2020-09-23 22:31:12 -04:00
GriffinR 47b5b75a1d Merge pull request #1201 from tustin2121/tustin2121-patch-8
Documenting the trainer hill floor data
2020-09-20 15:20:24 -04:00
tustin2121 be9100fe52 Review changes 2020-09-20 13:04:20 -04:00
GriffinR 1d1035a01f Merge pull request #1196 from Kurausukun/rename_instruments
rename instruments (again)
2020-09-20 12:30:57 -04:00
tustin2121 832be34898 More documenting trainer hill
- Renamed members and added comments in the TrHillDisplay struct.
- Formatted the trainer hill data to better match the metatile layout its representing.
- Documented the function which uses this data.
2020-09-20 01:50:54 -04:00
tustin2121 0d3646c0b9 Trainer hill location data
Changed the trainer hill data for trainer locations, directions, and ranges from vague unusable numbers into readable data via use of preprocessor macros.
2020-09-20 01:09:22 -04:00
Kaz 32ae13f9b6 walda_phrase.c: Proper sub_81D9C90 match GET. 2020-09-19 19:03:07 -04:00
GriffinR 0b592228c5 Merge pull request #1186 from kiliwily/DocSomeBugs
Document some bugs
2020-09-19 18:09:49 -04:00
Kaz 94711208a2 menu_specialized.c: Fix fakematches. 2020-09-19 17:38:54 -04:00
Kaz 847878eae9 battle_gfx_sfx_util.c: Very annoying fakematch fix.
daycare.c: -g eliminates the need for the brace hack.
battle_transition.c: Fix Phase2_Ripple_Func2...?
2020-09-19 17:12:25 -04:00
kiliwily f1366dfc69 Fix typos 2020-09-19 20:46:26 +02:00
kiliwily 56848fb891 Update battle_util.c 2020-09-19 20:44:16 +02:00
PikalaxALT 0088f59b1d Merge pull request #1197 from MeatLoaf3/patch-1
Changed casts to volatile
2020-09-19 10:28:45 -04:00
PikalaxALT b352d1be32 Merge pull request #1198 from PokeCodec/patch-1
Specify to install Libpng-dev, not libpng
2020-09-18 16:46:51 -04:00
Seija f5457cd1fd Libpng-devel
libpng dev library needs to be installed, not libpng
2020-09-18 16:25:46 -04:00
MeatLoaf3 0e74de0f9e Changed casts to volatile
devkitArm wouldn't copy the bits properly in some instances. Casting as volatile solved the issue
2020-09-18 13:26:36 -04:00
Kurausukun 30e3437891 rename instruments (again) 2020-09-17 23:52:57 -04:00
GriffinR a3a558acf4 Merge pull request #1195 from Kurausukun/audio-macro
Update Audio Macros
2020-09-17 20:10:57 -04:00
Kurausukun f4a49dcd1d Make all arguments for audio macros required 2020-09-17 19:56:55 -04:00
Kaz 1404cf3330 field_player_avatar.c: Fix TryInterruptObjectEventSpecialAnim fakematch. 2020-09-17 18:24:11 -04:00
Kurausukun b9644e9583 Update Audio Macros
Information: Our current audio macros preclude the definition of root
key and pan (applicable when used in drumsets, aka "keysplit_all") for
GB channels. However, this functionality does exist in m4a--Pokemon
Emerald just happens not to use it. However, for the sake of people
working with custom music, I believe these values should be modifiable
by users.

Additionally, given the recent events that have occurred with this repo,
I would like to make something fully clear: I have indeed looked at the
GBA SDK before, which contains notes on how these sounds are defined;
therefore, I cannot blame you if you reject this PR on the grounds that
the information is "tainted." However, this information is readily
available and matches the same macros used for directsound--it's hardly
information that one would need the source to know.
2020-09-17 03:12:19 -04:00
Kaz c724f2b809 battle_ai_script_commands.c: -g fixes the fakematch. 2020-09-16 22:01:45 -04:00
Kaz 5a70f99e16 battle_script_commands.c: Eliminate the last nonmatching (swapped expressions). 2020-09-16 21:39:44 -04:00
Kaz 171154a097 Convert to -g; will be required for eliminating fakematches. 2020-09-16 19:36:30 -04:00
GriffinR 62b79018dc Merge pull request #1194 from ExpoSeed/typo-fix
Complete TMHM Learnset description
2020-09-16 14:21:21 -04:00
ExpoSeed 227d2dce32 Make description slightly more precise 2020-09-16 12:51:14 -05:00
ExpoSeed 778e6925de Complete TMHM Learnset description 2020-09-16 12:36:11 -05:00
GriffinR b542eb1d5f Merge pull request #1190 from AsparagusEduardo/fix-UltraRope
Fixed "Ultra Rope" name.
2020-09-13 10:41:34 -04:00
Eduardo Quezada 46ccb91155 Fixed "Ultra Rope" name. 2020-09-13 11:35:05 -03:00
aaaaaa123456789 7dc95a0103 Undo PokeCodec's PRs
This commit undoes most of PokeCodec's PRs after the debate in chat. Some
harmless or completely superseded PRs have been left alone, as there is not
much benefit in attempting to undo them.

Reverts #1104, #1108, #1115, #1118, #1119, #1124, #1126, #1127, #1132, #1136,
#1137, #1139, #1140, #1144, #1148, #1149, #1150, #1153, #1155, #1177, #1179,
#1180, #1181, #1182 and #1183.
2020-09-13 06:30:55 -03:00
Kaz 327dd877b5 use_pokeblock: fakematch fix.
I am beginning to suspect that we should be using the gflib DMA macros
everywhere wherever possible.
2020-09-13 03:47:12 -04:00
Kaz f952144922 party_menu fakematch fix 2020-09-13 03:02:41 -04:00
Kaz 449df5860d Begin documenting berry_crush 2020-09-13 00:26:01 -04:00
Kaz d0fcb9168b Match two minor functions in battle_tent and berry_crush 2020-09-12 21:51:16 -04:00
kiliwily a130c2dc4a Update bugs_and_glitches.md 2020-09-12 20:02:27 +02:00
kiliwily 9b4ded46c6 Update pokemon.c 2020-09-12 19:20:42 +02:00
kiliwily f861b70fe7 Update bugs_and_glitches.md 2020-09-12 18:53:59 +02:00
kiliwily 50139aa00c Update bugs_and_glitches.md 2020-09-12 18:53:09 +02:00
kiliwily f84702e50b Update bugs_and_glitches.md 2020-09-12 18:52:00 +02:00
kiliwily 4c4c2ea41b Update bugs_and_glitches.md 2020-09-12 18:49:55 +02:00
kiliwily 7377c2f192 Update bugs_and_glitches.md 2020-09-12 18:48:57 +02:00
kiliwily 84acc5c6db Update bugs_and_glitches.md 2020-09-12 18:47:10 +02:00
kiliwily 3e95f837a6 Update bugs_and_glitches.md 2020-09-12 18:44:39 +02:00
kiliwily 5c3669e0cd Bug documenting 2020-09-12 18:43:20 +02:00
GriffinR 58a2b62bae Merge pull request #1184 from GriffinRichards/fix-typos
Fix Rusboro and Lavarige typos
2020-09-11 14:53:56 -04:00
GriffinR 921f389e4e Fix Rusboro and Lavarige typos 2020-09-11 14:47:47 -04:00
PikalaxALT c0987169dd Merge pull request #1183 from PokeCodec/PokemonLogicFix
Match Dewford
2020-09-10 19:36:21 -04:00
PokeCodec c1286c2fe2 Change according to feedback 2020-09-10 18:07:46 -04:00
PokeCodec 87769756f8 spacing 2020-09-10 10:26:55 -04:00
PokeCodec 6967b234d4 adjustments and fakematch fix 2020-09-10 10:07:16 -04:00
PokeCodec 029db24adb Make return 2020-09-10 09:32:36 -04:00
PokeCodec eb25b951c3 InitPaintingMonOamData fix 2020-09-10 09:14:53 -04:00
PokeCodec 50a6b73edc Fix sub_80C6104 2020-09-10 09:02:04 -04:00
PokeCodec 08696108e1 Match dewford 2020-09-09 17:02:52 -04:00
PokeCodec f50ecf5c66 Match PrintMonWeight 2020-09-09 16:35:04 -04:00
PikalaxALT d260943249 Merge pull request #1182 from PokeCodec/PokemonLogicFix
Fix more fakematches
2020-09-09 16:27:24 -04:00
PokeCodec 7f1827767c Document size field of unknown struct 2020-09-09 16:09:31 -04:00
PokeCodec a32f631fe6 Fix Pokemon Fakematch 2020-09-09 15:59:34 -04:00
PokeCodec d541002ab6 Type adjust 2020-09-09 15:54:24 -04:00
PokeCodec 84a92279c9 Record mixing fakematch fixed! 2020-09-09 15:49:51 -04:00
PokeCodec dc34cf1711 Mail Time 2020-09-09 15:09:40 -04:00
PokeCodec 56afdee7fc Remove register variable mention 2020-09-09 14:43:41 -04:00
PokeCodec aa45c05a3e Match Battle Tower 2020-09-09 11:21:16 -04:00
PokeCodec a3a8c23e00 Match battle_script commands 2020-09-09 11:18:04 -04:00
PokeCodec 3af118b0a7 Fix fakematch in pokemon animation 2020-09-09 11:12:12 -04:00
PokeCodec 779764b70d Fix Battle_Script_commands fakematch 2020-09-09 10:35:40 -04:00
PikalaxALT 8f6d6b933e Merge pull request #1181 from PokeCodec/trainer-hill
Remove fakematch in trainer_hill.c
2020-09-08 21:55:29 -04:00
PokeCodec f980188b82 Fix battle transition fakematch 2020-09-08 20:54:41 -04:00
PokeCodec 34f54dd438 Fix Battle util fakematch 2020-09-08 20:46:08 -04:00
PokeCodec 6e3f5a462a Remove fakematch in trainer hell 2020-09-08 20:25:07 -04:00
PikalaxALT fb29a464e6 Merge pull request #1180 from PokeCodec/splitTableMatch
Match BattleIntroOpponent1SendsOutMonAnimation
2020-09-08 20:01:04 -04:00
PokeCodec 6fb1d55c33 Reverted -nostdlib changes 2020-09-08 19:54:58 -04:00
PokeCodec bb5da949f2 Fix build 2020-09-08 19:44:33 -04:00
PokeCodec 6bb1d58a11 Finished header includes 2020-09-08 19:17:33 -04:00
PokeCodec e84da39d8a Match BattleIntroOpponent1SendsOutMonAnimation 2020-09-08 18:54:51 -04:00
PikalaxALT 818bc4ebe5 Merge pull request #1179 from PokeCodec/Maintenance
Match CheckBagHasSpace
2020-09-08 16:31:47 -04:00
PokeCodec 4d31980359 Undo comment 2020-09-08 16:25:09 -04:00
PokeCodec 3336eb341d More adjustments 2020-09-08 14:26:37 -04:00
PokeCodec 0a13d718ea Make 0xFF have a lowercase "x" 2020-09-06 20:03:53 -04:00
PokeCodec 5f7a410359 Preparation for matching BattleIntroOpponent1SendsOutMonAnimation 2020-09-06 20:01:16 -04:00
PokeCodec 8200682b21 u8 position 2020-09-06 19:02:30 -04:00
PokeCodec b49c5d188f Move buffer has and operation too 2020-09-06 17:59:42 -04:00
PokeCodec e6684664ba Fix casting bug 2020-09-06 15:16:40 -04:00
PokeCodec 5d2a4e02dd Remove explicit padding 2020-09-06 13:06:09 -04:00
PokeCodec 781eb38d5b Removed unused comment 2020-09-05 20:51:21 -04:00
PokeCodec 8b729cf225 While to do_while 2020-09-05 18:15:53 -04:00
PokeCodec fe9ab67063 Change division to explicit shifts for consistency 2020-09-05 18:13:51 -04:00
PokeCodec 3ce29ee7bf Refactor Use Item 2020-09-05 17:36:10 -04:00
PokeCodec 5d694edb18 Specify array size: 12 semitones 2020-09-05 17:31:10 -04:00
PokeCodec 2d624d66db Fix 2020-09-05 16:49:33 -04:00
PokeCodec 53a4effd57 Tidy up headers 2020-09-05 16:41:44 -04:00
PokeCodec ac9a86d7ce Remove movementAction fakematch 2020-09-05 14:51:45 -04:00
PokeCodec 0039542e19 Match CheckBagHasSpace 2020-09-05 14:41:43 -04:00
PokeCodec a7a64ecba0 Fixup ModifyStatByNature 2020-09-05 11:47:24 -04:00
PikalaxALT 16ecbc6446 Merge pull request #1177 from PokeCodec/MatchEmerald
Match All but 2 remaining naked functions
2020-09-05 10:25:10 -04:00
PokeCodec 3e25d9e5a2 Removed unused parentheses 2020-09-05 10:01:21 -04:00
PikalaxALT bb98e346e5 Merge pull request #1178 from AsparagusEduardo/typo-pacifidlog
Fixed Pacifidlog typo.
2020-09-05 08:30:52 -04:00
Eduardo Quezada b7fe94108c Fixed Pacifidlog typo. 2020-09-05 01:11:07 -04:00
PokeCodec de274dcb07 Removed unneeded comments 2020-09-04 21:20:52 -04:00
PokeCodec 7efdcaf120 Removed excess parenthesis 2020-09-04 21:16:55 -04:00
PokeCodec 28ef2fb774 Switch to button macros 2020-09-04 21:11:55 -04:00
PokeCodec da582d5258 Make JOY Macros match 2020-09-04 20:41:29 -04:00
PokeCodec 99448002e1 Refactor InitStateHandlers so each key in the reset combo is checked 2020-09-04 20:21:07 -04:00
PikalaxALT 2c25e126e7 Merge pull request #1056 from SatoMew/master
Clean up, include feedback, and update INSTALL.md
2020-09-04 19:53:39 -04:00
PokeCodec 3d87a88067 Make battle pyramid defines into enums 2020-09-04 19:49:53 -04:00
PokeCodec 608da287c1 Create Macros and refactor 2020-09-04 19:49:53 -04:00
PokeCodec aa841047a3 Make data argument const 2020-09-04 19:49:53 -04:00
PokeCodec abae52a017 Fakematch resolved 2020-09-04 19:49:53 -04:00
PokeCodec 3746efb9c2 Use PokeNav macros 2020-09-04 19:49:53 -04:00
PokeCodec ae9a60eb2a Documenting and whitespace fixing 2020-09-04 19:49:53 -04:00
PokeCodec e8f2298498 Fix Typos and capitalization 2020-09-04 19:49:53 -04:00
PokeCodec 3a2a2b6ba9 Fix issues according to feedback 2020-09-04 19:49:53 -04:00
PokeCodec 1cdd0ac199 Make argument int 2020-09-04 19:49:53 -04:00
PokeCodec 52d0b59f5a Make s32 2020-09-04 19:49:53 -04:00
PokeCodec fe81cc449e Fixed modern issue 2020-09-04 19:49:53 -04:00
PokeCodec d4158e490a Match more functions 2020-09-04 19:49:53 -04:00
PokeCodec 24b607b9da Match sub_81BF2B8 2020-09-04 19:49:52 -04:00
PokeCodec 5a375b9236 Fix error 2020-09-04 19:49:52 -04:00
PokeCodec 987ef556e5 Match SetSearchRectHighlight 2020-09-04 19:49:52 -04:00
PikalaxALT c3f6c56e19 Merge pull request #1161 from GriffinRichards/doc-wallclock
Document wall clock data
2020-09-04 19:48:04 -04:00
PikalaxALT 135ed6a162 Merge pull request #1163 from GriffinRichards/doc-animthrow
Minor battle_anim_throw cleanup
2020-09-04 19:44:33 -04:00
PikalaxALT 8324a35517 Merge pull request #1166 from ketsuban/tidying
Tidy up naked functions
2020-09-04 19:41:18 -04:00
GriffinR d3e54f72f7 Merge pull request #1173 from GriffinRichards/fix-typo
Fix BreakinsNews typo
2020-09-04 07:35:54 -04:00
GriffinR 2ed726c0b9 Fix BreakinsNews typo 2020-09-04 07:27:52 -04:00
GriffinR 1264c4615a Merge pull request #1158 from GriffinRichards/doc-cablecar
Document cable car
2020-09-03 16:24:27 -04:00
GriffinR 627373c963 Fix segment typo 2020-09-03 16:17:29 -04:00
GriffinR 1e3e392498 Merge pull request #1172 from PikalaxALT/agbflash_fix
Make agb_flash stack func buffers volatile
2020-09-03 15:29:58 -04:00
PikalaxALT 319b012172 Make agb_flash stack func buffers volatile
Fixes observed crash with modern gcc
2020-09-03 15:23:44 -04:00
GriffinR adcffd3f0e WIP More factory screen doc 2020-09-03 01:19:08 -04:00
Thomas Winwood a529bcf0b6 Tidy up naked functions 2020-09-02 14:49:04 +01:00
GriffinR 4ad147f75d Merge pull request #1156 from GriffinRichards/doc-rayscene
Document Rayquaza cutscene
2020-09-01 14:46:14 -04:00
GriffinR 5fc49bfd9f Merge pull request #1165 from GriffinRichards/fix-underwatermaps
Give proper names to underwater maps
2020-09-01 14:26:11 -04:00
GriffinR 7c8bc0fbe3 Merge pull request #1149 from PokeCodec/datatypes
gflib documenting
2020-09-01 14:25:21 -04:00
GriffinR 9d7a11d9c0 Clarify Underwater125 bug comment 2020-09-01 03:39:44 -04:00
GriffinR f5495d1220 Give proper names to underwater maps 2020-09-01 03:03:14 -04:00
GriffinR ff9204a5ff Merge pull request #1164 from GriffinRichards/fix-fanfarealign
Fix alignment in sFanfares
2020-08-31 13:49:01 -04:00
GriffinR dd26bfe274 Fix alignment in sFanfares 2020-08-31 13:38:43 -04:00
GriffinR bf61de01a7 Start documenting battle factory screen 2020-08-31 13:36:48 -04:00
GriffinR 5773bb8643 Merge pull request #1152 from GriffinRichards/doc-blender
Document berry blender
2020-08-30 15:33:17 -04:00
GriffinR cdc19a0b07 Merge pull request #1144 from PokeCodec/libgbasyscall
Cleanup and fix mistakes in libraries
2020-08-30 15:27:08 -04:00
GriffinR afb3472282 Minor battle_anim_throw cleanup 2020-08-30 15:11:44 -04:00
GriffinR 38298c3f1b Merge pull request #1162 from hondew/pokeball-doc
Document battle throwing anims
2020-08-30 14:47:30 -04:00
PokeCodec 5504ceada3 Change array count of pointer value to array count of the first element 2020-08-30 14:33:11 -04:00
hondew 5c7fa11390 Rename to battle_anim_throw 2020-08-30 14:25:40 -04:00
hondew e46b35455d Merge branch 'master' into pokeball-doc 2020-08-30 14:14:38 -04:00
hondew 328aecc96e Document throwing pokeball
continue

Document more

Doc more funcs

Remove workspace

Document shiny stars

Document PokeBlock

Clean up

Clean more
2020-08-30 14:08:06 -04:00
PokeCodec 70e2b28c80 Change array_size to group types 2020-08-30 10:16:10 -04:00
GriffinR 778bdb4d30 Document wallclock data 2020-08-29 15:55:28 -04:00
pi1024e 6d153c6b91 Remove const 2020-08-29 13:19:29 -04:00
pi1024e bdb976dc27 fixed mistakes 2020-08-29 13:18:35 -04:00
PokeCodec bb30984be4 Update pokedex.c 2020-08-29 12:31:34 -04:00
SatoMew bc79971308 Update INSTALL.md 2020-08-29 12:33:11 +01:00
SatoMew ece8d68be1 Added the Linux column back 2020-08-29 10:22:25 +01:00
GriffinR a9719c92bf Merge pull request #1160 from kiliwily/master2
add MAX_LEVEL_UP_MOVES macro
2020-08-28 19:18:03 -04:00
kiliwily 028502fce5 Update move_relearner.c 2020-08-29 01:09:17 +02:00
kiliwily e4d26262e3 Update move_relearner.c 2020-08-29 01:04:42 +02:00
kiliwily c68c2b66e8 add more macros 2020-08-29 01:02:20 +02:00
SatoMew fc277025d6 Added better instructions for checking Winver 2020-08-28 23:37:17 +01:00
SatoMew a42ac3ae07 Improved based on feedback and recent changes 2020-08-28 23:10:58 +01:00
GriffinR 08a8aad65a Merge branch 'master' into doc-cablecar 2020-08-28 16:17:48 -04:00
GriffinR 0cfc279af5 Merge branch 'master' into doc-rayscene 2020-08-28 16:17:11 -04:00
GriffinR c830731734 Merge branch 'master' into doc-blender 2020-08-28 16:16:00 -04:00
GriffinR 09cfed64b5 Merge pull request #1146 from GriffinRichards/rename-songs
Give songs meaningful english names
2020-08-28 16:14:21 -04:00
GriffinR e9b734c1ef Merge branch 'master' into doc-blender 2020-08-28 16:07:35 -04:00
GriffinR eb4bcc89cd Merge pull request #1155 from PokeCodec/zero
Fix "stupid" fakematch
2020-08-28 15:54:15 -04:00
kiliwily 5e7b6a089c add MAX_LEVEL_UP_MOVES macro 2020-08-28 20:36:07 +02:00
PokeCodec a04b0ff487 More formatting fixes 2020-08-28 14:35:37 -04:00
PokeCodec 1515a2ecc4 Fix To-Dos 2020-08-28 14:00:31 -04:00
GriffinR 1e6655b298 Merge pull request #1159 from AsparagusEduardo/Doc-itemMenu
Partially document item_menu
2020-08-28 13:43:59 -04:00
Eduardo Quezada a2fb98934e Partially document item_menu.c 2020-08-28 13:32:23 -04:00
pi1024e 5faf250708 format 2020-08-28 11:59:16 -04:00
pi1024e 4ac10eb807 Make formatting corrections 2020-08-28 11:52:48 -04:00
GriffinR 71a066f945 Document cable car 2020-08-28 03:54:04 -04:00
GriffinR f7d82f940e Merge pull request #1157 from ketsuban/max-evs-per-stat
Add MAX_PER_STAT_EVS macro
2020-08-28 00:22:31 -04:00
Thomas Winwood 58786a7ac0 Add MAX_PER_STAT_EVS macro 2020-08-28 02:25:02 +01:00
GriffinR 38d4fc9c17 Clean up rayquaza scene documentation 2020-08-27 16:04:11 -04:00
GriffinR a220d3986f Document fifth rayquaza scene 2020-08-27 15:43:28 -04:00
GriffinR e63297138d Document fourth rayquaza scene 2020-08-27 15:43:28 -04:00
GriffinR c7e685edff Document third rayquaza scene 2020-08-27 15:43:28 -04:00
GriffinR 52b1251b48 Document second rayquaza scene 2020-08-27 15:43:27 -04:00
GriffinR ba13e9ec95 Document first rayquaza scene 2020-08-27 15:43:18 -04:00
PokeCodec ab73820ce0 more fakematch fixing 2020-08-26 22:31:25 -04:00
PokeCodec 5054cff7e8 removed fakematch 2020-08-26 20:30:04 -04:00
GriffinR 95ea0e92e7 Start documenting rayquaza_scene 2020-08-25 17:49:42 -04:00
GriffinR 47e8a76f1e Merge pull request #1153 from PokeCodec/paintingMatch
Painting match
2020-08-25 16:17:24 -04:00
PokeCodec a2efccd6d5 remove outside parenthesis 2020-08-25 16:11:23 -04:00
PokeCodec ba853d6b39 Removed unneeded parenthesis 2020-08-25 16:08:37 -04:00
PokeCodec bf1e261177 Fix mistakes 2020-08-25 16:03:04 -04:00
PokeCodec 83a7060143 Cleanup window.c 2020-08-25 15:56:17 -04:00
PokeCodec d40870e5f8 Match InitContestMonPixels 2020-08-25 15:44:05 -04:00
GriffinR 5dfbdca6c7 Fix alignment 2020-08-25 12:27:12 -04:00
GriffinR 9330df8b4c Merge pull request #1151 from PokeCodec/list-menu
Changed assignment from 136 to -120
2020-08-25 03:08:07 -04:00
PokeCodec b679e979b6 Pokedex 2020-08-24 22:47:28 -04:00
PokeCodec 3ae3bea28f fix bad asm 2020-08-24 21:57:34 -04:00
PokeCodec e71c18feb6 use # 2020-08-24 18:29:14 -04:00
PokeCodec 09e97fff53 UB 2020-08-24 17:34:26 -04:00
GriffinR 65d5fd8eff Merge pull request #1150 from PokeCodec/tower
Match trainer hill
2020-08-24 17:29:57 -04:00
PokeCodec 96d2066abe Changed assignment from 136 to -120 2020-08-24 17:28:55 -04:00
PokeCodec 3ddf7175bf Match sub_81D5F58 2020-08-24 17:20:18 -04:00
GriffinR 22c1bf965a Finish documenting berry blender 2020-08-24 17:06:55 -04:00
PokeCodec 75fea51712 refactor 2020-08-24 15:32:57 -04:00
PokeCodec b52c0d1a2e Cleaned up variables 2020-08-24 15:20:50 -04:00
PokeCodec 95009c1c03 confetti 2020-08-24 14:51:43 -04:00
PokeCodec 86a1e89879 Documentation of unk field 2020-08-23 21:34:31 -04:00
PokeCodec 6aee7d38f3 sizeOf data type, not pointer value 2020-08-23 21:34:31 -04:00
PikalaxALT d7e31f5a85 Merge pull request #1148 from PokeCodec/savedIme
Remove unused var from ruby and other minor refactors.
2020-08-23 19:47:08 -04:00
PokeCodec cc018fe6c9 Remove const 2020-08-23 17:22:15 -04:00
PokeCodec a20745422b Remove unused variable remaining from ruby 2020-08-23 16:37:46 -04:00
GriffinR 0ff767a9b5 Start documenting berry blender 2020-08-22 19:39:39 -04:00
PokeCodec cbb94035e3 Cleaned up the libraries. 2020-08-22 00:52:45 -04:00
PikalaxALT d2c7a862c7 Merge pull request #1147 from GriffinRichards/doc-contestai
Document contest AI
2020-08-21 15:16:37 -04:00
GriffinR fbb70b3727 Document contest AI scripts 2020-08-21 14:57:17 -04:00
PikalaxALT cd895e497d Merge pull request #1141 from GriffinRichards/add-nonmatch
Wrap asm statements in NONMATCHING
2020-08-21 12:44:07 -04:00
GriffinR 469ec5f248 Document contest AI commands 2020-08-21 02:36:48 -04:00
GriffinR ee72696b53 Sync encounter musics with encounter music types 2020-08-20 21:03:24 -04:00
GriffinR d356e35b64 Fix incorrect pike curtain SE names 2020-08-20 20:23:08 -04:00
GriffinR 3014241179 Give songs meaningful english names 2020-08-20 19:06:14 -04:00
GriffinR 6c34effda9 Merge pull request #1138 from GriffinRichards/doc-contest
Document contest
2020-08-20 16:03:47 -04:00
GriffinR fadb72696f Merge pull request #1140 from PokeCodec/match_next
Match battle script commands
2020-08-20 15:38:05 -04:00
PokeCodec e27975afaa Match battle script commands by correcting a function and the pokemon struct 2020-08-18 22:05:01 -04:00
GriffinR 52bada97cd Merge pull request #1143 from GriffinRichards/fix-wallyuncle
Fix Wally's parents names, typo
2020-08-18 18:21:48 -04:00
GriffinR 7d3b68a27b Fix Champinship typo 2020-08-18 17:51:51 -04:00
GriffinR 503dafd210 Fix wallys parents misnamed as uncle/aunt 2020-08-18 17:51:41 -04:00
GriffinR 54fb8eb68e Merge pull request #1142 from GriffinRichards/fix-typo
Fix Brenday typo
2020-08-18 16:03:11 -04:00
GriffinR 3ba8cabd80 Fix Brenday typo 2020-08-18 15:56:44 -04:00
GriffinR fa29ff98a3 Add condition mod constants 2020-08-18 11:38:50 -04:00
GriffinR 0e7f634b00 Wrap asm statements in NONMATCHING 2020-08-18 08:16:09 -04:00
GriffinR 19cf1b9770 Fix ContestPokemon offset-named field 2020-08-18 07:30:18 -04:00
PikalaxALT 3372993a63 Merge pull request #1133 from GriffinRichards/doc-pblock
Document use_pokeblock
2020-08-17 16:28:15 -04:00
GriffinR 9eb28e8b06 Merge pull request #1139 from PokeCodec/NAKEDMATCH
Match GetConnectedChildStrength
2020-08-16 14:34:40 -04:00
PokeCodec 337ab9c7a2 match 2020-08-16 12:33:58 -04:00
GriffinR 65bd2faf94 Merge branch 'master' of https://github.com/pret/pokeemerald into doc-contest 2020-08-16 05:59:10 -04:00
GriffinR 2749948eeb Clean up contest doc 2020-08-16 05:52:17 -04:00
GriffinR e98e4652fd Document contest live updates 2020-08-16 05:18:09 -04:00
GriffinR 9f4525666d Document misc contest 2020-08-16 02:50:35 -04:00
GriffinR c42c1ab8c1 Document contest appeal 2020-08-15 14:32:30 -04:00
GriffinR 25f45ffa84 Merge pull request #1125 from GriffinRichards/doc-namingscr
Document naming screen
2020-08-15 00:06:57 -04:00
GriffinR 98e68a8112 Merge pull request #1137 from PokeCodec/glyphREMATCH
Create Enum for Colors
2020-08-14 23:59:44 -04:00
PokeCodec d3e00cadcc Enum Time 2020-08-14 23:53:20 -04:00
GriffinR 50d6e9ea34 Merge pull request #1136 from PokeCodec/matchSURF
Match Surf functions
2020-08-13 23:11:27 -04:00
PokeCodec 35dca16a3d matching 2020-08-13 21:20:55 -04:00
GriffinR 3779422489 Split contest funcs from script_pokemon_util 2020-08-13 17:42:12 -04:00
GriffinR 4911849723 Document link contest connection 2020-08-13 16:27:40 -04:00
GriffinR 5ede085539 Merge pull request #1135 from PokeCodec/flying2
removed stray line
2020-08-13 15:49:32 -04:00
GriffinR c4012d4cb9 Merge pull request #1131 from GriffinRichards/doc-mapscr
Add MAP_SCRIPT descriptions
2020-08-13 15:49:14 -04:00
GriffinR 1c74977915 Merge pull request #1134 from GriffinRichards/fix-warn
Fix backslash+newline warning
2020-08-12 19:59:36 -04:00
PokeCodec 96ef73f881 removed stray line 2020-08-12 19:58:58 -04:00
GriffinR fa4d31ba96 Fix newline warning 2020-08-12 19:53:08 -04:00
GriffinR ade49de329 Merge branch 'master' into doc-pblock 2020-08-12 19:49:55 -04:00
GriffinR b3c4cd8a32 Merge pull request #1127 from PokeCodec/glyphMatch
Glyph match
2020-08-12 18:43:40 -04:00
GriffinR f6efbe38bf Clean up use_pokeblock doc, some menu_specialized 2020-08-12 18:39:15 -04:00
GriffinR 78892a1fbc Merge pull request #1132 from PokeCodec/boolJapanese
Apply bool8 type to u8 that act as bools
2020-08-12 13:00:31 -04:00
PokeCodec f33737ae97 bool8 2020-08-12 12:53:59 -04:00
PokeCodec 4e20e2a3ea Match CopyGlyphToWindow 2020-08-12 12:34:01 -04:00
GriffinR 67f87ce533 Merge pull request #1126 from PokeCodec/flying
Remove fakematches in Flying anim
2020-08-11 23:27:27 -04:00
GriffinR 5735609629 Merge pull request #1124 from PokeCodec/smaller-array
sp stack should be 2 elements deep, not 4
2020-08-11 23:26:09 -04:00
GriffinR 2b412ac7e3 Merge pull request #1130 from GriffinRichards/fix-extrchar
Add some charmap constant usage
2020-08-11 23:25:54 -04:00
GriffinR 70851d9083 Add MAP_SCRIPT descriptions 2020-08-11 15:50:09 -04:00
GriffinR 4f615b65e6 Continue documenting use_pokeblock 2020-08-11 13:56:17 -04:00
GriffinR cc4255d4c0 Add some charmap constant usage 2020-08-11 00:23:28 -04:00
PokeCodec 7e593d37bb 2 2020-08-10 19:26:00 -04:00
PokeCodec 35c6e85e20 cleanup 2020-08-10 19:25:37 -04:00
PokeCodec ceac2d547c Remove fakematch 2020-08-10 19:25:37 -04:00
GriffinR 8b95e1964b Merge pull request #1121 from GriffinRichards/doc-roulette
Document roulette
2020-08-10 17:18:09 -04:00
GriffinR 4bf43311f0 Remove redundant parens 2020-08-10 17:09:17 -04:00
GriffinR 078c341b2b Merge pull request #1122 from GriffinRichards/clean-battlemsg
Add stat stage constants, clean up misc battle msg data
2020-08-10 14:29:27 -04:00
GriffinR e947729d65 Start documenting use_pokeblock 2020-08-10 13:48:16 -04:00
GriffinR 82e322bb96 Finish documenting naming screen 2020-08-07 20:18:09 -04:00
GriffinR 463d79c7c1 Start documenting naming screen 2020-08-07 02:00:41 -04:00
GriffinR 4aed5b078a Merge pull request #1119 from PokeCodec/patch-2
Match function signatures
2020-08-04 20:46:14 -04:00
GriffinR 5e8ffff62f Add stat stage constants 2020-08-04 20:38:57 -04:00
GriffinR f8f6575360 Rename roulette_util to palette_util 2020-08-04 19:24:36 -04:00
GriffinR 8e800e2061 Document roulette flash util 2020-08-04 19:20:55 -04:00
GriffinR 868f831167 More roulette doc 2020-08-04 14:25:13 -04:00
GriffinR b40cee540e Continue documenting roulette 2020-08-02 14:52:05 -04:00
GriffinR 04117cdb1c Merge pull request #1120 from DizzyEggg/patch-5
Fix UB in event_object_movement.c
2020-08-02 10:00:58 -04:00
DizzyEggg d072897354 Update event_object_movement.c 2020-08-02 15:37:04 +02:00
DizzyEggg 7890a16d27 Fix UB in event_object_movement.c 2020-08-02 15:04:55 +02:00
PikalaxALT 03eba6a62c Merge pull request #1116 from GriffinRichards/doc-slotmachine
Document slot machine
2020-08-01 09:56:44 -04:00
PokeCodec 412f341588 Match function signatures
To make them consistent with the declarations
2020-07-31 20:20:00 -04:00
GriffinR 22b5b6b074 Start documenting roulette 2020-07-30 19:37:16 -04:00
GriffinR 430a28a207 Merge pull request #1118 from PokeCodec/Matching
Match CreateWaterPulseRingBubbles
2020-07-29 22:53:07 -04:00
pi1024e f39de3f503 terminal newline 2020-07-29 22:47:03 -04:00
PokeCodec b39047226b Match CreateWaterPulseRingBubbles 2020-07-29 22:44:19 -04:00
GriffinR 7ada56f039 Merge pull request #1085 from GriffinRichards/doc-overworld
Document field effects / misc overworld
2020-07-28 17:54:25 -04:00
GriffinR c6b27013cc Merge pull request #1112 from GriffinRichards/add-genwarn
Add warnings to generated map/layout files
2020-07-28 17:47:55 -04:00
GriffinR e06de33cbd Merge branch 'master' into doc-overworld 2020-07-28 17:46:17 -04:00
GriffinR 5eecaf92ba Merge branch 'master' into doc-slotmachine 2020-07-28 17:41:34 -04:00
GriffinR 1f4813bfd2 Document slot machine funcs 2020-07-28 17:38:05 -04:00
PikalaxALT 96b904bf80 Merge pull request #1115 from PokeCodec/Matching
Match InitObjectEventStateFromTemplate
2020-07-28 15:56:58 -04:00
PokeCodec 93be3a08ce Match 2020-07-28 15:31:08 -04:00
GriffinR e52ffacc25 Clean up slot machine data doc 2020-07-28 15:28:16 -04:00
PokeCodec 3b43fc12fc Merge https://github.com/pret/pokeemerald into Matching 2020-07-28 15:26:05 -04:00
PokeCodec 044d968513 Match 2020-07-28 15:23:14 -04:00
PokeCodec 7b6607d9e3 Update secret_base.c 2020-07-28 15:23:04 -04:00
PokeCodec 37957b2d15 semicolon 2020-07-28 15:23:02 -04:00
GriffinR 462e3bc0cb Sync flags with pokeruby 2020-07-28 15:22:40 -04:00
PokeCodec c722b77558 holding back on casts 2020-07-28 15:22:15 -04:00
PokeCodec ebcb982e16 Change signedness and add casts to avoid implicit conversion warnings 2020-07-28 15:22:15 -04:00
GriffinR b22709ee3d More slot machine data documentation 2020-07-28 14:29:44 -04:00
PikalaxALT 70617d56e4 Merge pull request #1104 from PokeCodec/Explcit-Casting
Reduce "Implicit conversion" warnings
2020-07-28 11:10:00 -04:00
PokeCodec 1e8ffcb898 Merge branch 'Explcit-Casting' of https://github.com/PokeCodec/pokeemerald into Explcit-Casting 2020-07-28 10:25:33 -04:00
GriffinR e8568b79ef Merge pull request #1114 from ExpoSeed/doc
Document some battle_util.c
2020-07-28 00:56:02 -04:00
ExpoSeed b401e2eb86 Fix naming style of function 2020-07-27 21:22:16 -05:00
PokeCodec fb6f859edd semicolon 2020-07-27 19:17:34 -04:00
ExpoSeed 71dc5edf2e Document some battle_util.c 2020-07-27 17:10:42 -05:00
PokeCodec 5f6e7e2279 Update secret_base.c 2020-07-27 14:59:37 -04:00
PokeCodec 9bdb15c54c Merge branch 'master' into Explcit-Casting 2020-07-27 13:18:28 -04:00
DizzyEggg 11178a49db Fix undefined behaviour in protect animation
gPlttBufferFaded[sprite->data[2] + ++i] = gPlttBufferFaded[sprite->data[2] + i + 1]

The above does NOT make it certain that i gets incremented before reading from the right side. Changed it, so the function always increments i first, then reads from pal buffer.
2020-07-27 13:17:18 -04:00
GriffinR ad3de420af Sync flags with pokeruby 2020-07-27 13:14:48 -04:00
GriffinR 1c55734e44 Document faraway island 2020-07-27 13:14:48 -04:00
PokeCodec ddd012f3ed holding back on casts 2020-07-27 12:47:08 -04:00
PikalaxALT 79cc659d7e Merge pull request #1113 from DizzyEggg/patch-4
Fix undefined behaviour in protect animation
2020-07-27 06:37:37 -04:00
DizzyEggg f007165c53 Fix undefined behaviour in protect animation
gPlttBufferFaded[sprite->data[2] + ++i] = gPlttBufferFaded[sprite->data[2] + i + 1] 

The above does NOT make it certain that i gets incremented before reading from the right side. Changed it, so the function always increments i first, then reads from pal buffer.
2020-07-27 12:27:35 +02:00
GriffinR 36a4764a78 Document some slot machine data 2020-07-26 02:15:59 -04:00
PokeCodec c5aa91741b Change signedness and add casts to avoid implicit conversion warnings 2020-07-24 22:18:57 -04:00
GriffinR 2439f42de4 Add warnings to generated files 2020-07-24 03:43:37 -04:00
GriffinR aca50c87be Continue new contest documentation 2020-07-24 00:14:53 -04:00
GriffinR 52a4428ba6 Begin new contest documentation 2020-07-23 17:55:40 -04:00
GriffinR 4a42e2a710 Merge branch 'master' into doc-overworld 2020-07-23 10:31:52 -04:00
PikalaxALT 2e077f09e4 Merge pull request #1111 from GriffinRichards/sync-flags
Sync unused flags with pokeruby
2020-07-23 09:12:33 -04:00
PikalaxALT 5348674bc4 Merge pull request #1102 from GriffinRichards/doc-faraway
Document faraway island
2020-07-23 09:12:19 -04:00
GriffinR 60ca1aa3fd Restore tabs in field_effect_scripts.s 2020-07-23 05:07:20 -04:00
GriffinR a4e47f1201 Clean some battle_message.c data 2020-07-23 05:01:42 -04:00
GriffinR 813f0c724f Sync flags with pokeruby 2020-07-22 18:00:41 -04:00
GriffinR 69a04f88f4 Merge pull request #1109 from DizzyEggg/patch-3
Update agb_flash.c
2020-07-22 15:47:06 -04:00
DizzyEggg af5090c892 Update agb_flash.c 2020-07-22 19:25:09 +02:00
GriffinR bfa7dfcd58 Merge pull request #1105 from AsparagusEduardo/Coordinates
Changed mon front and back coordinates from hex to decimal so they're easier to edit.
2020-07-21 19:43:14 -04:00
Eduardo Quezada 6eccf019db Fixed missing changes. 2020-07-21 19:32:33 -04:00
GriffinR 07cd31caac Merge pull request #1108 from PokeCodec/FixPort
Match RotateAuroraRingColors_Step
2020-07-21 17:18:03 -04:00
PokeCodec 97ceca6527 Match AnimTask_RotateAuroraRingColors_Step 2020-07-21 16:11:11 -04:00
PokeCodec 27ac010922 Merge pull request #1 from pret/master
Upstream
2020-07-20 17:09:02 -04:00
GriffinR 28759f8569 Merge pull request #1106 from GriffinRichards/add-aiscriptcomm
Comment gBattleAI_ScriptsTable with constants
2020-07-20 14:29:28 -04:00
GriffinR 33523d1b06 Comment gBattleAI_ScriptsTable with constants 2020-07-20 14:20:25 -04:00
Eduardo Quezada f825ba875e Reverted size. 2020-07-19 21:17:32 -04:00
Eduardo Quezada 49ee0fd953 Front pic coordinates. 2020-07-19 20:54:12 -04:00
Eduardo Quezada 10c4debe31 Back pic coordinates 2020-07-19 20:37:11 -04:00
GriffinR d91f02d984 Merge pull request #1103 from GriffinRichards/doc-optionpal
Label option menu pal
2020-07-19 15:53:17 -04:00
GriffinR 2273458d50 Label option menu pal 2020-07-19 15:44:58 -04:00
GriffinR a1cc7d2bd6 Document faraway island 2020-07-19 14:12:38 -04:00
GriffinR 5e1fb23aad Merge pull request #1101 from AsparagusEduardo/doc-pss
Some PSS documentation.
2020-07-19 10:11:00 -04:00
Eduardo Quezada 551334b20b Fixed missing lowercase field name. 2020-07-18 23:10:37 -04:00
Eduardo Quezada 3bec840419 Fixed field names lowercase. 2020-07-18 23:08:44 -04:00
Eduardo Quezada 9b32cafd57 Some PSS documentation. 2020-07-18 21:58:01 -04:00
GriffinR af09e73d67 Merge branch 'master' into doc-overworld 2020-07-18 20:24:09 -04:00
GriffinR 8e6dd3bafe Merge pull request #1086 from GriffinRichards/doc-unktrans
Document unk_transition
2020-07-18 20:22:58 -04:00
GriffinR 1a27af8855 Merge pull request #1100 from GriffinRichards/clean-battlescrdata
Misc battle and battle palace documentation
2020-07-18 20:22:44 -04:00
GriffinR fb402725c6 Convert more battle constants to bit shifts 2020-07-18 18:39:38 -04:00
GriffinR aba42513d3 Clean up some battle scr cmd data 2020-07-18 18:10:15 -04:00
GriffinR 1cf2470aac Merge pull request #1097 from PokeCodec/asm
Allow assembly on Clang
2020-07-17 18:19:06 -04:00
GriffinR 96fd719a19 Merge pull request #1081 from GriffinRichards/add-localids
Add local object event ids for referenced objects
2020-07-17 18:18:47 -04:00
GriffinR 50e48898d2 Merge pull request #1088 from GriffinRichards/doc-starterchoose
Document starter_choose.c
2020-07-17 16:02:10 -04:00
GriffinR 300f36654d Merge pull request #1099 from PokeCodec/quickie
ifndef GUARD typo fix
2020-07-17 15:56:52 -04:00
PokeCodec 597a238229 Typo Fix 2020-07-17 15:49:46 -04:00
PokeCodec 98441b1199 Sort out asm 2020-07-16 18:28:38 -04:00
GriffinR d888fe1013 Merge pull request #1096 from DizzyEggg/patch-2
Use stat constants in MonGainEVs
2020-07-16 09:29:23 -04:00
DizzyEggg c8e1079736 Use stat constants in MonGainEVs 2020-07-16 09:58:16 +02:00
GriffinR 7bea28cb84 Merge pull request #1093 from GriffinRichards/fix-frontiermonconst
Clean up some frontier mon use in battle factory
2020-07-15 13:37:07 -04:00
GriffinR 0c4f3b269e Merge pull request #1083 from GriffinRichards/playse-constants
Use charmap constants for PLAY_SE
2020-07-15 02:53:53 -04:00
GriffinR e129d04b93 Merge branch 'master' into doc-overworld 2020-07-15 00:40:47 -04:00
GriffinR 3c356a1d7a Merge pull request #1082 from GriffinRichards/add-flagvarsave
Allow flag/var counts to be updated alongside values
2020-07-14 19:58:38 -04:00
GriffinR 6f3c792577 Merge pull request #1084 from GriffinRichards/fix-gbagfxsegfault
Fix segfault in gbagfx
2020-07-14 19:57:27 -04:00
GriffinR a583dfcc42 Merge pull request #1094 from DizzyEggg/rename
Give proper names to some functions
2020-07-14 19:56:46 -04:00
GriffinR c177872c9c Merge pull request #1080 from AsparagusEduardo/EndBalls
Created constant for easier Ball Expansion.
2020-07-14 19:56:20 -04:00
DizzyEggg 0425cb66ef Give proper names to some functions 2020-07-14 11:13:03 +02:00
GriffinR 1c75396276 Clean up some frontier mon use in battle factory 2020-07-13 00:47:30 -04:00
Eduardo Quezada b31efcd6e3 Renamed constant, 2020-07-12 01:49:32 -04:00
PikalaxALT 617e411aca Merge pull request #1092 from PikalaxALT/ubfix
Fix some UB exposed with GCC 10.1.0
2020-07-11 10:32:30 -04:00
PikalaxALT 535189bf14 Fix some UB exposed with GCC 10.1.0 2020-07-11 10:22:34 -04:00
PikalaxALT 038d247e14 Merge pull request #1091 from Flametix/target
Replace magic number with MOVE_TARGET_BOTH
2020-07-09 15:45:36 -04:00
PikalaxALT 5a326a11f4 Merge pull request #1090 from Ryuhouji/patch-3
Made documentation more readable
2020-07-09 15:45:11 -04:00
Ryuhouji 8e2128f22c Fix indentation 2020-07-09 15:36:22 -04:00
Ryuhouji d261374044 Made documentation more readable
This change will make the script command documentation more user-friendly to read.
Additionally, provided the information on the 'delay' macro. I have confirmed that this
is indeed Frames and not Milliseconds. Updated the macro respectively.
2020-07-09 15:16:37 -04:00
Flametix 4ba2799849 Update pokemon.c 2020-07-09 14:52:19 -04:00
GriffinR beeb673ba1 Merge branch 'master' of https://github.com/pret/pokeemerald into add-flagvarsave 2020-07-08 16:03:32 -04:00
PikalaxALT ebade7affb Merge pull request #1079 from GriffinRichards/doc-confetti
Document Contest Util and confetti effects
2020-07-08 16:01:27 -04:00
GriffinR ebb6c4ee66 Merge branch 'master' into doc-overworld 2020-07-08 15:51:58 -04:00
GriffinR 89bcf3cbd9 Merge branch 'master' into add-localids 2020-07-08 15:47:45 -04:00
PikalaxALT 9ff261ac2a Merge pull request #1078 from GriffinRichards/move-cries
Move Pokemon cries to own directory
2020-07-08 15:45:32 -04:00
GriffinR 431c60c92c Merge branch 'master' of https://github.com/pret/pokeemerald into doc-confetti 2020-07-08 15:45:31 -04:00
PikalaxALT 8b80b417e2 Merge pull request #1069 from GriffinRichards/doc-link
Document linking
2020-07-08 15:43:45 -04:00
PikalaxALT 550875757b Merge pull request #1087 from ipatix/fix_aggressive_loop_optimizations
fix aggressive loop optimizations
2020-07-08 15:42:08 -04:00
PikalaxALT b7532903d7 Merge pull request #1089 from PokeCodec/patch-1
Match CreatePokeDexList
2020-07-07 21:15:49 -04:00
PokeCodec 938aec45d3 Match CreatePokeDexList
Cherry-picked from the pret Ruby repo
2020-07-07 20:57:20 -04:00
GriffinR 43c48d95c2 Document starter_choose.c 2020-07-06 17:26:25 -04:00
GriffinR c0bc7e8f7b Fix elevator metatile typo 2020-07-06 16:02:49 -04:00
Michael Panzlaff 3264cf697f fix aggressive loop optimizations
Previously, aggressive loop optimizations with a new compiler were not
possible due to undefined behaviour at end of arrays.

A macro "UBFIX" is added to allow ifdefs for fixes which resolve
undefined behavior. For example newer GCC versions will detect various
bugs in the original game code and will otherwise not compile with -Werror.
2020-07-05 18:09:59 +02:00
GriffinR 72edc46ab6 Document unk_transition 2020-07-02 15:45:37 -04:00
GriffinR 1ce929157f Clean up field effect doc 2020-07-02 05:05:13 -04:00
GriffinR 8589e138a8 Eliminate METATILE_ID() macro 2020-07-02 00:17:14 -04:00
GriffinR c84f98a7ff Document misc field control 2020-06-29 17:24:17 -04:00
GriffinR abdf7cbf02 Label fishing effect functions 2020-06-29 16:53:38 -04:00
GriffinR eb80012757 Document more misc field effects 2020-06-29 16:32:46 -04:00
GriffinR a35ab0d023 Fix segfault in gbagfx 2020-06-29 15:28:59 -04:00
GriffinR 4ea6992172 Continue documenting overworld/field effects 2020-06-29 01:26:29 -04:00
GriffinR 7d5ad8f7b4 Use charmap constants for PLAY_SE 2020-06-26 02:44:07 -04:00
GriffinR 2ed1f7c6f9 Byte-align daily flags 2020-06-24 18:05:22 -04:00
GriffinR 06025e887f Allow flag/var counts to be updated alongside values 2020-06-24 17:00:19 -04:00
GriffinR a88676094b Add missed deoxys rock local id 2020-06-23 15:51:23 -04:00
GriffinR 18d57a3802 Document some overworld and field effects 2020-06-23 15:48:53 -04:00
GriffinR fac6288156 Add local object event ids for referenced objects 2020-06-22 17:18:58 -04:00
Eduardo Quezada 7244b80fc6 Created constant for easier Ball Expansion. 2020-06-21 02:36:46 -04:00
GriffinR 8b462f3f6c Specify confetti util name 2020-06-18 18:14:30 -04:00
GriffinR d2a760afdb Rename contest_link_80FC4F4, 80F57C4, and 81D9DE4 2020-06-18 18:01:32 -04:00
GriffinR 24569583e4 Document contest results 2020-06-18 17:50:13 -04:00
GriffinR f600aff711 Rename rom_81520A8 2020-06-17 03:42:10 -04:00
GriffinR 76f6d05173 Document confetti 2020-06-17 03:39:03 -04:00
GriffinR e507770425 Remove some unneeded link filler 2020-06-15 13:17:53 -04:00
GriffinR 4c8fd5af7c Move Pokemon cries to own directory 2020-06-15 13:00:24 -04:00
GriffinR c2a07276ae Merge branch 'master' into doc-link 2020-06-13 16:15:11 -04:00
Sierra A 46f4a4bbf7 Merge pull request #1074 from Sierraffinity/item-menu-cleanup
Begin item_menu.c cleanup
2020-06-10 17:17:35 -07:00
Sierra A a05eea9312 Merge pull request #1075 from Sierraffinity/master
Fix out of bounds array access in intro Groudon segment
2020-06-10 17:16:04 -07:00
GriffinR a9a427c6f2 Merge branch 'master' into doc-link 2020-06-10 17:36:43 -04:00
GriffinR 2859900ea9 Second pass on documenting union room 2020-06-10 17:30:59 -04:00
Sierraffinity 452f1e0047 Fix out of bounds array access in intro Groudon segment 2020-06-10 13:27:46 -07:00
Sierra A a7815857ad Merge pull request #1071 from PokeCF/patch-3
Unnest if statements
2020-06-10 13:23:57 -07:00
Sierraffinity 74edaed426 Begin item_menu.c cleanup 2020-06-10 13:07:42 -07:00
PikalaxALT 70c5f923ad Merge pull request #1072 from nullableVoidPtr/master
Match sub_80F0708
2020-06-10 09:23:38 -04:00
nullableVoidPtr 8381828571 Match sub_80F0708
Special thanks to @kazblox
2020-06-10 21:13:58 +08:00
PokeCF 760baec098 Unnest if statements
Overall, it is generally considered bad style to continually nest loops. However, if this is what the decompiler outputted, then why bother touching it?

However, this can be rewritten as returning early if the playtime is less than 60.

The reason for this is not because of the original code, but because it looks better, has the same output, and is easier to understand.
2020-06-08 17:09:54 -04:00
GriffinR 35867f531b Some link rfu cleanup / link.c documentation 2020-06-08 15:24:25 -04:00
GriffinR c98342c973 Document link_rfu_3.c 2020-06-08 00:28:21 -04:00
GriffinR e6f5c4f264 Sync link_rfu_2.c 2020-06-07 12:54:50 -04:00
GriffinR 3f97763181 Document cable_club.c 2020-06-06 16:10:03 -04:00
huderlem 675f5ac03e Remove unnecessary comment 2020-06-03 19:55:15 -05:00
SBird 5d752bbe49 shop: document some constants s.t. object events don't break 2020-06-03 19:55:15 -05:00
GriffinR aaf5d91c18 Document field_message_box.c 2020-06-03 19:47:45 -05:00
huderlem 83336585e2 Merge pull request #1067 from DizzyEggg/transitions
Transitions
2020-06-03 19:45:04 -05:00
GriffinR 9190af73b7 Label union room battle trainer 2020-06-03 15:28:29 -04:00
GriffinR fd77eb1eb9 Document wireless_communication_status_screen.c 2020-06-03 14:07:40 -04:00
GriffinR bc6bd36813 Document union_room_battle.c 2020-06-02 19:05:59 -04:00
GriffinR 18a00da820 Split wireless_communication_status_screen.c out 2020-06-02 18:51:26 -04:00
GriffinR 7632404ba5 Document union_room_chat.c 2020-06-02 18:35:00 -04:00
DizzyEggg 0690abd5a4 its time to ddddddduel 2020-06-02 17:28:47 +02:00
DizzyEggg 754266cb0f battle transitions 2020-06-02 13:32:30 +02:00
DizzyEggg f608ae9f70 make battle transition OK ok Ok oK 2020-06-02 13:30:05 +02:00
PikalaxALT 8c54454923 Merge pull request #1066 from pret/revert-1065-transitions
Revert "More transitions documentation"
2020-06-01 18:26:07 -04:00
PikalaxALT 72b332d551 Revert "More transitions documentation" 2020-06-01 18:05:31 -04:00
Sierra A d54053f9d7 Merge pull request #1065 from DizzyEggg/transitions
More transitions documentation
2020-06-01 10:57:07 -07:00
GriffinR f53e2491bf Document union_room_player_avatar.c 2020-06-01 10:23:12 -04:00
DizzyEggg ab3eb6065b More transitions documentation 2020-06-01 16:17:25 +02:00
Sierra A ad61cccbd1 Merge pull request #1064 from DizzyEggg/patch-1
Battle transition arrays easier to edit
2020-05-31 11:31:31 -07:00
GriffinR 4fe507e453 Document union_room.c 2020-05-31 13:11:18 -04:00
DizzyEggg b1ffe6efd7 Battle transition arrays easier to edit 2020-05-31 12:41:27 +02:00
PikalaxALT 24075e9e72 Merge pull request #1061 from GriffinRichards/fix-egg
Clear up misleading egg step name
2020-05-29 16:50:37 -04:00
PikalaxALT e0ae696479 Merge pull request #1027 from PikalaxALT/gbagfx_tilemap
Add tilemap rendering capability to gbagfx
2020-05-29 16:49:46 -04:00
GriffinR e27c3d2abd Clear up misleading egg step name 2020-05-27 16:41:23 -04:00
Sierraffinity d528d75af7 Connect title screen BG palettes together 2020-05-27 07:58:48 -05:00
Sierraffinity 6963c00016 battle_anim_mons: Make cast not depend on size of struct 2020-05-27 07:58:48 -05:00
Sierraffinity ec92241d8f Fix REG_OFFSET_WININ/OUT mislabeling 2020-05-27 07:58:48 -05:00
Sierraffinity 42747663b5 Fix OAM region mislabeling 2020-05-27 07:58:48 -05:00
MandL27 c3d690a380 consistency with pokefirered 2020-05-27 07:58:04 -05:00
MandL27 6964d37db6 document UNKNOWN_A special char 2020-05-27 07:58:04 -05:00
DizzyEggg 5eeecb56c1 More touches to pokemon summary screen document 2020-05-27 07:57:15 -05:00
Marcus Huderle 79a1127122 Match sub_817F9F4 2020-05-24 17:22:56 -05:00
GriffinR f9e6f7540f Use fixed point macros for math util 2020-05-24 08:28:02 -05:00
GriffinR c6205b3df4 Document math_util.c 2020-05-24 08:28:02 -05:00
GriffinR 210862f7b6 Match InBoxInput_Normal, HandleInput_InParty, HandleInput_OnBox, and HandleInput_OnButtons 2020-05-24 08:26:38 -05:00
GriffinR 5019381911 Match sub_8024604 2020-05-24 08:26:38 -05:00
GriffinR 89350cb81a Clean up sub_8022C58 2020-05-24 08:26:38 -05:00
GriffinR b29c7554ea Match sub_8022250 2020-05-24 08:26:38 -05:00
hondew cfc47e642f Clean up slot drawing
Fix typos
2020-05-24 08:24:20 -05:00
hondew 26a197847a Rename tag offset functions
Fix typo
2020-05-24 08:24:20 -05:00
SatoMew 50a1b0f579 Clean up, include feedback, and update INSTALL.md 2020-05-21 15:29:48 +01:00
Sierra A 25f0dac1b5 Merge pull request #1055 from Sierraffinity/mystery_gift_fakematchfix
Fix mystery gift fakematchings
2020-05-20 21:08:31 -07:00
Sierra A 783ebfe163 Merge pull request #1052 from Missingmew/unused-decompress
Decompile unused decompress function, as seen in ruby
2020-05-20 21:06:47 -07:00
Sierraffinity ac6bcecdf5 Fix mystery gift fakematchings 2020-05-20 21:00:21 -07:00
Sierra A 7b16d6b6f0 Merge pull request #1054 from Sierraffinity/battle_dome_fakematchfix
Fix HblankCb_TourneyTree fakematch
2020-05-20 20:40:24 -07:00
Sierraffinity 929e64ad33 Fix HblankCb_TourneyTree fakematch 2020-05-20 20:31:16 -07:00
Sierra A 02416dc79c Merge pull request #1053 from Sierraffinity/text-drawdownarrow-fix
Fix TextPrinterDrawDownArrow fakematch
2020-05-20 19:50:52 -07:00
Sierraffinity d301d438c1 Fix the fix 2020-05-20 19:33:40 -07:00
Sierraffinity 3617a064d2 Fix TextPrinterDrawDownArrow fakematch 2020-05-20 19:09:55 -07:00
Missingmew 9a13be4e7b switch to pret short-types and tabs vs spaces 2020-05-21 00:25:30 +02:00
Missingmew 1beca515ed Decompile unused function, as seen in ruby 2020-05-20 23:58:20 +02:00
Sierra A 476acc00d5 Merge pull request #1049 from GriffinRichards/typo
sPrizeListGigaSwap typo fix
2020-05-19 13:30:48 -07:00
GriffinR 2a1781b2ed sPrizeListGigaSwap typo fix 2020-05-19 16:13:25 -04:00
PikalaxALT 7c248947f4 Merge pull request #1038 from ProjectRevoTPP/master
restore SeedRngWithRtc comment and declaration of GF oversight.
2020-05-19 13:31:41 -04:00
PikalaxALT 3c4b9dfacc Merge pull request #1044 from DizzyEggg/sss
Document pokemon summary screen
2020-05-19 13:30:42 -04:00
Sierra A eb4c880db8 Merge pull request #1046 from Kurausukun/patch-2
Fix compilation on gcc 10 (for real this time)
2020-05-18 20:49:00 -07:00
Kurausukun 65fb2e9957 Fix compilation on gcc 10 (for real this time) 2020-05-18 23:42:42 -04:00
Sierra A da30244b6c Merge pull request #1041 from AsparagusEduardo/UnownStats
Using ability constants for OLD_UNOWN stats
2020-05-18 16:33:23 -07:00
Sierra A ab6bbd7ef0 Merge pull request #1039 from GriffinRichards/doc-inconnect
Label in_connection's field in ObjectEventTemplate
2020-05-18 16:32:55 -07:00
Sierra A 9601b96168 Merge pull request #1043 from Kurausukun/patch-1
Fix compilation on gcc 10
2020-05-18 16:32:23 -07:00
Sierra A 45866cf094 Merge pull request #1042 from GriffinRichards/typo
Fix CreatedHatchedMon typo
2020-05-18 16:31:58 -07:00
DizzyEggg bdebab834c Document pokemon summary screen 2020-05-18 14:03:01 +02:00
Kurausukun 72c8574780 Fix compilation on gcc 10 2020-05-18 01:41:54 -04:00
GriffinR db17f8091c Fix CreatedHatchedMon typo 2020-05-17 01:06:17 -04:00
AsparagusEduardo 179d84dcd7 Using ability constants for OLD_UNOWN stats 2020-05-16 18:08:56 -04:00
PikalaxALT 44f348a8e1 Merge pull request #1040 from PikalaxALT/toolfix
Fix building modern from clean
2020-05-15 09:59:56 -04:00
PikalaxALT 4054f16e71 Fix building modern from clean 2020-05-15 09:53:06 -04:00
GriffinR 5bb688df3e Label in_connection's field in ObjectEventTemplate 2020-05-14 17:11:18 -04:00
ProjectRevoTPP 468793e34a restore SeedRngWithRtc comment and declaration of GF oversight. 2020-05-14 16:33:19 -04:00
Sierra A ed02120062 Update bugs_and_glitches.md
Add fix for item image flicker
2020-05-12 17:21:16 -07:00
Sierra A 0a982edf4e Merge pull request #1037 from hondew/document-bugs
Create a document for bugs and glitches
2020-05-12 16:02:47 -07:00
hondew 1506a1de51 Initial bug doc entry
Minor typo
2020-05-09 13:21:47 -04:00
Sierra A 4dd3cc7b76 Merge pull request #1035 from Sierraffinity/master
Document undefined sprite template behavior
2020-05-04 21:14:57 -07:00
Sierraffinity a1244aa5dd Merge branch 'master' of github.com:pret/pokeemerald 2020-05-04 20:54:27 -07:00
Sierra A b3b99b52ca Merge pull request #1029 from GriffinRichards/fix-clangwarn
Fix -Wmissing-braces clang warning
2020-05-04 19:56:41 -07:00
Sierra A 4f0fd1b94b Merge pull request #1034 from ipatix/modern_lib_path
Fix MODERN=1 for non-devkitARM compilation
2020-05-04 19:56:16 -07:00
Michael Panzlaff c11fb6a3fd Fix MODERN=1 for non-devkitARM compilation
gcc has this nice option "-print-file-name=" to locate a file
in its search path. This is a more portable way to locate
libgcc.a and libc.a so there is no longer the need to mess around with
devkitARM's path's.
2020-05-05 00:09:06 +02:00
Sierra A b398ef344f Merge pull request #1030 from SBird1337/gfx/fix-hp-anim
gfx: fix hpbar_anim.png visual palette
2020-05-03 11:40:32 -07:00
SBird 7c4c1d3a5c gfx: merge battle_interface gfx table 2020-05-03 15:24:33 +02:00
Sierra A 8778aec7d6 Merge pull request #1031 from hondew/berry-yield
Document minor berry yield bug
2020-05-03 02:26:18 -07:00
Sierra A 5c49bc6d34 Merge pull request #1032 from AsparagusEduardo/OldUnown
Ordered OLD_UNOWN in the same way as the other base stats.
2020-05-03 02:24:48 -07:00
Sierra A 0009692395 Merge pull request #1033 from DizzyEggg/patch-1
Give a define for all dex interface sprites
2020-05-03 02:23:40 -07:00
DizzyEggg a35ce6ecdf Give a define for all dex interface sprites
for easier editing
2020-05-03 11:12:05 +02:00
AsparagusEduardo f6932518b0 Ordered OLD_UNOWN in the same way as the other base stats. 2020-05-03 00:00:01 -04:00
hondew 84f012fc6e Update external links 2020-05-02 13:59:28 -04:00
hondew 048d1ffbdb Clarify stages 2020-05-02 13:38:25 -04:00
hondew 49184cd799 Document berry yield
fix wording
2020-05-02 11:51:49 -04:00
SBird 67e9309415 gfx: fix hpbar_anim.png visual palette 2020-05-01 20:51:29 +02:00
GriffinR b057411eea Fix -Wmissing-braces clang warning 2020-04-29 16:39:14 -04:00
GriffinR cb5b8da77b More trainer type usage 2020-04-28 19:59:08 -05:00
GriffinR 8d9e39e6d1 Sync map types with pokefirered 2020-04-28 19:59:08 -05:00
GriffinR e5757a3def Use trainer type constants 2020-04-28 19:59:08 -05:00
GriffinR 09b39527ff Generalize oamtable names 2020-04-28 19:59:08 -05:00
GriffinR ecd4824f67 Index heal location data, use better names 2020-04-28 19:59:08 -05:00
GriffinR b1d26e10a8 Sync map header property names with pokefirered 2020-04-28 19:59:08 -05:00
PikalaxALT 724ffe14ee Merge pull request #1028 from jiangzhengwenjz/misc
sync with pokefirered
2020-04-27 19:38:38 -04:00
jiangzhengwenjz bc0d0caec3 CopyTileMapEntry 2020-04-28 07:29:15 +08:00
jiangzhengwenjz c7d8d5dae2 fix remainSize type 2020-04-28 07:28:27 +08:00
jiangzhengwenjz 2010ed0f12 librfu issues 2020-04-28 07:25:55 +08:00
Sierraffinity 072a98ca9a Document undefined sprite template behavior 2020-04-25 18:25:55 -07:00
PikalaxALT a4509d06ef Fix an issue with uninitialized tilemap ptr 2020-04-25 16:54:27 -04:00
PikalaxALT 14f76fbe03 Add tilemap rendering capability to gbagfx 2020-04-24 08:47:22 -04:00
Sierra A dc126e3016 Merge pull request #1026 from Sierraffinity/master
gbagfx: Check for nullptr for new output path
2020-04-22 17:23:36 -07:00
Sierraffinity b2d8c6793d gbagfx: Check for nullptr for new output path 2020-04-22 16:53:11 -07:00
Sierra A dbe48cfb08 Merge pull request #1025 from Sierraffinity/master
gbagfx: Various fixes and improvements
2020-04-22 14:58:03 -07:00
Sierraffinity 21e9ed6615 gbagfx: Various fixes and improvements
Fix num_colors exceeding amount of colors in palette leading to use of uninitialized colors

Handle png -> pal conversion (aka extracting JASC palettes from png

Allow using only file extension as output to reuse entire path from input before extension
2020-04-22 14:39:20 -07:00
Diegoisawesome 922a8de78d Merge pull request #1016 from PlatinumMaster/master
Split voicegroups and cry tables properly.
2020-04-15 12:52:43 -07:00
PlatinumMaster 3ff8b0cb5c Remove debug sound check. 2020-04-15 14:19:46 -04:00
PlatinumMaster 1b696e8119 Finalized pull request. 2020-04-15 13:35:12 -04:00
PlatinumMaster da34eedd9b Keep up to date with master. 2020-04-15 13:33:06 -04:00
AsparagusEduardo 6eefcb1f82 Using sandstorm weather constant for Sand Veil encounter rate. 2020-04-15 07:40:39 -05:00
PikalaxALT a12de6e480 Merge pull request #1022 from GriffinRichards/doc-gcn
Label GCN link flags field
2020-04-14 15:54:34 -04:00
PikalaxALT c21175d6b8 Merge pull request #1023 from GriffinRichards/fix-decor
Misc decoration gfx fixes
2020-04-14 15:16:42 -04:00
GriffinR 8d3b7bd0b1 Use metatile labels for decor gfx 2020-04-13 14:43:50 -04:00
GriffinR 96958ba5e9 Drop unnecessary decor prefix 2020-04-13 13:04:22 -04:00
GriffinR 0ffe63a23b Fix decor png dimensions 2020-04-13 12:58:48 -04:00
GriffinR dde4a0416c Label GCN link flags field 2020-04-13 08:42:31 -04:00
PikalaxALT 8a31778733 Merge pull request #1021 from Brainface1/master
Named some bike-related functions
2020-04-12 13:30:04 -04:00
PikalaxALT ee1744865e Merge pull request #1014 from GriffinRichards/fix-png
Re-export tileset anim pngs to use palettes
2020-04-12 13:29:50 -04:00
GriffinR 715e0d7f64 Fix indentation in graphics_file_rules.mk 2020-04-12 13:13:02 -04:00
GriffinR d478156ad9 Split stormy_water png for kyogre/groudon 2020-04-12 13:04:05 -04:00
brain_face 9abda59bd1 Renamed sub_808C1B4 -> PlayerUseAcroBikeOnBumpySlope 2020-04-12 16:22:03 +02:00
brain_face 007a038031 Renamed sub_808B9D4 -> PlayerEndWheelieWhileMoving 2020-04-12 15:43:45 +02:00
brain_face ce2fe10bec Renamed sub_808B9A4 -> PlayerPopWheelieWhileMoving 2020-04-12 15:35:38 +02:00
brain_face 1be48a61c1 Renamed sub_808B9BC -> PlayerWheelieMove 2020-04-12 15:31:11 +02:00
brain_face 1472a3a7d4 Renamed sub_808B980 -> PlayerWheelieInPlace 2020-04-12 14:38:18 +02:00
PikalaxALT 7eaabab3f0 Merge pull request #1020 from GriffinRichards/doc-unkanim
Give partial labels to unknown anims
2020-04-10 14:07:23 -04:00
PikalaxALT c08b4ff3e1 Merge pull request #1019 from GriffinRichards/constants-party
Add misc party constant usage
2020-04-10 14:05:35 -04:00
PikalaxALT 8188615db8 Merge pull request #1018 from GriffinRichards/sync-util
Sync link game util files
2020-04-10 14:02:53 -04:00
PikalaxALT 384a7cdef8 Merge pull request #1011 from GriffinRichards/doc-avflag
Minor player avatar doc
2020-04-10 13:56:52 -04:00
PikalaxALT 6133c6b0af Merge pull request #1006 from AsparagusEduardo/UsingBattleAction
Using Battle Action constants
2020-04-10 13:56:25 -04:00
GriffinR 2615a6838e Label unknown anims 2020-04-09 19:24:47 -04:00
GriffinR 7a5deff0bc Add misc party constant usage 2020-04-09 15:18:53 -04:00
GriffinR e485857df3 Sync minigame_countdown 2020-04-08 17:23:32 -04:00
GriffinR 8853588af0 Sync digit_obj_util 2020-04-08 16:27:11 -04:00
PlatinumMaster 67b0bec3ff Merge travis fix commit from master. 2020-04-06 01:34:28 -04:00
PikalaxALT 7d65645756 Merge pull request #1017 from pret/PikalaxALT-patch-1
Bump devkitARM
2020-04-04 16:22:58 -04:00
PikalaxALT 055d13fa38 Bump devkitARM 2020-04-04 16:09:36 -04:00
PlatinumMaster 5801966b6d Attempt to fix the travis build. 2020-04-04 01:41:50 -04:00
PlatinumMaster 0307946844 Fix broken travis build 2020-04-04 00:57:59 -04:00
PlatinumMaster e6b5638341 Split voicegroups and cry tables properly. 2020-04-03 23:14:10 -04:00
GriffinR 097ddb0677 Re-export tileset anim pngs to use palettes 2020-04-02 11:18:47 -04:00
PikalaxALT 22fa4cb178 Merge pull request #1012 from jiangzhengwenjz/nonmatching
resolve some naked functions
2020-04-02 09:52:03 -04:00
jiangzhengwenjz afdcb69bf4 better matching approach than upstream 2020-04-02 20:30:31 +08:00
jiangzhengwenjz 61b7b45084 Merge branch 'master' of https://github.com/pret/pokeemerald into nonmatching 2020-04-02 20:26:16 +08:00
PikalaxALT 3a0a4385f6 Merge pull request #1013 from Sewef/patch-2
Two pokedex matching
2020-04-02 07:46:37 -04:00
Sewef 1c895bb8d0 Match HighlightSubmenuScreenSelectBarItem 2020-04-02 13:17:33 +02:00
Sewef 096e57f56c Match HighlightScreenSelectBarItem 2020-04-02 13:11:18 +02:00
jiangzhengwenjz 0fe5ff34dc Pokeblock_BufferEnhancedStatText 2020-04-02 13:53:53 +08:00
jiangzhengwenjz cd60736e36 PrintMonWeight 2020-04-02 12:15:03 +08:00
jiangzhengwenjz 69f6d2afad HighlightSubmenuScreenSelectBarItem 2020-04-02 01:03:44 +08:00
jiangzhengwenjz 3d2c42adfe HighlightScreenSelectBarItem 2020-04-02 01:03:25 +08:00
GriffinR 487080b425 Minor player avatar doc 2020-04-01 02:54:26 -04:00
PikalaxALT f1cccc975b Merge pull request #1009 from Sewef/patch-1
Fix 'AnimMovmentWaves' typo
2020-03-27 09:52:31 -04:00
Sewef 685f120b5e Fix 'AnimMovmentWaves' typo 2020-03-27 14:50:15 +01:00
PikalaxALT c2d95be156 Merge pull request #1007 from GriffinRichards/fix-healloc
Revert more porymap-breaking changes from #968
2020-03-19 16:30:45 -04:00
GriffinR 8e4b987699 Revert more porymap-breaking changes 2020-03-18 03:22:07 -04:00
AsparagusEduardo f45336c546 Using Battle Action constants 2020-03-17 22:14:14 -03:00
PikalaxALT 33ecfb46e4 Merge pull request #1005 from GriffinRichards/fix-rme
Revert city_zoom_tiles.png name
2020-03-17 12:39:08 -04:00
GriffinR ab87c90998 Revert city_zoom_tiles.png name 2020-03-17 12:08:05 -04:00
PikalaxALT 39da49495d Merge pull request #1000 from GriffinRichards/doc-dex
Document pokedex.c
2020-03-17 10:43:57 -04:00
PikalaxALT 784e29352d Merge pull request #985 from mrgriffin/decoration
Document decoration.c
2020-03-17 10:39:37 -04:00
PikalaxALT 7a059c75a6 Merge pull request #968 from GriffinRichards/doc-regionmap
Document some pokenav and region map
2020-03-17 10:38:20 -04:00
Diegoisawesome 20d28ee18b Merge pull request #1003 from garakmon/move-fonts
move fonts from data/graphics/ to graphics/
2020-03-12 10:47:55 -07:00
garakmon b1dd945cbf move fonts from data/graphics/ to graphics/ 2020-03-12 13:40:00 -04:00
AsparagusEduardo c73fdb8954 Restored some tItemCount instances as requested. 2020-03-10 17:46:26 -05:00
AsparagusEduardo 130929a7a4 Slight item_menu.c documentation 2020-03-10 17:46:26 -05:00
AsparagusEduardo 97096aab07 Applied review changes 2020-03-10 17:45:29 -05:00
AsparagusEduardo 1b9a01798e monMarks 2020-03-10 17:45:29 -05:00
AsparagusEduardo fdf1faa563 SetMonIconTransparency 2020-03-10 17:45:29 -05:00
AsparagusEduardo 1159180a25 sMovingItemId 2020-03-10 17:45:29 -05:00
AsparagusEduardo f9725affd0 MODE_2 renamed to MODE_MOVING 2020-03-10 17:45:29 -05:00
GriffinR a495379ff0 Document pokedex cry screen 2020-03-10 14:02:03 -04:00
PikalaxALT 08bced2cbb Merge pull request #999 from ProjectRevoTPP/patch-1
Fix the source of pain and suffering for the last 2 years.
2020-03-09 16:28:27 -04:00
GriffinR 31b0cbe9b4 Document pokedex.c 2020-03-09 16:24:01 -04:00
Revo 295e1d2c2e Fix the source of pain and suffering for the last 2 years.
Why wasn't this fixed yet. This is dumb. This is really dumb. This is fuckin' stupid.
2020-03-09 16:20:53 -04:00
Eduardo Quezada f821303429 Using True/False on SetMoveEffect. 2020-03-07 16:54:13 -06:00
PikalaxALT c805c4cc6f Merge pull request #995 from AsparagusEduardo/Ignore-mGBA-savestate
Ignores mGBA's first savestate file.
2020-03-06 13:11:50 -05:00
Martin Griffin 4485d51522 Document decoration.c 2020-03-06 09:47:20 +00:00
Eduardo Quezada 84f1d0a89a Changed to ignore all mGBA's savestates. 2020-03-06 01:28:11 -03:00
Eduardo Quezada ce2d4dadf9 Ignores mGBA's first savestate file. 2020-03-05 23:14:54 -03:00
PikalaxALT b3244301b7 Merge pull request #994 from jiangzhengwenjz/nonmatching
real match sub_8021A28
2020-03-05 18:14:08 -05:00
jiangzhengwenjz 93f0bff49c sub_8021A28 2020-03-06 07:01:12 +08:00
PikalaxALT e26293448c Merge pull request #993 from jiangzhengwenjz/nonmatching
real match sub_8027E30
2020-03-05 16:39:00 -05:00
jiangzhengwenjz 69aff34afd sub_8027E30 2020-03-06 05:31:27 +08:00
GriffinR 8e1e09562e Use array count for InitBgsFromTemplates 2020-03-03 22:46:48 -05:00
PikalaxALT 32520c80e9 Celebratory change to calcrom.pl 2020-03-03 16:29:57 -05:00
PikalaxALT 9259b378ef Merge pull request #991 from GriffinRichards/fix-eventticket
Clarify event ticket flag names
2020-03-03 16:15:27 -05:00
PikalaxALT 0eae6d0d07 Merge pull request #992 from GriffinRichards/fix-trainerbattle
Minor fixes in trainer_battle.inc
2020-03-03 15:56:28 -05:00
GriffinR b6c9ad505d Minor fixes in trainer_battle.inc 2020-03-03 14:47:14 -05:00
GriffinR 4637085390 Clarify event ticket flag names 2020-03-03 01:36:20 -05:00
Diegoisawesome 07da4225c3 Merge pull request #990 from GriffinRichards/fix-librtcdata
Delete asm siirtc data
2020-02-29 21:51:13 -08:00
GriffinR 53724e2b43 Delete asm siirtc data 2020-03-01 00:35:42 -05:00
PikalaxALT afe081cbba Match MultiplyInvertedPaletteRGBComponents and MultiplyPaletteRGBComponents 2020-02-27 14:00:36 -06:00
GriffinR 172cb7bae9 Sync Unown and qmark mon folders with pokefirered 2020-02-25 14:18:28 -06:00
GriffinR 51cd0ac081 Rename battle anim type files, remove unneeded ARG_RET_IDs 2020-02-25 12:54:08 -06:00
GriffinR dc3c2b72f2 Clean up move anim doc 2020-02-25 12:54:08 -06:00
GriffinR 68dc68907b Label move anim data 2020-02-25 12:54:08 -06:00
GriffinR efd53d080c Clean up battle anim C for doc 2020-02-25 12:54:08 -06:00
GriffinR afa1ae2209 Finish documenting move anim scripts 2020-02-25 12:54:08 -06:00
GriffinR e633b57593 Document remaining status/general/special anims 2020-02-25 12:54:08 -06:00
GriffinR 208057d7ae Document move anims S-Z 2020-02-25 12:54:08 -06:00
GriffinR 0d651c7c9e Some battle anim review changes 2020-02-25 12:54:08 -06:00
GriffinR 1ba12dc050 Document move anims I-S 2020-02-25 12:54:08 -06:00
GriffinR 501d0d3c18 Document move anims C-H 2020-02-25 12:54:08 -06:00
GriffinR faf0ba8662 Use macro for randomization with ISO value 2020-02-25 12:54:08 -06:00
GriffinR 6eb44dc507 Document move anims A-C 2020-02-25 12:54:08 -06:00
GriffinR b1d131ace2 Convert base_stats.h to UTF-8 2020-02-25 12:46:03 -06:00
Diegoisawesome a85587d8c2 Merge pull request #984 from Diegoisawesome/master
Make aif2pcm looping not dependent on order of MARK and INST chunks
2020-02-19 09:18:16 -08:00
Diegoisawesome f84ac6d633 Make aif2pcm looping not dependent on order of MARK and INST chunks 2020-02-19 08:51:01 -08:00
PikalaxALT da7e797236 Merge pull request #982 from jiangzhengwenjz/nonmatching
real match sub_802C838
2020-02-19 08:47:03 -05:00
Diegoisawesome cbb2088d15 Merge pull request #983 from Diegoisawesome/master
Fix aif2pcm Pascal string bug and follow AIFF loop point standard
2020-02-18 22:38:04 -08:00
Diegoisawesome 4dd4c4d077 Allow INST chunk loops without MARK chunk 2020-02-18 22:32:27 -08:00
Diegoisawesome 059e5467f7 Add safety check 2020-02-18 22:11:04 -08:00
Diegoisawesome 57af90158d Follow defined AIFF loop standard 2020-02-18 22:08:38 -08:00
Diegoisawesome 437cb7c452 Fix aif2pcm Pascal string bug, allow flexibility in marker names for loop 2020-02-18 20:59:08 -08:00
jiangzhengwenjz 097b847303 sub_802C838 2020-02-19 06:23:01 +08:00
GriffinR 3456578c0f Move berry crush data to src 2020-02-17 13:10:23 -06:00
GriffinR f6275cce57 Misc constant use in TV 2020-02-17 13:09:35 -06:00
GriffinR e7ff7fb032 Fix move relearner struct 2020-02-17 13:08:03 -06:00
Diegoisawesome bb22dde048 Merge pull request #980 from PikalaxALT/port_librfu_lman
Port librfu from pokefirered
2020-02-16 17:43:18 -08:00
PikalaxALT 867734a791 Fix alignment in AgbRfu_LinkManager.h 2020-02-16 15:32:10 -05:00
PikalaxALT a851a02f01 fix modern 2020-02-16 14:24:06 -05:00
PikalaxALT 91dd7f5cc3 Port librfu from firered 2020-02-16 13:49:36 -05:00
GriffinR ac1738e11d Move smokescreen data to src 2020-02-13 14:48:19 -06:00
GriffinR d11cd5d217 Move text input strings to src 2020-02-13 14:48:19 -06:00
huderlem 204c431993 Merge pull request #910 from GriffinRichards/fix-eventobj
Standardize Object Event naming
2020-02-12 18:34:19 -06:00
Marcus Huderle 6b966d20e5 Update spritesheet rules 2020-02-12 18:07:13 -06:00
Marcus Huderle 49421a41b2 Move field effects data and graphics into own directory, and cleanup naming for object events 2020-02-12 17:32:51 -06:00
GriffinR 956090b05f Merge branch 'master' of https://github.com/pret/pokeemerald into fix-eventobj 2020-02-12 13:05:57 -05:00
Diegoisawesome 66c6b7a38b Merge pull request #976 from GriffinRichards/fix-parens
Resolve missing parens errors
2020-02-11 21:54:23 -08:00
GriffinR eaf508ba5e Resolve missing parens errors 2020-02-12 00:44:09 -05:00
GriffinR 689acd3613 Move slot machine data to src 2020-02-09 14:11:50 -06:00
GriffinR 084bd66924 Document Trainer Card 2020-02-08 14:31:17 -06:00
GriffinR faeb974c46 Minor berry fix data clean up 2020-02-08 14:23:41 -06:00
GriffinR 6640c509c0 Remove unnecessary declaration 2020-02-08 14:22:53 -06:00
GriffinR 43ec11b92a Move berry powder data to src 2020-02-08 14:22:53 -06:00
GriffinR d1035f027e Move contest_link_80F57C4 data to src 2020-02-08 14:22:53 -06:00
GriffinR 85dc8a528c Move rotating tile puzzle data to src 2020-02-08 14:22:53 -06:00
Pokestia f92b03f266 Fix wrong variable name 2020-02-08 14:19:53 -06:00
GriffinR 86354f1d50 Document some pokenav and region map 2020-02-05 21:04:43 -05:00
GriffinR 27c4329e45 Use friendship event constants 2020-02-04 12:16:15 -06:00
GriffinR c859fe3606 Fix typo 2020-02-04 08:02:28 -06:00
GriffinR 8a96aa9e97 Name pokenav files 2020-02-04 08:02:28 -06:00
GriffinR be5d417236 Document some pokenav menu handlers 2020-02-04 08:02:28 -06:00
Sebastian Gabl 0cf84d13ef Use correct prefix 2020-02-04 07:42:04 -06:00
Sebastian Gabl 0bd9639478 Name Wally struct and use bag macros 2020-02-04 07:42:04 -06:00
PikalaxALT 39d70e364a Merge pull request #964 from PikalaxALT/combined_moves
sCombinedMoves
2020-02-01 13:10:03 -05:00
PikalaxALT 462acaa7dc sCombinedMoves 2020-02-01 12:07:40 -05:00
GriffinR 9c934c9664 Merge master into fix-eventobj, add explicit size to gObjectEventGraphicsInfoPointers 2020-01-26 12:23:08 -05:00
GriffinR 9a6c2c25d0 Add some capacity constants 2020-01-26 09:42:55 -06:00
GriffinR 7232bfecc2 Name null palettes 2020-01-26 09:40:35 -06:00
GriffinR a152900211 Combine animated door frames 2020-01-26 09:40:35 -06:00
GriffinR 25d7577d9d Label animated doors 2020-01-26 09:40:35 -06:00
Diegoisawesome 53eb1ecf2b Merge pull request #962 from GriffinRichards/bug-aiweather
Note AI weather bug
2020-01-22 20:42:18 -08:00
GriffinR 6f392632c2 Note AI weather bug 2020-01-22 18:05:42 -05:00
Sahith Nallapareddy 25df146054 using item constant 2020-01-20 07:51:18 -06:00
GriffinR 4c12ad00d2 Merge branch 'master' into fix-eventobj 2020-01-19 21:57:29 -05:00
GriffinR a40f054900 Move/rename gfx start/end vars 2020-01-18 08:49:34 -06:00
jiangzhengwenjz aa631825fc resolve data sections 2020-01-16 08:14:27 -06:00
jiangzhengwenjz 46b00b11d4 match all the functions 2020-01-16 08:14:27 -06:00
jiangzhengwenjz c2be2e8c69 sync documentation from firered 2020-01-16 08:14:27 -06:00
jiangzhengwenjz 8a5f292618 document symbols 2020-01-16 08:14:27 -06:00
GriffinR ea8b1011d3 Merge master into fix-eventobj 2020-01-15 16:11:20 -05:00
Sebastian Gabl 5fff2f2234 Use SHINY_ODDS macro where intended
The 3 locations where SHINY_ODDS was added generate mon sprites for
display in the dex, at game start and on starter choice.
The arguments are intended for otId but in this case they are set to the
same value as SHINY_ODDS to prevent the pictures created from using the
shiny palette.
2020-01-15 08:10:20 -06:00
huderlem 69833181d9 Merge pull request #803 from tustin2121/tustin2121-patch-5
Document cave transition code.
2020-01-13 20:43:49 -06:00
Marcus Huderle 755ae0facc Use empty braces for last null entry in sTransitionTypes array 2020-01-13 20:31:40 -06:00
Marcus Huderle 5a2d676e71 Merge remote-tracking branch 'upstream' into tustin2121-patch-5 2020-01-13 20:26:20 -06:00
GriffinR 22931846d6 Fix Colosseum name porymap issue 2020-01-13 20:20:48 -06:00
GriffinR e92cc7752b Merge branch 'master' of https://github.com/pret/pokeemerald into fix-eventobj 2020-01-13 20:41:57 -05:00
GriffinR 736f3bbbe0 Remove false positives from partial doc calcrom 2020-01-13 19:34:27 -06:00
huderlem 6d6c57f383 Merge pull request #953 from GriffinRichards/sync-script
Port some macro/script fixes from pokefirered
2020-01-13 19:33:47 -06:00
GriffinR 96720db083 Remove unnecessary removeitem arguments 2020-01-12 23:29:19 -05:00
GriffinR c19289596d Give/Take to Add/Remove for silent script macros 2020-01-12 23:24:52 -05:00
GriffinR 655910a16f Merge branch 'master' into fix-eventobj 2020-01-12 22:42:43 -05:00
huderlem fa5816915d Merge pull request #949 from GriffinRichards/doc-dome
Document Battle Dome and add facility party constants
2020-01-12 20:10:03 -06:00
GriffinR 43962fe141 Fix BuffeInGameTradeMonName typo 2020-01-12 19:45:04 -06:00
GriffinR 10220d3b76 Label TryRecordMixLinkup 2020-01-12 19:39:30 -06:00
GriffinR e736c2d2fd Document some easy chat specials 2020-01-12 19:39:30 -06:00
GriffinR c27a4778ee Standardize prebattle -> intro 2020-01-12 19:39:30 -06:00
GriffinR 6a470ddfda Some script clean up, document secret base secrets show 2020-01-12 19:39:30 -06:00
GriffinR e497fc64e3 if_undefeated macro to if_not_defeated 2020-01-12 20:20:02 -05:00
GriffinR 0284014e0e Add missing save status use 2020-01-12 18:42:41 -06:00
GriffinR 58e64b9524 Clean up some of save.c 2020-01-12 18:42:41 -06:00
GriffinR f2e7b1507e Port some macro/script fixes from pokefirered 2020-01-11 14:12:31 -05:00
PikalaxALT de49445a79 Merge pull request #952 from PikalaxALT/real_match_8072308
Match sub_8072308
2020-01-10 17:39:18 -05:00
PikalaxALT 98b2ab9a77 Match sub_8072308 2020-01-10 16:38:47 -05:00
GriffinR 635267ce32 Merge branch 'master' into fix-eventobj 2020-01-08 05:51:49 -05:00
GriffinR ef67f2d33b Merge master into ObjEvent rename and prune accidental inclusions 2020-01-08 05:43:06 -05:00
GriffinR e5df61e362 Merge branch 'master' into doc-dome 2020-01-08 01:15:36 -05:00
GriffinR 017fa294b5 Add battle tent mon/trainer constants 2020-01-08 01:07:53 -05:00
GriffinR fb5bea98ce More battle_dome.c doc 2020-01-07 22:30:37 -05:00
Slawter666 8b1595ebc3 Pokédex search menu documentation 2020-01-06 15:18:58 -06:00
GriffinR c85ca4b860 Standardize farfetchd spelling 2020-01-06 15:17:11 -06:00
GriffinR 379f7f5149 Add braces to trainer party moves 2020-01-06 15:16:49 -06:00
GriffinR bb692a03eb Add frontier mon constants 2020-01-03 23:20:11 -05:00
Marcus Huderle ef751c8d1b Fix formatting and remove unnecessary comments 2019-12-28 12:07:02 -06:00
huderlem 3b05398975 Merge pull request #945 from Fontbane/patch-5
Give rival and Maxie parties better names
2019-12-28 12:06:35 -06:00
GriffinR 3efc8199d4 More battle_dome.c documentation 2019-12-25 22:27:33 -08:00
Fontbane 31b4656324 Labels better 2019-12-25 22:39:06 -05:00
Fontbane 2e8c20d72f Update trainers.h 2019-12-25 20:48:40 -05:00
huderlem 8d64bc9df8 Merge pull request #944 from GriffinRichards/doc-itemuse
Document item_use.c
2019-12-25 11:59:07 -06:00
huderlem ee61726136 Merge pull request #936 from GriffinRichards/doc-tower
Document Battle Tower scripts
2019-12-25 11:39:20 -06:00
AJ Fontaine b80fa767ab Give rivals and Maxie battles better names
Name describes where the battle is and for rivals, which starter the player chose.
2019-12-23 10:42:06 -05:00
GriffinR 749965d56b Document item_use.c 2019-12-21 21:39:30 -05:00
GriffinR 68cdd7b1cb Merge master into ObjEvent rename 2019-12-21 05:19:27 -05:00
Diegoisawesome 026e1108b2 Merge pull request #935 from GriffinRichards/doc-warp
Document some warp/field screen effect
2019-12-20 23:44:56 -08:00
Diegoisawesome d42ea06dc5 Merge pull request #939 from GriffinRichards/fix-compare
Use constants in compare macro
2019-12-20 23:40:12 -08:00
Diegoisawesome e4e3d439dc Merge pull request #941 from GriffinRichards/fix-lastresult
Remove references to LASTRESULT
2019-12-20 23:38:56 -08:00
Diegoisawesome 4e10133545 Merge pull request #940 from Kurausukun/master
update instrument sample names
2019-12-20 23:38:30 -08:00
GriffinR ff2d8a9c4e Add frontier trainer constants 2019-12-20 21:14:05 -05:00
GriffinR 324a81ed5d Reword yesnobox comment 2019-12-20 18:53:58 -05:00
Diegoisawesome 773a599bbb Merge pull request #942 from jiangzhengwenjz/DrawTradeMenuPartyInfo
'real' match DrawTradeMenuPartyInfo
2019-12-20 15:49:14 -08:00
Diegoisawesome 929a093fc1 Merge pull request #943 from jiangzhengwenjz/CanSpinTradeMon
real match CanSpinTradeMon
2019-12-20 15:49:05 -08:00
jiangzhengwenjz 4d8ea3a2d9 CanSpinTradeMon 2019-12-21 06:18:20 +08:00
jiangzhengwenjz 681d929892 DrawTradeMenuPartyInfo 2019-12-21 06:09:59 +08:00
GriffinR 63c8cf97d1 Document Battle Dome scripts and some battle_dome.c 2019-12-20 16:53:33 -05:00
GriffinR 7628019952 Remove references to LASTRESULT 2019-12-20 08:51:58 -05:00
Kurausukun 3a7bb65077 update instrument sample names 2019-12-19 03:42:09 -05:00
GriffinR 9e08cfe55f Remove uses of compare_var_to 2019-12-18 19:22:39 -05:00
GriffinR d137a1a0c1 Use constants in compare macro 2019-12-18 19:12:09 -05:00
Diegoisawesome 3b240b2ad4 Merge pull request #938 from pret/ubuntu_bionic
Bump travis to bionic (Ubuntu 18.04 LTS)
2019-12-18 13:32:25 -08:00
GriffinR 949509aade Merge branch 'master' into fix-eventobj 2019-12-18 13:16:38 -05:00
PikalaxALT 5f1c7c9e93 Bump travis to bionic (Ubuntu 18.04 LTS) 2019-12-18 13:03:00 -05:00
GriffinR 23f952b34e Merge master into doc-tower 2019-12-17 21:17:46 -05:00
GriffinR ddfa0c6298 Document Battle Tower scripts 2019-12-17 20:56:13 -05:00
huderlem f8cef9a6a8 Merge pull request #932 from jiangzhengwenjz/berry_crush
berry crush
2019-12-17 19:35:00 -06:00
huderlem 45eefac5b9 Merge pull request #934 from GriffinRichards/constants-fade
Use fadescreen constants
2019-12-17 19:26:04 -06:00
GriffinR 4879c1eab2 Merge branch 'master' into constants-fade 2019-12-17 19:11:51 -05:00
huderlem edb5df1716 Merge pull request #933 from GriffinRichards/doc-tents
Document Battle Tent scripts
2019-12-17 18:09:49 -06:00
jiangzhengwenjz 420b4b3fea use STR_CONV_MODE_* constants 2019-12-18 06:42:53 +08:00
jiangzhengwenjz 5bec27aa34 nonmatch sub_8024604 2019-12-18 03:36:51 +08:00
jiangzhengwenjz 67690df65f sub_8023CAC 2019-12-17 23:12:01 +08:00
GriffinR d1cf9006fb Document some warp/field screen effect 2019-12-17 05:23:07 -05:00
jiangzhengwenjz 50c48d7ef6 sub_8023BC0 2019-12-17 14:49:57 +08:00
jiangzhengwenjz efa1ee1822 sub_8022250 2019-12-16 14:17:29 +08:00
jiangzhengwenjz 3f858c1c26 sub_8022F04 2019-12-16 14:17:29 +08:00
GriffinR db8a5c6c2b Merge branch 'master' into fix-eventobj 2019-12-15 11:47:27 -05:00
GriffinR 96ec5e1b84 Use fadescreen constants 2019-12-15 11:42:50 -05:00
huderlem fee36224ed Merge pull request #925 from GriffinRichards/doc-matchcall
Document some pokenav match call
2019-12-15 09:42:13 -06:00
GriffinR a04347816f Split PokenavMatchCallEntries from PokenavMonList 2019-12-15 10:25:47 -05:00
GriffinR 82f55f2381 Merge master into ObjEvent rename 2019-12-15 02:00:00 -05:00
GriffinR 97b5560bdb Document Battle Tent scripts 2019-12-15 01:47:01 -05:00
GriffinR 6967caefb2 Split finditem_std from giveitem_std 2019-12-14 08:41:46 -06:00
GriffinR 75b0c9d7a9 Document Battle Pyramid scripts 2019-12-14 08:38:26 -06:00
GriffinR aa72c0ada3 Document Battle Factory scripts 2019-12-14 08:32:32 -06:00
GriffinR ea9a2c848a Define start and ends for temp vars and daily/temp/special flags 2019-12-14 08:27:49 -06:00
GriffinR 09840efc64 Name last event_data funcs 2019-12-14 08:27:49 -06:00
GriffinR 1a672dac8d Use constant for daily flag offset 2019-12-14 08:27:49 -06:00
GriffinR 6556b556dd Merge branch 'master' into fix-eventobj 2019-12-11 01:09:06 -05:00
GriffinR 47b0d8a597 Merge branch 'master' into doc-matchcall 2019-12-10 20:43:27 -05:00
GriffinR 49f1a90534 Document Battle Pike scripts 2019-12-10 19:31:27 -06:00
GriffinR b7ab9cbf4c Update JP translation and fix typo 2019-12-10 19:29:23 -06:00
GriffinR ed1ff0ad77 Document misc strings and text colors 2019-12-10 19:29:23 -06:00
GriffinR fe16452999 Typo fix 2019-12-10 19:28:16 -06:00
GriffinR fcd8d37d62 Document Battle Palace scripts 2019-12-10 19:28:16 -06:00
GriffinR 8da7a94423 Merge branch 'master' into fix-eventobj 2019-12-10 17:41:08 -05:00
Diegoisawesome 49b56d0136 Merge pull request #929 from jiangzhengwenjz/nonmatching
fake match InitEventObjectStateFromTemplate
2019-12-10 14:32:57 -08:00
jiangzhengwenjz f34b8f564a InitEventObjectStateFromTemplate 2019-12-11 05:35:40 +08:00
GriffinR 77bf40d32b Fix modern build for #925 2019-12-08 16:57:09 -05:00
GriffinR 51179df017 Clean up match call doc 2019-12-08 15:49:36 -05:00
GriffinR 0086cd1efa More pokenav match call documentation 2019-12-08 15:25:21 -05:00
GriffinR b93101bbeb Merge master into ObjEvent rename 2019-12-06 21:37:33 -05:00
Slawter666 47ea65b96e Requested changes 2019-12-06 19:06:21 -06:00
Slawter666 9fc176f272 Document pokedex info page 2019-12-06 19:06:21 -06:00
GriffinR 05af6b467c Fix Subsprite formatting 2019-12-06 19:05:44 -06:00
GriffinR c26e8b8ddb More SPRITE macro usage 2019-12-06 19:05:44 -06:00
GriffinR 2756771958 More usage of ST_OAM constants and SPRITE macros 2019-12-06 19:05:44 -06:00
GriffinR c40879aa36 Use ST_OAM constants for OamData definitions 2019-12-06 19:05:44 -06:00
GriffinR 22fd579fd9 Add comment for ABNORMAL_WEATHER 2019-12-06 19:05:28 -06:00
GriffinR 7f22fc9879 Update old weather names in field_weather_effect 2019-12-06 19:05:28 -06:00
GriffinR 955bfe3f5c Add comment for original weather name 2019-12-06 19:05:28 -06:00
GriffinR efaea2a3ab Revert WEATHER_CLOUDY to WEATHER_SHADE 2019-12-06 19:05:28 -06:00
GriffinR a4191040c9 Sync weather names 2019-12-06 19:05:28 -06:00
GriffinR 1b30f0c973 Rename event_obj_lock to event_object_lock 2019-12-06 02:55:30 -05:00
GriffinR cc9b923dc2 More pokenav match call documentation 2019-12-06 02:35:08 -05:00
GriffinR c51e0f3bae Merge branch 'master' into fix-eventobj 2019-12-06 02:34:54 -05:00
GriffinR 7beddd16dd Document missed scripts/text 2019-12-05 21:20:55 -06:00
GriffinR 49c6ae1ac6 Add some macro comments 2019-12-05 21:11:17 -06:00
GriffinR 467a103bcc Set up Battle Tent macros 2019-12-05 21:11:17 -06:00
GriffinR fdae25eab2 Set up Battle Pyramid macros 2019-12-05 21:11:17 -06:00
GriffinR 9fcfbdbef5 Set up Battle Factory macros 2019-12-05 21:11:17 -06:00
GriffinR 41c1c9ca8a Set up Battle Pike macros 2019-12-05 21:11:17 -06:00
GriffinR 9b3d1cfab6 Set up Battle Dome and Tower macros 2019-12-05 21:11:17 -06:00
GriffinR be17c1602d Set up remaining facility script doc, use Palace macros 2019-12-05 21:11:17 -06:00
GriffinR 548af3c0f1 Document a bit of Match Call 2019-12-05 15:33:36 -05:00
Diegoisawesome 809811e722 Merge pull request #917 from GriffinRichards/fix-stringptr
Fix hard-coded string ptr
2019-11-28 23:53:26 -06:00
GriffinR df1fce705c Fix hard-coded string ptr 2019-11-29 00:10:55 -05:00
Diegoisawesome c14e2cdbe2 Merge pull request #916 from Fontbane/patch-3
Fix Hondrew Berry typo
2019-11-28 09:35:09 -08:00
AJ Fontaine 2d1a780dd8 Fix Hondrew Berry typo 2019-11-28 11:44:13 -05:00
GriffinR cb90f22c5e Merge master into ObjEvent rename 2019-11-27 12:51:10 -05:00
GriffinR 70d1f54ab9 Remove TODO comment for battle arena macros 2019-11-26 18:47:48 -06:00
GriffinR 8d870d94c9 Document Battle Arena scripts 2019-11-26 18:47:48 -06:00
GriffinR f559fa3fe2 Merge master into ObjEvent rename 2019-11-25 20:00:04 -05:00
PikalaxALT 6efa51f8ad Bump discord invite
New invite link points to landing channel
2019-11-25 18:38:13 -06:00
GriffinR 0db46e84bc Use macros for FRONTIER_DATA_6, fix offset comment 2019-11-25 18:37:48 -06:00
GriffinR cc81b5032b Split frontier macros and comment frontier_util.inc 2019-11-25 18:37:48 -06:00
GriffinR 63ee15fc28 Document Frontier Util 2019-11-25 18:37:48 -06:00
GriffinR 08a8dc46e3 Use macros for Trainer Hill 2019-11-25 18:37:48 -06:00
GriffinR 4dfa959fa2 Begin documenting Battle Pike and Frontier Util 2019-11-25 18:37:48 -06:00
GriffinR cfdde42b00 Name text speed delays 2019-11-25 09:16:05 -06:00
huderlem 9a81661075 Merge pull request #851 from Sewef/patch-3
battle_anim_effects_3
2019-11-24 12:02:54 -06:00
Sewef 07b79c3fc3 battle_anim_effects_3 (5) 2019-11-24 18:00:51 +01:00
huderlem bef6150b59 Merge pull request #909 from GriffinRichards/doc-apprentice
Document Apprentice
2019-11-23 09:27:02 -06:00
GriffinR f039e897ca Use APPRENTICE_COUNT for record_mixing mod 2019-11-23 10:11:05 -05:00
Sewef 1dfe34dee3 TriForce → TriAttack 2019-11-23 15:51:08 +01:00
Thomas Winwood e3f7f47321 Turn some magic numbers into named constants 2019-11-23 07:53:26 -06:00
GriffinR 2bf1e0600e Consolidate apprentice_buff macros 2019-11-23 08:09:25 -05:00
Sewef 4f590e8f61 battle_anim_effects_3 (4) 2019-11-23 11:57:39 +01:00
GriffinR 4c52cf9ed1 Fix event constant file names 2019-11-21 14:03:35 -05:00
GriffinR 86c08330c4 Fix Event Object include guards 2019-11-21 14:03:11 -05:00
GriffinR 5822dfca8d Rename FIELD_OBJ_EVENT to OBJECT_EVENT_MOVEMENT 2019-11-21 10:47:24 -05:00
GriffinR 8910739d8c Rename mapObect to objectEvent 2019-11-21 01:40:38 -05:00
GriffinR 570881b119 Rename event_object directories 2019-11-21 00:44:55 -05:00
GriffinR 7034f59c14 Rename EventObj to ObjEvent 2019-11-21 00:14:40 -05:00
GriffinR 98b81722e7 Rename field_objet_palettes 2019-11-20 23:54:22 -05:00
GriffinR 82cb741d8b Standardize EVENT_OBJECT to OBJECT_EVENT 2019-11-20 23:12:51 -05:00
GriffinR ec3e86f1d2 Standardize Event Object to Object Event 2019-11-20 22:55:44 -05:00
GriffinR 81507fc8b7 Move Apprentice data 2019-11-20 19:04:25 -05:00
GriffinR b2eb49888d Clean up Apprentice doc 2019-11-20 19:00:08 -05:00
GriffinR a05006421b Document Apprentice 2019-11-20 17:36:52 -05:00
GriffinR 215bb31d67 Clean up Trainer Fan Club doc 2019-11-20 09:08:24 -06:00
GriffinR 5c5c1836bb Document Trainer Fan Club 2019-11-20 09:08:24 -06:00
Slawter666 c455fcfa59 Pokedex documentation 2019-11-20 09:01:50 -06:00
GriffinR 4e6a69c297 WIP Document Apprentice 2019-11-19 11:36:38 -05:00
GriffinR a486c8affd Begin documenting Apprentice, merge with master 2019-11-18 12:47:10 -05:00
GriffinR 5393b42f7c Remove SpriteCB_Null name 2019-11-17 08:16:28 -06:00
GriffinR f6ab6934ae Align battle tower func spacing 2019-11-17 08:16:28 -06:00
GriffinR 6ac7efb54f Document Scotts House and begin frontier macros 2019-11-17 08:16:28 -06:00
GriffinR f7e17ca985 Document Ranking Hall scripts 2019-11-17 08:16:28 -06:00
GriffinR d6e681066b Document Battle Frontier outside scripts 2019-11-17 08:16:28 -06:00
GriffinR 0dd73a03de Update comment for CheckFinalTime 2019-11-16 13:02:35 -06:00
GriffinR b96fad074b Rename neverRead fields 2019-11-16 13:02:35 -06:00
GriffinR 3bbdee61b8 Clean up Trainer Hill doc 2019-11-16 13:02:35 -06:00
GriffinR 5e01871f8b Document Trainer Hill 2019-11-16 13:02:35 -06:00
GriffinR 2c3726a328 Document contest strings 2019-11-16 12:50:01 -06:00
GriffinR 0513e05c38 Document Frontier Reception Gate 2019-11-16 12:00:35 -06:00
GriffinR 248b85c3cb Document Frontier Exchange Corner scripts 2019-11-16 12:00:35 -06:00
GriffinR dadaba3075 Fix bet amount typo 2019-11-16 11:37:34 -06:00
GriffinR 57a66bb22d Document Battle Frontier lounges 2019-11-16 11:37:34 -06:00
huderlem 0a43f2ce53 Merge pull request #899 from GriffinRichards/doc-scriptclean
Document interview and TV scripts, and misc script clean up
2019-11-16 11:34:47 -06:00
GriffinR fc3783b739 WIP Document apprentice 2019-11-16 12:28:49 -05:00
GriffinR eb38922e42 Fix mislabeled SS Tidal movements 2019-11-14 18:07:56 -06:00
GriffinR 0f53aeb19b Document SS Tidal scripts 2019-11-14 18:07:56 -06:00
GriffinR ba65719090 Typo fix 2019-11-14 17:51:02 -06:00
GriffinR 00f22b6400 Document remaining routes (104, 119-123) 2019-11-14 17:51:02 -06:00
GriffinR 525ec2025d Document Routes 111-118 2019-11-14 17:41:01 -06:00
GriffinR 0ba591d26f Document ocean routes 2019-11-14 17:29:46 -06:00
GriffinR ff7e11c0b0 Merge branch 'master' into doc-scriptclean 2019-11-13 19:25:41 -05:00
GriffinR ef8370566f Document Contest scripts 2019-11-13 18:20:55 -06:00
GriffinR af83b41dd1 Document Contest Hall berry blenders and misc 2019-11-13 18:20:55 -06:00
GriffinR c0ae1cbc1c Document Lilycove scripts 2019-11-13 18:20:55 -06:00
PikalaxALT bab1458cb4 Merge pull request #898 from DizzyEggg/imgp
Match ConvertImageProcessingToGBA
2019-11-12 15:26:25 -05:00
GriffinR 7455bd9b9a Document interview and TV scripts, and misc script clean up 2019-11-12 14:20:05 -05:00
DizzyEggg e82fc06e08 Match ConvertImageProcessingToGBA 2019-11-12 17:25:02 +01:00
Marcus Huderle 8e65f0188f Rename contest_painting_effects to image_processing_effects 2019-11-10 16:37:26 -06:00
Marcus Huderle 1ed3af66eb Document contest painting image processing effects 2019-11-10 16:37:26 -06:00
GriffinR 6c863f6724 Document Sootopolis scripts 2019-11-10 16:37:14 -06:00
GriffinR a3ee92a4e7 Document some frontier util funcs 2019-11-10 16:37:14 -06:00
GriffinR 5ac8b126e9 Document Mt Pyre scripts 2019-11-09 12:32:13 -06:00
GriffinR e4d65addf4 Document Mossdeep scripts 2019-11-09 10:42:52 -06:00
huderlem ed76620d28 Merge pull request #880 from GriffinRichards/doc-trickhouse
Document Trick House scripts
2019-11-09 08:48:49 -06:00
GriffinR ae1767fe46 Document Mystery Event Club script 2019-11-09 08:41:43 -06:00
GriffinR 06bb4ba402 Document Secret Power TM script 2019-11-09 08:41:43 -06:00
GriffinR 8702972067 Document Sky Pillar outside 2019-11-09 08:41:43 -06:00
Thomas Winwood a727c16012 Use descriptive constant for ScriptGiveMon call 2019-11-09 08:37:45 -06:00
GriffinR a38bff8c17 Document Slateport scripts 2019-11-09 08:37:06 -06:00
GriffinR 1174a20a17 Document Fallarbor and Verdanturf scripts 2019-11-09 08:37:06 -06:00
huderlem 906a1ec4ab Merge pull request #883 from GriffinRichards/fix-colossname
Fix Battle Colosseum names
2019-11-08 17:24:05 -06:00
huderlem b38bc9a3a2 Merge pull request #885 from GriffinRichards/doc-littleroot
Document Littleroot scripts
2019-11-08 17:23:11 -06:00
GriffinR 9140594b23 Merge branch 'master' into doc-littleroot 2019-11-08 03:07:50 -05:00
GriffinR e19b9c9d46 Resolve Littleroot merge conflict 2019-11-08 03:07:19 -05:00
GriffinR bef24a45f0 Document Littleroot scripts 2019-11-08 02:47:55 -05:00
huderlem 030784dece Merge pull request #882 from GriffinRichards/doc-mauville
Document Mauville and New Mauville scripts
2019-11-07 20:22:56 -06:00
huderlem 1ceee6ef70 Merge pull request #884 from GriffinRichards/doc-halloffame
Document a few towns/cities
2019-11-07 19:55:19 -06:00
huderlem 662a9915cf Merge pull request #881 from GriffinRichards/doc-caves
Document cave scripts
2019-11-07 18:29:48 -06:00
Marcus Huderle 01e6fb6dd0 Document some battle_bg-related things 2019-11-07 18:24:04 -06:00
GriffinR 4334e31a7e Fix sailing typo 2019-11-07 16:46:56 -05:00
GriffinR 5e4dd022a6 Document Dewford scripts 2019-11-07 16:36:48 -05:00
GriffinR 5d35662c4c Document Pacifidlog scripts 2019-11-07 15:41:42 -05:00
GriffinR de933000e3 Document Lavaridge scripts 2019-11-07 15:21:32 -05:00
GriffinR 979ece7d56 Document Fortree scripts 2019-11-07 14:49:52 -05:00
GriffinR 03a7995570 Move hall of fame script 2019-11-07 13:28:33 -05:00
GriffinR bae4a586d8 Document Hall of Fame scripts 2019-11-07 13:26:53 -05:00
GriffinR 35ed8de51b Fix Battle Colosseum names 2019-11-07 12:37:11 -05:00
GriffinR 09afa7992d Document Shoal Cave 2019-11-07 12:17:28 -05:00
GriffinR 702ef745d9 Add comments to hidemoneybox macro 2019-11-07 11:07:49 -05:00
GriffinR d5685db19a Fold nops into hidemoneybox 2019-11-07 10:37:15 -05:00
GriffinR 0b5c2c2721 Document New Mauville scripts 2019-11-07 10:32:21 -05:00
GriffinR c132989679 Document Mauville scripts 2019-11-07 10:18:56 -05:00
GriffinR 43b7fd741a Document Game Corner scripts 2019-11-07 09:41:59 -05:00
GriffinR 3a00b66407 Document cave scripts 2019-11-07 07:57:51 -05:00
GriffinR 2b944fd721 Merge branch 'master' into doc-trickhouse 2019-11-06 19:49:14 -05:00
GriffinR 25d026aded Document Trick House scripts 2019-11-06 19:41:19 -05:00
GriffinR 1475c4d8da Document other cable car station 2019-11-06 17:01:23 -06:00
GriffinR fbc3eee1f2 Document Fossil Maniac and Berry Master route houses 2019-11-06 17:01:23 -06:00
GriffinR 7d5d12877e Document cycling, cable car, and tunneler route houses 2019-11-06 17:01:23 -06:00
GriffinR d0198088d9 Document Lanettes, Winstrates, Old Ladys, and Wingull houses 2019-11-06 17:01:23 -06:00
GriffinR 903b8060a7 Document Glass Workshop 2019-11-06 17:01:23 -06:00
GriffinR dba94e3971 Update fldeff sparkle macro 2019-11-06 16:41:56 -06:00
GriffinR 6730df2321 Document Abandoned Ship scripts 2019-11-06 16:41:56 -06:00
GriffinR 37bd93ec6c Rename mystery event msg scripts 2019-11-06 16:38:02 -06:00
GriffinR e7f6459a89 Split mystery event msg 2019-11-06 16:38:02 -06:00
GriffinR 58dcd6d99d Clean up mystery event msg 2019-11-06 16:38:02 -06:00
GriffinR 481c09fcad Clean up Rustboro script doc 2019-11-05 16:43:57 -06:00
GriffinR d9da932dad Document Rustboro scripts 2019-11-05 16:43:57 -06:00
GriffinR 1d421f2f71 Document Devon Corp scripts 2019-11-05 16:43:57 -06:00
GriffinR 5ef300c10b Document dept store 2019-11-04 16:49:06 -06:00
GriffinR f056328e37 Align trainer constant values 2019-11-04 16:45:00 -06:00
GriffinR 5c627518b3 Rename Grunts to use location-specific names 2019-11-04 16:45:00 -06:00
GriffinR 290df23130 Document remaining poke marts 2019-11-04 16:42:28 -06:00
GriffinR 878eb523d7 Document remainder of poke centers 2019-11-04 16:42:28 -06:00
huderlem a4b4ecd470 Merge pull request #787 from GriffinRichards/rename-tablecmds
Rename table cmds
2019-11-04 16:31:27 -06:00
GriffinR 347d1e20b6 Use constants in io_reg.s 2019-11-04 16:26:09 -06:00
tustin2121 d4582cb874 Requested change from pkmn to mon 2019-11-04 16:25:46 -06:00
Tustin2121 2fe9d7a81f Document showing pokemon in credits 2019-11-04 16:25:46 -06:00
GriffinR 033c6cea3b Use YES/NO constants for MSGBOX_YESNO 2019-11-02 16:36:43 -05:00
GriffinR a90b828bb8 Use YES/NO constants 2019-11-02 16:32:58 -05:00
GriffinR e4fe21786e Document misc special houses 2019-11-02 16:32:58 -05:00
GriffinR 390d594e21 Fix indentation 2019-11-01 17:22:45 -05:00
GriffinR 5f1fcdd023 Document aqua/magma area scripts 2019-11-01 17:22:45 -05:00
GriffinR dd01942c4f Document aqua/magma hideout scripts 2019-11-01 17:22:45 -05:00
huderlem 6eaac9ea9d Merge pull request #863 from GriffinRichards/doc-partymenu
Document party menu
2019-10-31 21:36:56 -05:00
tustin2121 218fcd99b3 Itemfinder code should use flag constant 2019-10-31 21:34:03 -05:00
GriffinR 27169f634b Review changes for party menu doc 2019-10-31 21:33:01 -04:00
GriffinR 8055548fa4 Document legendary scripts 2019-10-31 18:28:34 -05:00
GriffinR b1ea2592c3 Merge branch 'master' into doc-partymenu 2019-10-31 14:22:51 -04:00
GriffinR b33db9b96c Move party menu data 2019-10-31 14:16:43 -04:00
GriffinR aec7eb6089 Clean up party_menu doc 2019-10-31 14:11:55 -04:00
GriffinR e01ec84837 Document party_menu second pass 2019-10-31 03:25:56 -04:00
GriffinR 67ce8c9cc2 Clean up players_house doc 2019-10-30 17:51:35 -05:00
GriffinR 93e2851fc1 Document players_house.inc and Littleroot house scripts 2019-10-30 17:51:35 -05:00
GriffinR ff0109e0fd Define unused hidden item flags 2019-10-27 11:01:40 -05:00
GriffinR c31aafed57 Name unknown flag from R/S 2019-10-27 10:23:06 -05:00
Marcus Huderle aad430c049 Document route 110 scripts 2019-10-26 12:55:53 -05:00
Marcus Huderle 8b75d977e3 Document seashore house scripts 2019-10-26 12:55:53 -05:00
Marcus Huderle 13f9760187 Document route 109 scripts 2019-10-26 12:55:53 -05:00
GriffinR 5fd44d1e74 Rename some STAT_CHANGE macros 2019-10-26 11:53:00 -04:00
GriffinR f35a3f73b2 Document gabby_and_ty.inc 2019-10-26 09:32:04 -05:00
GriffinR 6db014cc32 Document party_menu first pass 2019-10-25 15:41:06 -04:00
Marcus Huderle 83d0a87d0c Document several route scripts 2019-10-24 20:14:11 -05:00
GriffinR 7d24f2d62c Document record_mix.inc and clean surf.inc 2019-10-22 17:57:28 -05:00
GriffinR ca2c6fa9b1 Document pc_transfer.inc 2019-10-22 17:57:28 -05:00
GriffinR 9a86769847 Document obtain_item.inc 2019-10-22 17:57:28 -05:00
GriffinR c0aaa01424 Document flash.inc 2019-10-22 17:57:28 -05:00
Marcus Huderle 4fd848e689 Document early route scripts 2019-10-22 16:47:19 -05:00
GriffinR a4d6ce417d Fix resetintimidatetracebits typo 2019-10-22 15:54:11 -05:00
GriffinR fa4940ee44 Clean up lilycove_lady.inc doc 2019-10-21 20:19:37 -05:00
GriffinR 6923f0e369 Document lilycove_lady.inc 2019-10-21 20:19:37 -05:00
GriffinR a7ffa96578 Rename mart_attendant to mart_clerk 2019-10-21 17:22:19 -05:00
GriffinR c70162086b Split some smaller files from event_scripts 2019-10-21 17:22:19 -05:00
GriffinR 5b845bb0a0 Review changes for #852 2019-10-21 17:21:53 -05:00
GriffinR 973e6f9667 Document mauville_man.inc 2019-10-21 17:21:53 -05:00
Marcus Huderle 2f36bd62d7 Document Oldale scripts 2019-10-21 16:44:20 -05:00
Sewef 64cf2d70fa battle_anim_effects_3 (3) 2019-10-21 18:36:45 +02:00
Sewef b24e7a5933 battle_anim_effects_3 (2) 2019-10-21 18:29:59 +02:00
Sewef c8e0e89f8e battle_anim_effects_3 2019-10-21 18:19:07 +02:00
Sewef afdc8da297 Update battle_anim_scripts.s 2019-10-21 18:06:36 +02:00
Sewef dcefd3c593 Update battle_anim_effects_3.c 2019-10-21 18:01:18 +02:00
Marcus Huderle 04ea8eea5a Document rest of Petalburg scripts 2019-10-20 12:36:35 -05:00
Sewef 41e952a668 battle_anims_effects_2
Fixes
2019-10-20 12:29:08 -05:00
Sewef e9675bdd24 battle_anims_effects_2 2019-10-20 12:29:08 -05:00
Sewef def7a4a18a more battle_anims_effects_2 2019-10-20 12:29:08 -05:00
Sewef 8531a17e10 battle_anims_effects_2 2019-10-20 12:29:08 -05:00
Sewef e90c708383 battle_anims_effects_2 2019-10-20 12:29:08 -05:00
Sewef 3b0d9e134f battle_anims_effects_2 2019-10-20 12:29:08 -05:00
Sewef 49ad6da8fb starting battle_anim_effects_2 2019-10-20 12:29:08 -05:00
GriffinR ac399ade4a Document safari zone scripts 2019-10-20 09:53:21 -05:00
GriffinR 0db188b487 Clean up berry_tree.inc and misc adjacent documentation 2019-10-20 09:46:46 -05:00
Marcus Huderle cefc31dd1e Document Petalburg City scripts 2019-10-19 15:05:15 -05:00
huderlem cb9f89925f Merge pull request #841 from GriffinRichards/document-gyms2
Document Petalburg, Fortree, Mossdeep, and Sootopolis Gyms
2019-10-19 08:05:11 -05:00
huderlem 8b1df92aca Merge pull request #840 from Sewef/patch-2
battle_anim_affects_1.c labels
2019-10-19 07:41:06 -05:00
Kermalis 7323b5b848 MIDI Parity with Fire Red 2019-10-19 07:37:40 -05:00
PikalaxALT 00fc8ec98a Merge pull request #842 from PikalaxALT/song_vol
Fix volume in mus_me_b_big.mid
2019-10-17 11:47:20 -04:00
PikalaxALT dedff8ba06 Fix volume in mus_me_b_big.mid 2019-10-17 11:40:13 -04:00
Sewef 19fb0fb220 Merge branch 'master' into patch-2 2019-10-16 19:35:33 +02:00
Sewef ed1f5a7455 Conflits 3/2
Nice one, git
2019-10-16 19:32:02 +02:00
Sewef c280d0e00e Another fix, Conflicts 2/2 2019-10-16 19:26:08 +02:00
Sewef e7d36a76e1 Forgotten fix, conflits 1/2 2019-10-16 19:21:58 +02:00
Sewef 9dcfc5ba73 Fix labels 2019-10-16 19:10:39 +02:00
GriffinR b4a9298205 Merge branch 'master' into document-gyms2 2019-10-16 04:22:34 -04:00
GriffinR 20fa13616f Condense fallthrough script 2019-10-16 04:14:51 -04:00
GriffinR 0f15264595 Document rotating_tile_puzzle 2019-10-16 04:09:30 -04:00
GriffinR 60a592a2c3 Condense fallthrough scripts 2019-10-15 17:09:47 -05:00
GriffinR 348bb002a8 Document Gym scripts first half 2019-10-15 17:09:47 -05:00
huderlem a0b3f5d9e3 Merge pull request #833 from GriffinRichards/doc-inc2
Document .incs split from event_scripts Round 2
2019-10-15 16:30:27 -05:00
GriffinR 90a05cf824 Finish Mossdeep Gym doc, beging documenting rotating tile puzzle 2019-10-15 05:06:13 -04:00
GriffinR 1b41b8b7ca Document Petalburg, Fortree, Sootopolis, and some of Mossdeep Gyms 2019-10-15 05:05:57 -04:00
Sewef 07ac727c6d Document Oamdata in battle_anim (#838) 2019-10-14 18:26:47 -05:00
GriffinR 928cdf2531 Merge branch 'master' into doc-inc2 2019-10-14 19:25:10 -04:00
huderlem 26962b7725 Merge pull request #830 from GriffinRichards/doc-inc
Document some .incs split from event_scripts
2019-10-14 18:22:35 -05:00
garak 9b9b14ad0a remove empty groups from wild encounter fields json objects 2019-10-14 18:12:03 -05:00
garak 4a79081197 replace inja license text 2019-10-14 18:12:03 -05:00
garak 92d28c5daf add MIN_LEVEL define to pokemon constants 2019-10-14 18:12:03 -05:00
garak c73e20b6af add subgroups for fishing rods to encounter json 2019-10-14 18:12:03 -05:00
garak 74477471a6 update inja 2019-10-14 18:12:03 -05:00
Sewef 8dacb53029 Update battle_anim_effects_1.c 2019-10-14 23:31:29 +02:00
Sewef 975c0ce1d0 Label battle_anim_effects_1 2019-10-14 23:27:12 +02:00
Sewef 65b82d67c9 Revert "More battle_anim_effects_1 labels"
This reverts commit 00331a644a.
2019-10-14 23:22:44 +02:00
Sewef 5a366e8d72 More battle_anim_effects_1 labels 2019-10-14 22:51:45 +02:00
Sewef 00331a644a More battle_anim_effects_1 labels 2019-10-14 22:42:15 +02:00
Sewef 299166edee Document subs & AnimTask in battle_anim_effects_1 2019-10-14 22:08:03 +02:00
Sewef 46f2cc5449 battle_anim_effects_1 main callbacks 2019-10-14 21:17:38 +02:00
Sewef 63b5be9259 Ended battle_anims_effects_1 SpriteTemplates 2019-10-14 21:05:40 +02:00
Sewef a49756a8fe Update battle_anim_scripts.s 2019-10-13 22:37:39 +02:00
Sewef ddd4639b82 Started labelling battle_anim_effects_1 2019-10-13 22:35:31 +02:00
GriffinR 30ef494163 Merge branch 'master' into doc-inc2 2019-10-13 15:44:07 -04:00
GriffinR 60a9dc6a0e Fix map script names 2019-10-13 15:40:15 -04:00
GriffinR bb23128b77 Merge conflict resolves into review changes 2019-10-13 15:33:19 -04:00
GriffinR 144c5888a1 Fix map script names 2019-10-13 15:29:53 -04:00
GriffinR a081124a20 Merge branch 'master' into doc-inc 2019-10-13 15:26:44 -04:00
Marcus Huderle e47b3efdfe Unify showmonpic and hidemonpic script command names with their function names 2019-10-12 18:58:54 -05:00
huderlem 0278209376 Merge pull request #834 from GriffinRichards/document-trade
Document trade.c and some Union Room trading board
2019-10-12 15:47:17 -05:00
Marcus Huderle 8df4982b3f Merge remote-tracking branch 'upstream/master' into document-trade 2019-10-12 15:39:17 -05:00
GriffinR 4e2be7ff5e Review changes for #835 2019-10-12 15:14:57 -05:00
GriffinR 714b122da6 Fix indentation 2019-10-12 15:14:57 -05:00
GriffinR 1c99f5b7c9 Split text from cable_club.inc 2019-10-12 15:14:57 -05:00
GriffinR 1b7607bd91 Document cable_club.inc 2019-10-12 15:14:57 -05:00
jiangzhengwenjz 9b81fe1b62 sub_810E520 2019-10-11 20:11:00 -05:00
GriffinR 3514f9dd6b Clean up trade.c doc 2019-10-10 18:46:42 -04:00
GriffinR 07fa82c911 Last non-anim trade.c doc 2019-10-10 03:50:51 -04:00
GriffinR 32aa87c7e1 More trade doc, fix switch indentations 2019-10-09 14:21:29 -04:00
GriffinR 2c062dc764 More trade documentation 2019-10-09 05:56:44 -04:00
GriffinR d1bcd60b58 Document more trade.c 2019-10-08 20:25:46 -04:00
GriffinR 70d1d8956e Document elite_four.inc and the E4 map scripts 2019-10-08 02:25:31 -04:00
GriffinR 2368f57669 Merge branch 'master' into doc-inc 2019-10-07 17:37:35 -04:00
GriffinR d8f5e73bb7 Merge branch 'master' into doc-inc 2019-10-07 17:37:04 -04:00
GriffinR bcf74df27f Use B_OUTCOME constants for GetBattleOutcome 2019-10-07 16:36:47 -05:00
GriffinR 7ba11b7a1b Use VAR_FACING constants 2019-10-07 16:36:02 -05:00
GriffinR 628301d6d5 Document unusual_weather.inc 2019-10-07 11:29:14 -04:00
GriffinR 9553ec1d28 Document mevent.inc 2019-10-07 10:34:12 -04:00
GriffinR 0df304d629 Document roulette.inc 2019-10-07 02:00:16 -04:00
GriffinR 81ee8f07ef Document pc.inc and prof_birch.inc 2019-10-07 01:13:34 -04:00
GriffinR c4deb4db96 Document field_poison 2019-10-06 20:04:30 -04:00
GriffinR f179ab95c0 Document move tutors 2019-10-06 17:30:17 -04:00
Marcus Huderle 4494b5d4cb Document collision types 2019-10-06 15:48:26 -05:00
huderlem 00629ad94e Merge pull request #828 from huderlem/reflection_movement
Document hide/show reflection movement actions
2019-10-06 15:14:14 -05:00
GriffinR 02070eaf73 Document kecleon 2019-10-06 16:06:34 -04:00
Marcus Huderle 799edaf3e6 Document hide/show reflection movement actions 2019-10-06 14:17:34 -05:00
GriffinR 748a1dbdd4 Document cave hole 2019-10-06 14:16:37 -04:00
GriffinR d914c1d659 Document common movements 2019-10-06 13:55:30 -04:00
huderlem c0b0602516 Merge pull request #819 from GriffinRichards/document-eventscripts
Split some files from event_scripts
2019-10-05 09:59:43 -05:00
GriffinR 749247b910 Convert 4 spaces in .inc to tab 2019-10-05 10:52:48 -04:00
GriffinR 66a68159b1 Continue trade doc 2019-10-05 10:41:37 -04:00
GriffinR a6847ca1d9 Note overflow in ModifyStatByNature 2019-10-05 09:24:57 -05:00
GriffinR dadb1cb9f1 More trade/union room doc, incidental party_menu doc 2019-10-04 23:31:25 -04:00
GriffinR 6b556900f8 Move union room data, more trade doc 2019-10-04 17:24:03 -04:00
GriffinR 2b0c944286 Document more of trade 2019-10-04 07:42:45 -04:00
GriffinR 4a7f061885 Document some of trade 2019-10-03 19:39:37 -04:00
GriffinR c3c8fb40cf Move trade data, some trade.c clean up documentation 2019-10-03 01:16:22 -04:00
PikalaxALT 48e54ae387 Merge pull request #825 from GriffinRichards/ignore-lib
Update .gitignore
2019-10-02 13:43:59 -04:00
GriffinR f4c593cb4d Update .gitignore 2019-10-02 13:37:06 -04:00
GriffinR 2ac3ad3e60 Review changes for #819 and merge 2019-10-02 12:40:00 -04:00
PikalaxALT cb528cb543 Merge pull request #821 from GriffinRichards/document-textinput
Document text input strings
2019-10-02 09:49:26 -04:00
PikalaxALT 0d13a85855 Merge pull request #822 from GriffinRichards/document-fieldspecials
Document a few field specials
2019-10-02 09:22:09 -04:00
PikalaxALT 9317d114a9 Merge pull request #823 from GriffinRichards/constants-strconv
Use STR_CONV constants
2019-10-02 09:18:48 -04:00
GriffinR c5cb45991b Document PrintItemXAmount 2019-09-30 15:53:24 -04:00
GriffinR 5325835ee7 Use STR_CONV constants 2019-09-30 15:43:44 -04:00
GriffinR 9aed405851 Document a few field specials 2019-09-30 01:42:52 -04:00
GriffinR a923ae78c3 Add missing page num usage 2019-09-30 00:13:08 -04:00
GriffinR 53bc1bd0d1 Document text input strings 2019-09-30 00:09:29 -04:00
Tustin2121 5007d279fe Review fixes 2019-09-29 16:33:13 -04:00
GriffinR 67152b9242 Split off more files from event_scripts 2019-09-28 02:37:01 -04:00
GriffinR 75869a880c Move running shoes script 2019-09-27 15:27:08 -04:00
GriffinR 12cc7ef34c Split more files from event_scripts 2019-09-27 14:20:51 -04:00
GriffinR 73b96fe145 Rename CONTACT macros to ON_DAMAGE 2019-09-27 12:27:36 -04:00
GriffinR 86f1f9066a Split some files from event_scripts 2019-09-27 12:22:58 -04:00
PikalaxALT 301822603e Merge pull request #802 from PikalaxALT/gflib
Gflib and libagbsyscall
2019-09-27 11:34:55 -04:00
PikalaxALT 3d9bad5558 Merge pull request #778 from GriffinRichards/document-eventscripts
Document some of event_scripts.s
2019-09-27 10:18:27 -04:00
GriffinR 0c1f1281da Review changes for #778 2019-09-27 10:08:47 -04:00
PikalaxALT ab139bf254 Clean up leftover Makefile clean instruction 2019-09-27 09:31:31 -04:00
PikalaxALT 7b8b5b5c8c Merge branch 'master' into gflib 2019-09-27 09:11:22 -04:00
GriffinR 3bf8129396 Clean up new Cmd macro names 2019-09-27 02:54:28 -04:00
GriffinR 1491b1855b Merge branch 'master' into document-eventscripts 2019-09-26 15:03:22 -04:00
GriffinR 1016b23918 Merge branch 'master' into rename-tablecmds 2019-09-26 15:02:38 -04:00
Ariel Antonitis 208e1c9689 Removed 'Summary_' prefix. 2019-09-25 20:44:17 -05:00
Ariel Antonitis ea638b82fa Fixed typo. 2019-09-25 20:44:17 -05:00
Ariel Antonitis 4b7f096bbd Relabeled unknown functions in pokemon_summary_screen.c 2019-09-25 20:44:17 -05:00
GriffinR 37373c1b21 Review changes for #817 2019-09-25 18:46:25 -05:00
GriffinR 4e98a0cc4b Remove Egg parent constants 2019-09-25 18:46:25 -05:00
GriffinR 801ca37f04 Document day_care.inc and related 2019-09-25 18:46:25 -05:00
Marcus Huderle 1ae352bcb6 Cleanup whitespace 2019-09-25 16:45:57 -05:00
jiangzhengwenjz 405384de89 Phase2_Ripple_Func2 2019-09-25 16:45:57 -05:00
jiangzhengwenjz 9aaf498471 CopyTileMapEntry 2019-09-25 16:37:42 -05:00
huderlem 886f043025 Merge pull request #816 from jiangzhengwenjz/ptch-3
get rid of goto in battle_script_commands
2019-09-25 16:31:53 -05:00
GriffinR de6e1e9ecf Use multi constants from merge 2019-09-23 00:36:49 -04:00
GriffinR a180d2af49 Merge branch 'master' into document-eventscripts 2019-09-22 12:18:48 -04:00
huderlem 9d4fc9234b Merge pull request #812 from GriffinRichards/document-scriptmenu
Document script_menu and LilycoveCity_Harbor
2019-09-22 09:09:23 -05:00
GriffinR 8e4e344c7d Merge branch 'master' into document-scriptmenu 2019-09-22 09:45:44 -04:00
GriffinR 1ffa890d27 Consolidate remaining pokemon constants 2019-09-22 08:14:22 -05:00
GriffinR 80f58f7b24 Document PLAYER_HAS constants, consolidate poke constants 2019-09-22 08:14:22 -05:00
GriffinR b6dffcf8b7 Clean up script_menu documentation 2019-09-19 19:23:24 -04:00
GriffinR 9fb24bbbce Remainder of script_menu documentation 2019-09-19 18:31:09 -04:00
GriffinR 275695c189 Document more script_menu, lilycove harbor 2019-09-19 17:27:34 -04:00
GriffinR de0084ef7a Document multichoice ids 2019-09-19 00:56:51 -04:00
GriffinR b596322ca2 Initial script_menu documentation 2019-09-18 18:57:25 -04:00
GriffinR 58b8d7c297 Merge branch 'master' into document-eventscripts 2019-09-17 18:01:20 -04:00
GriffinR 459fca289c Review changes for #806 2019-09-17 16:50:42 -05:00
GriffinR 5092ad376d Dynamic ordering for options names 2019-09-17 16:50:42 -05:00
GriffinR 1be131f843 Dynamic ordering for options menu 2019-09-17 16:50:42 -05:00
GriffinR 6ab192e739 Review changes for #807 2019-09-17 16:50:17 -05:00
GriffinR 6ab49da811 Clean up field_specials documentation 2019-09-17 16:50:17 -05:00
GriffinR 3dbd375779 Some frontier field_specials documentation 2019-09-17 16:50:17 -05:00
GriffinR aac9658a8e Document some field_specials data 2019-09-17 16:50:17 -05:00
GriffinR 945d3d3a27 Merge branch 'master' into document-eventscripts 2019-09-17 00:10:23 -04:00
GriffinR 06af24bce5 Use misc ScrCmd constants 2019-09-16 19:44:47 -05:00
GriffinR 340c4e1411 Clean up script_movement documentation 2019-09-16 19:30:36 -05:00
GriffinR f9a8f44a29 Document script_movement 2019-09-16 19:30:36 -05:00
GriffinR 6c9997a906 Document decor icons 2019-09-16 19:23:21 -05:00
GriffinR 2884f4ee4a Fix extraneous parentheses warning 2019-09-16 19:22:07 -05:00
GriffinR b46c4b6703 more constant usage 2019-09-16 19:21:23 -05:00
GriffinR 85d97542cd Use MAX_MON_MOVES constants 2019-09-16 19:21:23 -05:00
GriffinR f4160ded98 Fix misnamed function 2019-09-16 00:29:59 -04:00
GriffinR bb236b490d Update BS constants for Cmd rename 2019-09-15 17:58:12 -04:00
tustin2121 711e7d884c Document cave transition code. 2019-09-10 13:43:33 -04:00
PikalaxALT 27aae9da9a Fix modern 2019-09-08 21:41:40 -04:00
PikalaxALT 888cbd634c libagbsyscall as an actual lib 2019-09-08 21:26:46 -04:00
PikalaxALT 306ce048ad Move gflib srcs and headers to gflib subdir 2019-09-08 21:07:54 -04:00
tustin2121 258784f263 Add supported but unused buttons to charmap.txt
These buttons are supported by the game but unused by vanilla. We should include them for use by hacks.
2019-09-08 10:44:43 -05:00
GriffinR 826fc3154e condense secret base mapscript labels 2019-09-06 13:01:45 -04:00
GriffinR cb82d868af fix secret base jsons 2019-09-06 02:49:26 -04:00
GriffinR 9fbcd552de document remainder of secret_base scripts, delete unneeded scripts.incs 2019-09-06 02:12:00 -04:00
PikalaxALT 95b805a425 Nuke definition of struct TrHillTag_Half 2019-09-05 20:48:48 -05:00
PikalaxALT e87f4f4cc7 Unify TrHillTag struct definitions (variable floors) 2019-09-05 20:48:48 -05:00
PikalaxALT 904bba9e16 NULL_BATTLE_TOWER_POKEMON define 2019-09-05 20:48:48 -05:00
PikalaxALT e2fbce996e Use designated initializers (C99 feat) 2019-09-05 20:48:48 -05:00
PikalaxALT 900a51932d Don't look for src/crt0.c, it doesn't exist 2019-09-05 20:48:48 -05:00
PikalaxALT f3bed6045e Disassemble data/ereader_screen.s 2019-09-05 20:48:48 -05:00
PikalaxALT a9918c3b89 Partial refactor of TryWriteTrainerHill_r 2019-09-05 20:48:48 -05:00
PikalaxALT cb0fa2fdc3 Minor edit to save trainer hill routine 2019-09-05 20:48:48 -05:00
PikalaxALT b510100503 Port trainer hill sets to C objects 2019-09-05 20:48:48 -05:00
PikalaxALT 8d910465f8 Minor refactor of ereader_helpers.c 2019-09-05 20:48:48 -05:00
Eduardo Quezada D'Ottone de02805388 Changed names. 2019-09-05 20:42:15 -05:00
Eduardo Quezada D'Ottone e2689d2a27 Documented Mechadoll answers. 2019-09-05 20:42:15 -05:00
GriffinR 8c6b5648d4 document secret_base_1.inc 2019-09-05 16:16:21 -04:00
GriffinR 1d703e786b move some data out of event_scripts, use game stat constants 2019-09-05 14:56:34 -04:00
PikalaxALT 1e1a4076f0 Merge pull request #798 from GriffinRichards/constants-baction
Use misc battle constants
2019-09-05 09:06:31 -04:00
GriffinR eb0b73c14e Use CountAliveMonsInBattle constants 2019-09-04 17:47:29 -04:00
GriffinR c647a8329f Use gBattlerPositions constants 2019-09-04 17:45:04 -04:00
GriffinR 4a0cad80b0 Use B_SIDE constants
Also includes a CHAR_X constant use for X items
2019-09-04 17:06:59 -04:00
PikalaxALT 5c7eac7134 Merge pull request #744 from PikalaxALT/remove_tutor_casts
Remove unnecessary tutor learnset casts
2019-09-04 16:51:06 -04:00
PikalaxALT 36723a235a Merge pull request #735 from garakmon/encounter_json
Add Different Field Info to Wild Encounters JSON
2019-09-04 16:50:39 -04:00
PikalaxALT a4270cfdae Merge pull request #779 from pret/deprecate-tools
Deprecate build_tools.sh
2019-09-04 16:45:34 -04:00
PikalaxALT 48b8d68872 Merge pull request #797 from PikalaxALT/common_syms
Fix issue with ramscrgen invoke for some users
2019-09-04 09:12:46 -04:00
PikalaxALT 8d3771d24e Fix issue with ramscrgen invoke for some users 2019-09-04 09:07:08 -04:00
GriffinR 6b04ea0727 Merge branch 'master' into document-eventscripts 2019-09-03 22:22:14 -04:00
PikalaxALT 1f4c88c952 Copy Berry Fix MB dism from FR (#777)
* Copy Berry Fix MB dism from FR
2019-09-03 15:33:11 -04:00
GriffinR 5f457dd459 Use B_ACTION constants 2019-09-03 15:08:25 -04:00
GriffinR 5d30304f4e Use OTID constants for CreateMon 2019-08-30 22:13:14 -05:00
PikalaxALT 45767f9c00 Merge pull request #793 from DizzyEggg/patch-1
Use item constant in pretty petal flower shop
2019-08-30 05:56:17 -04:00
DizzyEggg 6a3b74c59c Use item constant in pretty petal flower shop 2019-08-30 09:48:59 +02:00
tustin2121 cdae0c1444 Change event object graphics pointer table to use explicit indexes
- This makes it easier for future hack makers to rearrange, add, or delete graphic object ids without having to count indexes or keep them in order.
- Porymap will have to be updated, but I have some code for this already in a fork.
2019-08-29 16:44:10 -05:00
Marcus Huderle 1a2b430646 Update scaninc to include missing .include files in assembler files 2019-08-29 16:37:42 -05:00
garak b420b98d63 allow CRLF line endings in asm files for preproc 2019-08-29 16:37:32 -05:00
jiangzhengwenjz 4f9052cb96 get rid of goto in battle_script_commands 2019-08-28 06:06:17 +08:00
PikalaxALT 40c1db1106 Update deprecated build_tools script 2019-08-27 09:15:44 -04:00
Diegoisawesome ad941680d8 Merge pull request #788 from ultima-soul/documentation
Synchronize with pokefirered pokedex.c.
2019-08-25 23:56:09 -05:00
ultima-soul d3ea25ee7f Synchronize with pokefirered pokedex.c. 2019-08-24 11:17:11 -07:00
GriffinR 869d0eebc0 Rename atk## constants and states 2019-08-23 08:46:21 -04:00
GriffinR 2cb174b4ea rename BattleAICmd prefix 2019-08-23 08:10:37 -04:00
GriffinR 68905e3961 rename atk## prefixes 2019-08-23 07:55:36 -04:00
Diegoisawesome 8e7abad720 Merge pull request #786 from DizzyEggg/u8
GetAbilityBySpecies's arg from bool8 to u8
2019-08-22 17:45:56 -05:00
DizzyEggg d09c290eba bool8 to u8 2019-08-22 16:46:33 +02:00
Kevin Mills f76f395563 use MENU_FIELD_MOVES in sub_81B31B0 2019-08-21 18:20:45 -05:00
GriffinR 4228750e38 more documentation in match_call_data
Documents everything related to UnkStruct_08625388, names HasCheckPage functions, fixes mislabeled Brendan/May headers, and adds header count to pokenav_unk_3
2019-08-21 17:18:38 -05:00
PikalaxALT 5b8d0f1c33 Remove MNUM from oam flip constant names 2019-08-21 17:15:23 -05:00
PikalaxALT f7cf4fa154 Use HFLIP, VFLIP 2019-08-21 17:15:23 -05:00
GriffinR a46f7952f9 Use DIR constants for createvobject
Also uses event object ids in LinkContestRoom1
2019-08-21 17:11:06 -05:00
PikalaxALT a4d5624ad6 Move asm srcs to src 2019-08-21 17:08:40 -05:00
GriffinR f08615881e Changes from review 2019-08-21 17:06:55 -05:00
GriffinR 5fb7ab05dd clean up 2019-08-21 17:06:55 -05:00
GriffinR d931ba9602 document remaining funcs 2019-08-21 17:06:55 -05:00
GriffinR 7fc99f3952 favor lady funcs 2019-08-21 17:06:55 -05:00
GriffinR 771a7b25fa move data, more contest lady funcs 2019-08-21 17:06:55 -05:00
GriffinR 009caa21c8 some contest lady funcs 2019-08-21 17:06:55 -05:00
GriffinR 5d96a0cc97 minor fixes 2019-08-21 17:06:55 -05:00
GriffinR fc467a9d52 standardize favour/favor 2019-08-21 17:06:55 -05:00
GriffinR 23979c4d7d initial documentation commit 2019-08-21 17:06:55 -05:00
Diegoisawesome d68497f823 Merge pull request #783 from tustin2121/tustin2121-patch-3
Replace {STRING 5} with {KUN}
2019-08-21 16:06:59 -05:00
tustin2121 82744ba636 Replace {STRING 5} with {KUN}
Since we already have the KUN placeholder, there's no need for this {STRING 5} stuff.

Also, it makes it easier to delete all the {KUN}s in hacks later on if desired.
2019-08-21 14:05:22 -04:00
Diegoisawesome 90edf596d8 Merge pull request #780 from GriffinRichards/document-rematchconstants
trainer rematch macro
2019-08-17 22:41:41 -05:00
Diegoisawesome 40fa9ddbb8 Merge pull request #782 from tustin2121/trihard-giveback2
Giving back from TriHard Emerald development
2019-08-17 22:38:28 -05:00
Tustin2121 18dee14170 Review fixes 2019-08-17 23:26:46 -04:00
Tustin2121 d63a8ba817 Replaced createvobject numbers with EVENT_OBJ_GTX defines
Doing this allows someone to renumber the event object graphics and still have working contests.
2019-08-17 13:38:13 -04:00
Tustin2121 a708caac6d Suggested changes from review 2019-08-17 13:32:26 -04:00
Tustin2121 1069adae46 Renaming unknown link room ids to be the same as name
This descrepency was causing a lot of annoyance when using porymap, because porymap generated the ids in map_groups.h from the name, and mapjson was generating map_groups.h from the id in the json files. So just name them the same already like every other map in the repo.
2019-08-17 13:26:57 -04:00
Tustin2121 d12a8c10ee Documenting credits a bit 2019-08-17 13:26:44 -04:00
Tustin2121 bac8974ce3 Added note about addvar
The contest scripts actually use addvar to add a -1 to a variable instead of using subvar to subtract a positive number. This is fine in vanilla, where addvar script command does NOT support adding the value of a variable to another variable (like subvar supports), but should anyone want to change it, contests will be inexplicably broken.
2019-08-17 13:26:31 -04:00
Tustin2121 f4d4424618 Folded nops into hidemoneybox and updatemoneybox
The nops are essential to the hidemoneybox and updatemoneybox commands when using vanilla versions of those commands. Even though they're not actually used parameters in the command implementation, they are still consumed, which means if someone were to get rid of the nops (as I did in TriHard) it causes the commands to consume bytecode that are not theirs, resulting in undefined behavior usually leading to softlocks. Folding the extra bytes into the macros means there's no chance of the extra bytes getting losts in scripts.
2019-08-17 13:25:36 -04:00
Tustin2121 9bcd39d86c Document the braille window id. 2019-08-17 13:20:18 -04:00
Tustin2121 6508469259 Rename movobjectoffscreen to copyobjectxytoperm
Renaming the command to something that makes more sense as to what the command actually does. The command copies the current xy of the instantiated object back to its template, so that the object remains in the same place if the player walks away and despawns the object, and then comes back. "moveobjectoffscreen" implies that it might be taking the object and moving it physically to an off-screen location somehow.
2019-08-17 13:18:56 -04:00
Tustin2121 ea724278b7 Juan text buffer overflow note 2019-08-17 13:05:55 -04:00
PikalaxALT 4663564e02 Merge pull request #775 from DizzyEggg/patch-9
Fix modern
2019-08-17 05:17:05 -04:00
GriffinR 3c2576d3a3 trainer rematch macro 2019-08-16 13:48:45 -04:00
PikalaxALT 4541b959b6 Deprecate build_tools.sh 2019-08-15 15:17:13 -04:00
GriffinR ecf2097abb initial event_scripts documentation 2019-08-14 23:38:42 -04:00
DizzyEggg 08fe3b21ed Fix modern
Fixes freeze on entering Pokemon Storage System
2019-08-12 11:43:31 +02:00
PikalaxALT ca8048c300 Merge pull request #771 from aaaaaa123456789/master
Fix Makefiles to account for the $CC and $CXX environment variables
2019-08-06 20:16:36 -04:00
aaaaaa123456789 e28cf5406b Fix Makefiles to account for the $CC and $CXX environment variables 2019-08-06 20:30:57 -03:00
PikalaxALT 2a0517f0fd Report data decomp in calcrom 2019-08-06 13:00:03 -04:00
PikalaxALT 1bda9ef2f6 Merge pull request #769 from PikalaxALT/pokenav_unk_9
Pokenav unk 9
2019-08-06 12:49:03 -04:00
PikalaxALT 37d23230fa Address review comments 2019-08-06 09:26:55 -04:00
PikalaxALT 1cff6672cf fix s32/int type mismatch on modern 2019-08-06 09:13:19 -04:00
PikalaxALT 5040a5f96b Move pokenav syms around 2019-08-05 20:23:56 -04:00
PikalaxALT b05df0377e Finish pokenav_unk_9 2019-08-05 17:17:05 -04:00
PikalaxALT 1f62caae43 Some cleanup 2019-08-05 15:49:05 -04:00
PikalaxALT 195137b001 Merge pull request #768 from PikalaxALT/pokenav_unk_8
Finish pokenav_unk_8
2019-08-05 15:21:20 -04:00
PikalaxALT 5d07123354 Remove unnecessary casts 2019-08-05 14:32:30 -04:00
PikalaxALT a7eb4f9dd2 Make pokenav_unk_8 syms static, fix gcc-9 warnings 2019-08-05 14:00:38 -04:00
PikalaxALT e2e667d4b5 Finish pokenav_unk_8 2019-08-05 13:47:04 -04:00
PikalaxALT 330fc46df8 through sub_81CF3F8 2019-08-05 12:21:45 -04:00
PikalaxALT 9beeba8424 Merge pull request #764 from GriffinRichards/document-varnames
Document vars that are used and unnamed
2019-08-05 11:59:53 -04:00
GriffinR 191f74525d name unused route state vars 2019-08-05 11:50:29 -04:00
GriffinR c2bf668fdd rename town/city vars 2019-08-05 11:23:45 -04:00
PikalaxALT 18f29c566a through sub_81CF278 2019-08-05 10:54:56 -04:00
PikalaxALT f5e18718d9 Merge pull request #702 from PikalaxALT/pokenav_unk_2
Pokenav unk 2
2019-08-05 09:49:21 -04:00
PikalaxALT 463e1eb6b8 Name some fields in Pokenav2Struct 2019-08-05 09:17:21 -04:00
PikalaxALT 329670e16e Minor fixes 2019-08-05 08:46:52 -04:00
PikalaxALT a42e5c24e6 Use LT return defines 2019-08-05 08:40:03 -04:00
PikalaxALT 51d5ee771d Merge branch 'master' into pokenav_unk_2 2019-08-05 08:33:45 -04:00
PikalaxALT 1fc64b8582 Merge pull request #767 from DizzyEggg/pokenav_8
More pokenav
2019-08-05 08:21:36 -04:00
PikalaxALT ffc7a9be27 Fix build errors 2019-08-04 21:23:38 -04:00
PikalaxALT 483e5173c9 Merge pull request #696 from SatoMew/master
Make installation documentation more straightforward
2019-08-04 21:16:41 -04:00
PikalaxALT ff2166b8fe pokenav_unk_2: unclutter global namespace 2019-08-04 21:10:08 -04:00
PikalaxALT 299c3cf1dc Finish pokenav_unk_2 2019-08-04 20:39:36 -04:00
PikalaxALT 2dee42dbaf through sub_81CA474 2019-08-04 18:15:02 -04:00
SatoMew 667f0837e2 Merge branch 'master' into master 2019-08-04 20:35:38 +01:00
PikalaxALT cd876292d1 Merge branch 'master' into pokenav_unk_2 2019-08-04 15:35:35 -04:00
DizzyEggg c8cc39cb57 More pokemav, massive clean-up, seriously who the left the file in this state??? 2019-08-04 19:09:12 +02:00
PikalaxALT fa5bfc1627 Merge pull request #766 from DizzyEggg/pokenav_10
Decompile pokenav 10
2019-08-04 11:07:10 -04:00
PikalaxALT 41e1f9b224 Merge pull request #763 from DizzyEggg/patch-8
Fakematch sub_819A080
2019-08-04 11:05:17 -04:00
PikalaxALT 0e4c9fb2c4 Merge pull request #757 from DizzyEggg/pok_jump
Decompile pokemon jump + some non/fake matches
2019-08-04 11:04:31 -04:00
DizzyEggg 252df94bc1 Decompile pokenav 10 2019-08-04 13:53:00 +02:00
DizzyEggg bb7e5ecc19 Pokemon jump 2019-08-04 00:18:58 +02:00
DizzyEggg 1641579297 Merge branch 'master' into pok_jump 2019-08-04 00:02:13 +02:00
GriffinR 0f5d96e5f5 name used and unnamed vars 2019-08-03 14:12:48 -04:00
DizzyEggg 5fbb11313b Fakematch sub_819A080
Really wanted to match this one, but it just doesn't cooperate, oh well
2019-08-03 20:10:28 +02:00
PikalaxALT ce941e6f56 Merge pull request #762 from GriffinRichards/GriffinRichards-documentation
Documenting MAPSEC use in pokenav match call data
2019-08-03 11:10:42 -04:00
PikalaxALT 9f50c4fa80 Merge pull request #760 from ultima-soul/use_pokeblock_data
Decompile use_pokeblock data
2019-08-03 11:01:05 -04:00
PikalaxALT 3ca1a5d9b0 Merge pull request #761 from DizzyEggg/dodrio
Decompile Dodrio berry picking
2019-08-03 11:00:29 -04:00
GriffinR 851a814912 typo fix 2019-08-02 22:23:40 -04:00
GriffinR cff8331a8f Update pokenav_match_call_data.c 2019-08-02 13:47:30 -04:00
GriffinR dad3eba603 Merge pull request #3 from GriffinRichards/GriffinRichards-sub_81D16DC
Document sub_81D16DC
2019-08-02 12:48:42 -04:00
GriffinR 9c90ff65af Update pokenav.h 2019-08-02 12:48:15 -04:00
GriffinR 3c4843f273 Update pokenav_unk_3.c 2019-08-02 12:46:18 -04:00
GriffinR 38a69d3e5f sub_81D16DC in pokenav_match_call_data 2019-08-02 12:43:49 -04:00
GriffinR 97d58669b7 Document MapSec get functions 2019-08-02 12:40:14 -04:00
GriffinR 37ebfa40f9 Two more uses of MAPSEC_NONE and mapSec field name 2019-08-02 12:30:00 -04:00
GriffinR cf253062b9 Use MAPSEC constants in sWallyAdditionalData 2019-08-02 10:58:03 -04:00
GriffinR a9247181e8 Update pokenav_match_call_data.c 2019-08-02 10:52:40 -04:00
DizzyEggg 3280d40506 Match sub_8026324 2019-08-02 11:20:15 +02:00
GriffinR 4cea2ffa32 Use MAPSEC constants for pokenav match call data
Wally and Prof. Birch are skipped. Wally has a variable location, and Prof Birch (despite being listed as .v1 = 0, which is Littleroot) is actually listed as location unknown in the pokenav. Rival is also skipped, as they dont have a location field and are also listed as unknown
2019-08-01 23:01:53 -04:00
DizzyEggg 02d975a837 Tabs to spaces 2019-08-02 00:49:31 +02:00
DizzyEggg 9306c142b3 Merge dodrio with master 2019-08-02 00:45:49 +02:00
DizzyEggg 4d2d8779bf Dodrio berry picking decompiled 2019-08-02 00:41:55 +02:00
DizzyEggg 02cadbee60 MORE DODRIO BERRY PICKINGgit status! 2019-08-01 19:01:50 +02:00
ultima-soul 07015aa7ae Fix tabs. 2019-07-30 17:25:19 -07:00
ultima-soul 9a152f8fe6 Decompile data/use_pokeblock.s 2019-07-30 17:21:17 -07:00
PikalaxALT a08cbaee0a pokenav_unk_2 staging 2019-07-30 19:46:56 -04:00
DizzyEggg ba1a70419a Start dodrio magic 2019-07-31 00:27:30 +02:00
Diegoisawesome 242bed733f Merge pull request #755 from DizzyEggg/patch-7
Functionally equivalent CopyGlyphToWindow
2019-07-30 14:35:04 -05:00
PikalaxALT 370e9afb37 Merge pull request #746 from garakmon/navdata
Pokenav Data
2019-07-30 15:03:12 -04:00
PikalaxALT 520eeae678 Merge pull request #756 from camthesaxman/vram
remove hardcoded VRAM addresses
2019-07-30 15:00:05 -04:00
PikalaxALT 0aacbca46b Merge pull request #759 from DizzyEggg/fix_funcs
Some nonmatchings and fakematches
2019-07-30 14:58:32 -04:00
DizzyEggg 7133f5db94 Clean up battle anim effects file 2019-07-30 15:08:49 +02:00
DizzyEggg bcb17af751 Clean up contest link 80f57c4 file 2019-07-30 13:48:12 +02:00
Diegoisawesome cb4ba65560 Merge pull request #758 from ultima-soul/nonmatching
Match TryInterruptEventObjectSpecialAnim without asm hack.
2019-07-30 00:03:36 -05:00
ultima-soul c77dc74410 Match TryInterruptEventObjectSpecialAnim without asm hack. 2019-07-29 17:52:01 -07:00
garak 08a3ff77dd index to slot in c file 2019-07-29 20:02:43 -04:00
DizzyEggg 81a11c4fc9 Gets rid of unnecesary casts in pokemon.c 2019-07-29 21:45:06 +02:00
DizzyEggg af55029843 Prettier GetDeoxysStat 2019-07-29 21:44:03 +02:00
DizzyEggg ff2dcf5413 Two fakematches out 2019-07-29 21:09:05 +02:00
garak 0c35ec2f7b fix build 2019-07-29 13:40:47 -04:00
garak 2580693ea5 INDEX to SLOT in encounter inja template 2019-07-29 13:12:20 -04:00
garak 5b57c001f5 Merge branch 'master' into navdata 2019-07-29 13:06:45 -04:00
garak 54c635683c fix some more pokenav 2019-07-29 13:03:03 -04:00
garak b6483d7026 name match call messages by trainers 2019-07-29 12:58:15 -04:00
DizzyEggg a4a382a004 Match sub_81D2278 and poke jump clean 2019-07-29 16:22:50 +02:00
DizzyEggg e634e722cc Decompile pokemon jump 2019-07-29 12:35:57 +02:00
camthesaxman 87ac555e71 remove hardcoded VRAM addresses 2019-07-28 21:18:28 -05:00
DizzyEggg 3ad14f2b33 Functionally equivalent CopyGlyphToWindow 2019-07-28 10:37:44 +02:00
PikalaxALT 136da953d6 Merge pull request #753 from DizzyEggg/pokenav7
Decompile some pokenav
2019-07-27 14:55:00 -04:00
DizzyEggg 9ff4c0695e bss data to static 2019-07-26 10:16:00 +02:00
DizzyEggg 56b124fdec Some more pokenav 2019-07-25 21:41:02 +02:00
DizzyEggg fd07c608fc Decompile pokemon unk 6 2019-07-25 18:56:08 +02:00
DizzyEggg 2bd5833833 Merge branch 'master' into pokenav7 2019-07-25 09:02:02 +02:00
DizzyEggg 33c036e7ff Decompile pokemonav 7 2019-07-24 17:02:52 +02:00
PikalaxALT bb07f06fc6 Fix "arm-none-eabi-gcc not found" error (#751) 2019-07-24 10:38:48 -04:00
PikalaxALT 6ff1426abe Quieter "make tools" 2019-07-23 16:17:00 -04:00
PikalaxALT fd53bbc464 Merge pull request #750 from DizzyEggg/patch-7
tilemap glitch gpu reg fix hopefully
2019-07-23 15:42:41 -04:00
DizzyEggg 8cc776e2ee tilemap glitch gpu reg fix hopefully 2019-07-23 21:30:53 +02:00
Sewef 23b3d4bd5e Fix PREPARE_MOVE_BUFFER macro (#749) 2019-07-22 16:58:35 -04:00
garak cd6fd3110f fix modern build 2019-07-20 13:27:57 -04:00
garak c39d25ff4d Merge branch 'master' into navdata 2019-07-20 12:30:41 -04:00
PikalaxALT 4d5c1ca03b Merge pull request #732 from PikalaxALT/modern_gcc
Modernize code for compatibility with later releases of GCC
2019-07-20 12:11:46 -04:00
PikalaxALT 6edacdee36 Pad the GBA using gbafix instead of objcopy 2019-07-20 12:00:45 -04:00
PikalaxALT 8d0d5cfd55 Merge branch 'master' into modern_gcc 2019-07-20 11:51:22 -04:00
garak dfa3e079c0 finish pokenav data decomp 2019-07-19 22:57:33 -04:00
garak f9a9297d4f decompile pokenav 7/8 data 2019-07-19 22:06:42 -04:00
garak f6d55db535 decompile pokenav_unk_5 data 2019-07-19 21:05:55 -04:00
PikalaxALT 4a239c4604 Deprecate build_tools.sh 2019-07-19 20:54:02 -04:00
garak 690a0c4390 decompile pokenav_unk_4 rodata 2019-07-19 19:36:17 -04:00
garak c400d1dc7f decompile pokenav_unk_3 data 2019-07-19 18:31:42 -04:00
garak b68ab6106d pokenav unk 2 data decomp 2019-07-19 17:23:52 -04:00
PikalaxALT 20863ac85b Resolve compile warnings in modern 2019-07-18 20:46:00 -04:00
Diegoisawesome 3f762629e8 Merge pull request #745 from Gudf/master
Use a constant instead of integer literals when checking for shinyness
2019-07-12 06:58:23 +09:00
Gudf 75f165ed74 Use a constant instead of integer literals when checking for shinyness 2019-07-11 20:16:39 +02:00
Diegoisawesome ae01afdd30 Merge pull request #743 from aaaaaa123456789/master
Fix LD script to not contain huge gap sections
2019-07-11 15:26:15 +09:00
PikalaxALT 71dff6dbf1 Remove unnecessary tutor learnset casts 2019-07-10 16:38:05 -04:00
aaaaaa123456789 f4a65dbb1c Fix LD script to not contain huge gap sections 2019-07-10 05:01:15 -03:00
pokballs 717c3350c4 updated function name for deposit item amount to pc 2019-07-09 16:40:04 -05:00
DizzyEggg c3733f4b95 Decompile 4 berry crush functions 2019-07-09 16:39:29 -05:00
DizzyEggg 11fb13d635 Some pokemon jump work 2019-07-09 16:39:29 -05:00
PikalaxALT 7fd327d632 Stack-free IWRAM clear 2019-07-07 21:41:11 -04:00
PikalaxALT 8d224bf941 Merge branch 'master' into modern_gcc 2019-07-02 13:47:34 -04:00
PikalaxALT 17c76432f4 Fix libgcc path 2019-07-02 13:46:53 -04:00
Diegoisawesome 81b84503fa Merge pull request #734 from DizzyEggg/patch-1
Match sub_81D1B40
2019-07-02 20:25:31 +09:00
Diegoisawesome ba7fe29d47 Merge pull request #736 from DizzyEggg/patch-2
Match sub_802671C
2019-07-02 20:07:20 +09:00
Diegoisawesome f25a75f9e9 Merge pull request #737 from DizzyEggg/patch-3
Match sub_800EFB0
2019-07-02 20:06:33 +09:00
Diegoisawesome b123e4a73b Merge pull request #738 from DizzyEggg/patch-4
Match unref_sub_8119094
2019-07-02 20:05:58 +09:00
Diegoisawesome c3e683789c Merge pull request #739 from DizzyEggg/patch-5
Clean up code in HoldContestPainting
2019-07-02 20:05:27 +09:00
Diegoisawesome b58c4bff3e Merge pull request #740 from DizzyEggg/patch-6
Get rid of unneccesary cast in text.c
2019-07-02 20:04:44 +09:00
garak 4594c955b4 create defines to support encounter index ratios 2019-07-01 23:47:45 -04:00
DizzyEggg 2da0e73ec7 Get rid of unneccesary cast in text.c 2019-07-01 21:08:49 +02:00
DizzyEggg 548f486398 Clean up code in HoldContestPainting 2019-07-01 17:47:47 +02:00
DizzyEggg 5ce047c26c Match unref_sub_8119094
Gotta match these unused functions, am I right?
2019-07-01 15:06:58 +02:00
PikalaxALT f300f9e699 Revert FLOAT_U* and DOUBLE_U* macros 2019-06-30 19:31:29 -04:00
PikalaxALT 92f17e8812 Document pokemon_animations sprite ptr bug 2019-06-30 19:19:26 -04:00
DizzyEggg 42462b6730 Match sub_800EFB0 2019-06-30 21:07:25 +02:00
DizzyEggg 11ef698344 Match sub_802671C
Also got sub_8026324 a bit closer, but it's still a mess.
2019-06-30 20:26:48 +02:00
PikalaxALT 04c9793429 Fix pokemon_animation.c 2019-06-30 13:49:24 -04:00
garak adb0a44457 add field info to wild pokemon json 2019-06-30 12:05:45 -04:00
DizzyEggg c409d19530 Match sub_81D1B40 2019-06-30 17:14:41 +02:00
PikalaxALT 8b73ba61ee Misc. changes
use the TOOLCHAIN variable instead of overriding DEVKITARM
remove redunant DEBUG variable, substitute DINFO
2019-06-29 18:32:49 -04:00
Michael Panzlaff 7500534676 fix unaligned memory access in BlendPalette
This problem is only going to occur in versions where the palette
buffer isn't aligned to 4 bytes (which it is in a matching pokeemerald).

Since agbcc returns sizeof(PlttData) = 4, it will read words
instead of half words. This causes unnecessary emulator warnings
in the function "BlendPalette".
Aligning the buffers to 4 bytes fixes this.
2019-06-29 11:08:46 -05:00
PikalaxALT f9d8678db4 Additional fixes
Rearrange gbafix to not modify file in the event of failure
Fix bug where Dma3Manager may get stuck when compiled with gcc-9.1.0
2019-06-29 11:41:26 -04:00
PikalaxALT 4b759da714 Wildcard bss, ewram_data, and COMMON in modern toolchain 2019-06-29 08:35:52 -04:00
PikalaxALT e92e9a184c Support for non-dkA toolchains 2019-06-28 22:26:11 -04:00
PikalaxALT 7a02a9ef36 Indentation fix in ld_scripts 2019-06-27 06:55:50 -04:00
PikalaxALT 10a88b6a71 Simplify ld_script for modern, use devkitARM libs 2019-06-26 20:12:40 -04:00
PikalaxALT 255a5c1832 Set travis to build the gcc-8 target 2019-06-26 16:44:36 -04:00
PikalaxALT b839c21307 Fix/suppress warnings when building with gcc-8 2019-06-26 16:42:57 -04:00
PikalaxALT fb06e4a3c9 Modernize code
Can compile with arm-none-eabi-gcc 8.3.0
gbafix correctly handles ELF input
2019-06-26 12:12:10 -04:00
PikalaxALT f3c7e1cc81 Add comment to merged field 2019-06-21 18:18:29 -05:00
PikalaxALT d22c630b2b Merge two fields in party_menu heap struct 2019-06-21 18:18:29 -05:00
PikalaxALT 3f43523352 Add comment to merged field 2019-06-21 12:38:11 -04:00
PikalaxALT d0bd1df531 Merge two fields in party_menu heap struct 2019-06-21 09:54:48 -04:00
SatoMew 89da828794 Another update for README.md 2019-06-16 22:26:10 +01:00
SatoMew 5847d4f03c ...and said MSYS2 is ready to be used 2019-06-16 17:36:45 +01:00
SatoMew c7f140bd8c devkitPro includes MSYS2, not vice-versa 2019-06-16 17:33:53 +01:00
SatoMew f787a257e0 Clarify required packages and add Cygwin migration 2019-06-16 16:55:01 +01:00
garak 2c22a82a25 clean metatile constants file 2019-06-16 10:08:07 -05:00
garak a43dcd26bd finish labeling metatiles 2019-06-16 10:08:07 -05:00
garak 713f61de7c continue labeling metatiles for scripts 2019-06-16 10:08:07 -05:00
garak fbbc2b1d8b finish src metatile labels 2019-06-16 10:08:07 -05:00
garak 9f8a30e4e7 label metatiles in fldeff_cut.c 2019-06-16 10:08:07 -05:00
garak 8b26bd1e09 label metatiles for general, fallarbor, and sootopolis gym tilesets 2019-06-16 10:08:07 -05:00
garak aad839995f label metatiles for pacifidlog and fortree bridges 2019-06-16 10:08:07 -05:00
garak 724add638c label regi cave metatiles 2019-06-16 10:08:07 -05:00
garak 7e35b8a710 label remaining metatiles in field_specials.c 2019-06-16 10:08:07 -05:00
garak a9560d9c62 give metatile labels to petalburg gym and pcs 2019-06-16 10:08:07 -05:00
garak c68ba9f4e8 label mauville gym metatiles 2019-06-16 10:08:07 -05:00
garak f1f420954b add METATILE_ID macro 2019-06-16 10:08:07 -05:00
SatoMew 28ee89884a Add LF normalization for .sh files 2019-06-16 00:41:35 +01:00
SatoMew 9600c6c1b4 Update INSTALL.md 2019-06-15 23:45:19 +01:00
DizzyEggg f64c1dfabf Some pokenav work 2019-05-26 07:20:51 -05:00
DizzyEggg 818e1909ff Make nonmatching PSS functions functionally equivalent 2019-05-26 07:17:05 -05:00
Slawter666 5f292d621a Use event object constants 2019-05-25 14:41:48 -05:00
DizzyEggg 39770f7fde Use constants for new game berries setting script 2019-05-25 08:27:07 -05:00
DizzyEggg 453be19670 change cooltrainer unused class name 2019-05-25 08:26:40 -05:00
DizzyEggg a074f36766 USE PROTAG 2019-05-25 08:26:40 -05:00
DizzyEggg e706280503 Rename PKMN TRAINER CALSS 4 2019-05-25 08:26:40 -05:00
Kurausukun 22880768d5 rename instrument samples 2019-05-25 08:25:19 -05:00
Papa Cancer e53ba4773d Documenting bags, berries and graphics
Bag graphics and berry graphics mostly documented
item_menu.c significantly documented
Bag structs documented and functions renamed to match formatting
2019-05-22 21:10:16 -05:00
Flametix dbdb827e54 Fix typos (#713)
* fix typos
2019-05-18 21:56:19 -05:00
DizzyEggg ab421f1089 Use array count for trainer parties 2019-05-17 07:33:22 -05:00
garak 60baf19d45 rename gFacilityClassPicsByIndex to gLinkPlayerFacilityClasses 2019-05-16 17:10:13 -05:00
garak daecd5ec40 name some trainer card related functions 2019-05-16 17:10:13 -05:00
DizzyEggg 188f2aa29e ability random define for battle pyramind 2019-05-16 17:09:43 -05:00
DizzyEggg 4ae1e014bc Change abilities in base stats to array 2019-05-16 17:09:43 -05:00
DizzyEggg 33979f0fa6 use ability num instead of alt ability 2019-05-16 17:09:43 -05:00
Slawter666 2fdc489bc0 Further documentation of party_menu.c 2019-05-15 16:55:39 -05:00
Slawter666 d1a12be53a Minor party_menu.c documentation 2019-05-15 16:55:39 -05:00
DizzyEggg 20841a9f87 Use PLAYER_NAME_LENGTH constant 2019-05-15 16:53:59 -05:00
Fontbane d9115ada86 Use species constants for VAR_TEMP_1 before givemon 2019-05-13 10:16:28 -05:00
huderlem 08c8ca8287 Merge pull request #630 from PikalaxALT/dodrio_berry_picking
Dodrio berry picking
2019-05-12 07:09:16 -05:00
PikalaxALT 539d472796 Merge branch 'master' into dodrio_berry_picking 2019-05-11 21:22:09 -04:00
PikalaxALT fc72b74e6c Fix building 2019-05-08 17:06:39 -05:00
PikalaxALT 657068359d Better dependency handling for wild_encounters 2019-05-08 17:06:39 -05:00
Marcus Huderle 0babaa8c07 Convert wild encounter data to JSON 2019-05-08 17:06:39 -05:00
Marcus Huderle 483648e372 Create jsonproc tool
Add custom function hooks to jsonproc

Add jsonproc to build_tools.sh

Newer g++
2019-05-08 17:06:39 -05:00
huderlem fe59902b8a Fix indentation 2019-05-03 18:21:11 -05:00
hjk321 26114d4579 Update comparison 2019-05-03 18:21:11 -05:00
hjk321 ee4049d93e Fix indentation Error 2019-05-03 18:21:11 -05:00
hjk321 438c5432aa Document MON_DATA_10 2019-05-03 18:21:11 -05:00
hjk321 106a89eace Document magic number from atk04_critcalc 2019-05-03 18:21:11 -05:00
PikalaxALT f13e1c78b2 through sub_81CA0EC 2019-05-02 17:53:00 -04:00
PikalaxALT a14162eb9f through sub_81C9F28 2019-05-02 16:43:32 -04:00
PikalaxALT 518865d8d9 sub_81C9A10 2019-05-02 16:19:25 -04:00
PikalaxALT 9b40cdaeb9 through sub_81C99FC 2019-05-02 14:27:59 -04:00
SatoMew c135320406 Overhaul INSTALL.md 2019-04-24 21:13:09 +01:00
SatoMew f9ca074bc4 Update README.md 2019-04-24 21:11:49 +01:00
Fontbane 901a83d249 Fix some labels and include decorations.h
Include decorations.h in shop.c

Include decorations.h in event_scripts.s
2019-04-22 17:23:59 -05:00
Fontbane 6cf06d5f95 Doc some event scripts
Doc decoration shops

Revert "Doc decoration shops"

This reverts commit 64d935ea0dc942c32b89487137e5703fce34b435.

Document through comments

Un-revert decor documentation
2019-04-22 17:23:59 -05:00
Fontbane 2c076f1f3e Doc most OnTransitions 2019-04-22 17:23:59 -05:00
AJ Fontaine dbdb51e1a5 Start documenting event scripts 2019-04-22 17:23:59 -05:00
Marcus Huderle b8d5c5fb76 Match sub_81D199C 2019-04-16 18:15:03 -05:00
Marcus Huderle 90e555d23e Match sub_81A1224 2019-04-16 16:11:59 -05:00
Marcus Huderle 9915a3fd7f Decompile pokenav_unk_5.c 2019-04-16 14:29:00 -05:00
DizzyEggg 912b87564f Compact item data, make descriptions easier to read 2019-04-16 11:25:26 -05:00
DizzyEggg b4e1375bb6 Document pokemon item effects 2019-04-16 11:23:09 -05:00
Marcus Huderle f9f5f34b0c Finish decompiling pokenav_unk_4.c 2019-04-16 11:21:13 -05:00
Marcus Huderle c7954e1212 Decompile pokenav_unk_4.c through sub_81CB678() 2019-04-16 11:21:13 -05:00
Marcus Huderle 394c0f5546 Start decompiling pokenav_unk_4.c 2019-04-16 11:21:13 -05:00
Marcus Huderle f40f2c5e9c Decompile all of pokenav_unk_3.c 2019-04-14 13:44:44 -05:00
Marcus Huderle e3bdb08efa Start decompiling pokenav_unk_3.c 2019-04-14 13:44:44 -05:00
DizzyEggg 19fdfaa5f2 Use constants for ball particles 2019-04-14 10:19:50 -05:00
DizzyEggg 59797e4801 Use constants in battle_anim_special.c 2019-04-14 10:19:50 -05:00
DizzyEggg dc764698c9 Use implicilt berry indexes in arrays 2019-04-14 10:15:18 -05:00
Marcus Huderle 065c60544d Cleanup some pokenav code 2019-04-13 16:18:04 -05:00
Marcus Huderle 1268691410 Finish decompiling pokenav_unk_1.c 2019-04-13 16:18:04 -05:00
Marcus Huderle cb9d471a2a Decompile pokemon_jump through sub_802CE48() 2019-04-13 11:37:50 -05:00
Phlosioneer 8338e29279 Pokenav unk 1 almost done 2019-04-13 11:34:53 -05:00
Phlosioneer 2b740b46e8 About halfway done with pokenav_unk_1.s 2019-04-13 11:34:53 -05:00
Phlosioneer ee2edb068a Start decomp of pokenav_unk_1
Looks like it's the Ribbons menu, based on the first function.
2019-04-13 11:34:53 -05:00
DizzyEggg 518f9c0638 Some nonmatchings 2019-04-11 07:02:48 -05:00
DizzyEggg 5bc640da9b nonmatchings 2019-04-11 07:02:48 -05:00
Marcus Huderle a65cffef42 Decompile more pokemon_jump.c 2019-04-10 20:34:17 -05:00
Marcus Huderle 8a617c3d94 Decompile more pokemon_jump.c 2019-04-09 19:48:21 -05:00
DizzyEggg 382a29ad40 Update battle_anim_script.inc 2019-04-09 07:19:03 -05:00
huderlem ce93d3ab9a Merge pull request #661 from Phlosioneer/contest-ai-cleanup
contest & contest_ai cleanup
2019-04-08 17:30:28 -05:00
Sewef c8ce1a0a1f Two labels from pokeruby. 2019-04-08 17:30:10 -05:00
Sewef fff1679bcf Update .gitignore 2019-04-08 17:30:10 -05:00
Sewef 608245058b Update charmap.txt
French is beautiful. (Lie)
2019-04-08 17:30:10 -05:00
ultima-soul 21722d9931 Fix formatting 2019-04-08 17:29:44 -05:00
ultima-soul 2c432c314a Match sub_8159308 2019-04-08 17:29:44 -05:00
Phlosioneer 92851ba4e6 Trim headers from pokenav.c 2019-04-08 17:29:07 -05:00
Marcus Huderle a518810c17 Decompile more pokemon_jump.c 2019-04-07 19:23:14 -05:00
Phlosioneer 50350cc2e1 Merge branch 'master' into contest-ai-cleanup 2019-04-07 20:20:22 -04:00
Phlosioneer be925a438e Remove debug printing 2019-04-07 19:18:42 -05:00
Phlosioneer 29c986e21e Fix nonmatching MatchCall_MoveWindow function 2019-04-07 19:18:32 -05:00
huderlem a4ea0ac816 Merge pull request #645 from Phlosioneer/pokenav-decomp-again
Pokenav decomp again
2019-04-07 18:03:32 -05:00
Phlosioneer 8de9c2d912 First round of fixes 2019-04-07 18:31:01 -04:00
Phlosioneer d352999cd8 Change "navgear" to "pokenav" 2019-04-07 18:10:53 -04:00
Phlosioneer 0dc73b0b3a Break up pokenav into subfiles
The files are separated based on the pokenav resources substruct
ID they use.
2019-04-07 14:40:35 -04:00
Marcus Huderle 78151b6d88 Start decompiling pokemon_jump.c 2019-04-07 13:12:27 -05:00
Phlosioneer d84d94e29a Merge branch 'master' into pokenav-decomp-again 2019-04-07 01:56:36 -04:00
Phlosioneer ad2a97935e Document left header system 2019-04-07 01:32:42 -04:00
Phlosioneer ddfe0f91cf Document decompiled parts of the pokenav main menu 2019-04-06 23:34:30 -04:00
Phlosioneer 3b45f37517 Significant documentatioon progress 2019-04-06 16:25:08 -04:00
Marcus Huderle c3cfd60658 Generate zoom_tiles palette from correct image 2019-04-06 15:16:05 -05:00
Marcus Huderle 146da2df96 Generate palette from zoom_tiles.png 2019-04-06 14:48:46 -05:00
Marcus Huderle b251ddf3b4 Add explicit return to Alloc funcs 2019-04-06 13:58:06 -05:00
Marcus Huderle fe12f2f4b3 Document and cleanup some decoration code 2019-04-06 12:49:09 -05:00
Fontbane 6a14cd418e Match 2019-04-06 12:48:50 -05:00
Fontbane 4a09a5da33 Doc field move scripts completely, use fldeff constants for dofieldeffect
Fix labels

Fix labels again

Delete extra boulder scripts

Now it should build fine
2019-04-06 12:48:50 -05:00
AJ Fontaine 621e5d2263 Start documenting field move scripts 2019-04-06 12:48:50 -05:00
DizzyEggg b85a74afc5 Give names to battle anim backgrounds 2019-04-06 12:44:27 -05:00
DizzyEggg 5183cdb357 change anim sprite name 2019-04-06 10:14:48 -05:00
DizzyEggg 19f151417e Rename sprite sheet to sprite gfx 2019-04-06 10:14:48 -05:00
DizzyEggg b93581b519 Rename battle anim sprites 2019-04-06 10:14:48 -05:00
DizzyEggg 311c1b9cba Change anim tag names 2019-04-06 10:14:48 -05:00
Phlosioneer bc50686158 Decomp everything onvolving UnknownSubStruct_81C81D4
Now I can start cleaning up the fields and substructs
2019-04-06 03:42:14 -04:00
Marcus Huderle 3cc6803156 Nuke porymap.project.cfg 2019-04-05 16:24:57 -05:00
Marcus Huderle 033580da96 Document secret base 2019-04-05 16:24:57 -05:00
DizzyEggg 9a11764b52 Fix oam in menu specialised 2019-04-05 07:53:23 -05:00
DizzyEggg 70569e7ebc Use shiny species tag 2019-04-05 07:53:23 -05:00
DizzyEggg 8751fafad1 Make it compile 2019-04-05 07:53:23 -05:00
DizzyEggg b0223f691f Clean up data headers 2019-04-05 07:53:23 -05:00
DizzyEggg c36476af85 Clean up data2b.c 2019-04-05 07:53:23 -05:00
DizzyEggg dd24597d52 Finish up menu specialised 2019-04-05 07:53:23 -05:00
PikalaxALT a58d9a16dd Merge branch 'master' into dodrio_berry_picking 2019-04-05 08:41:31 -04:00
Fontbane 9e74409bb2 Fix labels, label more scripts 2019-04-04 19:34:35 -05:00
Fontbane 8b88ef3e01 Document berry tree events 2019-04-04 19:34:35 -05:00
Fontbane 90e32f4ec5 Document landmark setting and item balls 2019-04-04 19:34:35 -05:00
AJ Fontaine 704f025a00 Fix a typo in as(s)istattackselect 2019-04-04 19:34:35 -05:00
PikalaxALT 016021ac04 Move gUnknown_02022C90 from sym_ewram.txt 2019-04-04 19:26:45 -05:00
PikalaxALT 8db03ba6fa Documentation of ereader helpers, 2 2019-04-04 19:26:45 -05:00
PikalaxALT c46f271f67 Documentation of ereader_helpers, 1 2019-04-04 19:26:45 -05:00
PikalaxALT b3a4509b9a Move m4a BSS syms to m4a_1.s 2019-04-04 19:26:45 -05:00
PikalaxALT 09874870ef Mark file boundaries on remaining syms declared in sym_ewram.txt 2019-04-04 19:26:45 -05:00
PikalaxALT cb04af05dc Resolve unnecessarily externed symbols 2019-04-04 19:26:45 -05:00
PikalaxALT 53efbe2832 Finish decomp of union_room_chat 2019-04-04 19:26:45 -05:00
PikalaxALT a47abb3949 union_room_chat data, 1 2019-04-04 19:26:45 -05:00
Phlosioneer 1360b3a477 RGB Constants 2019-04-04 17:05:46 -04:00
Phlosioneer 50da52c29b Fix utf8 errors in contest_effect's comments 2019-04-04 16:00:25 -04:00
Diegoisawesome f125de3e66 Merge pull request #659 from ultima-soul/pokemon
Remove pokemon_3.h
2019-04-04 12:49:46 -05:00
Diegoisawesome 8361ada4ba Merge pull request #656 from ultima-soul/menu_specialized
Decompile some of menu_specialized
2019-04-04 12:49:17 -05:00
Diegoisawesome e476a6d02d Merge pull request #624 from Wyrserth/master
Use constants for naming screen's pages
2019-04-04 12:44:18 -05:00
ultima-soul 64da3d051e Fix formatting. 2019-04-03 21:15:45 -07:00
ultima-soul 91a94a0ca1 Try to get closer to matching. 2019-04-03 21:13:26 -07:00
Phlosioneer 83b6210dcb Forgot to add asm files 2019-04-03 20:56:47 -04:00
Phlosioneer 3b3b2dd031 General cleanup of the second half of contest.c 2019-04-03 20:43:23 -04:00
ultima-soul 48d27c035a Remove pokemon_3.h 2019-04-03 15:15:08 -07:00
PikalaxALT 4fadbaf161 Minor fixes
gotoram --> returnram
cmdCF/execram --> gotoram
fix indentation in sym_ewram.txt
fix mevent_client.h guard name
2019-04-03 17:04:42 -05:00
PikalaxALT 33ee31b2e0 remove last remaining trace of "ish" 2019-04-03 17:04:42 -05:00
PikalaxALT d0384ee95e mevent_server_ish --> mevent_client 2019-04-03 17:04:42 -05:00
PikalaxALT d220f876fc Some symbol documentation 2019-04-03 17:04:42 -05:00
PikalaxALT b17c85ff7c Use named fields for command structs 2019-04-03 17:04:42 -05:00
PikalaxALT 28646ea64e Decompile mevent server scripts 2019-04-03 17:04:42 -05:00
PikalaxALT 6c12d154e7 Reformat mevent server and client scripts 2019-04-03 17:04:42 -05:00
PikalaxALT 03badd9c40 mevent_server_ish 2019-04-03 17:04:42 -05:00
PikalaxALT dabd1f6177 finish mevent_server.s 2019-04-03 17:04:42 -05:00
PikalaxALT a455d98385 start porting mevent_server from firered 2019-04-03 17:04:42 -05:00
DizzyEggg 438521bf21 Get rid of redundant cast 2019-04-03 17:04:07 -05:00
Phlosioneer 3a2ea40188 Rename and document more contest setup functions
Also properly label the link contest flags variable, and label the
contest window ID's.
2019-04-03 17:24:32 -04:00
Phlosioneer f82bdb332a Document applause meter code 2019-04-03 03:00:06 -04:00
ultima-soul 02651f6177 Attempt to decompile menu_specialized. 2 NONMATCHING 2019-04-02 19:18:36 -07:00
Phlosioneer 8f13e991d2 Found a debug system for pokemon contests 2019-04-02 21:51:21 -04:00
Phlosioneer f79a2fda68 Document the nextTurnOrder calculations 2019-04-02 20:46:18 -04:00
Phlosioneer 99e8e8e53f More cleanup, document contestant sorting 2019-04-02 20:00:05 -04:00
huderlem 4018017e9e Merge pull request #655 from huderlem/misc_docs
Document weather effects and some faraway island
2019-04-02 18:38:08 -05:00
Marcus Huderle 181baf9fe5 Merge remote-tracking branch 'upstream/master' into misc_docs
# Conflicts:
#	src/field_weather_effect.c
2019-04-02 18:29:51 -05:00
Marcus Huderle 1241700b20 Finish documenting the other weather effects 2019-04-02 18:28:56 -05:00
DizzyEggg d8c9f1b30f Rows and columns 2019-04-02 16:28:38 -05:00
DizzyEggg baa187665b Document a bit of script menu and battle anims 2019-04-02 16:28:38 -05:00
DizzyEggg 2745cdc7d2 Remove unneeded sMonAnimationDelayTable entries 2019-04-02 16:27:58 -05:00
DizzyEggg 02e2b1af97 Use species defines in gMonIconTable 2019-04-02 16:09:03 -05:00
Phlosioneer 201c0953ae Cleanup OamData entries 2019-04-02 07:41:50 -05:00
DizzyEggg 1aa95a1821 Document a bit of anims 2019-04-02 07:31:06 -05:00
Phlosioneer 9f44ebc5cd Automatically calculate REMATCH_TABLE_ENTRIES
Uses the standard C way of calculating the length of an enum.
2019-04-02 07:28:30 -05:00
Phlosioneer 6916f09cd5 Expand MatchCallStruct defs, use REMATCH_* enum 2019-04-02 07:28:30 -05:00
Phlosioneer 65d8b68f9d Expicitly hardcode rematch indecies
Inserting an entry without updating the indecies will now cause a
compiler error. This will make it easier for modders to remember to
update the constants.
2019-04-02 07:28:30 -05:00
Phlosioneer ca9f7fe356 Fix hardcoded array sizes 2019-04-02 07:28:30 -05:00
Phlosioneer c3200c0beb Cleanup some of gContestResources 2019-04-02 00:35:57 -04:00
PikalaxALT 7571969a45 Finish union room battle 2019-04-01 22:08:50 -05:00
PikalaxALT 4be97b2dc6 through sub_801A960 2019-04-01 22:08:50 -05:00
Phlosioneer 845307b3a6 Rename contest AI stuff 2019-04-01 22:16:07 -04:00
Marcus Huderle 35505c7f5b Document somre more weather effects 2019-04-01 20:04:23 -05:00
Phlosioneer c429e6d69c Move gPlayerFacingPosition out of sym_ewram.txt (#617)
* Move gPlayerFacingPosition out of sym_ewram.txt

* Fix tabs in sym_ewram.txt

* Remove redundant faraway island extern
2019-04-01 19:30:41 -05:00
Phlosioneer fe1c14db76 Fix warning for extra parens (#646)
* Fix warning for extra parens

* Committed too many files
2019-04-01 19:27:55 -05:00
huderlem 4d938cb622 Merge pull request #642 from PikalaxALT/union_room_player_avatar
Union Room event objects
2019-04-01 17:54:30 -05:00
PikalaxALT 08f4d3e105 Rename these objects to union_room_battle 2019-04-01 14:41:37 -04:00
PikalaxALT 18fdb4e369 union_room_player_avatar sym_ewram 2019-04-01 14:29:03 -04:00
PikalaxALT 4ea8217f81 file split 2019-04-01 14:25:58 -04:00
PikalaxALT 9f1d1219ce create header and fix prototypes 2019-04-01 14:20:34 -04:00
PikalaxALT ce89cf6f75 through sub_801A3D0 2019-04-01 14:09:56 -04:00
PikalaxALT 1fe5208560 through sub_801A02C 2019-04-01 12:05:58 -04:00
huderlem 1e8e5af033 Merge pull request #607 from Phlosioneer/contest-data
Contest data
2019-04-01 07:37:15 -05:00
huderlem bee1d1cbb0 Merge pull request #611 from Phlosioneer/pokedex-area-const-array
Document sAreaGlowTilemapMapping
2019-04-01 07:33:33 -05:00
huderlem b34961792c Merge pull request #641 from PikalaxALT/mystery_gift
Mystery gift documentation
2019-04-01 07:32:43 -05:00
Marcus Huderle 099ea89b77 Document rain weather effect 2019-03-31 21:09:30 -05:00
Phlosioneer cd069446e0 Merge branch 'master' into pokedex-area-const-array 2019-03-31 20:43:42 -04:00
Phlosioneer 3181c64c64 Change names from MAP_AREA_ to MAP_GROUP_ 2019-03-31 20:40:14 -04:00
Phlosioneer b7057e8d92 Update OAMs to use new constants 2019-03-31 20:33:25 -04:00
Phlosioneer 37c7441a15 Merge branch 'master' into contest-data 2019-03-31 20:22:47 -04:00
Phlosioneer 23ac2cc94e Prep for merge 2019-03-31 20:15:44 -04:00
Phlosioneer 207a54393c Fix mistakes and use EVENT_OBJ_GFX_* macros 2019-03-31 20:07:24 -04:00
PikalaxALT ade0183378 Document mystery_gift 2019-03-31 18:59:52 -04:00
PikalaxALT 6d70b8adb1 Merge branch 'master' into mystery_gift 2019-03-31 18:57:50 -04:00
PikalaxALT 93c4e35d84 infer additional file split after task00_mystery_gift 2019-03-31 15:43:51 -05:00
PikalaxALT 0a8427c8ef fakematching task00_mystery_gift 2019-03-31 15:43:51 -05:00
PikalaxALT 90fb329b70 through task_add_00_mystery_gift 2019-03-31 15:43:51 -05:00
PikalaxALT fb5c19a33b through mevent_message 2019-03-31 15:43:51 -05:00
PikalaxALT 813de11154 Through mevent_save_game 2019-03-31 15:43:51 -05:00
PikalaxALT f88f815cff WIP sub_8018DAC 2019-03-31 15:43:51 -05:00
PikalaxALT 608a217240 sub_8018B08 2019-03-31 15:43:51 -05:00
PikalaxALT 82a3f29b88 through sub_8018A50 2019-03-31 15:43:51 -05:00
PikalaxALT aafe9df454 through sub_8018798 2019-03-31 15:43:51 -05:00
PikalaxALT f34cda3b52 Start decompiling mystery gift 2019-03-31 15:43:51 -05:00
PikalaxALT 5a0142da08 infer additional file split after task00_mystery_gift 2019-03-31 15:53:38 -04:00
PikalaxALT 4f12f0ae28 fakematching task00_mystery_gift 2019-03-31 15:50:25 -04:00
Marcus Huderle d13563b174 Document some faraway_island code 2019-03-31 14:09:40 -05:00
Marcus Huderle 462b196abc Give battle_anim files appropriate names 2019-03-31 12:15:39 -05:00
PikalaxALT 5b361db6b3 through task_add_00_mystery_gift 2019-03-31 12:55:27 -04:00
PikalaxALT 8799a1c791 through mevent_message 2019-03-31 12:36:48 -04:00
PikalaxALT 148c417c50 Through mevent_save_game 2019-03-31 12:27:36 -04:00
PikalaxALT c9f16cb1a8 WIP sub_8018DAC 2019-03-31 11:16:19 -04:00
PikalaxALT db4e9505ad Merge branch 'master' into mystery_gift 2019-03-31 10:39:11 -04:00
PikalaxALT 0ba4d0cadc sub_8018B08 2019-03-31 10:33:27 -04:00
Marcus Huderle 500d009b5c Start decompiling berry_crush.c 2019-03-31 09:13:19 -05:00
huderlem b9bf3bf072 Merge pull request #637 from DizzyEggg/pokeblock_attempt
Use Pokeblock clean-up and some menu_specialised decomp
2019-03-31 08:39:18 -05:00
huderlem 9259ea4c4e Merge pull request #634 from PikalaxALT/continue_union_room
Continue union room
2019-03-31 08:33:16 -05:00
DizzyEggg e3c07c83f2 More work on use pokeblock 2019-03-31 14:32:26 +02:00
DizzyEggg aa7f69f067 Begin use pokeblock and menu specialised 2019-03-31 12:59:01 +02:00
PikalaxALT 1ce07deeac through sub_8018A50 2019-03-30 20:04:30 -04:00
PikalaxALT 5bf7886a70 through sub_8018798 2019-03-30 14:36:52 -04:00
PikalaxALT ed53220be2 Start decompiling mystery gift 2019-03-30 13:15:48 -04:00
PikalaxALT ccac4694cd Merge branch 'master' into continue_union_room 2019-03-30 12:41:10 -04:00
DizzyEggg 35cffea987 Helpful macros for atk49 2019-03-30 08:29:56 -05:00
PikalaxALT 3b9275b133 sub_8018404 2019-03-30 09:23:47 -04:00
PikalaxALT 2f57d6bc0f sub_8018220 2019-03-30 09:18:58 -04:00
huderlem 8184688330 Merge pull request #635 from huderlem/union_room_chat
Union room chat
2019-03-29 22:33:32 -05:00
Marcus Huderle accc5ae8dd Merge remote-tracking branch 'upstream/master' into union_room_chat
# Conflicts:
#	ld_script.txt
2019-03-29 21:27:08 -05:00
Marcus Huderle a978a6a624 Finish decompiling union_room_chat.c 2019-03-29 21:26:08 -05:00
PikalaxALT 2e588fd4d7 through sub_80181DC 2019-03-29 22:22:26 -04:00
PikalaxALT 6b6c98e7d0 through sub_80180E8 2019-03-29 19:41:32 -04:00
PikalaxALT 8d75dc1982 sub_8017EA0 2019-03-29 17:19:29 -04:00
PikalaxALT bf4a73a67c through sub_8017E00 2019-03-29 16:24:48 -04:00
PikalaxALT 8fc51b0459 through sub_8017CB0 2019-03-29 15:50:04 -04:00
PikalaxALT ae0e70d7bb sub_80179D4 and rodata 2019-03-29 11:57:03 -04:00
Marcus Huderle 519426f4e6 Decompile union_room_chat through sub_8020118 2019-03-28 20:20:52 -05:00
Marcus Huderle 8b8cc7a475 Decompile union_room_chat.s through sub_801FF08 2019-03-28 18:40:49 -05:00
PikalaxALT 030fb4d898 through sub_80179AC 2019-03-28 11:24:50 -04:00
PikalaxALT 86f7691146 Through sub_80176E4 2019-03-28 10:24:31 -04:00
PikalaxALT 963dcfb84d sub_80173E0 2019-03-28 09:59:08 -04:00
PikalaxALT 9538855d9a Through sub_80173D4 2019-03-28 08:42:35 -04:00
PikalaxALT 7211f996a5 Address review comments, 1
Use field names in WindowTemplate instances
Remove a leftover comment block
2019-03-28 07:32:25 -05:00
PikalaxALT 7c45a7c443 port mevent_801BAAC from fire red 2019-03-28 07:32:25 -05:00
Marcus Huderle aebc676913 Decompile union_room_chat.c up to sub_801F5B8 2019-03-27 19:09:12 -05:00
PikalaxALT 51d2131dc2 through (nearly-matching) sub_80172A0 2019-03-27 16:57:34 -04:00
PikalaxALT 8e0773675c through sub_8017168 2019-03-27 13:16:10 -04:00
PikalaxALT 9a8b001ebf through sub_801704C 2019-03-27 10:44:49 -04:00
PikalaxALT 44f7d49c2e Finish sub_8016CA0 2019-03-27 09:54:19 -04:00
DizzyEggg 5dd653a89e Use constants in atk89_statbuffchange 2019-03-27 07:47:01 -05:00
scnorton c6c0c9582f Port menews_jisan.c from FireRed 2019-03-27 07:40:08 -05:00
Marcus Huderle af1baa89f1 Start decompiling union_room_chat.c 2019-03-26 21:58:20 -05:00
scnorton a677d1f4cb Failed attempt at sub_8026988 2019-03-26 14:46:58 -04:00
scnorton 2eba82b0fb sub_8026634 2019-03-26 11:59:39 -04:00
PikalaxALT df538ff7ab WIP sub_8026324 2019-03-26 09:47:13 -04:00
scnorton 03e58d7dc9 through sub_80262C0 2019-03-25 18:08:25 -04:00
scnorton 5de624783c through sub_8026044 2019-03-25 17:27:27 -04:00
scnorton e3a11bc3ca through sub_80259FC 2019-03-25 15:26:23 -04:00
scnorton c3e26a58df through sub_8025758 2019-03-25 12:08:56 -04:00
scnorton 4780f208d3 through sub_8025324 2019-03-25 11:22:48 -04:00
PikalaxALT c005c2f737 sub_8024FFC 2019-03-25 08:31:29 -04:00
PikalaxALT d4cca4ffa2 through sub_8024F38 2019-03-24 22:56:16 -04:00
PikalaxALT d49d3b6858 through sub_8024E38 2019-03-24 21:17:25 -04:00
scnorton 708f128568 Merge branch 'master' into dodrio_berry_picking 2019-03-24 20:08:49 -04:00
Marcus Huderle d7a9fcb975 Cleanup mevent2 2019-03-24 18:29:00 -05:00
Marcus Huderle e6caf0ff10 Port mevent2.c from pokefirered 2019-03-24 18:29:00 -05:00
Kermalis e8edddf33c Update se_z_search.mid 2019-03-24 16:37:27 -05:00
Kermalis 285608666b Match se_w043.mid 2019-03-24 16:37:27 -05:00
Kermalis 7cb1345cba Match se_w039.mid 2019-03-24 16:37:27 -05:00
Kermalis f11ca86b46 Match se_w036.mid 2019-03-24 16:37:27 -05:00
Kermalis 85ec6ccf46 Match se_w030.mid 2019-03-24 16:37:27 -05:00
Kermalis b6128b7e39 Match se_w029.mid 2019-03-24 16:37:27 -05:00
Kermalis f40d36a564 Match se_w028.mid 2019-03-24 16:37:27 -05:00
Kermalis 08a565dadd Match se_w026.mid 2019-03-24 16:37:27 -05:00
Kermalis 4f1ba2c1ad Match se_w025b.mid 2019-03-24 16:37:27 -05:00
Kermalis b949c7033d Match se_w025.mid 2019-03-24 16:37:27 -05:00
Kermalis f46156a98c Match se_w020.mid 2019-03-24 16:37:27 -05:00
Kermalis 810cff0f21 Match se_w019.mid 2019-03-24 16:37:27 -05:00
Kermalis 3e53b505ee Match se_w017.mid 2019-03-24 16:37:27 -05:00
Kermalis 0a581cf1c6 Match se_w016b.mid 2019-03-24 16:37:27 -05:00
Kermalis a2cb1991c5 Match se_w016.mid 2019-03-24 16:37:27 -05:00
Kermalis d9b29ec549 Match se_w015.mid 2019-03-24 16:37:27 -05:00
Kermalis 2315bbfb8d Match se_w014.mid 2019-03-24 16:37:27 -05:00
Kermalis f4b40d3220 Match se_w013b.mid 2019-03-24 16:37:27 -05:00
Kermalis d9f8e253eb Match se_w013.mid 2019-03-24 16:37:27 -05:00
Kermalis 700ce03828 Match se_w011.mid 2019-03-24 16:37:27 -05:00
Kermalis 2ac7d8282b Match se_w010.mid 2019-03-24 16:37:27 -05:00
Kermalis 47c9bd4189 Match se_w007.mid 2019-03-24 16:37:27 -05:00
Kermalis 61c480634d Match se_w006.mid 2019-03-24 16:37:27 -05:00
Kermalis d3899c5087 Match se_w004.mid 2019-03-24 16:37:27 -05:00
Kermalis 9d803b24a6 Match se_w003.mid 2019-03-24 16:37:27 -05:00
Kermalis 3f997ef4c2 Match se_ussoki.mid 2019-03-24 16:37:27 -05:00
Kermalis b532e51659 Match se_u.mid 2019-03-24 16:37:27 -05:00
Kermalis 6437f9fb15 Match se_tu_saa.mid 2019-03-24 16:37:27 -05:00
Kermalis fb297ca1c0 Match se_track_stop.mid 2019-03-24 16:37:27 -05:00
Kermalis bc1b5bacc9 Match se_track_move.mid 2019-03-24 16:37:27 -05:00
Kermalis 1d08ff3a60 Match se_track_haiki.mid 2019-03-24 16:37:27 -05:00
Kermalis 7d9cda59ba Match se_track_door.mid 2019-03-24 16:37:27 -05:00
Kermalis 16fedb74b4 Match se_toy_kabe.mid 2019-03-24 16:37:27 -05:00
Kermalis 6b31879135 Match se_toy_g.mid 2019-03-24 16:37:27 -05:00
Kermalis de4587480a Match se_toy_f.mid 2019-03-24 16:37:27 -05:00
Kermalis 63119116e7 Match se_toy_dango.mid 2019-03-24 16:37:27 -05:00
Kermalis e26c30d390 Match se_toy_e.mid 2019-03-24 16:37:27 -05:00
Kermalis afda8b34c1 Match se_toy_d.mid 2019-03-24 16:37:27 -05:00
Kermalis 2a7d758a17 Match se_toy_c1.mid 2019-03-24 16:37:27 -05:00
Kermalis 83cc45dec2 Match se_toy_c.mid 2019-03-24 16:37:27 -05:00
Kermalis fcf0d729b0 Match se_toy_b.mid 2019-03-24 16:37:27 -05:00
Kermalis bd100bcd9c Match se_toy_a.mid 2019-03-24 16:37:27 -05:00
Kermalis 2d71193555 Match se_toreoff.mid 2019-03-24 16:37:27 -05:00
Kermalis 5a64d81581 Match se_toreeye.mid 2019-03-24 16:37:27 -05:00
Kermalis dff22304c4 Match se_tk_warpout.mid 2019-03-24 16:37:27 -05:00
Kermalis d2451ee62c Match se_tk_warpin.mid 2019-03-24 16:37:27 -05:00
Kermalis b04cdd1c24 Match se_tk_kasya.mid 2019-03-24 16:37:27 -05:00
Kermalis 00a6de011f Match se_tb_start.mid 2019-03-24 16:37:27 -05:00
Kermalis fd6e44b8a8 Match se_tb_kon.mid 2019-03-24 16:37:27 -05:00
Kermalis c8a57d3007 Match se_tb_kara.mid 2019-03-24 16:37:27 -05:00
Kermalis d82b198820 Match se_tamakoro_e.mid 2019-03-24 16:37:27 -05:00
Kermalis 6881c256c4 Match se_tamakoro.mid 2019-03-24 16:37:27 -05:00
Kermalis b706b60622 Match se_tamago.mid 2019-03-24 16:37:27 -05:00
Kermalis 5ffdb259a3 Match se_tama.mid 2019-03-24 16:37:27 -05:00
scnorton 2136187c11 sub_8024BC8 2019-03-24 17:32:59 -04:00
scnorton 98ab62a7af Dodrio: through sub_8024A30 2019-03-24 16:42:42 -04:00
ultima-soul 552c032f5c Match sub_8166A34 2019-03-24 15:34:49 -05:00
Marcus Huderle cf917a8733 Decompile berry_powder.c 2019-03-24 14:50:16 -05:00
Marcus Huderle 456cc3a6f0 Split out the remaining wireless-related files 2019-03-24 13:15:37 -05:00
Marcus Huderle d3ff307f9f Remove asm/use_pokeblock.s 2019-03-24 08:23:27 -05:00
Marcus Huderle 4fd2b0b484 Decompile remaining functions in use_pokeblock.s 2019-03-23 17:23:14 -05:00
Wyrserth 6566a49beb Use constants for naming screen's pages. 2019-03-23 21:52:58 +01:00
huderlem cd192e303d Merge pull request #579 from ultima-soul/use_pokeblock
Decompile use_pokeblock  (5 NONMATCHING)
2019-03-23 11:29:40 -05:00
Marcus Huderle 24e7269117 Match sub_81674BC 2019-03-23 11:22:41 -05:00
Marcus Huderle fffdbe4e79 Match sub_8167420 2019-03-23 11:16:53 -05:00
Marcus Huderle 511ff2f20f Match sub_8166BEC and do some cleanup 2019-03-23 10:41:09 -05:00
Marcus Huderle a5ee2c14fd Merge remote-tracking branch 'upstream/master' into use_pokeblock
# Conflicts:
#	include/menu_specialized.h
2019-03-23 10:14:31 -05:00
Marcus Huderle 91fa5faf4a Match sub_8166564 2019-03-23 10:10:51 -05:00
Fontbane e8add87bf3 Document Field Effects and some related text
Also VAR_TRICK_HOUSE_LEVEL
2019-03-23 09:57:37 -05:00
Fontbane 7d54c2b960 EventScript and Text Documentation
In event_script.s. Also renamed a couple events for consistency/detail.
2019-03-23 09:57:37 -05:00
DizzyEggg cbdecf2f8d Make it compile 2019-03-23 09:51:27 -05:00
DizzyEggg 77c4856e62 Nonmatchings go away 2019-03-23 09:51:27 -05:00
Marcus Huderle 65391a1eb2 Merge remote-tracking branch 'upstream/master' into use_pokeblock
# Conflicts:
#	src/use_pokeblock.c
2019-03-23 09:39:46 -05:00
huderlem abe56579c1 Merge pull request #622 from huderlem/ereader
Finish decompiling ereader and faraway island code
2019-03-22 14:40:50 -05:00
Marcus Huderle 253de64e63 Merge remote-tracking branch 'upstream/master' into ereader 2019-03-22 14:35:47 -05:00
Marcus Huderle a7d5f032b1 Split into ereader_helpers.c, faraway_island.c, and ereader_screen.c 2019-03-22 14:16:26 -05:00
Marcus Huderle f4f666f5af Finish decompiling ereader.c 2019-03-22 13:36:06 -05:00
Marcus Huderle 768a68d3e8 Decompile ereader.c up to faraway island code 2019-03-21 18:36:12 -05:00
Marcus Huderle 7118462b9f Decompile ereader.c up to faraway island code 2019-03-21 18:28:44 -05:00
huderlem 7154d2614d Merge pull request #595 from Phlosioneer/move-tutor
Move tutor
2019-03-17 17:32:42 -05:00
Marcus Huderle e9a3cc6d51 Merge remote-tracking branch 'upstream/master' into move-tutor
# Conflicts:
#	include/pokenav.h
#	src/battle_script_commands.c
2019-03-17 17:20:40 -05:00
Marcus Huderle 4ae8a52473 Finish decompiling contest_painting_effects.c 2019-03-17 16:25:18 -05:00
Phlosioneer f4737874ef Made a new substruct for the substruct
We must go deeper.
2019-03-16 22:10:07 -04:00
Phlosioneer 691392fd5d Clean up intro_credits_graphics constants 2019-03-16 12:37:04 -05:00
Phlosioneer a029254faa Apply new macros to intro graphics struct 2019-03-16 12:37:04 -05:00
Phlosioneer eeb329909c Fix anonymous struct 2019-03-16 12:37:04 -05:00
Phlosioneer 9848f84b9e Use constants for Oam .shape and .size fields
Also some general formatting fixes for constants.
2019-03-16 12:37:04 -05:00
Phlosioneer 291df27dcb Use new MUS_NONE constant in sound.c 2019-03-16 12:31:29 -05:00
Phlosioneer 092608aef6 Add a constant for "no music" on maps. 2019-03-16 12:31:29 -05:00
aueuaio b67c0698c2 add troubleshooting line in INSTALL.md
While following the instructions for macos (i have sierra) in INSTALL.md, agbcc/build.sh failed, complaining it couldn't find the /opt/devkitpro/devkitARM/base_tools file. After a bit of research, i found out this file is in the devkitarm-rules package (in the devkitpro repos for pacman). Since installing this package fixes the problem, i added some troubleshooting instructions for it in INSTALL.md.
2019-03-16 12:27:30 -05:00
Phlosioneer 61fa4cf2ba Make a powershell version of asmdiff.sh
This version can be used with VSCode's built-in diff, and has better
error detection for new contributors.
2019-03-16 12:26:01 -05:00
Phlosioneer 703554c4df Ranges are magic 2019-03-16 12:25:02 -05:00
Phlosioneer 61344a4fee Document the water droplet data. 2019-03-16 12:25:02 -05:00
garak d0115db565 move pokemon graphics to mon-specific directories 2019-03-16 12:21:47 -05:00
garak 14211fb495 fix incbin paths 2019-03-16 12:21:47 -05:00
Phlosioneer bdc6ed1a98 Decompiled two difficult functions
Had do use a lot of `asm` directives for sub_81C8A28 to match.
2019-03-16 00:34:11 -04:00
Phlosioneer 8cea949e6d Move constant and EWRAM data into C. 2019-03-15 19:33:30 -04:00
Phlosioneer a71c563b10 A few more functions decompiled 2019-03-15 02:33:55 -04:00
Phlosioneer 31ded7cc6f Merge branch 'master' into pokenav-decomp-again 2019-03-15 01:19:00 -04:00
Phlosioneer 7f70b629f5 Document sAreaGlowTilemapMapping
I used a script to generate the format for the array, so I can easily
change its formatting if needed.
2019-03-12 05:35:15 -04:00
Phlosioneer 8e1537fb57 Document map name popup flag 2019-03-10 09:23:58 -05:00
Phlosioneer 13c2f91b11 Moved last contest data into C 2019-03-09 23:51:39 -05:00
Phlosioneer 0c935a8bd5 Move the contest opponent filter to C 2019-03-09 22:54:17 -05:00
Phlosioneer a32e8e7405 Move gContestOpponents into C
2,400 LOC by hand.
2019-03-09 20:56:36 -05:00
Phlosioneer 0e8f94a83e Last bit of cleanup on contest_opponents 2019-03-09 02:49:57 -05:00
Phlosioneer 153499ed6f Clean up contest_opponents.inc 2019-03-09 01:38:38 -05:00
Phlosioneer 5b4b0a245b Move contest winner list to C 2019-03-09 00:01:49 -05:00
Phlosioneer 88c3781880 Move text pointer tables into C 2019-03-08 22:33:40 -05:00
Phlosioneer b7cfa9d365 Move more contest constants into C 2019-03-08 21:39:51 -05:00
huderlem 32f71b2976 Merge pull request #600 from Phlosioneer/summary-screen-macros
Summary screen macros
2019-03-08 13:37:12 -06:00
huderlem f235d07db5 Merge pull request #590 from Phlosioneer/ok-bot-symbol-counting
Improve OK bot's symbol counting
2019-03-08 13:35:57 -06:00
huderlem d637317e32 Merge pull request #592 from Phlosioneer/extern-cleanup
Extern cleanup
2019-03-08 13:28:49 -06:00
Phlosioneer c3feb9871f Use PIXEL_FILL macro 2019-03-08 04:02:05 -05:00
Phlosioneer 622096a9d3 spaces => tabs 2019-03-08 04:00:11 -05:00
Phlosioneer 146c194b0c Actually change the variable name this time 2019-03-08 03:12:08 -05:00
Phlosioneer 5886f82ef5 Merge branch 'master' into extern-cleanup 2019-03-08 02:45:26 -05:00
Phlosioneer eaddf396b2 I was dumb and forgot to add merge fixes 2019-03-08 02:35:19 -05:00
Phlosioneer b93d923826 Merge branch 'master' into move-tutor 2019-03-08 02:27:20 -05:00
Phlosioneer eac70acab6 Change filename to something more descriptive 2019-03-08 02:17:01 -05:00
Phlosioneer af182d6f16 Minor cleanup before pushing 2019-03-08 02:10:44 -05:00
Phlosioneer 69aec91577 Decompile move tutor stuff
2 nonmatching.
2019-03-08 01:56:38 -05:00
Marcus Huderle bd157b301d Scaninc: Don't insert missing headers into dependencies 2019-03-07 09:46:14 -06:00
Phlosioneer 6638ebe7fd Fix copyright mixup 2019-03-07 08:46:55 -06:00
Phlosioneer b0c634d531 Support absolute paths 2019-03-07 08:46:55 -06:00
Phlosioneer 105e1721d6 Overhaul scaninc to work recursively
This also fixes the bug where scaninc would ignore #include lines
in assembly files.
2019-03-07 08:46:55 -06:00
Phlosioneer aa7657a82a Move constants into C
Also figured out what one of the graphics files is for.
2019-03-06 22:58:05 -05:00
Phlosioneer 0da83abad2 Several nonmatching functions
Huge and difficult.
2019-03-06 22:27:30 -05:00
Phlosioneer 4345ba8e6c More decompiled and cleanup 2019-03-05 22:32:28 -05:00
Phlosioneer c3594f982d Decompiling pokeblock ui stuff 2019-03-05 20:32:14 -05:00
Diegoisawesome 0081474018 Merge pull request #606 from DizzyEggg/angery
Fix Controllers end command function names
2019-03-05 14:17:44 -06:00
DizzyEggg e79b6f747b Fix Controllers end command function names 2019-03-05 20:07:59 +01:00
Diegoisawesome 842e3c8b42 Merge pull request #605 from DizzyEggg/rename
Rename an erroneously named battlescript
2019-03-05 10:41:30 -06:00
Diegoisawesome fd4a0c499d Merge pull request #604 from DizzyEggg/flying
Clean up flying.c
2019-03-05 10:41:15 -06:00
DizzyEggg 596d85bcbd What is love, baby dont hurt me 2019-03-05 17:07:37 +01:00
DizzyEggg b150091436 Rename an erroneously named battlescript 2019-03-05 17:06:29 +01:00
DizzyEggg b9c216638c try flying 2019-03-05 16:52:40 +01:00
Phlosioneer 9bea9e1624 Start decompiling menu_unknown 2019-03-05 06:06:20 -05:00
DizzyEggg 3507ac3974 Start fixing flying.c 2019-03-05 09:02:05 +01:00
Diegoisawesome cb2922e7d7 Merge pull request #603 from Phlosioneer/makefile-map-fix
Fix make to look for .json files instead of folders
2019-03-05 01:15:40 -06:00
Phlosioneer 18902219ad Fix make to look for .json files instead of folders
Currently, when Make is building the maps, it considers every
folder in the data/maps/ directory as a map that needs to be built,
even folders that are empty. This can be a problem when modding on
a separate branch, because git doesn't always clean up directories
when switching branches (usually because of hidden files in those
directories), so switching back to an unmodded branch will leave
an empty folder that confuses make.

This commit changes the makefile so that it only checks directories
that have map.json files in them.
2019-03-05 01:46:20 -05:00
Diegoisawesome deb555310d Merge pull request #602 from garakmon/fly
match sub_810EE14 in flying.c
2019-03-04 23:37:57 -06:00
Phlosioneer 0e3fc4956b Rename asm file 2019-03-05 00:06:43 -05:00
Phlosioneer 907492fd6e Split rom asm file in half
The first half is ui/menu stuff, while the second half is link-related
stuff.
2019-03-04 23:26:51 -05:00
Phlosioneer cae63cf1c7 Rename move tutor to move relearner 2019-03-04 20:56:39 -05:00
Phlosioneer ac7a048380 Removed PREV and NEXT macros, changed summary name 2019-03-04 00:25:07 -05:00
Phlosioneer 05199f8fc7 Fix merge issue 2019-03-03 22:27:57 -05:00
garak 1758eb99df match sub_810EE14 in flying.c 2019-03-03 22:08:58 -05:00
Phlosioneer 2879fe7fe0 Merge branch 'master' into summary-screen-macros 2019-03-03 16:58:54 -05:00
Phlosioneer 63e700af6c Use macros for summary windows
Other minor changes and fixes are included
2019-03-03 16:50:51 -05:00
Phlosioneer f378a5a316 Fix symbol overcounting, add partial symbols 2019-03-03 15:02:26 -05:00
shinny456 1e7f4a80c7 port the rest of flying (leave 2 nonmatchings to egg) 2019-03-03 09:33:19 -06:00
Phlosioneer 4ea5e85bed Fix typos
This is an updated version of #554, since it hasn't been updated in two
weeks.
2019-03-03 09:31:47 -06:00
Phlosioneer e03595a10d Bugfixes from #591 2019-03-03 09:31:08 -06:00
huderlem c9d2fcabef Merge pull request #553 from Phlosioneer/main-menu-state-machine
Document main_menu state machine, name window constants
2019-03-03 09:28:35 -06:00
Phlosioneer 27aa27a2e9 Fix tabs 2019-03-03 02:58:50 -05:00
Phlosioneer 4907ce6f7f Fully document move_tutor (formerly learn_move) 2019-03-03 02:50:40 -05:00
Phlosioneer 9372731c3e Merge branch 'master' into main-menu-state-machine 2019-03-02 17:35:44 -05:00
Phlosioneer 3716da5430 Rename macro with correct name for pixel values 2019-03-02 17:25:39 -05:00
Phlosioneer 80a4ee1145 Remove water.h and flying.h 2019-03-02 17:23:10 -05:00
DizzyEggg 043071ae12 Don't extern gMoveNames 2019-03-02 08:25:14 -06:00
huderlem ee9694d9ba Merge pull request #587 from Phlosioneer/document-all-event-vars
Document all event vars
2019-03-02 08:24:46 -06:00
Phlosioneer 25050b9944 Fix tabs, do suggested rename 2019-03-02 04:13:27 -05:00
Phlosioneer 49bef25856 Clean up the last extern functions 2019-03-02 03:18:08 -05:00
Phlosioneer ee69426838 Eliminate more externs 2019-03-02 02:44:02 -05:00
Phlosioneer 0f6cc27e81 Fixed decomp issue around LoadPalette
In LoadLinkPartnerEventObjectSpritePalette, using paletteNum += 6 causes
GCC to "mark" paletteNum's register as a possible overflow, even though
it performs the overflow check. Then, when passing args to LoadPalette,
GCC fails to recognize that 0x100 + ((any u8) << 4) can never overflow
as a u16. It then does an overflow check before calling LoadPalette.

Assigning to a temp variable seems to avoid this "marking" behavior.
2019-03-02 00:36:59 -05:00
Phlosioneer 3ceb1667c9 Reduce externs 2019-03-01 22:32:50 -05:00
huderlem 3b04cfa437 Merge pull request #551 from Phlosioneer/multiplayer-stuff
Document overworld.c and link stuff in general
2019-03-01 08:43:55 -06:00
Phlosioneer a7e5852f1d More minor fixes 2019-03-01 01:49:11 -05:00
Phlosioneer 459fd93b59 Fix minor errors 2019-03-01 01:18:58 -05:00
Phlosioneer d0f665fddc Fix tabs 2019-03-01 01:09:53 -05:00
Phlosioneer 2d0e0083bb Improve OK bot's symbol counting 2019-03-01 01:06:27 -05:00
Phlosioneer da0687987d Pick better names for constants 2019-02-28 22:21:16 -06:00
Phlosioneer 189d387f01 Add macros for metatile manipulation 2019-02-28 22:21:16 -06:00
hondew 9ed0f77528 fixed issues in data and include dirs 2019-02-28 21:21:56 -06:00
hondew 53d7e21332 fix formatting in slot_machine.c 2019-02-28 21:21:56 -06:00
hondew 6a4202cdbd tidied lucky flags 2019-02-28 21:21:56 -06:00
hondew 1dc0d346d9 fix spelling error 2019-02-28 21:21:56 -06:00
hondew dd8ecabe26 fix mistakes and bad formatting 2019-02-28 21:21:56 -06:00
hondew f965f1b13d label luckyFlags 2019-02-28 21:21:56 -06:00
hondew a6eb879267 minor reeltime changes 2019-02-28 21:21:56 -06:00
hondew 47a3477ab1 finish DecideReelTurns 2019-02-28 21:21:56 -06:00
hondew f8f046c850 clean up slot machine more 2019-02-28 21:21:56 -06:00
hondew 67fe781ed2 clean up slot machine until AwardPayout 2019-02-28 21:21:56 -06:00
hondew 5c8cc5225f document slot machine 2019-02-28 21:21:56 -06:00
DizzyEggg baf95a8e7a get rid of ugly cast 2019-02-28 17:26:09 -06:00
Phlosioneer 99bfd8c80f VAR_0x3F20 is not a var 2019-02-28 00:10:44 -05:00
Phlosioneer 373d73eb3b Fix last special var 2019-02-28 00:06:27 -05:00
Phlosioneer bf45b83c65 Finish documenting event vars 2019-02-27 23:54:51 -05:00
Phlosioneer 782979f1fc Finish documenting trainer hill
Trainer hill isn't anywhere close to done, but I figured out enough
to name the VAR. That's all this PR should do.
2019-02-27 22:16:01 -05:00
Phlosioneer 66f0616a2d I guess I'm documenting Trainer Hill now 2019-02-27 21:31:05 -05:00
Phlosioneer e77e7844ea Name several vars, document some related events 2019-02-27 20:25:09 -05:00
Phlosioneer 648fc3d4f3 Name more unknown vars 2019-02-27 15:18:56 -05:00
Phlosioneer 4137dd7b0b Identify unused, never read, and never written vars 2019-02-27 14:42:32 -05:00
Marcus Huderle 4b9e93850c Document easy chat screen types 2019-02-27 12:55:29 -06:00
Phlosioneer c1348d22f3 Name most event scripts related to unusual weather 2019-02-27 04:27:54 -05:00
Phlosioneer fe55580fe1 Reverse engineer unusual weather events 2019-02-27 03:42:04 -05:00
Phlosioneer 2e789dbbdc Decompile another 7 functions 2019-02-27 02:11:45 -05:00
Phlosioneer b2c92ee8c5 Missed some fill values
Must have forgotten to check FillWindowPixelRect.
2019-02-26 22:45:39 -05:00
Phlosioneer 72bb0daccb Merge branch 'master' into main-menu-state-machine 2019-02-26 22:34:42 -05:00
Phlosioneer 6cb4c677cd Fix backwards names 2019-02-26 22:30:40 -05:00
Phlosioneer b8a60b055b Fix previous merge 2019-02-26 22:11:43 -05:00
Phlosioneer 3a44b090d1 Merge branch 'master' into multiplayer-stuff 2019-02-26 22:07:29 -05:00
Phlosioneer accea672f1 Incorporate feedback 2019-02-26 22:04:44 -05:00
Marcus Huderle 231355f84d Decompile easy_chat data 2019-02-26 14:50:02 -06:00
Marcus Huderle b60611c38e Finish decompiling easy_chat.c code 2019-02-26 14:50:02 -06:00
DizzyEggg 7742e28dad Easy chat nonmatchings fix
do {} while(0);
2019-02-26 09:15:20 -06:00
huderlem 153f134318 Merge pull request #583 from huderlem/easy_chat
Decompile more easy_chat.c
2019-02-25 14:12:18 -06:00
Marcus Huderle 7ea05431a5 Decompile more easy_chat.c 2019-02-25 14:11:31 -06:00
huderlem d77ba3d413 Merge pull request #581 from arantonitis/pokemon_summary
Documented/polished pokemon_summary_screen.c
2019-02-25 08:09:14 -06:00
huderlem b3a7a1278a Merge pull request #577 from Phlosioneer/weather-15
Document the weather state functions
2019-02-25 08:03:22 -06:00
huderlem 84573f1774 Merge pull request #574 from Phlosioneer/event-vars
Event vars
2019-02-25 08:02:28 -06:00
Phlosioneer a5cf2b8090 Use map script constants in map script functions 2019-02-25 08:01:22 -06:00
Phlosioneer 8816aa527d Update map script files 2019-02-25 08:01:22 -06:00
Phlosioneer 5f7a971313 Source file part of map script renaming 2019-02-25 08:01:22 -06:00
Phlosioneer 1cd5cb09cf Merge branch 'master' into weather-15 2019-02-25 02:30:35 -05:00
Phlosioneer e1b2460748 Adjust formatting, rename function 2019-02-25 02:28:41 -05:00
Phlosioneer 4e5fae0086 Merge branch 'master' into event-vars 2019-02-25 02:24:20 -05:00
Phlosioneer 87859a655b Fix flag formatting for fun 2019-02-25 02:20:38 -05:00
Phlosioneer c03b13b855 Decompiled more, got one NONMATCHING 2019-02-25 01:02:16 -05:00
huderlem a589d4a630 Delete porymap.project.cfg 2019-02-24 10:22:11 -06:00
Tustin2121 4a785e66ba Changing descriptions to not be file names 2019-02-24 10:20:31 -06:00
tustin2121 8711bc5156 Document HEALTHBOX_GRX_* in battle_interface.c
Most of these are referenced via offsets, like the HP bar, which uses [0 pixels] + (number of pixels) to reference which chunk to draw. Each corresponds to a 16x16 pixel in the graphic named. Up to you guys if you want to rename the constants.
2019-02-24 10:20:31 -06:00
Phlosioneer 04db99bb0a More misc event names 2019-02-24 10:10:18 -06:00
Phlosioneer 0de831fd29 Name some common single-entry movements 2019-02-24 10:10:18 -06:00
Phlosioneer 4582fd1545 Name a ton of commonly used event scripts 2019-02-24 10:10:18 -06:00
Marcus Huderle bb508ade64 Decompile more of easy_chat.c 2019-02-24 10:09:57 -06:00
Phlosioneer a25f4c75bc Decompiled a weird function 2019-02-24 04:33:58 -05:00
Phlosioneer 62589d7003 Decompiled more, ported asmdiff to powershell 2019-02-24 03:33:33 -05:00
Phlosioneer a7d2d986b2 Decompiled two small functions, updated structs 2019-02-23 23:38:32 -05:00
Phlosioneer fb8dddf0f1 Decompiled sub_81C81D4 2019-02-23 23:17:26 -05:00
Ariel Antonitis 0c47744a63 Moved ALIGNED(4) from extern to unknown struct. 2019-02-23 22:22:38 -05:00
Ariel Antonitis d24cd4f0a8 Fixed broken encoding. 2019-02-23 22:04:21 -05:00
Ariel Antonitis 42bb5dc53d Removed unused filler by aligning adjacent variables 2019-02-23 21:55:24 -05:00
Ariel Antonitis 74a3c06270 Documented/polished pokemon_summary_screen.c
Mostly variables mislabeled as global and some formerly unknown stuff.
2019-02-23 21:12:35 -05:00
Diegoisawesome 7995cf5b61 Merge pull request #578 from DizzyEggg/pokenav
pokenav
2019-02-23 16:04:59 -06:00
Marcus Huderle f34903bc45 Decompile more easy_chat.c 2019-02-23 13:05:34 -06:00
ultima-soul eb48cc2f7e Decompile through sub_8167930. 2019-02-23 09:08:07 -08:00
DizzyEggg 788caa4fe2 pokenav 2019-02-23 13:34:01 +01:00
Phlosioneer b2866fae21 Document the weather state functions
All weather types are now documented (including WEATHER_15)
2019-02-22 22:20:42 -05:00
Marcus Huderle d3f66a98ff Decompile more easy_chat 2019-02-22 11:46:05 -06:00
Phlosioneer cea5696f23 Finish moving pokeruby vars 2019-02-22 04:18:43 -05:00
Phlosioneer e12a7790cf Start porting pokeruby vars to pokeemerald 2019-02-22 04:01:38 -05:00
Phlosioneer 44e92ce259 Give window drawing functions better names 2019-02-22 01:40:11 -05:00
Phlosioneer 199863f21f Replace more instances of fill values 2019-02-21 23:56:22 -05:00
Phlosioneer c96f8751cd Improve window palette macros 2019-02-21 23:27:12 -05:00
Phlosioneer 399d646e3f Merge branch 'master' into main-menu-state-machine 2019-02-21 22:24:25 -05:00
Phlosioneer eca329f9c5 Merge branch 'master' into multiplayer-stuff 2019-02-21 21:22:10 -05:00
Marcus Huderle b105d20d1e Decompile chunk of easy_chat.c 2019-02-21 17:46:14 -06:00
Marcus Huderle 1c6502338e Decompile contest_link_80F57C4.c 2019-02-20 18:11:27 -06:00
Marcus Huderle 4223bb65f0 Decompile several contest_link_80F57C4.c functions 2019-02-19 16:36:42 -06:00
Marcus Huderle 05f9368154 Decompile start of flying.c 2019-02-19 16:36:42 -06:00
Diegoisawesome 1b0079445d Merge pull request #559 from Phlosioneer/finish-newgame-docs
Finish and polish new_game.c
2019-02-18 13:28:50 -06:00
Diegoisawesome 924cbe9ee4 Merge pull request #560 from Phlosioneer/regi-documentation
Document the regi* code more
2019-02-18 13:23:19 -06:00
Phlosioneer 486cf449b8 Make flag names more consistent 2019-02-18 14:17:02 -05:00
Phlosioneer bfe67842ab Fix spelling (again) 2019-02-18 14:14:07 -05:00
Phlosioneer fcb541189d Rename some flags, and use map ID macros 2019-02-18 02:02:20 -05:00
Diegoisawesome 047d8288cc Merge pull request #557 from Phlosioneer/navgear-decompile
Navgear decompile
2019-02-18 00:34:01 -06:00
Phlosioneer 93e9b9fe5d Fix some names 2019-02-18 01:33:41 -05:00
Phlosioneer 0a7b97ee06 Merge branch 'master' into multiplayer-stuff 2019-02-18 01:19:16 -05:00
Phlosioneer 5695617d64 Merge branch 'master' into multiplayer-stuff 2019-02-18 01:12:47 -05:00
Phlosioneer 40d4f7f8db Minor fixes 2019-02-18 01:10:59 -05:00
Phlosioneer 08579edbcd Clean up mistakes and bad formatting 2019-02-18 01:03:44 -05:00
Phlosioneer 7ad225a72f Address formatting issues and use constants 2019-02-18 00:16:27 -05:00
Phlosioneer f528552583 Rename pokenav file 2019-02-17 23:14:14 -05:00
Phlosioneer 762640664f Fix formatting 2019-02-17 23:14:14 -05:00
Phlosioneer bfeb7fb32a Tabs converted to spaces.
Oops.
2019-02-17 23:14:14 -05:00
Phlosioneer fbcfb69fe6 Remove guess code, fix pointer formatting 2019-02-17 23:14:14 -05:00
Phlosioneer 197ad274b4 Reformat braces 2019-02-17 23:14:14 -05:00
Phlosioneer be08a662a8 More data moved into C code 2019-02-17 23:14:14 -05:00
Phlosioneer a4aaf279ac Move more data into pokenav, name some strings 2019-02-17 23:14:14 -05:00
Phlosioneer bf4c1a73c0 Start moving pokenav data into C files
The types and usage of many of the globals are now known.
2019-02-17 23:14:14 -05:00
Phlosioneer 758b8c7f0e Decompiled three more functions. 2019-02-17 23:14:14 -05:00
Phlosioneer 6d929c61c5 Decompiled 4 more functions 2019-02-17 23:14:14 -05:00
Phlosioneer cb800e4708 Decompiled 5 functions
Was unable to decompile sub_81C79BC.
2019-02-17 23:14:14 -05:00
Phlosioneer d41c597f90 Decompiled sub_81C7990 2019-02-17 23:14:14 -05:00
Phlosioneer f95eebf47a With help, sub_81C795C has been tamed.
Thanks to Garak on the discord server.
2019-02-17 23:14:14 -05:00
Phlosioneer a8d920cc45 Decompiled 2 functions, unable to decompile 1.
sub_81C795C could not be decompiled due to register naming issues.
However, its structure was correctly matched, so I have left the C
code and a comment explaining the issue.
2019-02-17 23:14:14 -05:00
Phlosioneer 34b16e9e78 Decompiled 5 functions for unknown structs 2019-02-17 23:14:14 -05:00
Phlosioneer 3bb4057bad Decompiled sub_81C7764 2019-02-17 23:14:14 -05:00
Phlosioneer 7c405e08d0 Decompiled three more small functions 2019-02-17 23:14:14 -05:00
Phlosioneer 5beb2baa97 Decompiled sub_81C76C4 2019-02-17 23:14:14 -05:00
Phlosioneer b038556851 Decompiled several setters and getters 2019-02-17 23:14:14 -05:00
Phlosioneer 13a6765c88 Decompiled several trivial functions 2019-02-17 23:14:14 -05:00
Phlosioneer 112fc47017 Decompiled sub_81C756C
Also discovered a constant that may be useful for future decompiling.
Comments were added in the asm that references the constant.
2019-02-17 23:14:14 -05:00
Phlosioneer 3d73f7c48c Decompiled sub_81C742C 2019-02-17 23:14:14 -05:00
Phlosioneer cf721879dd Decompiled sub_81C7418 2019-02-17 23:14:14 -05:00
Phlosioneer 323df8ed40 Decompiled sub_81C7400 2019-02-17 23:14:14 -05:00
Phlosioneer 729e7116f2 Decompiled AnyMonHasRibbon 2019-02-17 23:14:14 -05:00
Phlosioneer 5441d80ebc Decompiled sub_81C7360 2019-02-17 23:14:14 -05:00
Phlosioneer aa61e105e0 Decompiled sub_81C7334 2019-02-17 23:14:14 -05:00
Phlosioneer d52cbe6bcb Decompiled sub_81C72BC 2019-02-17 23:14:14 -05:00
Phlosioneer 9bda2297e3 Decompiled sub_81C72A4 2019-02-17 23:14:14 -05:00
Phlosioneer cd84c92cfa Decompiled CB2_PokeNav 2019-02-17 23:14:14 -05:00
Phlosioneer 69b014f7aa Decompiled sub_81C71E4 2019-02-17 23:14:14 -05:00
Phlosioneer fb705e6047 Decompiled sub_81C7170. 2019-02-17 23:14:14 -05:00
Phlosioneer 6466d0bea8 Decompiled sub_81C7124 2019-02-17 23:14:14 -05:00
Phlosioneer 052cd4da10 Decompiled sub_81C70D8 2019-02-17 23:14:14 -05:00
Phlosioneer 698c2879e4 Decompiled sub_81C7078 2019-02-17 23:14:14 -05:00
Diegoisawesome 367c7b5f89 Merge pull request #558 from Phlosioneer/check-pokedex-asm
Add comments explaining the remaining asm in pokedex.c
2019-02-17 12:59:52 -06:00
Diegoisawesome 9c33214510 Merge pull request #564 from garakmon/vram
use macros for VRAM offsets
2019-02-17 12:37:06 -06:00
garak 22657c7087 use BG_SCREEN_ADDR macro for tilemap addresses 2019-02-17 00:35:26 -05:00
garak 35575b57a0 use BG_CHAR_ADDR define 2019-02-16 23:51:06 -05:00
Marcus Huderle 19b76bffda Use strings for map json trainer_type and trainer_sight_or_berry_tree_id fields 2019-02-16 16:56:41 -06:00
garak 0b1bb9e4e9 use strings for map json coord_event var_value 2019-02-16 16:14:43 -06:00
Phlosioneer e90e3458cb Document the regi* code more
Fixed some confusing naming, named some unknown symbols, and fixed the
names of some flags.
2019-02-15 18:24:55 -05:00
Phlosioneer 986d3d8b2f Finish and polish new_game.c
Only one function is left undocumented. I tried to go into the assembly
to at least name it, but it clears fields in the save block that aren't
even documented yet.
2019-02-15 03:40:57 -05:00
Phlosioneer 0a3912c95d Add comments explaining asm in pokedex.c
I added comments to each of the asm functions explaining why they won't
match with the C.
I also got one of the functions much closer to matching.
2019-02-15 01:28:28 -05:00
Diegoisawesome e95140270b Merge pull request #556 from DizzyEggg/patch-2
Fix two battle scripting macros
2019-02-14 10:35:12 -06:00
DizzyEggg cb57044531 Fix two battle scripting macros 2019-02-14 13:05:49 +01:00
Phlosioneer 9e8a841bfa Merge branch 'master' of github.com:pret/pokeemerald into main-menu-state-machine 2019-02-13 23:04:56 -05:00
Diegoisawesome efc5494834 Merge pull request #555 from Diegoisawesome/master
scaninc: Fix C comment consumption logic
2019-02-13 22:00:32 -06:00
Diegoisawesome 05d02e804e Fix C comment consumption logic 2019-02-13 21:55:39 -06:00
Diegoisawesome 047c282763 Merge pull request #548 from Phlosioneer/intro-movie-state-machine
Document the intro movie state machine
2019-02-13 21:24:20 -06:00
Phlosioneer e7d0268143 Fix spelling of Rayquaza 2019-02-13 21:41:28 -05:00
Diegoisawesome aa5d5fa34a Merge pull request #550 from Phlosioneer/name-palette-return-values
Name the possible return values of palette fading functions
2019-02-13 20:15:47 -06:00
Diegoisawesome dfb896356c Merge branch 'master' of github.com:pret/pokeemerald 2019-02-12 00:40:42 -06:00
Diegoisawesome 449fb25f23 Clear up misnamed time-based flags and functions 2019-02-12 00:40:34 -06:00
Phlosioneer d979ac3bf3 Document main_menu state machine, name window constants
The new names for the constants (and newly named functions) give a much
better understanding of what the window system is trying to do.
2019-02-11 00:34:50 -05:00
Diegoisawesome 16eff049a1 Merge pull request #552 from Phlosioneer/ignore-trigraph-warning
Ignore trigraph warning
2019-02-10 21:40:15 -06:00
Phlosioneer 05ad946b83 Ignore trigraph warning 2019-02-10 22:12:43 -05:00
Phlosioneer 327de0283d Adjust constants returned by FlipVerticalAndClearForced 2019-02-10 21:16:12 -05:00
Phlosioneer e75f45dbcf Reverse engineered many of the multiplayer events
Some corrections to the way events are handled and identified.
2019-02-10 20:42:50 -05:00
Phlosioneer f2f1b1978b Done documenting link code in overworld.c 2019-02-10 03:54:50 -05:00
Phlosioneer 3fd878483f Start renaming symbols
I finally figured out what the code is trying to do. I have a foothold;
the rest should follow.
2019-02-10 00:50:46 -05:00
Phlosioneer d0cc8dfc17 Change negative constant into unsigned hex constant 2019-02-09 22:02:56 -05:00
Phlosioneer 37bea25b01 Name the possible return values of palette fading functions
Also replace implicit conversion from gPalette.active into a status with
if statements, to make the return value clear.

I've also added comments when the check is redundant.
2019-02-09 21:50:12 -05:00
Phlosioneer 45297797e6 Document the intro movie state machine
Need to study the water droplet animation more closely before they can
be renamed; otherwise, this names every major symbol in this file.
2019-02-09 21:07:07 -05:00
Marcus Huderle 6f1d2b870c Give proper names to dynamic map layouts 2019-02-09 09:57:30 -06:00
Marcus Huderle 40dc6833c5 Fully document tileset animations 2019-02-08 15:07:42 -06:00
Marcus Huderle abebd2b864 Cleanup externs in overworld.c 2019-02-08 11:48:51 -06:00
Marcus Huderle 6add3e1794 Document some battle dome stuff 2019-02-08 11:08:25 -06:00
Marcus Huderle 4570e3b6a5 Document battle arena 2019-02-08 09:41:36 -06:00
Marcus Huderle 3a40f5203b Remove old rom_818CFC8.h header 2019-02-07 17:41:44 -06:00
Marcus Huderle 85040e26fd Document battle pike 2019-02-07 17:37:41 -06:00
Marcus Huderle 4785a07acd Document battle factory functions 2019-02-07 12:58:09 -06:00
Marcus Huderle b52871433a Fix typo 2019-02-07 11:54:51 -06:00
Marcus Huderle 3a88ab831d Document more battle pyramid 2019-02-07 11:51:03 -06:00
Marcus Huderle a1ad1bad3a Document a bunch of battle pyramid 2019-02-06 21:14:28 -06:00
Marcus Huderle 1253cbf5f6 Document some battle anim things 2019-02-06 21:14:28 -06:00
huderlem e9149b8608 Merge pull request #544 from Diegoisawesome/master
Add json to list of LF line-end files
2019-02-05 15:45:51 -06:00
Diegoisawesome bc4cc9f78a Merge branch 'master' of github.com:pret/pokeemerald 2019-02-05 14:35:42 -06:00
Diegoisawesome 37e86d7578 Add json to list of LF line-end files 2019-02-05 14:35:31 -06:00
huderlem b0ee100975 Merge pull request #543 from pret/mapdata
Convert map data to JSON
2019-02-04 21:36:18 -06:00
Marcus Huderle d4125fef9b Cleanup and add game version flag to mapjson tool 2019-02-04 17:28:45 -06:00
Diegoisawesome 646533cfa3 Merge pull request #542 from Slawter666/pss
Label some summary screen functions
2019-02-04 09:46:39 -06:00
Slawter666 fa352cfda3 Some more labelling 2019-02-04 14:35:49 +00:00
Slawter666 3d79aeb9da More documentation 2019-02-04 12:44:09 +00:00
Slawter666 804e955c8d Label some more functions 2019-02-04 11:38:44 +00:00
garak 82abc164dc convert mapjson.py to mapjson.cpp 2019-02-03 09:38:29 -06:00
Slawter666 031fd66393 Label some summary screen functions 2019-02-02 22:14:04 +00:00
Diegoisawesome ff48e5ada0 Merge pull request #541 from Diegoisawesome/master
Misc documentation
2019-02-02 16:00:56 -06:00
Diegoisawesome d64a905d65 Document trainer backsprites 2019-02-02 15:56:22 -06:00
Diegoisawesome 59807c0f2c Merge pull request #536 from DizzyEggg/menu
Use Menu and List Menu input defines
2019-02-02 12:45:35 -06:00
DizzyEggg ea79f1c8f6 tabs 2019-02-02 19:41:34 +01:00
Diegoisawesome e8952c2374 Merge pull request #539 from DizzyEggg/ram_vars
Move ram vars in sym files to C
2019-02-02 11:17:50 -06:00
Diegoisawesome 47c105bef6 Merge pull request #538 from DizzyEggg/data
Dump last battle anim file
2019-02-02 11:12:29 -06:00
Diegoisawesome f7cb3719e2 Merge pull request #537 from DizzyEggg/bttle
Name battle's action 11
2019-02-02 11:11:55 -06:00
DizzyEggg 363fa9bed2 Clean up ram vars 2019-02-02 12:44:00 +01:00
DizzyEggg a7f94bbeea Dump last battle anim file 2019-02-02 11:55:11 +01:00
DizzyEggg a740bc7190 Name action 11 2019-02-02 11:32:00 +01:00
DizzyEggg 23b240ab65 Fix Menu and List Menu input defines 2019-02-02 11:04:38 +01:00
Diegoisawesome 46a3969f69 Add constants for flags and vars 2019-02-02 00:25:43 -06:00
Diegoisawesome 9d8a43a1fb Merge pull request #534 from DizzyEggg/patch-1
Get rid of an unnecessary extern
2019-02-01 14:51:04 -06:00
Diegoisawesome 437457c0c6 Merge pull request #533 from DizzyEggg/item
Match GetItemEffectType
2019-02-01 14:50:51 -06:00
DizzyEggg b3d48c0ed6 Get rid of an unnecessary extern 2019-02-01 19:45:06 +01:00
DizzyEggg d02a788d2e Match GetItemEffectType 2019-02-01 19:25:10 +01:00
Diegoisawesome b26c24ffee Merge pull request #532 from DizzyEggg/bored
Fix some fakematches
2019-02-01 10:04:42 -06:00
Diegoisawesome b4f83b4f0f Merge pull request #531 from DizzyEggg/lol
CgbSound
2019-02-01 10:00:55 -06:00
DizzyEggg c0db311637 some more fakematch fix 2019-02-01 12:26:40 +01:00
DizzyEggg e3bec4b480 fix nonmatch in mauville old man 2019-02-01 11:56:02 +01:00
DizzyEggg 7c8fb66acf Fix field player avatar fakmatch 2019-02-01 11:50:45 +01:00
DizzyEggg 5dfaf22fb3 Fix pokemon icon asm 2019-02-01 11:39:24 +01:00
DizzyEggg 26b371e080 Update Makefile 2019-02-01 10:37:50 +01:00
DizzyEggg b4055e4fc0 Merge m4a files into one, get rid of one asm 2019-02-01 10:37:13 +01:00
DizzyEggg 7750a8126d CgbSound is decompiled. 2019-02-01 00:25:31 +01:00
Marcus Huderle 29d6221935 Convert map data to JSON 2019-01-31 15:51:20 -06:00
Diegoisawesome 3f1a7330dd Document siirtc a bit more 2019-01-30 19:48:28 -06:00
Diegoisawesome d2c17c7fb3 Merge pull request #529 from DizzyEggg/rename
Rename a palace battle field
2019-01-29 17:22:13 -06:00
Marcus Huderle 5c1667b41a Define layout constants 2019-01-29 16:55:25 -06:00
DizzyEggg d46e60765d Rename a palace battle field 2019-01-29 22:22:02 +01:00
Marcus Huderle 14641e916e Cleanup Rustboro City House layout label 2019-01-29 14:36:02 -06:00
Marcus Huderle bd667102fa Fix PetaburgCity map scripts label 2019-01-29 14:36:02 -06:00
Marcus Huderle e43f341799 Cleanup link contest map scripts 2019-01-29 14:36:02 -06:00
Marcus Huderle 8f832434e5 Change drought colors table files to .bin 2019-01-29 14:36:02 -06:00
Marcus Huderle d2d44a97b8 Cleanup link contest map events 2019-01-29 14:36:02 -06:00
Marcus Huderle 36a1825bbe Document trainer approach funcs, and use movement type constants in scripts 2019-01-29 14:36:02 -06:00
Marcus Huderle e81838dba3 Misc. documentation and move some data into .c files 2019-01-29 14:36:02 -06:00
Diegoisawesome 5bfd802dbb Merge pull request #527 from DizzyEggg/contest
Finish up Contest.c
2019-01-28 12:48:39 -06:00
DizzyEggg 73d919fa0f Define double single left right qutoation marks char 2019-01-28 19:02:34 +01:00
DizzyEggg 922726ff3d contest 2019-01-28 18:19:58 +01:00
DizzyEggg ad59811154 Decompile whole contest 2019-01-28 18:13:07 +01:00
DizzyEggg 26a2a4f9e7 Match all of contest functions 2019-01-28 12:29:47 +01:00
Diegoisawesome 183b6857ff Merge pull request #458 from ultima-soul/contest
Decompile more of contest
2019-01-27 23:08:24 -06:00
ultima-soul 72720204da Fix stuff 2019-01-27 20:54:21 -08:00
ultima-soul d633ee6f58 Minor changes 2019-01-27 20:48:18 -08:00
ultima-soul f828823bf0 Make changes 2019-01-27 20:21:30 -08:00
Diegoisawesome 6b2dda422b Merge branch 'master' of github.com:pret/pokeemerald 2019-01-27 00:11:44 -06:00
Diegoisawesome 7a60f36954 Clean up variable numbers mistakenly written as decimal 2019-01-27 00:11:32 -06:00
Diegoisawesome f4af987c01 Merge pull request #526 from DizzyEggg/frontier_pass
Frontier Pass
2019-01-26 15:14:17 -06:00
DizzyEggg 54ddbaaf0c Frontier pass clean-up 2019-01-26 22:09:24 +01:00
DizzyEggg 251d16b733 Make Frontier pass compile 2019-01-26 21:06:20 +01:00
DizzyEggg 01c3f3fc05 Document all of frontier pass 2019-01-26 20:56:06 +01:00
DizzyEggg 03549349f8 Decompile all frontier pass 2019-01-26 19:20:14 +01:00
DizzyEggg 0688725afb Document and decompile more of frontier pass. 2019-01-26 14:50:24 +01:00
DizzyEggg 08a3533682 Start frontier pass 2019-01-25 23:32:45 +01:00
Diegoisawesome 29b9483f39 Merge pull request #521 from DizzyEggg/dump
Dump trainer hill trainers
2019-01-24 17:21:04 -06:00
DizzyEggg 74de0f59bd Merge branch 'master' into dump 2019-01-24 21:53:06 +01:00
Diegoisawesome 0827945698 Merge pull request #525 from pret/revert-524-master
Revert "Obsolete common_syms and rewrite sym files, to keep up with pokeruby"
2019-01-24 14:49:57 -06:00
DizzyEggg ebfaf3f6be Merge branch 'master' into dump 2019-01-24 21:30:19 +01:00
Diegoisawesome dedc289914 Revert "Obsolete common_syms and rewrite sym files, to keep up with pokeruby" 2019-01-24 14:18:01 -06:00
Diegoisawesome dcf79a29ba Merge pull request #524 from nullableVoidPtr/master
Obsolete common_syms and rewrite sym files, to keep up with pokeruby
2019-01-24 14:13:24 -06:00
nullableVoidPtr 10fca92833 Obsolete common_syms and rewrite sym files, to keep up with pokeruby 2019-01-25 03:50:41 +08:00
Diegoisawesome 4cd4cbe133 Merge pull request #522 from DizzyEggg/trainer_card
Trainer card
2019-01-23 14:43:37 -06:00
DizzyEggg 524db6068e Merge branch 'master' into trainer_card 2019-01-22 21:59:32 +01:00
DizzyEggg b6e5b4ee1a trainer card diego pls 2019-01-22 21:56:57 +01:00
Diegoisawesome 900f294011 Add var const prefix for some missed var numbers 2019-01-21 22:34:01 -06:00
Diegoisawesome 6c1cb7219e Update devkitPro version in Travis 2019-01-21 14:04:07 -06:00
DizzyEggg 23b396dd3f Merge pull request #59 from garakmon/trhill
trainer hill easy chat constants
2019-01-21 20:08:36 +01:00
garak 261955b6ed trainer hill easy chat constants 2019-01-21 12:01:49 -05:00
DizzyEggg 75a1c022dd Make trainer card compile 2019-01-20 18:48:29 +01:00
DizzyEggg 4e396207d3 document more of trainer card 2019-01-20 18:24:35 +01:00
DizzyEggg 576d1b3474 Document and match somne trainer card 2019-01-19 23:04:33 +01:00
shinny456 f06c0749bc trainer_card up to sub_80C4998 2019-01-19 12:14:59 -05:00
shinny456 1b30da21d9 merge trainer hill changes 2019-01-19 10:44:58 -05:00
DizzyEggg f84b22fca4 Dump trainer hill trainers 2019-01-19 12:57:18 +01:00
Diegoisawesome 6857b73ee3 Split pokenav so calcrom works properly 2019-01-14 15:25:29 -06:00
Diegoisawesome b4b4fb951a Merge pull request #519 from DizzyEggg/trainer_hill
Trainer Hill
2019-01-14 14:18:29 -06:00
DizzyEggg 87763d133f bites to bits 2019-01-14 20:57:44 +01:00
DizzyEggg 353ad13f91 make trainer hill compile 2019-01-13 20:58:42 +01:00
DizzyEggg 4b420643dc Merge branch 'master' into trainer_hill 2019-01-13 20:51:05 +01:00
DizzyEggg edddd847c5 Document and clean up trainer hill 2019-01-13 20:50:08 +01:00
DizzyEggg c0bc01d301 Move some vars to C 2019-01-13 13:15:23 +01:00
DizzyEggg 11a49a7f02 Decompile trainer hill 2019-01-13 12:12:27 +01:00
Philipp AUER e13895e58a fix debug symbol in Makefile 2019-01-11 10:41:51 -06:00
Philipp AUER f53279b1e1 add DWARF debug sections to ld_script.txt 2019-01-11 10:41:51 -06:00
Philipp AUER 372d5f63d8 add debug flag to Makefile 2019-01-11 10:41:51 -06:00
shinny456 8a5fce7837 start decompiling trainer_card.s 2019-01-08 21:51:19 -05:00
Diegoisawesome 1285f96e1d Merge pull request #517 from Diegoisawesome/master
Rename non-mapsec constants
2019-01-08 14:18:24 -06:00
Diegoisawesome af2c39860d Rename non-mapsec constants 2019-01-08 13:40:11 -06:00
ultima-soul b8ff71e65e Fix build conflicts. 2019-01-06 14:11:31 -08:00
ultima-soul 284751e761 Decompile through ClearContestWinnerPicsInContestHall, 10 NONMATCHINGs present. 2019-01-06 13:41:18 -08:00
ultima-soul 2ca482dc24 Committing progress so far. 2019-01-06 13:38:31 -08:00
ultima-soul f966b65849 Through sub_80DC028, sub_80DC0F4 non-matching. 2019-01-06 13:32:48 -08:00
ultima-soul 76510d58bb Matched up to sub_80DBF68, sub_80DBF90 WIP. 2019-01-06 13:32:47 -08:00
Diegoisawesome 37d7348e01 Merge pull request #505 from Slawter666/secret-base
Use constants in secret_base.c
2019-01-05 14:55:41 -06:00
Slawter666 aeaf390706 Update constants 2019-01-05 20:12:50 +00:00
Slawter666 f8c2fcb9b2 Merge branch 'master' of https://github.com/pret/pokeemerald into secret-base 2019-01-05 19:54:26 +00:00
Diegoisawesome cbf7d6cee5 Merge pull request #513 from DizzyEggg/hmmm
Get rid of 3 fakematchings and 1 nonmatching
2019-01-05 13:37:52 -06:00
DizzyEggg 50a26bffe4 tabs to spaces 2019-01-05 19:27:23 +01:00
DizzyEggg b756996581 fakematch and nonmatch 2019-01-05 19:25:46 +01:00
Marcus Huderle 95db853a78 Decompile more of contest_link_80F57C4.c 2019-01-04 20:03:29 -06:00
Philipp AUER 55202eac24 rename coords to size in struct MonCoords 2019-01-04 19:59:55 -06:00
huderlem cba2f81bf8 Merge pull request #507 from Tetrable/master
Finish off labeling flags
2019-01-03 20:37:25 -06:00
Marcus Huderle fd201f8395 Start decompiling contest_link_80F57C4.c 2019-01-03 20:35:20 -06:00
Marcus Huderle 2857f7fff9 Decompile contest_link_81D9DE4.c 2019-01-03 20:35:20 -06:00
Marcus Huderle bc43dbab13 Decompile contest_link_81D9DE4.c 2019-01-03 20:35:20 -06:00
Tetrable 97ebeef1db Relabel TEMP_FLAG_20 into FLAG_UNUSED_0x020 2019-01-03 18:13:16 +00:00
Tetrable 30e7ac0dca Fix merge conflicts 2019-01-03 02:28:18 +00:00
Tetrable 50aa222aff Corrected typos 2019-01-03 01:54:55 +00:00
Marcus Huderle b471bba55e Use better names for match call texts 2019-01-02 19:46:15 -06:00
Marcus Huderle e1092028ec Decompile match_call.c 2019-01-02 19:46:15 -06:00
Diegoisawesome f8c708a82a Merge pull request #506 from Slawter666/menu
Minor labelling of menu.c
2019-01-02 17:29:27 -06:00
Diegoisawesome 0053e61535 Merge pull request #504 from Diegoisawesome/roulette
Port/decompile roulette
2019-01-02 17:00:33 -06:00
Diegoisawesome a0188aac33 Cleanup and EWRAM 2019-01-02 16:55:50 -06:00
Diegoisawesome 6202ae1df0 Extract rodata from roulette 2019-01-02 16:40:40 -06:00
Tetrable a3ebca4d81 Fix merge conflicts 2019-01-02 21:25:14 +00:00
Tetrable 1e3da62d24 Finish off labelling flags 2019-01-02 21:12:43 +00:00
Slawter666 99c37023c8 Minor labelling of menu.c 2019-01-02 01:11:02 +00:00
Slawter666 ee5a239534 Use constants in secret_base.c 2019-01-01 23:19:07 +00:00
Diegoisawesome e7f8190ba3 Finish roulette port 2019-01-01 15:25:52 -06:00
Diegoisawesome d28d8c850d Up to sub_81446DC 2018-12-31 19:39:41 -06:00
Diegoisawesome af1e44befe Continue porting roulette 2018-12-31 18:07:29 -06:00
Marcus Huderle a0ff38d0be Fix build 2018-12-31 16:53:38 -06:00
Marcus Huderle 05b1d2ea94 Document field_tasks.c 2018-12-31 16:53:38 -06:00
Marcus Huderle b6ee970e7a Minor berry.c cleanup 2018-12-31 16:53:38 -06:00
Marcus Huderle fb2d1591c1 Document more battle anim effects 2018-12-31 16:53:38 -06:00
Diegoisawesome 439fa13e94 Start porting/decompiling roulette 2018-12-31 16:09:45 -06:00
Diegoisawesome 530a20354c Merge pull request #500 from Deokishisu/patch-1
Consolidate unused escapeRope MapHeader field into filler_18 field
2018-12-31 11:55:33 -06:00
Diegoisawesome 17ac8e29ef Merge pull request #497 from garakmon/rm_sec
index gRegionMapEntries by map section constants
2018-12-31 11:51:12 -06:00
Diegoisawesome 4099f871e6 Merge pull request #502 from nullableVoidPtr/master
Remove sed from ld_script, replace with INCLUDEs
2018-12-31 11:50:28 -06:00
nullableVoidPtr 7c57699fa5 Remove sed from ld_script, replace with INCLUDEs 2019-01-01 00:38:49 +08:00
Diegoisawesome 935a098843 Merge pull request #456 from Diegoisawesome/trade
trade.c
2018-12-31 02:34:42 -06:00
Diegoisawesome d004ce065c Merge branch 'master' of github.com:pret/pokeemerald into trade 2018-12-31 02:30:30 -06:00
Diegoisawesome ec780bb209 Cleanup and documentation 2018-12-31 02:22:21 -06:00
Diegoisawesome c5c6e437ec Document, cleanup, extract data from trade 2018-12-31 01:23:27 -06:00
Deokishisu 447fec26dc Consolidate unused escapeRope MapHeader field into filler_18 field 2018-12-30 19:59:57 -05:00
Marcus Huderle 58f130d007 Document some battle anims and helpers 2018-12-30 11:04:17 -06:00
garak ed25326140 fix formatting 2018-12-29 21:52:38 -05:00
garak 1baa17c632 index gRegionMapEntries by map section constants 2018-12-29 21:49:29 -05:00
Diegoisawesome 2c2554e2ae Merge pull request #495 from DizzyEggg/patch-4
Match and clean up battle anim 3
2018-12-29 14:26:30 -06:00
Diegoisawesome c22a12d8d6 trade source done 2018-12-29 13:50:24 -06:00
Diegoisawesome 2fb9f490fb Almost done with trade 2018-12-29 12:46:15 -06:00
DizzyEggg b2a042f65c Match and clean up battle anim 3 2018-12-29 19:31:04 +01:00
Diegoisawesome 40e94a7c96 Merge pull request #491 from melthelesbian/count_undocumented
count undocumented globals
2018-12-29 12:23:17 -06:00
Melody dc6c0ed17e add event object var references 2018-12-29 11:56:53 -06:00
DizzyEggg 0d5a0b58fa Fakematch a function 2018-12-29 11:51:00 -06:00
DizzyEggg 75b4e9ac70 compile contest 2018-12-29 11:48:28 -06:00
DizzyEggg 55e44b0951 a bit more of contest painting effect 2018-12-29 11:48:28 -06:00
DizzyEggg 34243bbe1d Start contest painting effect 2018-12-29 11:48:28 -06:00
PALPATlNE 061b879561 Documentation for pokemon_summary_screens.c 2018-12-29 11:45:06 -06:00
Marcus Huderle 229177f7c6 Use anim weather constants 2018-12-29 11:40:12 -06:00
Marcus Huderle 8eea0925c5 Finish battle_anim_effects_3.c 2018-12-29 11:40:12 -06:00
Marcus Huderle d0d870e193 Cleanup formatting 2018-12-29 11:36:54 -06:00
Marcus Huderle 6e7bdb3ca4 Document misc field_specials things 2018-12-29 11:36:54 -06:00
Marcus Huderle 67636b7c64 Document deoxys rock 2018-12-29 11:36:54 -06:00
Marcus Huderle 46d41d2fb9 Use EVENT_OBJ_ID_PLAYER in C code 2018-12-29 11:36:54 -06:00
Marcus Huderle 95dcff581b Document some fieldmap stuff 2018-12-29 11:36:54 -06:00
Melody daa2e36be6 change names -> symbols 2018-12-29 11:59:39 -05:00
Diegoisawesome ec61336a1f Merge pull request #490 from DizzyEggg/patch-3
Remove superfluous compiler flags
2018-12-29 10:59:02 -06:00
Melody 8a69f68d50 newline 2018-12-29 10:09:05 -05:00
Melody cfad7d2f6c count undocumented globals 2018-12-29 10:06:44 -05:00
DizzyEggg 89866652fa Remove superfluous compiler flags 2018-12-29 12:46:03 +01:00
Diegoisawesome 146ad2bdd4 Next big honkin' function done 2018-12-28 13:42:34 -06:00
Diegoisawesome f30270dffe Undo bad idea with BLDALPHA_BLEND macro 2018-12-28 12:56:06 -06:00
Melody 6d556f8cf7 improve checkplayergender calls
clean up constant definitions

make tweaks from review
2018-12-28 08:22:21 -06:00
Diegoisawesome 9cad5e8197 Big switch mofo 2018-12-28 02:11:41 -06:00
Marcus Huderle d59f5a8e56 Misc overworld documentation 2018-12-27 16:52:13 -06:00
Marcus Huderle 2c0f5f58e9 Use constants for warp into MAP_INSIDE_OF_TRUCK 2018-12-27 11:24:34 -06:00
Diegoisawesome 5691a67629 Up to sub_807B62C 2018-12-27 02:05:09 -06:00
Marcus Huderle c3dde7353d Add newline to Route111_NoMirageTower layout.inc
To match all other layout.inc files.
2018-12-26 17:04:24 -06:00
Marcus Huderle a1ea3b5e39 Use map_header_flags macro (#483) 2018-12-26 12:20:15 -06:00
Marcus Huderle 7480a41cfe Merge pull request #482 from DizzyEggg/bg
Fix raw SetGpuReg and SetBgAttribute args
2018-12-26 10:07:56 -06:00
DizzyEggg b9ad5de8a0 fortmatting 2018-12-26 14:50:47 +01:00
DizzyEggg 6761a049da Fix Bldalpha args 2018-12-26 14:03:48 +01:00
DizzyEggg 7e4db39da5 Fix bldcnt gpu reg args 2018-12-26 13:43:07 +01:00
DizzyEggg 7f6f6c33ab Fix BgAttributes 2018-12-26 13:05:02 +01:00
Diegoisawesome 720007e457 Merge pull request #3 from DizzyEggg/patch-1
Match nonmatching except the loop one
2018-12-25 15:04:12 -06:00
Diegoisawesome d8948a5cda Merge remote-tracking branch 'pret/master' into trade 2018-12-25 15:03:13 -06:00
melthelesbian 2dd706ca54 use max mon moves constant where able (#480)
* use max mon moves constant where able

* fix errors in script commands file

* fix more errors
2018-12-25 11:50:15 -06:00
Marcus Huderle dcbc8db6a3 Document mirage_tower.c. (Combine fldeff_groundshake.c and fossil_specials.c) 2018-12-25 11:46:35 -06:00
Melody c7971ecb20 improve event script object calls 2018-12-25 11:20:33 -06:00
DizzyEggg 1b28844b12 Match nonmatching except the loop one 2018-12-25 15:14:15 +01:00
Diegoisawesome dea41e1a7e trade.c up to sub_807A7E0 2018-12-24 20:18:06 -06:00
Diegoisawesome a54aa03d20 Merge pull request #475 from DizzyEggg/learn
asm party and fldeff clean-up
2018-12-24 16:50:14 -06:00
DizzyEggg 8833004d41 space 2018-12-24 23:29:47 +01:00
DizzyEggg 44e5e82f67 clean up party menu 2018-12-24 23:27:20 +01:00
Diegoisawesome c2ca57e8ac Merge pull request #477 from melthelesbian/object_script_commands
use player constant in obj script commands
2018-12-24 16:09:42 -06:00
Diegoisawesome ed1961a926 Merge pull request #476 from melthelesbian/weather_scripts
document setweather calls
2018-12-24 16:08:10 -06:00
Melody 38293d4293 use player constant in obj script commands 2018-12-24 16:31:24 -05:00
DizzyEggg 43c88440e0 make it compile for reals 2018-12-24 22:28:33 +01:00
Melody 1e87810414 document setweather calls 2018-12-24 16:23:58 -05:00
DizzyEggg 49517aca9e make it compie hopefully 2018-12-24 22:19:40 +01:00
DizzyEggg e230afd543 Merge branch 'master' into learn 2018-12-24 22:01:52 +01:00
DizzyEggg 442b1826a2 asm party and fldeff clean-up 2018-12-24 21:59:05 +01:00
Diegoisawesome 2bca45bcf5 More link stuff, stumped on sub_807A728 2018-12-24 14:39:05 -06:00
Melody 370b1093cd fix feebas check 2018-12-24 13:48:31 -06:00
Marcus Huderle c2fdbb0ef7 Decompile psychic.c 2018-12-24 10:52:56 -06:00
Marcus Huderle f1213ebb4b Decompile dark.c 2018-12-24 09:55:00 -06:00
Diegoisawesome 3f08e0c76c Some more trade nonsense 2018-12-24 03:03:02 -06:00
Diegoisawesome 980b055bf0 Merge pull request #471 from DizzyEggg/clean
Get rid of externs and add includes
2018-12-24 01:33:57 -06:00
Diegoisawesome f835a35662 Merge pull request #470 from Rangi42/master
Fix OLD_UNOWN_BASE_STATS formatting
2018-12-23 21:10:37 -06:00
DizzyEggg 72aa9eb5a9 clear headers more 2018-12-24 00:20:38 +01:00
DizzyEggg 9320fe8f85 Clear includes 2018-12-24 00:02:29 +01:00
Rangi 78bab9ca0c Fix OLD_UNOWN_BASE_STATS formatting: tabs->spaces, and comma outside the macro 2018-12-23 17:24:10 -05:00
Diegoisawesome 81b38c00e4 Merge pull request #466 from melthelesbian/compare_macros
improve compare macros
2018-12-23 11:17:30 -06:00
Diegoisawesome e874267edb Merge pull request #469 from DizzyEggg/data
Move some data to C
2018-12-23 10:45:19 -06:00
Diegoisawesome f1ee374e93 Merge pull request #468 from KDSKardabox/resolve_ice_electric_split
Move 2 incorrectly split functions of electric from ice
2018-12-23 10:42:01 -06:00
DizzyEggg efa820469a move data to c 2018-12-23 14:52:47 +01:00
DizzyEggg 6d57a9dfc8 start data converting 2018-12-23 13:52:53 +01:00
KDSKardabox 436122ec93 Add new line at EOL 2018-12-23 13:07:00 +05:30
Diegoisawesome a5c09bfec6 S'more trade 2018-12-23 01:26:38 -06:00
KDSKardabox b394ad7781 Add space 2018-12-23 11:55:01 +05:30
Diegoisawesome 36c7b5f183 Merge pull request #467 from DizzyEggg/nonmatchings
Match some functions
2018-12-22 18:17:52 -06:00
DizzyEggg adb4927504 Merge with master 2018-12-22 23:30:41 +01:00
Diegoisawesome ebbe826133 Merge pull request #437 from DizzyEggg/storage
Pokemon Storage System
2018-12-22 16:12:27 -06:00
DizzyEggg c805bab483 Storage - review changes 2018-12-22 23:00:22 +01:00
KDSKardabox 67beec5cbe Move 2 functions of electric from ice 2018-12-23 00:34:00 +05:30
DizzyEggg 6dffa6d17c Match and clean up fldeff misc 2018-12-22 19:33:45 +01:00
DizzyEggg 8fcb3f71c7 Match electric c 2018-12-22 18:52:05 +01:00
DizzyEggg 72532c9eee Match and clean up party_menu.c 2018-12-22 17:32:21 +01:00
Diegoisawesome a39783a637 More trade.c 2018-12-22 01:26:53 -06:00
Melody 55005f1588 improve call_if macros 2018-12-21 21:32:45 -05:00
Melody ac2e4adf2d improve goto_if macros 2018-12-21 20:28:24 -05:00
DizzyEggg 1374c11a1c Review pokemon storage system chaanges 2018-12-21 22:35:01 +01:00
Diegoisawesome 052d458f48 sub_80796B4 is a pain 2018-12-21 12:20:28 -06:00
Diegoisawesome 87fd6b8dc2 Merge pull request #463 from ShinyDragonHunter/old_unown_macro
Use a macro for OLD_UNOWN base stats
2018-12-21 12:15:34 -06:00
ShinyDragonHunter c120a446ad Moved macro to the top of base_stats.h 2018-12-21 10:37:35 +00:00
Diegoisawesome e1ada979db Merge pull request #465 from golemgalvanize/decompile_ice
Decompile ice
2018-12-21 02:18:03 -06:00
golem galvanize 314b718471 finish porting ice 2018-12-21 01:37:59 -05:00
DizzyEggg ecee02816d Merge with master 2018-12-20 22:53:08 +01:00
golem galvanize 64832ff67e start ice 2018-12-20 16:20:34 -05:00
DizzyEggg 7dcb614cca PSS is done 2018-12-20 22:14:36 +01:00
ShinyDragonHunter c489bb88b7 Updated macro name to be less vague 2018-12-20 13:59:00 +00:00
ShinyDragonHunter 51e5be68de Use a macro for OLD_UNOWN base stats 2018-12-20 11:28:19 +00:00
Diegoisawesome 6ef9671718 Merge pull request #440 from garakmon/fldeff
Decompile / port fldeff_80F9BCC
2018-12-19 22:16:59 -06:00
Diegoisawesome c74bfbe110 Merge pull request #462 from Deokishisu/Move-data-out-of-wild_encounter.c
Move data out of wild_encounter.c
2018-12-19 22:11:57 -06:00
Deokishisu a3543c9a34 Move data out of wild_encounter.c
wild_encounter.c is cleaned up, and its data has been moved to src/data/wild_encounters.h.
2018-12-19 22:50:54 -05:00
garak 5eac3ce1a2 rename fldeff_misc 2018-12-19 22:19:54 -05:00
Marcus Huderle b7ce383a96 Document a bunch of battle anims 2018-12-19 21:19:44 -06:00
garak af208a6bbb Merge branch 'fldeff' of https://github.com/garakmon/pokeemerald into fldeff 2018-12-19 21:35:32 -05:00
Diegoisawesome 48d7c0a7a3 Merge pull request #454 from golemgalvanize/decompile_party_menu
Decompile party menu
2018-12-19 19:57:31 -06:00
garak f801eed3a8 clean fldeff file 2018-12-19 20:52:41 -05:00
golem galvanize d6589d1abc another fix 2018-12-19 20:50:36 -05:00
golem galvanize 44fae5a688 add TM constant use 2018-12-19 20:44:40 -05:00
golem galvanize 64d4eed63b hidden conversation fixes applied 2018-12-19 20:27:44 -05:00
Diegoisawesome 5b73fe138c Merge pull request #457 from golemgalvanize/decompile_water
Decompile water
2018-12-19 19:16:40 -06:00
golem galvanize 038836d21d pretty sure it's fixed now 2018-12-19 20:08:01 -05:00
golem galvanize 085e793460 one line cleanup in summary_screen 2018-12-19 19:55:51 -05:00
golem galvanize fabbbdd02a fix up party_menu 2018-12-19 19:53:52 -05:00
golem galvanize 6f0dd694ea removed weird comment 2018-12-19 19:48:28 -05:00
Diegoisawesome 864b383177 Merge pull request #460 from melthelesbian/applymovement_tweaks
update applymovement to remove magic numbers
2018-12-19 17:19:02 -06:00
Diegoisawesome d7755fda6c Merge pull request #459 from Deokishisu/patch-1
Add requirements to the fields of the object_event macro
2018-12-19 17:17:48 -06:00
DizzyEggg 128239d65e Almost there 2018-12-19 22:47:27 +01:00
Melody 5e6ceeb631 update applymovement to remove magic numbers 2018-12-19 14:08:01 -05:00
Deokishisu e15c7fc7cf Fix deleted line 2018-12-19 12:28:37 -05:00
Deokishisu 8edbad78e5 Add requirements to the fields of the object_event macro
With these changes, the compiler will yell at you if you screw up the number of fields for your event objects while manually editing a map's events.inc. Making these fields required will prevent event corruption of all map events that are included after the map with the messed up fields.
2018-12-19 12:20:38 -05:00
golem galvanize e771854eae removed commented out attempt 2018-12-19 10:51:55 -05:00
golem galvanize 0fa120ebcd get a nonmatching slightly more functional 2018-12-19 10:48:15 -05:00
golem galvanize cd785011fe decompiled water 2018-12-19 10:31:37 -05:00
Diegoisawesome bd7c251859 Fix compressed palette alignment 2018-12-18 20:15:59 -06:00
Diegoisawesome 2592803460 Merge branch 'master' of github.com:pret/pokeemerald into trade 2018-12-18 19:54:27 -06:00
Diegoisawesome cd994f4935 Begin trade.c 2018-12-18 19:29:41 -06:00
golem galvanize f7df299be8 Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_water 2018-12-18 20:23:32 -05:00
golem galvanize 15a7b1bc08 begin water.s 2018-12-18 20:23:07 -05:00
Marcus Huderle b2ac3b6d6f Decompile most of battle_anim_effects_3.c 2018-12-18 19:15:59 -06:00
Marcus Huderle d2b5a0e83f Convert battle_anim_815A0D4 data to .c 2018-12-18 19:15:59 -06:00
Diegoisawesome 2c7948bae8 Merge pull request #452 from Meowsy/pokemon-adding-easer
Add macros to simplify defining front animations and still pics.
2018-12-18 14:27:01 -06:00
Meowsy d6b31346c3 Additional SPECIES_* documentation. 2018-12-18 10:03:57 -05:00
Meowsy 9ca27f1332 Document return value. 2018-12-18 09:20:43 -05:00
golem galvanize 42c5ceef3a finish party_menu, remove asm file 2018-12-18 05:38:33 -05:00
golem galvanize 8781d969ff finish party_menu 2018-12-18 05:38:08 -05:00
golem galvanize c259ee46d3 Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_party_menu 2018-12-18 05:31:39 -05:00
Marcus Huderle c74468fd11 Document a bunch of battle anim stuff 2018-12-17 22:16:17 -06:00
Marcus Huderle c04ce0ee64 Decompile battle_anim_effects_2.c 2018-12-17 22:16:17 -06:00
DizzyEggg 9ffd0c7382 3.5 asm left 2018-12-17 23:00:08 +01:00
Diegoisawesome 26bfd93b35 Merge pull request #451 from shinny456/master
decompile electric.s
2018-12-17 15:59:08 -06:00
Meowsy e92245ab06 Add macros to simplify defining front animations and still pics. 2018-12-17 12:29:35 -05:00
Meowsy 62c4379a21 Remove magic numbers. 2018-12-17 12:28:11 -05:00
golem galvanize 076d07f6fe Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_party_menu 2018-12-17 02:40:30 -05:00
golem galvanize 71a7a8a075 decompiled up to sub_81B8A7C 2018-12-17 02:39:17 -05:00
shinny456 60484153a5 decompile electric.s 2018-12-16 22:23:05 -05:00
garak e292d0ca83 Merge branch 'master' into fldeff 2018-12-16 20:05:31 -05:00
DizzyEggg aae36b5653 6k left 2018-12-16 21:10:01 +01:00
Marcus Huderle d1e6e705cc Decompile battle_anim_effects_1.c 2018-12-16 11:39:22 -06:00
Marcus Huderle 9c5fa4a787 Fix typo in UpdateContestPaintingMosaicEffect() 2018-12-16 08:28:09 -06:00
Marcus Huderle fb9a365dc6 Merge pull request #448 from Meowsy/pokedex-documentation
Pokedex Documentation
2018-12-15 18:06:42 -06:00
Meowsy 1d09216e4b Simplify comparisons. 2018-12-15 18:39:48 -05:00
Meowsy 6ed8e4d6ed Rename temp_notNationalDex to temp_isHoennDex.
Don't use hexadecimal format for x and y args.
2018-12-15 18:34:06 -05:00
Meowsy 3d8cecb662 Use correct term. 2018-12-15 18:32:50 -05:00
DizzyEggg f1421d94c3 Up to sub 0x80ce580 2018-12-15 23:58:47 +01:00
Meowsy 83c3f13655 Prettify line. 2018-12-15 15:26:07 -05:00
Meowsy 8f168add21 Remove incorrect comment. 2018-12-15 15:25:45 -05:00
Meowsy bc11a4a9f4 Document various things relating to the Pokedex. 2018-12-15 15:12:28 -05:00
Marcus Huderle 1ca3656d74 Decompile contest_painting.c (#447) 2018-12-15 13:07:07 -06:00
Diegoisawesome d10ffe6dba Merge pull request #446 from Slawter666/master
Document some of item_menu.c
2018-12-15 12:31:26 -06:00
Slawter666 2fa0555ed5 Document some of item_menu.c 2018-12-15 18:08:13 +00:00
garak 7e170a06cc label some sprite templates 2018-12-14 19:39:01 -05:00
Marcus Huderle 5e92481f51 Merge pull request #443 from Meowsy/misc-renamings
Misc renamings.
2018-12-13 21:35:36 -06:00
Marcus Huderle 2c6849bee8 Decompile battle_anim_8170478.c (#445) 2018-12-13 21:33:54 -06:00
golem galvanize 6748ef72fb Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_party_menu 2018-12-13 00:31:06 -05:00
Marcus Huderle 170b6ef449 Decompile battle_intro.c (#444) 2018-12-12 23:18:25 -06:00
golem galvanize 2265d49ac2 decompiled up to sub_81B5A8C 2018-12-12 22:55:39 -05:00
DizzyEggg 59a69eb627 Storage up to icon palettes 2018-12-12 23:19:50 +01:00
DizzyEggg 74746603ad More pokemon storage 2018-12-11 23:09:12 +01:00
DizzyEggg c5b5f4bd77 More storage 2018-12-10 23:42:44 +01:00
Meowsy d3e32ab287 Rename Mauville Man text. 2018-12-10 15:50:10 -05:00
Meowsy 68017b531a Rename UnknownPokemonStruct to BattleTowerPokemon. 2018-12-10 15:49:33 -05:00
DizzyEggg c2d8876174 Document PSS functions 2018-12-10 21:36:52 +01:00
Diegoisawesome 58ca87accc Merge pull request #441 from Meowsy/document-pockets
Document bag pocket magic numbers.
2018-12-10 11:23:41 -06:00
Diegoisawesome bfdfe367e8 Merge pull request #422 from garakmon/frontier_data_1
Battle tower data
2018-12-10 11:22:16 -06:00
Meowsy 2f008e866b Document return locations. 2018-12-10 11:39:57 -05:00
Meowsy 0aa41ad647 Fix whitespace to be consistent. 2018-12-10 11:38:27 -05:00
garak c8cad8a389 re-add explicit array sizes 2018-12-10 10:33:51 -05:00
garak 2187dbb10a remove explicit array lengths from battle_tower.c 2018-12-10 10:17:03 -05:00
garak 10237e8d13 move externs and remove comments 2018-12-10 09:52:36 -05:00
Meowsy e143804af0 Document pocket magic numbers. 2018-12-10 04:33:29 -05:00
golem galvanize a6db7b2419 decompiled up to brm_cancel_1 2018-12-10 02:38:23 -05:00
garak 62384e7a61 use facility class constants 2018-12-09 22:57:46 -05:00
garak e1e2132a37 sync fldeff function names with pokeruby 2018-12-09 22:24:54 -05:00
garak b4312648e2 decompile fldeff_80F9BCC with data 2018-12-09 19:22:59 -05:00
DizzyEggg 431e7e7e5c More storage work 2018-12-09 21:06:43 +01:00
Marcus Huderle a7722a0b93 Decompile cable_car.c (#438) 2018-12-09 13:41:52 -06:00
DizzyEggg e0f3de0b74 Start pokemon storage system 2018-12-09 16:44:01 +01:00
Marcus Huderle 342d23e0ba Merge pull request #436 from KDSKardabox/master
Decompile ghost
2018-12-09 07:59:32 -06:00
Marcus Huderle 5e09850c17 Merge pull request #435 from DizzyEggg/weather
Decompile fieldmap
2018-12-09 07:56:53 -06:00
KDSKardabox 4233ae50c3 Finish decompile ghost 2018-12-09 18:38:15 +05:30
DizzyEggg c46499b05c field screen review changes 2018-12-09 12:16:01 +01:00
DizzyEggg 4683cdc30c Merge branch 'master' into weather 2018-12-09 11:56:50 +01:00
KDSKardabox 8712757d24 Merge remote-tracking branch 'upstream/master' 2018-12-09 13:44:41 +05:30
KDSKardabox f8838491f6 Initial commit for ghost 2018-12-09 13:44:07 +05:30
Diegoisawesome 0b91d2948a Merge pull request #429 from nullableVoidPtr/master
Various fixes and cleanups
2018-12-08 21:44:12 -06:00
nullableVoidPtr cceb8ac331 Remove trailing whitespace 2018-12-09 11:32:58 +08:00
DizzyEggg 606fb71392 Fix ld script 2018-12-08 22:17:49 +01:00
DizzyEggg 4d2f1bad7f fix header 2018-12-08 22:12:44 +01:00
DizzyEggg b94ae8bb92 Merge branch 'master' into weather 2018-12-08 22:10:20 +01:00
DizzyEggg 4ec14b3d43 Finish field screen 2018-12-08 22:05:11 +01:00
DizzyEggg 58c4cec946 decompile field screen 2018-12-08 21:42:36 +01:00
DizzyEggg 5caca7a4d6 Clean up field weather 2018-12-08 19:43:21 +01:00
Marcus Huderle 88ffb09765 Merge pull request #432 from KDSKardabox/master
De-compile fire
2018-12-08 12:41:08 -06:00
KDSKardabox 1357449d73 Merge remote-tracking branch 'upstream/master' 2018-12-09 00:01:45 +05:30
KDSKardabox 2dfbe75b05 Shift externs to header file 2018-12-08 23:52:52 +05:30
DizzyEggg 4c23adb5f5 Decompile field weather 2018-12-08 19:05:03 +01:00
Meowsy 6babb97182 Fix typo "ggText_DexSortSmallestDescription". (#433)
Should be "gText_DexSortSmallestDescription".
2018-12-08 11:57:19 -06:00
Marcus Huderle f3a25f83cf Decompile roulette_util.c (#434) 2018-12-08 11:56:59 -06:00
KDSKardabox 5630ab2b1e Fully decompile fire 2018-12-08 17:55:17 +05:30
KDSKardabox 0f82e5caf7 Intial commit for decomp fire 2018-12-08 15:15:52 +05:30
nullableVoidPtr f50faac244 Clean more tables 2018-12-08 14:10:30 +08:00
nullableVoidPtr 8a8baaeaaa Merge remote-tracking branch 'upstream/master' 2018-12-08 12:13:15 +08:00
nullableVoidPtr 907ed3f5f5 Format pokemon.c 2018-12-08 11:39:35 +08:00
nullableVoidPtr 4d307a6f63 Clean some more arrays 2018-12-08 11:33:41 +08:00
DizzyEggg 6068495619 Document trainer battle scripts (#430) 2018-12-07 16:50:56 -06:00
Diegoisawesome fe06bbe3f6 Merge pull request #431 from melthelesbian/apostrophe
Use normal apostrophes like adults
2018-12-07 14:18:31 -06:00
golem galvanize 53fac4417b fixing merge conflicts 2018-12-07 14:47:20 -05:00
Melody 2615ece23b Use normal apostrophes like adults 2018-12-07 10:41:08 -05:00
nullableVoidPtr f24584cd31 Tabs -> spaces & align in include/ 2018-12-07 21:01:59 +08:00
nullableVoidPtr 4fc3fa9e44 Realign comments, clean tables in pokemon_animation.c and use SPECIES_OLD_UNOWN_ defines 2018-12-07 20:18:24 +08:00
golem galvanize 18124740a4 pushing so I can merge 2018-12-06 23:14:33 -05:00
Diegoisawesome 6df2042b3b Merge pull request #427 from Slawter666/pokedex
Document some more of pokedex.c
2018-12-06 13:39:32 -06:00
Diegoisawesome 800c6a901b Merge pull request #428 from melthelesbian/pokedex_documentation
document pokédex options
2018-12-06 13:38:58 -06:00
nullableVoidPtr f9ff7316d5 Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs 2018-12-06 10:38:28 +08:00
nullableVoidPtr 405f1bb529 Fix sym_ indentation 2018-12-06 09:46:05 +08:00
nullableVoidPtr 3909b6408c Fix alloc.c as per #386, define INVALID_ constants and rename malloc to alloc as per #325
Some of the INVALID_ are likely erroneously placed, due to lack of documentation
2018-12-06 09:44:08 +08:00
garak 7ee2f9f2e6 Merge pull request #4 from DizzyEggg/help_garak
Finish porting battle frontier data
2018-12-05 16:24:37 -05:00
DizzyEggg a9e6154fa9 Finish porting battle frontier data 2018-12-05 22:21:26 +01:00
DizzyEggg fc806b966e Merge branch 'frontier_data_1' of https://github.com/garakmon/pokeemerald into help_garak 2018-12-05 21:24:01 +01:00
Melody 2347e36d60 document pokédex options 2018-12-05 10:10:33 -05:00
Slawter666 9cfed81789 Document some more of pokedex.c 2018-12-05 00:15:22 +00:00
Diegoisawesome 1b33ad6c26 Merge pull request #426 from DizzyEggg/patch-1
Match and clean rotating_gate.c
2018-12-04 12:26:12 -06:00
garak d9287f3261 extern gTower trainer data 2018-12-04 12:15:13 -05:00
garak 80c3258504 finish battle tower data except sRubyFacilityClassToEmerald 2018-12-04 12:09:35 -05:00
garak e69cb6b276 update frontier class names 2018-12-03 17:21:34 -05:00
garak 2c14d6ee6c fix merge conflicts 2018-12-03 16:58:28 -05:00
garak d6a88e0eaa remove frontier asm constants to fix build 2018-12-03 16:39:51 -05:00
DizzyEggg bac1f1b6c9 Match and clean rotating_gate.c
One more down, many more to go.
2018-12-03 21:44:47 +01:00
Diegoisawesome d9a5de5317 Merge pull request #425 from DizzyEggg/patch-1
Match battle_tower.c function
2018-12-03 14:18:03 -06:00
DizzyEggg c7dd347bb1 Match battle_tower.c function
For some reason, I gave the function of type void, type u16 instead, which messed up the registers, LMAO
2018-12-03 21:09:26 +01:00
Diegoisawesome 8064b011d1 Merge pull request #424 from DizzyEggg/labels
Clean up src/data
2018-12-03 12:33:47 -06:00
DizzyEggg ba1fc05558 tabs 2018-12-03 18:10:03 +01:00
DizzyEggg 0d122bc831 Fix merge conflicts 2018-12-03 17:56:36 +01:00
Diegoisawesome ffa8655f4c Merge pull request #423 from Slawter666/pokedex-doc
Document some of pokedex.c
2018-12-03 10:53:21 -06:00
Diegoisawesome cd378ec676 Merge pull request #421 from melthelesbian/trainer_class_lookups
clean up trainer class lookups
2018-12-03 10:52:24 -06:00
DizzyEggg e1829c40ab Clean up safari zone 2018-12-03 17:31:34 +01:00
DizzyEggg 2821eafb99 Clean up roamer 2018-12-03 17:19:10 +01:00
DizzyEggg dcb1d78fa9 Add battle controllers var to src from sym_ewram 2018-12-03 16:20:39 +01:00
DizzyEggg 846b5d79e4 Get rid of headers in src/data 2018-12-03 16:10:41 +01:00
Slawter666 715fbb379e Document some of pokedex.c 2018-12-03 14:58:25 +00:00
DizzyEggg a83fc52a7e Make data easier to edit 2018-12-03 14:49:16 +01:00
Melody 44af811033 index trainer front anims ptr table 2018-12-03 08:36:10 -05:00
Melody 0e5e487b78 tweak alignment 2018-12-03 08:04:11 -05:00
Melody 2779421ad4 fix brendan/may/wally consistency issues 2018-12-03 08:01:52 -05:00
DizzyEggg d8b952f94c Clean up items data 2018-12-03 13:37:32 +01:00
Melody 52fa5137c9 tweak alignment 2018-12-03 00:31:15 -05:00
garak 462e7c8295 begin batle tower data 2018-12-02 23:22:42 -05:00
Melody eeb6446da4 add more consistent names 2018-12-02 22:36:09 -05:00
Melody 72bd670ba6 index trainer class lookups 2018-12-02 22:35:31 -05:00
Diegoisawesome 7914220acd Merge pull request #419 from melthelesbian/trainerbattle_macro_cleanup
cleans up trainer battle scripts
2018-12-02 14:31:19 -06:00
Melody a2a99bde11 adds req for macro arguments 2018-12-02 15:14:29 -05:00
Melody 10725def8e trainerbattle_normal → trainerbattle_single
* trainerbattle_normal → trainerbattle_single
* TRAINER_BATTLE_NORMAL → TRAINER_BATTLE_SINGLE
* improves the macro documentation a little
2018-12-02 15:08:19 -05:00
Melody bad5323642 cleans up trainer battle scripts
* adds battle type macros
* adds `trainerbattle_normal` macro
* adds `trainerbattle_double` macro
* adds rematch macros
* adds no intro macro
2018-12-02 15:08:19 -05:00
Diegoisawesome 2912ec0e37 Merge pull request #420 from DizzyEggg/bored
Get rid of static functions in includ and add req macro arguments
2018-12-02 14:05:35 -06:00
DizzyEggg 9828e0e97b Merge with master 2018-12-02 19:38:05 +01:00
Diegoisawesome c123b8d6f1 Merge pull request #417 from melthelesbian/msgbox_documentation
adds constants, cleans up callstd and msgbox code
2018-12-02 12:31:54 -06:00
Diegoisawesome ee05197eba Merge pull request #418 from DizzyEggg/link_rfu
Finish Link rfu
2018-12-02 12:29:31 -06:00
DizzyEggg a42bfd7a0e fix brackes n ne file 2018-12-02 19:27:56 +01:00
DizzyEggg 725f99a1bf Use :req macros 2018-12-02 19:24:06 +01:00
DizzyEggg b87e6a4e57 Get rid of static functions in includes 2018-12-02 18:58:33 +01:00
DizzyEggg d137ebc7a9 Some more rom 8011dc0 work 2018-12-02 13:59:55 +01:00
Melody 862265b73a defines register_matchcall macro 2018-12-02 06:04:59 -05:00
DizzyEggg e17140536a finish link rfu and fix rom 8011dc0 2018-12-02 11:58:50 +01:00
Melody c557ac61ae adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-12-02 03:37:46 -05:00
Diegoisawesome 145047d438 Merge pull request #416 from melthelesbian/fix_pokefan
fixes pokefan graphics naming
2018-12-02 00:02:43 -06:00
Melody b9cf4f27b5 renames the winstrate graphics names to pokefan 2018-12-02 00:47:04 -05:00
Diegoisawesome a2186dcdd7 Merge pull request #415 from melthelesbian/trainer_defs
cleans up trainer name defines
2018-12-01 22:44:17 -06:00
Melody c7f52c4203 cleans up trainer name defines 2018-12-01 22:49:33 -05:00
DizzyEggg b082f000af Start working on link rfu 2018-12-01 18:54:59 +01:00
Marcus Huderle 0e32a3adf3 Decompile normal.c (#414) 2018-11-30 17:29:55 -06:00
Diegoisawesome 8e24a49b78 Merge pull request #413 from DizzyEggg/do
Match 2 field effect functions
2018-11-30 17:17:20 -06:00
DizzyEggg 0ad4795e69 Match 2 field effect functions 2018-11-30 23:16:15 +01:00
Marcus Huderle 9dd7f8f214 Decompile pokedex_area_screen.c (#412) 2018-11-30 10:41:03 -06:00
Diegoisawesome 275ce5deff Merge pull request #410 from DizzyEggg/will_i_match_sth_again
match 2 field functions
2018-11-29 17:46:30 -06:00
DizzyEggg f87e68379c match 2 field functions 2018-11-29 21:19:00 +01:00
Diegoisawesome a7a317f6cc Merge pull request #408 from DizzyEggg/pass_time
Match 3 link rfu functions
2018-11-28 16:51:53 -06:00
DizzyEggg f54f5b3531 Match 3 link rfu functions 2018-11-28 23:08:20 +01:00
Diegoisawesome 4a9b4ba0b3 Merge pull request #407 from DizzyEggg/max_sprites
Use MAX_SPRITES define
2018-11-28 14:34:11 -06:00
DizzyEggg 0ed2f54d61 Use MAX_SPRITES define 2018-11-28 21:08:22 +01:00
Marcus Huderle 0148e38973 Decompile pokedex_cry_screen.c (#406) 2018-11-28 10:14:32 -06:00
Marcus Huderle 9fafa63743 Finish decompiling internation_string_util.c 2018-11-27 17:21:23 -06:00
Diegoisawesome 0cdd1cc1da Merge pull request #405 from DizzyEggg/frontier_data
Finish frontier data
2018-11-27 16:48:11 -06:00
DizzyEggg 7cfe0342f0 Finish frontier data 2018-11-27 22:45:50 +01:00
Diegoisawesome 2e2cd59160 Merge pull request #404 from garakmon/frontier-data
Some frontier data
2018-11-27 12:58:31 -06:00
garak 50f00b0827 Merge remote-tracking branch 'upstream/master' into fldeff 2018-11-27 13:31:07 -05:00
garak f316d53c58 Merge branch 'frontier-data' of https://github.com/garakmon/pokeemerald into frontier-data 2018-11-27 13:28:44 -05:00
garak 2707bd9b91 clean frontier data 2018-11-27 13:27:49 -05:00
garak a636005066 delete createsprite.py 2018-11-27 11:40:29 -05:00
garak 73cce79753 Merge remote-tracking branch 'upstream/master' into frontier-data 2018-11-27 11:35:19 -05:00
garak 091b5194e7 frontier pike and pyramid data 2018-11-27 11:21:48 -05:00
Diegoisawesome c909aa92de Merge pull request #403 from nullableVoidPtr/master
Clean up aligned variables in src/
2018-11-27 10:11:29 -06:00
nullableVoidPtr 556bdd52e1 Clean up aligned variables in src/ 2018-11-27 19:37:29 +08:00
Diegoisawesome 977e0bc345 Merge pull request #402 from Slawter666/pokedex-data
Convert pokédex data to C
2018-11-27 03:18:28 -06:00
Slawter666 deb7adbad5 Convert pokédex data to C 2018-11-27 04:00:38 +00:00
Marcus Huderle 382ff45452 Merge pull request #396 from DizzyEggg/attempt
Match some functions
2018-11-26 16:58:19 -06:00
Marcus Huderle c233dbb220 Merge pull request #400 from DizzyEggg/util
Match sub_080F8970
2018-11-26 16:57:36 -06:00
Marcus Huderle 65622d34cd Merge pull request #401 from PlatinumMaster/patch-1
Fix labels, shifted off by one.
2018-11-26 16:57:22 -06:00
Jefferson Steelflex af08f3bb13 Update back_pic_coordinates.h 2018-11-26 16:55:37 -05:00
Jefferson Steelflex 8e5e4c2304 Fix labels, shifted off by one. 2018-11-26 16:51:08 -05:00
DizzyEggg 132a486169 Match 0x0F8970 2018-11-26 21:54:51 +01:00
DizzyEggg c9b3f3e3cb Fix indentation 2018-11-26 20:19:52 +01:00
Marcus Huderle 2425a14b19 Decompile fight.c 2018-11-26 10:25:51 -06:00
Marcus Huderle 35c0fb5154 Decompile ground.c 2018-11-26 09:55:31 -06:00
Marcus Huderle 839c629d5b Decompile dragon.c 2018-11-26 09:31:03 -06:00
Marcus Huderle 9b1f2ccf5e Decompile poison.c 2018-11-26 09:13:45 -06:00
Marcus Huderle 2c2431aa4c Decopmile bug.c (#399) 2018-11-26 09:03:50 -06:00
Marcus Huderle c2d3606f39 Merge pull request #398 from huderlem/rock
Decompile rock
2018-11-25 17:05:15 -06:00
Marcus Huderle 5947e0d229 Decompile rock 2018-11-25 17:00:18 -06:00
Marcus Huderle 19e235867a Merge pull request #395 from Slawter666/battle-ui-doc
Document some battle ui
2018-11-25 15:58:37 -06:00
Marcus Huderle 65c4d49859 Merge pull request #397 from huderlem/script_pokemon_util
Script pokemon util
2018-11-25 15:58:23 -06:00
Marcus Huderle fb6120da5b Fixup some names 2018-11-25 15:50:54 -06:00
Marcus Huderle 256bfc3caa Decompile script_pokemon_util_80F87D8 2018-11-25 15:32:22 -06:00
DizzyEggg 8e10d7c0e5 Match some functions 2018-11-25 20:16:41 +01:00
Slawter666 3b501cb470 Document battle ui 2018-11-22 01:10:50 +00:00
Diegoisawesome dc7764f60c Merge pull request #394 from DizzyEggg/text
DecompressGlyphTile - cleaner code
2018-11-21 18:25:28 -06:00
DizzyEggg a900a51a59 match DecompressGlyphTile nicer 2018-11-21 23:30:50 +01:00
DizzyEggg d70c3a94c5 match DecompressGlyphTile nicer 2018-11-21 23:30:04 +01:00
Diegoisawesome 0b59dbf2b8 Merge pull request #393 from DizzyEggg/text
Match one function in text.c
2018-11-21 16:11:03 -06:00
DizzyEggg c7ca38ccf3 Match DecompressGlyphTile 2018-11-21 21:58:35 +01:00
Diegoisawesome 3c77ce5b5b Merge pull request #392 from Kermalis/master
Sound Effects Part 3/6
2018-11-20 17:18:58 -06:00
Kermalis 27d46fa3a8 Match se_t_ooame_e.mid 2018-11-20 18:10:25 -05:00
Kermalis 60a7134710 Match se_t_ooame.mid 2018-11-20 18:09:21 -05:00
Kermalis fc57e8dd52 Match se_t_koame_e.mid 2018-11-20 18:07:28 -05:00
Kermalis bfb84d3073 Match se_t_kami2.mid 2018-11-20 18:06:03 -05:00
Kermalis 83f73b7fd7 Match se_t_kami.mid 2018-11-20 18:04:42 -05:00
Kermalis 67d2009d7d Match se_t_ame_e.mid 2018-11-20 18:02:42 -05:00
Kermalis 5395fc8b57 Match se_t_koame.mid 2018-11-20 18:01:10 -05:00
Kermalis 25d4702ac4 Match se_t_ame.mid 2018-11-20 18:00:58 -05:00
Kermalis a00079e63b Match se_suikomu.mid 2018-11-20 17:55:18 -05:00
Kermalis 88167d3183 Match se_select.mid 2018-11-20 17:52:47 -05:00
Kermalis 5e423fb5ea Match se_seikai.mid 2018-11-20 17:50:34 -05:00
Kermalis 53ca39a8ac Match se_save.mid 2018-11-20 17:49:15 -05:00
Kermalis 3941ce5cf2 Match se_ru_hyuu.mid 2018-11-20 17:47:42 -05:00
Kermalis 98831e29bb Match se_ru_gasyan.mid 2018-11-20 17:45:44 -05:00
Kermalis 80ea58a198 Match se_ru_gashin.mid 2018-11-20 17:44:09 -05:00
Kermalis 410492dea9 Match se_ru_bari.mid 2018-11-20 17:42:11 -05:00
Kermalis 83c843474a Match se_rg_w_door.mid 2018-11-20 17:40:34 -05:00
Kermalis a5ddb0b4b8 Match se_rg_shop.mid 2018-11-20 17:37:10 -05:00
Kermalis 5e9076990e Match se_rg_nawamiss.mid 2018-11-20 17:35:18 -05:00
Kermalis f7959dff52 Match se_rg_kiteki.mid 2018-11-20 17:33:07 -05:00
Kermalis 1f8954115f Match se_rg_help_op.mid 2018-11-20 17:30:56 -05:00
Kermalis 76cb446661 Match se_rg_help_ng.mid 2018-11-20 17:29:26 -05:00
Kermalis 7746acfb1d Match se_rg_help_cl.mid 2018-11-20 17:27:09 -05:00
Kermalis 3eff7efd8f Match se_rg_getting.mid 2018-11-20 17:23:09 -05:00
Kermalis d00ae0da55 Match se_rg_excellent.mid 2018-11-20 17:20:31 -05:00
Kermalis f2bb46c960 Match se_rg_deomov.mid 2018-11-20 17:17:48 -05:00
Kermalis f31301340c Match se_rg_card3.mid 2018-11-20 17:15:19 -05:00
Kermalis 0a0a41189e Match se_rg_card2.mid 2018-11-20 17:07:00 -05:00
Kermalis 499de4f7c6 Match se_rg_card1.mid 2018-11-20 17:05:11 -05:00
Kermalis d400b28edb Match se_rg_bag2.mid 2018-11-20 17:03:47 -05:00
Kermalis 6b6e1882e4 Match se_rg_bag1.mid 2018-11-20 17:02:01 -05:00
Kermalis 3f7e088471 Match se_regi.mid 2018-11-20 16:59:59 -05:00
Kermalis a3208dfdc6 Match se_reapoke.mid 2018-11-20 16:57:37 -05:00
Kermalis d9820be5b9 Match se_poke_dead.mid 2018-11-20 16:54:15 -05:00
Kermalis 2a76f30d21 Match se_pn_on.mid 2018-11-20 16:51:23 -05:00
Kermalis 64ae0f244d Match se_pn_off.mid 2018-11-20 16:49:48 -05:00
Kermalis 7e1b74e752 Match se_pinpon.mid 2018-11-20 16:47:19 -05:00
Kermalis e5d535cdf4 Match se_pin.mid 2018-11-20 16:43:21 -05:00
Kermalis 34a8cc8acd Match se_pc_on.mid 2018-11-20 16:41:05 -05:00
Kermalis 84f43a8369 Math se_pc_off.mid 2018-11-20 16:39:26 -05:00
Kermalis b15cb16bfd Match se_pc_login.mid 2018-11-20 16:35:23 -05:00
Kermalis 5a487b29ae Match se_op_basyu.mid 2018-11-20 15:24:06 -05:00
Kermalis 8a26e51269 Match se_o.mid 2018-11-20 15:21:21 -05:00
Kermalis 964c943fee Match se_nigeru.mid 2018-11-20 15:19:16 -05:00
Kermalis e6484d42e9 Match se_naminori.mid 2018-11-20 15:16:16 -05:00
Kermalis 9c46276911 Match se_nageru.mid 2018-11-20 15:13:22 -05:00
Kermalis 59d691a5ee Match se_n.mid 2018-11-20 15:09:29 -05:00
Kermalis 3cfee40c82 Match se_mu_pachi.mid 2018-11-20 15:07:05 -05:00
Kermalis 68cb780ac3 Match se_moter.mid 2018-11-20 15:02:24 -05:00
Kermalis e7464b39a3 Match se_mizu.mid 2018-11-20 14:57:35 -05:00
garak f02cb667bb first 4 functions in fldeff 2018-11-20 09:51:54 -05:00
Diegoisawesome 6acf6aed04 Merge pull request #391 from DizzyEggg/frontier
Clean up bss/common/ewram symbols and decompile mossdeep
2018-11-19 13:29:07 -06:00
DizzyEggg 58a1bba059 tabs to spaces 2018-11-19 20:25:09 +01:00
DizzyEggg f0ec68c058 add include 2018-11-19 18:14:28 +01:00
DizzyEggg 9f8bcadad5 apprentice and factory screen common symbols 2018-11-19 18:06:15 +01:00
DizzyEggg 37d49b34e0 Move vars to battle_main.c 2018-11-19 17:36:39 +01:00
DizzyEggg 5d5b4b853c Merge branch 'master' into frontier 2018-11-19 17:32:32 +01:00
DizzyEggg 8a00334102 document mossdeep gym 2018-11-19 17:31:46 +01:00
DizzyEggg d22c2110de Decompile mossdeep hym 2018-11-19 17:16:01 +01:00
DizzyEggg 6a5b20ee8a Fix fossil specials 2018-11-19 17:15:28 +01:00
Marcus Huderle 8f2ddf2997 Merge pull request #390 from huderlem/battle_anim_utility_funcs
Decompile all of battle_anim_utility_funcs
2018-11-19 09:42:43 -06:00
Marcus Huderle 72f0a079a9 Decompile all of battle_anim_utility_funcs 2018-11-19 09:37:25 -06:00
DizzyEggg 95d3c180cc clean up variables in files 2018-11-19 01:03:14 +01:00
Diegoisawesome 963989d760 Merge pull request #389 from DizzyEggg/num_stats
Use PARTY_SIZE and rename BATTLE_STATS_NO to NUM_BATTLE_STATS
2018-11-18 13:36:34 -06:00
DizzyEggg f58cc47e17 USE RGB constants in hall of fame 2018-11-18 20:32:27 +01:00
DizzyEggg 27ee7d567e fix merge conflict and use EVENT_OBJECT_TEMPLATES_COUNT 2018-11-18 20:19:10 +01:00
Diegoisawesome 0bbe03f170 Merge pull request #388 from DizzyEggg/clean_savve
Clean up save related files
2018-11-18 13:13:56 -06:00
Diegoisawesome e8415c51d1 Merge pull request #387 from DizzyEggg/battle_pyramid
Battle pyramid
2018-11-18 13:09:19 -06:00
DizzyEggg 682e6c8512 Use RGB constants in save files 2018-11-18 20:09:11 +01:00
DizzyEggg f2d3babd30 rename to mossdeep gym 2018-11-18 20:04:53 +01:00
DizzyEggg 1b0cfb0757 Party Size and Num Stats 2018-11-18 20:00:36 +01:00
DizzyEggg 7ce3473b0e Clean up save related files 2018-11-18 19:37:18 +01:00
DizzyEggg 4803a31b84 Fix unk5 field 2018-11-18 17:54:15 +01:00
DizzyEggg 4e37723288 Document Battle Pyramid 2018-11-18 17:52:22 +01:00
DizzyEggg 40a44a8508 more battle pytamid 2018-11-17 22:55:39 +01:00
DizzyEggg eb66b60f38 Begin battle pyramid 2018-11-17 15:30:34 +01:00
Diegoisawesome 032dd251e6 Merge pull request #383 from garakmon/createsprite
Update createsprite macro and rename BANK to BATTLER
2018-11-15 14:45:13 -06:00
Diegoisawesome 09d09122bc Merge pull request #384 from garakmon/subdirs
Subdirectories in build
2018-11-15 14:25:21 -06:00
Diegoisawesome 39f54b346d Merge pull request #382 from Slawter666/synchronise
Move field effects enum to defines
2018-11-15 14:24:22 -06:00
Diegoisawesome 216c388001 Merge pull request #385 from garakmon/nodep
fix dependency scanning
2018-11-15 14:19:57 -06:00
garak c067c4e617 fix dependency scanning 2018-11-14 19:12:12 -05:00
garak 87ec71f71b subdirs in build 2018-11-14 17:59:30 -05:00
Slawter666 4311fd8b89 Sort includes into alphabetical order 2018-11-14 00:01:50 +00:00
Slawter666 6fcf878e2f Tidy up header files 2018-11-13 22:28:46 +00:00
garak c6833c903c remove extra macro and shorten names 2018-11-13 16:19:52 -05:00
garak 269aebaca7 update createsprite macro and rename BANK to BATTLER 2018-11-13 15:35:46 -05:00
Slawter666 1d46507110 Move field effects enum to defines 2018-11-13 14:19:04 +00:00
Diegoisawesome f639c7c309 Merge pull request #380 from DizzyEggg/frontier_2
More battle frontier
2018-11-12 14:05:40 -06:00
DizzyEggg b5ea69cf74 Fix conflicts 2018-11-12 19:22:23 +01:00
Diegoisawesome 54ad6794bc Merge pull request #361 from Slawter666/synchronise
Synchronise with pokeruby
2018-11-12 11:37:18 -06:00
DizzyEggg 734403fdfa Merge branch 'master' into frontier_2 2018-11-12 15:42:44 +01:00
DizzyEggg 69683f9572 Decompile Battle Palace 2018-11-12 15:41:19 +01:00
Slawter666 1b895ff52c Merge branch 'master' of https://github.com/pret/pokeemerald into synchronise 2018-11-12 14:14:50 +00:00
Slawter666 be33878b94 Synchronise wallclock.c 2018-11-12 14:04:32 +00:00
DizzyEggg d5abd7b696 Document Battle Pie 2018-11-12 14:36:31 +01:00
DizzyEggg 3b3cffac44 Decompile battle pike 2018-11-12 14:07:31 +01:00
DizzyEggg 4fb463377c Start battle pike 2018-11-12 00:46:02 +01:00
DizzyEggg a4235c9ff8 Document battle arena 2018-11-11 18:33:16 +01:00
DizzyEggg 81410fee17 Factory done 2018-11-11 16:44:27 +01:00
DizzyEggg 1437755cdd Start arena 2018-11-07 22:54:42 +01:00
Diegoisawesome 65f053fd89 Thanks Egg 2018-11-07 14:48:06 -06:00
Diegoisawesome a052e45f27 Merge pull request #379 from DizzyEggg/derp
ScriptMenu_MultichoiceGrid
2018-11-07 14:41:29 -06:00
DizzyEggg 01fdb01364 Diego pls 2018-11-07 21:09:54 +01:00
Diegoisawesome 7ab8ff0d81 Merge branch 'master' of github.com:pret/pokeemerald 2018-11-07 12:35:49 -06:00
Diegoisawesome 9f50ba1ce3 Fix incorrect compressed types, part 2 2018-11-07 12:35:31 -06:00
Diegoisawesome 1507a290d5 Merge pull request #378 from Diegoisawesome/script_menu
[WIP] Decompile/port script_menu
2018-11-06 20:24:04 -06:00
Diegoisawesome 18839a4872 Merge remote-tracking branch 'pret/master' into script_menu 2018-11-06 20:20:56 -06:00
Diegoisawesome 054a015c95 Finish decompiling/porting script_menu 2018-11-06 20:13:40 -06:00
Slawter666 15117a8d09 Remove redundancy in berry.c 2018-11-06 23:15:57 +00:00
Diegoisawesome 93ff71fcfd Merge pull request #377 from DizzyEggg/render_text
Match Render text and attempt to clean up
2018-11-06 11:44:14 -06:00
Diegoisawesome 9afe7a896e Merge remote-tracking branch 'pret/master' into render_text 2018-11-06 11:40:17 -06:00
Diegoisawesome 43a8534fce Merge remote-tracking branch 'origin/master' into render_text 2018-11-06 11:33:21 -06:00
Diegoisawesome f8d337e491 Finish cleaning up text.c 2018-11-06 11:30:21 -06:00
Diegoisawesome 6d38431c33 Begin cleaning text.c 2018-11-06 10:44:48 -06:00
Diegoisawesome ccc5d27fcb Merge pull request #376 from DizzyEggg/battle_frontier_2
Decompile part of battle_frontier_2
2018-11-06 10:06:21 -06:00
DizzyEggg 258ec3162f frontier util review changes 2018-11-05 22:13:59 +01:00
Diegoisawesome 7dd4ed7060 r5/r6 swap on sub_80E2578 2018-11-05 14:45:54 -06:00
DizzyEggg 487a6c2b2c this file is 2018-11-05 21:42:12 +01:00
DizzyEggg 6d0d69f3a5 Match Render Text 2018-11-04 23:09:10 +01:00
Slawter666 bd766b9049 Minor labelling of field effects 2018-11-03 20:20:28 +00:00
DizzyEggg 3159e958b8 Match a record mixing function 2018-11-03 18:21:33 +01:00
DizzyEggg 0bb51037d7 Finish frontier util 2018-11-01 21:31:10 +01:00
DizzyEggg 37d742cbd8 Document recorded battle 2018-11-01 15:06:50 +01:00
Diegoisawesome 645830624d Continue script_menu.c 2018-10-31 23:03:41 -05:00
DizzyEggg 7de1c4bd14 Make frontier util compile 2018-10-30 22:17:03 +01:00
DizzyEggg 90ef269426 Merge branch 'master' into battle_frontier_2 2018-10-30 21:48:18 +01:00
DizzyEggg 0da7d7e6ae why is this function so hard to match 2018-10-30 21:45:26 +01:00
Diegoisawesome 9adbb5d871 Merge pull request #375 from garakmon/animation-test-temp
Back animation names
2018-10-30 12:00:37 -05:00
Diegoisawesome 2837859bdb Merge pull request #373 from garakmon/battle-anim
Split battle_anim_80FE840 and move data to C
2018-10-30 11:53:05 -05:00
garak 678156ff0e remove linker script extra 2018-10-30 12:43:13 -04:00
garak 3cb7a33f42 label back animations 2018-10-30 12:37:53 -04:00
Diegoisawesome c8ef69a00d Merge pull request #372 from garakmon/sprite-tags
Synchronize sprite tags
2018-10-30 11:26:44 -05:00
Diegoisawesome f3af20d3cf Merge pull request #370 from DizzyEggg/battle_tower
Decompile Battle Tower
2018-10-30 11:18:24 -05:00
DizzyEggg 3a9eeef844 Frontier, finish ranking hall 2018-10-28 21:11:53 +01:00
Diegoisawesome b1b97c1da9 Merge pull request #374 from DizzyEggg/win_name
Rename struct Window' priority field to bg
2018-10-27 19:55:44 -05:00
DizzyEggg 98d8dbfd8a Up to sub_81a443c 2018-10-28 00:50:06 +02:00
DizzyEggg e850517123 more battle frontier 2 2018-10-27 21:01:35 +02:00
DizzyEggg 269d7c2510 up to factory 2018-10-27 17:39:05 +02:00
DizzyEggg 826d0ea2ab Begin frontier records 2018-10-27 15:44:29 +02:00
DizzyEggg b252bd0292 Window priority to window bg 2018-10-27 00:53:07 +02:00
DizzyEggg 0e6fbbfe09 Make battle tower compile 2018-10-27 00:04:18 +02:00
DizzyEggg 52be8eeaf1 Merge branch 'master' into battle_tower 2018-10-26 23:55:36 +02:00
DizzyEggg dc273cc19d Battle tower - ewram variables 2018-10-26 23:54:41 +02:00
garak 7747a891a2 finish 80FE840 data (actually) 2018-10-25 18:59:05 -04:00
garak de90ce9123 finish 80FE840 data (almost) 2018-10-25 17:46:23 -04:00
DizzyEggg 1efdaebe23 finish decompiling battle tower 2018-10-25 21:27:10 +02:00
garak 17c26fae1a fire, electric, ice data 2018-10-24 20:01:40 -04:00
DizzyEggg 549b669f2a battle tower, match sth and dumb loop instead of goto 2018-10-24 23:14:45 +02:00
garak 22a0b58e57 effects_2 and water data 2018-10-24 15:52:21 -04:00
garak 2f4b00e34b finish effects_1 data 2018-10-23 12:17:31 -04:00
garak 68814c42de begin 80FE840 data 2018-10-23 08:25:51 -04:00
luckytyphlosion 2778e9ad3d Update Discord link. 2018-10-22 22:20:48 -04:00
garak 5ddf6655bc split battle_anim_80FE840.s 2018-10-22 22:08:38 -04:00
DizzyEggg b330bdba51 More and more battle tower 2018-10-22 19:22:57 +02:00
garak 6cf39e8a6e clean up sprite tags 2018-10-22 10:51:40 -04:00
garak d267fcbfb1 name remaining tags 2018-10-22 10:36:43 -04:00
garak 2b9fd18dd4 battle_anims.s data to C 2018-10-21 22:30:20 -04:00
garak f2363f5982 more tag names 2018-10-21 19:30:27 -04:00
Diegoisawesome 32d2640dc7 Match GameClear (thanks Egg) 2018-10-21 16:24:43 -05:00
garak 7a9c7e5f06 Merge branch 'master' into sprite-tags 2018-10-21 15:12:18 -04:00
garak 2bb286ab4e begin ANIM_TAG port 2018-10-21 15:07:10 -04:00
DizzyEggg 0ab27e44b1 more tower, fail 2018-10-21 20:13:12 +02:00
Diegoisawesome 804d0a4b6a Merge pull request #371 from Diegoisawesome/align_lz
Fix LZ compressed data alignment
2018-10-21 12:24:24 -05:00
Diegoisawesome 8e7202ec3d Fix LZ compressed data alignment 2018-10-21 12:05:34 -05:00
Diegoisawesome 97bbb326b8 GameClear nonsense 2018-10-20 19:53:41 -05:00
golem galvanize ba3247d5cd decompiled more, stuck on sub_81B1760 2018-10-20 20:25:28 -04:00
Slawter666 3d8874d919 Merge branch 'master' of https://github.com/pret/pokeemerald into synchronise 2018-10-21 00:20:09 +01:00
DizzyEggg 16026fe91d More battle tower. 2018-10-21 00:06:42 +02:00
Slawter666 7a072d4527 Continue synchronising 2018-10-20 21:01:45 +01:00
Diegoisawesome 2a3ba78831 Merge pull request #369 from garakmon/pan-constants
Use sound pan constants in data/battle_anim_scripts.s
2018-10-19 20:27:54 -05:00
DizzyEggg f4e55999a5 begin porting and decomping battle tower 2018-10-20 00:33:51 +02:00
garak ecd482fa2c fix merge conflicts in battle_anim_scripts 2018-10-19 16:19:36 -04:00
garak 38fcc46abb Merge remote-tracking branch 'upstream/master' into pan-constants 2018-10-19 16:05:14 -04:00
garak 901f3ff557 use sound panning constants in battle_anim_scripts 2018-10-19 15:57:19 -04:00
Diegoisawesome bf8fa23462 Merge pull request #365 from garakmon/event-flags
[WIP] Event flags
2018-10-19 14:24:34 -05:00
garak 113a8d1efd clean flags and remove temp macro 2018-10-19 14:59:18 -04:00
garak 1441ee6bc3 finish event object flags 2018-10-19 13:04:47 -04:00
Diegoisawesome 95d8815721 Merge pull request #368 from Diegoisawesome/master
Finish porting/decompiling field_player_avatar
2018-10-19 00:08:59 -05:00
Diegoisawesome dd3689fdbf Finish porting/decompiling field_player_avatar 2018-10-19 00:05:54 -05:00
garak cb5981cdf2 name more event flags 2018-10-18 21:32:21 -04:00
Diegoisawesome 442baf1a00 Merge pull request #367 from DizzyEggg/move_blitmap
Move Bitmap struct and clear sprite/text files a bit
2018-10-18 19:18:44 -05:00
garak c27043bd3c more event flags 2018-10-18 15:28:59 -04:00
DizzyEggg dfee5deca8 Move Bitmap struct and clear sprite/text files 2018-10-18 21:24:37 +02:00
Diegoisawesome b23dc9a123 Merge pull request #366 from Diegoisawesome/master
Finish shop and fldeff_escalator
2018-10-18 12:08:38 -05:00
Diegoisawesome 6206acd2d2 Finish shop and fldeff_escalator 2018-10-18 12:05:02 -05:00
golem galvanize dded980cde fix building 2018-10-17 23:36:18 -04:00
garak d1b7f32b0a begin event flag names, add temporary hidden item macro 2018-10-17 22:07:23 -04:00
golem galvanize 2c6d634acd Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_party_menu 2018-10-17 20:03:31 -04:00
golem galvanize 65a0c48eec decompiled some more of the file 2018-10-17 20:03:02 -04:00
garak 7d88b9647f Merge branch 'master' into event-flags 2018-10-17 12:30:45 -04:00
garak ff97873c30 label temp flags, test replace script 2018-10-17 12:25:12 -04:00
garak 624a7552b6 use event flags in event scripts 2018-10-17 09:05:22 -04:00
garak da1b5365a7 label a flag in the asm 2018-10-17 08:55:09 -04:00
Slawter666 b7b1d609d0 More synchronisation 2018-10-17 13:52:26 +01:00
Diegoisawesome f67bbbdaaa Merge pull request #364 from Diegoisawesome/master
Port/decompile field_control_avatar
2018-10-16 21:54:14 -05:00
Diegoisawesome e75f0b4f80 Port/decompile field_control_avatar 2018-10-16 21:47:08 -05:00
Slawter666 1435c96b41 Further synchronisation 2018-10-17 01:11:44 +01:00
Diegoisawesome 832947f329 Merge pull request #363 from DizzyEggg/patch-1
Use constants
2018-10-16 17:07:54 -05:00
DizzyEggg 1f358fbb07 Use constants 2018-10-16 22:34:53 +02:00
garak 0051947414 Merge remote-tracking branch 'upstream/master' into event-flags 2018-10-16 14:31:45 -04:00
Diegoisawesome ed1bb3030b Merge pull request #362 from Deokishisu/patch-1
Fix "Vigaroth" misspelling in event_objects.h
2018-10-16 11:26:48 -05:00
Deokishisu b52b05368c Fix "Vigaroth" misspelling in May's House 1F 2018-10-16 12:08:17 -04:00
Deokishisu e377c323c4 Fix "Vigaroth" misspelling in Brendan's House 1F 2018-10-16 12:07:47 -04:00
Deokishisu 78a912a039 Fix "Vigaroth" misspelling to "Vigoroth" 2018-10-16 12:06:38 -04:00
Slawter666 3aff112127 Begin synchronising with pokeruby 2018-10-16 14:55:16 +01:00
Diegoisawesome a9abb930aa Merge pull request #352 from huderlem/shop
[WIP] Shop
2018-10-14 19:03:48 -05:00
Diegoisawesome 7f211b2588 Merge pull request #359 from Slawter666/label_field_effect_helpers
Label field_effect_helpers.c
2018-10-14 18:37:11 -05:00
Diegoisawesome eafea33dd9 Merge pull request #360 from Deokishisu/Fix-Event-Object-Defines
Update All EVENT_OBJ_GFX References
2018-10-14 18:26:31 -05:00
Deokishisu bf2063cc1a Update All EVENT_OBJ_GFX References
Didn't realize that this needed to be done as well for renaming OW sprites. The event_objects.h file has had its corresponding defines renamed and all references in all files to those defines have been relabeled.
2018-10-14 19:09:18 -04:00
Slawter666 137f6549ff label field_effect_helpers 2018-10-14 23:43:40 +01:00
Diegoisawesome 9496c50518 Merge pull request #358 from Deokishisu/LabelOWsProperly
Label OWs More Descriptively
2018-10-14 15:36:00 -05:00
Deokishisu 94bec0b8db Fix Double Underscores
Whoops.
2018-10-14 16:14:01 -04:00
Deokishisu d7ba8a306c Rename OW Sprites
Rename OW Sprites to be more descriptive where possible. If an OW sprite was used by only one Trainer class, it was renamed. Additionally, some non-Trainer sprites were renamed.

Renamed:
LittleBoy1 -> NinjaBoy
LittleGirl1 -> Twin
Woman2 -> PokefanF
OldMan1 -> ExpertM
OldWoman1 -> ExpertF
Man3 -> PokefanM
Woman6 -> LinkReceptionist
Man7 -> DevonEmployee
Boy4 -> RichBoy
Boy5 -> GameboyKid (Consistent with pokecrystal)
ContestOldMan -> ContestJudge

Renamed Because of Numbering Changes:
LittleBoy2 -> LittleBoy
LittleGirl2 -> LittleGirl
OldWoman2 -> OldWoman
OldMan2 -> OldMan
Man4 -> Man3
Man5 -> Man4
Man6 -> Man5
Woman3 -> Woman2
Woman4 -> Woman3
Woman5 -> Woman4
Woman7 -> Woman5
2018-10-14 15:49:55 -04:00
Deokishisu a8afec762b Merge branch 'master' of https://github.com/pret/pokeemerald into LabelOWsProperly 2018-10-14 14:22:56 -04:00
Diegoisawesome 02049d52ee Merge pull request #351 from DizzyEggg/apprentice
Decompile apprentice
2018-10-14 13:20:38 -05:00
Deokishisu c89b14f5ef Merge branch 'master' of https://github.com/pret/pokeemerald into LabelOWsProperly 2018-10-14 14:19:23 -04:00
Diegoisawesome 43316ffae8 Merge pull request #356 from DizzyEggg/clean_battlestruct
Clean a couple of battlestructs' fields
2018-10-14 13:18:29 -05:00
Deokishisu e129f4864f Merge branch 'master' of https://github.com/pret/pokeemerald into LabelOWsProperly 2018-10-14 14:16:07 -04:00
Diegoisawesome 0979ea91fb Merge pull request #357 from DizzyEggg/move_heap
Move HEAP_SIZE to malloc and use void instead of empty argument list
2018-10-14 13:15:31 -05:00
DizzyEggg c3113db931 Move HEAP_SIZE to malloc and use void instead of empty argument list 2018-10-14 20:00:14 +02:00
Diegoisawesome d40e737d52 Merge pull request #349 from golemgalvanize/decompile_field_effect_helpers
Decompile field effect helpers
2018-10-14 12:48:18 -05:00
Diegoisawesome e0bc3fd59c Merge pull request #355 from DizzyEggg/use_eos
Use defines for text chars
2018-10-14 12:21:37 -05:00
Diegoisawesome 355f014909 Merge pull request #354 from DizzyEggg/move_blendpal
Move blend_palette to util
2018-10-14 12:11:50 -05:00
DizzyEggg ecdf0fd69d Clean battle structs 2018-10-14 18:37:52 +02:00
Deokishisu 2bd86dad2f Rename Boy4 to RichBoy 2018-10-14 12:26:48 -04:00
DizzyEggg b73611bccb clean battle structs 2018-10-14 18:10:54 +02:00
DizzyEggg cd4f65ecef Make apprentice compile 2018-10-14 17:06:47 +02:00
DizzyEggg f47ed3268c Finish documenting apprentice for now 2018-10-14 17:00:41 +02:00
DizzyEggg d60e4e23f8 Merge pull request #25 from Slawter666/apprentice-data
Move apprentice data to C
2018-10-14 16:28:27 +02:00
DizzyEggg 7952cfeba5 document more of apprentice 2018-10-14 16:27:48 +02:00
Slawter666 f08b56d645 Move apprentice data to C 2018-10-14 15:26:13 +01:00
DizzyEggg af7aa624cd make aprentice compile 2018-10-14 15:23:14 +02:00
DizzyEggg 84936b4260 Merge branch 'master' into apprentice 2018-10-14 15:07:16 +02:00
DizzyEggg 541043a661 Use defines for text chars 2018-10-14 15:04:25 +02:00
DizzyEggg 7a008a944a Move 'blend_palette'.c to util.c 2018-10-14 14:43:19 +02:00
DizzyEggg 145df49063 Document more of apprentice 2018-10-14 14:35:51 +02:00
DizzyEggg b4a42a6832 Decompile apprentice 2018-10-14 11:37:44 +02:00
DizzyEggg 36b8a6a9a2 More apprentice work 2018-10-13 23:23:33 +02:00
DizzyEggg a496a763ca Merge record mixing, pokemon and global with apprentice 2018-10-13 20:38:46 +02:00
Diegoisawesome 32fbf67d47 Merge branch 'master' into shop 2018-10-13 12:55:06 -05:00
Diegoisawesome 0c1d33da4f Merge pull request #353 from Diegoisawesome/master
Port/decompile cable_club.s
2018-10-13 12:53:09 -05:00
Diegoisawesome a26380663c Merge branch 'master' of github.com:pret/pokeemerald 2018-10-13 12:44:23 -05:00
Diegoisawesome 35c6938814 Port/decompile cable_club.s 2018-10-13 12:41:10 -05:00
Marcus Huderle b24559d69b Merge remote-tracking branch 'upstream/master' into shop
# Conflicts:
#	asm/shop.s
2018-10-13 10:22:58 -05:00
DizzyEggg 74b81bf229 start apprentice 2018-10-13 00:48:26 +02:00
golem galvanize d3d725cc83 decompiled up to sub_81B0948 2018-10-11 21:23:39 -04:00
Diegoisawesome 04836db167 Start porting cable_club.c 2018-10-11 16:02:58 -05:00
Diegoisawesome a2a6700966 Merge pull request #350 from Kermalis/master
Sound Effects Part 2/6
2018-10-10 16:04:01 -05:00
Kermalis de8013c6d1 Match se_kouka_m.mid 2018-10-10 16:47:27 -04:00
Kermalis dd0e53a144 Match se_kouka_l.mid 2018-10-10 16:46:11 -04:00
Kermalis 7f2ddee417 Match se_kouka_h.mid 2018-10-10 16:45:01 -04:00
Kermalis e92eabe961 Match se_kon4.mid 2018-10-10 16:42:47 -04:00
Kermalis 695d42bf46 Match se_kon3.mid 2018-10-10 16:41:40 -04:00
Kermalis e6685e5703 Match se_kon2.mid 2018-10-10 16:40:18 -04:00
Kermalis a9bdd34f9e Match se_kon.mid 2018-10-10 16:39:11 -04:00
Kermalis f471165e6c Match se_ki_gasyan.mid 2018-10-10 16:37:38 -04:00
Kermalis dac1ddba49 Match se_kaifuku.mid 2018-10-10 16:35:12 -04:00
Kermalis 76e3091d6d Match se_kaidan.mid 2018-10-10 16:29:16 -04:00
Kermalis 1aae1c19ea Match se_jyuni.mid 2018-10-10 16:27:34 -04:00
Kermalis 395e754760 Match se_jitensya.mid 2018-10-10 16:22:40 -04:00
Kermalis 2f10c5c24c Match se_jite_pyoko.mid 2018-10-10 16:20:54 -04:00
Kermalis 471aa8eeac Match se_jihanki.mid 2018-10-10 16:18:51 -04:00
Kermalis 2f21d2e9ab Match se_jido_doa.mid 2018-10-10 16:17:07 -04:00
Kermalis 27f2b3b00a Match se_i.mid 2018-10-10 16:15:30 -04:00
Kermalis ab5c24daa6 Match se_hinsi.mid 2018-10-10 16:11:23 -04:00
Kermalis 937e9d05e8 Match se_hi_turun.mid 2018-10-10 16:09:46 -04:00
Kermalis da9b55ea61 Match se_hazure.mid 2018-10-10 16:07:23 -04:00
Kermalis 88a4693cde Match se_hashi.mid 2018-10-10 16:05:36 -04:00
Kermalis 9817919c23 Match se_hantei2.mid 2018-10-10 16:03:27 -04:00
Kermalis 13c617cee0 Match se_hantei1.mid 2018-10-10 16:02:20 -04:00
Kermalis ad717c719f Match se_fuusen3.mid 2018-10-10 15:57:41 -04:00
Kermalis 77c2afcaa9 Match se_fuusen2.mid 2018-10-10 15:56:10 -04:00
Kermalis 973fdffb2c Match se_fuusen1.mid 2018-10-10 15:53:49 -04:00
Kermalis 72366a320b Match se_fu_zuzuzu.mid 2018-10-10 15:50:00 -04:00
Kermalis f31e4914aa Match se_fu_zaku2.mid 2018-10-10 15:47:30 -04:00
Kermalis 12ec9ec536 Match se_fu_zaku.mid 2018-10-10 15:45:34 -04:00
Kermalis e66fb45f24 Match se_expmax.mid 2018-10-10 15:42:53 -04:00
Kermalis fd74c65631 Match se_exp.mid 2018-10-10 15:37:03 -04:00
Kermalis 599d80b937 Match se_esuka.mid 2018-10-10 15:32:04 -04:00
Kermalis 1d241702f2 Match se_elebeta.mid 2018-10-10 15:30:17 -04:00
Kermalis c44d355f6f Match se_e.mid 2018-10-10 15:28:17 -04:00
Kermalis 264bd34bdd Match se_door.mid 2018-10-10 15:26:20 -04:00
Kermalis 615ad808bf Match se_doku.mid 2018-10-10 15:24:27 -04:00
Kermalis b985d45ddb Match se_dendou.mid 2018-10-10 15:21:53 -04:00
Kermalis 3b929049da Match se_daugi.mid 2018-10-10 15:17:05 -04:00
Kermalis c0064134d1 Match se_dansa.mid 2018-10-10 15:14:49 -04:00
Kermalis 41a30f56bd Match se_curtain1.mid 2018-10-10 15:07:53 -04:00
Kermalis 94e491357e Match se_curtain.mid 2018-10-10 15:04:57 -04:00
Kermalis 6c890f7d9a Match se_card.mid 2018-10-10 15:01:35 -04:00
Kermalis f53a0ad0b6 Match se_c_syu.mid 2018-10-10 14:59:17 -04:00
Kermalis c98f5c25d6 Match se_c_pikon.mid 2018-10-10 14:56:12 -04:00
Kermalis b9989eaa56 Match se_c_pasi.mid 2018-10-10 14:53:47 -04:00
Kermalis acb7b7eb5c Match se_c_maku_u.mid 2018-10-10 14:50:48 -04:00
Kermalis f967501b73 Match se_c_maku_d.mid 2018-10-10 14:49:10 -04:00
Kermalis df9e2678fa Match se_c_gaji.mid 2018-10-10 14:47:02 -04:00
Kermalis 4a8dff5ebb Match se_bt_start.mid 2018-10-10 14:44:13 -04:00
Kermalis 33872e8899 Match se_bowa2.mid 2018-10-10 14:40:41 -04:00
Kermalis ecf9d206e2 Match se_bowa.mid 2018-10-10 14:38:28 -04:00
Kermalis 50393acc65 Match se_boo.mid 2018-10-10 14:36:44 -04:00
Kermalis 44d003140b Match se_bidoro.mid 2018-10-10 14:34:21 -04:00
Kermalis 66c1e8008c Match se_basabasa.mid 2018-10-10 14:31:18 -04:00
Kermalis 005ac398fb Match se_ban.mid 2018-10-10 14:27:30 -04:00
Kermalis 938c4a2bc6 Match se_a.mid 2018-10-10 14:24:39 -04:00
golem galvanize 803c2388ce finish porting field_effect_helpers 2018-10-10 12:02:02 -04:00
golem galvanize 35ee9f67c0 ported some of field_effect_helpers 2018-10-09 17:32:39 -04:00
Diegoisawesome 72c9abbb66 Remove invalid version entries 2018-10-07 23:28:36 -05:00
Marcus Huderle 807050a048 Merge pull request #348 from DizzyEggg/anim_files
Decompile/Port battle_anim_80A5C6C
2018-10-07 12:23:07 -05:00
DizzyEggg dbb09aa445 get rid of SPRITE and TASK 2018-10-07 19:19:13 +02:00
DizzyEggg 413e26e83d port 80d51ac 2018-10-07 17:45:37 +02:00
DizzyEggg 61343d5069 Decompile battle_anim_80A9C70 2018-10-07 15:39:46 +02:00
DizzyEggg 8c834b9ae8 battle anim 80a5c6c decompiled 2018-10-07 12:32:20 +02:00
DizzyEggg 54fc92bc92 Start porting ruby battle anim file 2018-10-06 23:04:53 +02:00
Diegoisawesome 7a7aeed5e8 Merge pull request #347 from Deokishisu/GamV
Fill out VERSION_ enum with all possible values
2018-10-06 13:45:21 -05:00
Marcus Huderle b9e38a569e Merge pull request #320 from DizzyEggg/anims
Document battle animation scripts
2018-10-06 08:20:41 -05:00
Deokishisu 2070c246f9 Added new findings about invalid version IDs.
After transferring Pokemon up to Gen 6 and then to Gen 7, I discovered that invalid version IDs display the "a distant land" string that is used for the Gamecube games, so that information was added in a comment.

Also clarified that it's not just Gen 4 that displays the Johto string, it's Gen 4 and up.
2018-10-06 07:40:56 -04:00
DizzyEggg 17c5b4089a Label most of the anim tags 2018-10-06 09:37:52 +02:00
DizzyEggg bde92a9934 Merge pull request #21 from Tetrable/anims
Start anim tags
2018-10-06 08:36:27 +02:00
Deokishisu 9f69ea1931 Update gGameVersion to use GAME_VERSION 2018-10-06 01:57:39 -04:00
Deokishisu 76a9cf0d54 Fix captitalization of HGSS in comment and match FRLG formatting in enum 2018-10-06 01:56:03 -04:00
Deokishisu cc0d2288d5 Match comment formatting 2018-10-06 01:46:17 -04:00
Deokishisu 024700769a Document all possible VERSION_ numbers and add them to the enum 2018-10-06 01:45:36 -04:00
Tetrable 61ab631dec Fixed a small error 2018-10-05 23:02:04 +01:00
Tetrable e80a53060b Start anim tags 2018-10-05 23:00:07 +01:00
Diegoisawesome 3d50d01a93 Merge pull request #346 from huderlem/mb
Move metatile behavior constants to include/constants and sync closer…
2018-10-04 18:56:14 -05:00
Marcus Huderle ec0d350137 Move metatile behavior constants to include/constants and sync closer to pokeruby 2018-10-04 17:57:07 -05:00
Diegoisawesome ec5360364b Use relative path for mid2agb 2018-10-03 23:16:52 -05:00
Diegoisawesome b557e7c9cb Merge pull request #345 from Kermalis/master
Sound Effects Part 1/6
2018-10-03 17:25:59 -05:00
Kermalis 2f99b81dd4 Match ph_cure_blend.mid to ph_trap_solo.mid 2018-10-03 17:47:57 -04:00
Kermalis a94c66139e Match ph_cloth_solo.mid 2018-10-03 17:26:34 -04:00
Kermalis dbe15410de Match ph_cloth_held.mid 2018-10-03 17:26:06 -04:00
Kermalis 458b25ec09 Match ph_cloth_blend.mid 2018-10-03 17:24:20 -04:00
Kermalis 6fd2d4ad3b Match ph_choice_solo.mid 2018-10-03 17:22:56 -04:00
Kermalis 86f80debe2 Match ph_choice_held.mid 2018-10-03 17:21:42 -04:00
Kermalis b32e85ac90 Match ph_choice_blend.mid 2018-10-03 17:20:10 -04:00
Diegoisawesome 01242d642c Merge pull request #344 from Kermalis/master
FRLG Music Part 2/2
2018-10-03 00:33:25 -05:00
Kermalis 7fbc853611 Match mus_kachi2.mid & mus_rg_win_yasei.mid 2018-10-03 01:27:26 -04:00
Kermalis 7a06678768 Match mus_rg_win_tre.mid 2018-10-03 01:19:03 -04:00
Kermalis 34ee74a490 Match mus_kachi3.mid & mus_rg_win_gym.mid 2018-10-03 00:54:32 -04:00
Kermalis 937b785774 Match mus_rg_vs_yasei.mid 2018-10-03 00:13:14 -04:00
Kermalis 4045ded2fe Match mus_rg_vs_tore.mid 2018-10-03 00:11:50 -04:00
Kermalis 2ed3b58742 Match mus_rg_vs_myu2.mid 2018-10-03 00:10:16 -04:00
Kermalis 2aeeb5f7b1 Match mus_rg_vs_last.mid 2018-10-03 00:08:37 -04:00
Kermalis babe3d0e92 Match mus_rg_vs_gym.mid 2018-10-03 00:06:42 -04:00
Kermalis ea765f5d88 Match mus_rg_vs_deo.mid 2018-10-03 00:04:47 -04:00
Kermalis 912f92d4ed Match mus_rg_vs_den.mid 2018-10-03 00:03:18 -04:00
Kermalis 70ade99afb Match mus_rg_union.mid 2018-10-03 00:01:14 -04:00
Kermalis 8f78809f29 Match mus_rg_tvnoize.mid 2018-10-02 23:59:34 -04:00
Kermalis 6c460c9461 Match mus_rg_titlerog.mid 2018-10-02 23:56:45 -04:00
Kermalis 214eefb05a Match mus_rg_title.mid 2018-10-02 23:53:50 -04:00
Kermalis 2066705756 Match mus_rg_tamamusi.mid 2018-10-02 23:51:42 -04:00
Kermalis a69b672ab0 Match mus_gim.mid & mus_rg_t_tower.mid 2018-10-02 22:37:41 -04:00
Kermalis b1aa0c5b78 Match mus_rg_t_mori.mid 2018-10-02 21:42:10 -04:00
Kermalis f043106adc Match mus_rg_sousa.mid 2018-10-02 21:39:08 -04:00
Kermalis f759bb4da0 Match mus_rg_slowmasara.mid 2018-10-02 21:35:32 -04:00
Kermalis f1eb64919b Match mus_rg_slot.mid 2018-10-02 21:31:11 -04:00
Kermalis 2a3cd99fed Match mus_rg_shounen.mid 2018-10-02 21:29:13 -04:00
Kermalis 2811370ac0 Match mus_rg_shoujo.mid 2018-10-02 21:27:13 -04:00
Kermalis 0a40fc3073 Match mus_rg_shiruhu.mid 2018-10-02 21:24:37 -04:00
Kermalis 456a792d8e Match mus_rg_shion.mid 2018-10-02 21:20:32 -04:00
Kermalis e6a678abf7 Match mus_rg_sekaikan.mid 2018-10-02 21:18:48 -04:00
Kermalis adcd05f176 Match mus_rg_seibetu.mid 2018-10-02 21:16:29 -04:00
Kermalis 58bd2e6a50 Match mus_rg_santoan.mid 2018-10-02 21:12:18 -04:00
Kermalis 96c0b03755 Match mus_rg_rocket.mid 2018-10-02 21:09:35 -04:00
Kermalis e951c5f221 Match mus_rg_rival2.mid 2018-10-02 20:23:06 -04:00
Kermalis 56be32f90b Match mus_rg_rival1.mid 2018-10-02 20:21:15 -04:00
Kermalis 8981a1958a Match mus_rg_purin.mid 2018-10-02 20:19:39 -04:00
Kermalis 7c0b889d3c Match mus_rg_pokeyashi.mid 2018-10-02 20:17:49 -04:00
Kermalis a06e2124a1 Match mus_rg_pokefue.mid 2018-10-02 20:16:20 -04:00
Kermalis 06e39a7ebf Match mus_rg_pokecen.mid 2018-10-02 20:12:23 -04:00
Kermalis 03aabe5bb3 Match mus_rg_p_tower.mid 2018-10-02 20:10:38 -04:00
Kermalis b8c4f54220 Match mus_rg_otsukimi.mid 2018-10-02 20:06:19 -04:00
Kermalis eef2fbb9c4 Match mus_rg_oshie_tv.mid 2018-10-02 19:52:12 -04:00
Kermalis 7333c00cd7 Match mus_rg_opening.mid 2018-10-02 19:40:09 -04:00
Kermalis 4e4da7a646 Match mus_rg_okurimono.mid 2018-10-02 19:37:07 -04:00
Kermalis 9b9fa16a5c Match mus_rg_ohkido.mid 2018-10-02 19:35:12 -04:00
Kermalis 63e5b5baf2 Match mus_rg_nibi.mid 2018-10-02 16:27:02 -04:00
Kermalis ec55b1014e Match mus_rg_network.mid 2018-10-02 16:21:35 -04:00
Kermalis 66aac81ebe Match mus_rg_nanashima.mid 2018-10-02 16:19:11 -04:00
Kermalis 619fe0481a Match mus_rg_nanaiseki.mid 2018-10-02 16:16:22 -04:00
Kermalis 7fa1062faa Match mus_nanadungeon.mid 2018-10-02 15:09:49 -04:00
Kermalis 0922e3b205 Match mus_rg_nana123.mid 2018-10-02 14:42:51 -04:00
Kermalis 173eb91fc4 Match mus_rg_nana67.mid 2018-10-02 14:41:08 -04:00
Kermalis 40fc3d6af0 Match mus_rg_nana45.mid 2018-10-02 14:39:30 -04:00
Kermalis 75d33aff3f Match mus_rg_naminori.mid 2018-10-02 14:33:10 -04:00
Diegoisawesome b05291aa42 Merge pull request #343 from Kermalis/master
FRLG Music Part 1/2
2018-10-02 13:16:11 -05:00
Kermalis 899de63317 Match mus_rg_masara.mid 2018-10-02 14:06:50 -04:00
Kermalis dbb81dd2b3 Match mus_rg_load03.mid 2018-10-02 14:05:05 -04:00
Kermalis 70bf57d229 Match mus_rg_load02.mid 2018-10-02 13:56:42 -04:00
Kermalis 53b3ca75de Merge branch 'master' of https://github.com/pret/pokeemerald 2018-10-02 13:51:08 -04:00
Diegoisawesome c13d2b567c mid2agb fix: compare whole note details before compression 2018-10-02 12:07:37 -05:00
Kermalis 74f53b3778 Match mus_rg_load01.mid 2018-10-02 01:21:51 -04:00
Kermalis 865398e701 Match mus_rg_kuchiba.mid 2018-10-02 01:19:11 -04:00
Kermalis c5c9aef7bf Match mus_rg_kinomikui.mid 2018-10-02 01:17:13 -04:00
Kermalis 8838e468e9 Match mus_rg_kenkyu.mid 2018-10-02 01:14:30 -04:00
Kermalis 246a8eff76 Match mus_rg_kaihuku.mid 2018-10-02 01:03:26 -04:00
Kermalis b40c3a00fc Match mus_rg_jump.mid 2018-10-02 01:00:30 -04:00
Kermalis 697eed294b Match mus_rg_hanada.mid 2018-10-02 00:58:22 -04:00
Kermalis dabfa339c1 Match mus_rg_gym.mid 2018-10-02 00:56:34 -04:00
Kermalis cbf7133661 Match mus_rg_guren.mid 2018-10-02 00:54:45 -04:00
Kermalis 7a6f025d0b Match mus_rg_get_yasei.mid 2018-10-02 00:52:37 -04:00
Kermalis 54d48abcd2 Match mus_rg_fan6.mid 2018-10-02 00:49:32 -04:00
Kermalis 33217e04d6 Match mus_rg_fan5.mid 2018-10-02 00:39:39 -04:00
Kermalis 1722664ff4 Match mus_rg_fan2.mid 2018-10-02 00:35:45 -04:00
Kermalis d179db59a1 Match mus_rg_exeye.mid 2018-10-02 00:31:47 -04:00
Kermalis e07680cb72 Match mus_rg_ending.mid 2018-10-02 00:29:36 -04:00
Kermalis c684cf0659 Match mus_rg_deoeye.mid 2018-10-01 21:25:30 -04:00
Kermalis 119a78d896 Match mus_rg_dendou.mid 2018-10-01 21:22:56 -04:00
Kermalis 6a9b972491 Match mus_rg_demo.mid 2018-10-01 16:08:57 -04:00
Kermalis 602ca92b3b Match mus_rg_cycling.mid 2018-10-01 16:05:57 -04:00
Kermalis d13822fbe1 Match mus_rg_champ_r.mid 2018-10-01 16:02:50 -04:00
Kermalis e38a3e532f Match mus_rg_annai.mid 2018-10-01 15:58:31 -04:00
Kermalis ddfdb8d0fe Match mus_rg_ajito.mid 2018-10-01 15:47:18 -04:00
Kermalis 4dae354858 Match mus_me_rg_photo.mid 2018-10-01 14:59:38 -04:00
Diegoisawesome 250a451377 Merge pull request #342 from Kermalis/master
Volume stuff
2018-09-29 20:39:42 -05:00
Kermalis 64258a298e I've spent 20 minutes wondering what to call this commit 2018-09-29 21:34:21 -04:00
Kermalis dc53e35a60 Fix mid2agb argument parsing 2018-09-29 21:18:30 -04:00
Diegoisawesome da690aff9d Merge pull request #341 from Kermalis/master
RSE Music (Part 2/2)
2018-09-29 17:50:44 -05:00
Kermalis 1af5e63b41 Match mus_yama_eye.mid 2018-09-29 16:33:41 -04:00
Kermalis c5463ca1da Match mus_vs_rekku.mid 2018-09-29 16:30:15 -04:00
Kermalis 2ffa3a2c87 Match mus_vs_mew.mid 2018-09-29 16:28:18 -04:00
Kermalis de8b7e6fde Match mus_vs_front.mid 2018-09-29 16:24:08 -04:00
Kermalis 8d551517f6 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-29 15:57:39 -04:00
Diegoisawesome 6a82bbe973 Fix the fix that was buggy 2018-09-29 14:46:59 -05:00
Kermalis a300a9799c Match mus_tsuretek.mid 2018-09-29 03:26:30 -04:00
Kermalis 3893291d8d Match mus_tozan.mid [TOOK 3 HOURS] 2018-09-29 03:21:07 -04:00
Kermalis 1e7ad3d964 Match mus_tonekusa.mid 2018-09-29 00:50:43 -04:00
Kermalis 5ee5f49591 Match mus_title3.mid 2018-09-29 00:48:55 -04:00
Kermalis caadbc11cc Match mus_thankfor.mid 2018-09-29 00:46:35 -04:00
Kermalis 120b92bae1 Match mus_tetsuji.mid 2018-09-29 00:44:51 -04:00
Kermalis 392f16f653 Match mus_test4.mid 2018-09-29 00:43:00 -04:00
Kermalis b598030f46 Match mus_test3.mid 2018-09-29 00:41:35 -04:00
Kermalis fdbb817990 Match mus_test2.mid 2018-09-29 00:39:46 -04:00
Kermalis 2689a0ffe6 Match mus_test1.mid 2018-09-29 00:38:28 -04:00
Kermalis 20bf0966dd Match mus_test.mid 2018-09-29 00:36:36 -04:00
Kermalis 4b3149e299 Match mus_t_battle.mid 2018-09-29 00:33:33 -04:00
Kermalis 90525e03ed Match mus_syoujoeye.mid 2018-09-29 00:30:53 -04:00
Kermalis dc4821267d Match mus_swimeye.mid 2018-09-29 00:28:22 -04:00
Kermalis c22fcda723 Match mus_suikun.mid 2018-09-29 00:25:10 -04:00
Kermalis 48caaf4eb2 Match mus_sitennou.mid 2018-09-29 00:22:56 -04:00
Kermalis 9cc155e0a7 Match mus_shinka.mid 2018-09-29 00:19:53 -04:00
Kermalis 927fa4b384 Match mus_sattower.mid 2018-09-29 00:17:49 -04:00
Kermalis fc36f7a3e5 Match mus_safari.mid 2018-09-29 00:12:54 -04:00
Kermalis a55cce930a Match mus_runecity.mid 2018-09-29 00:10:18 -04:00
Kermalis 55f8e4aed7 Match mus_rekkuu_kourin.mid 2018-09-29 00:06:37 -04:00
Kermalis 6d205b8ac0 Match mus_rainbow.mid 2018-09-29 00:04:20 -04:00
Kermalis c3ab8a3bff Match mus_pyramid_top.mid 2018-09-29 00:02:21 -04:00
Kermalis b531882f01 Match mus_pyramid.mid 2018-09-28 23:59:57 -04:00
Kermalis 8c6b4f45fc Match mus_pokecen.mid 2018-09-28 23:58:00 -04:00
Kermalis c2d7c43847 Match mus_pcc.mid 2018-09-28 23:56:10 -04:00
Kermalis 8ab0a2aa5f Match mus_p_school.mid 2018-09-28 23:54:02 -04:00
Kermalis 2d6953b440 Match mus_ooame.mid 2018-09-28 23:51:36 -04:00
Kermalis b9af4288a1 Match mus_odamaki.mid 2018-09-28 23:48:47 -04:00
Kermalis 1814174d03 Match mus_nibi.mid 2018-09-28 23:46:30 -04:00
Kermalis e8c1c3879b Match mus_nextroad.mid 2018-09-28 23:42:15 -04:00
Kermalis 0761db312f Match mus_mishiro.mid 2018-09-28 23:10:57 -04:00
Kermalis ce1b101f9f Match mus_minamo.mid 2018-09-28 23:08:04 -04:00
Kermalis 61abaaf201 Match mus_mgm0.mid 2018-09-28 23:04:18 -04:00
Kermalis d547ce5302 Match mus_me_zannen.mid 2018-09-28 23:01:00 -04:00
Kermalis 3f926eab92 Match mus_me_waza.mid 2018-09-28 22:55:22 -04:00
Kermalis 585f11d025 Match mus_me_wasure.mid 2018-09-28 22:43:35 -04:00
Kermalis f632869c02 Match mus_me_tore_eye.mid 2018-09-28 22:39:17 -04:00
Kermalis 02deef99fd Match mus_me_tama.mid 2018-09-28 22:27:08 -04:00
Kermalis 1903d37f1c Match mus_me_symbolget.mid 2018-09-28 22:21:33 -04:00
Kermalis faa3c2a48e Match mus_me_shinka.mid 2018-09-28 22:11:21 -04:00
Kermalis bcf8104c92 Match mus_me_pointget.mid 2018-09-28 22:07:26 -04:00
Kermalis e2e53a86c7 Match mus_me_kinomi.mid 2018-09-28 22:02:01 -04:00
Kermalis 3a384da6d6 Match mus_me_bachi.mid 2018-09-28 21:59:48 -04:00
Kermalis 6a102c4192 Match mus_me_b_small.mid 2018-09-28 21:56:33 -04:00
Kermalis 05d012b1a7 Match mus_me_b_big.mid 2018-09-28 19:31:55 -04:00
Kermalis 6e1118c602 Match mus_me_asa.mid 2018-09-28 17:27:41 -04:00
Kermalis 32c0fbd35a Match mus_machupi.mid 2018-09-28 17:21:09 -04:00
Kermalis b916203c88 Match mus_machi_s4.mid 2018-09-28 17:18:52 -04:00
Kermalis ce3b52f650 Match mus_machi_s3.mid 2018-09-28 17:16:00 -04:00
Kermalis 8e5fc7964a Match mus_machi_s2.mid 2018-09-28 17:13:51 -04:00
Kermalis 0dcd1c9da5 Match mus_maborosi.mid 2018-09-28 17:11:33 -04:00
Kermalis 6b5a0589ee Match mus_m_dungon.mid 2018-09-28 17:07:34 -04:00
Kermalis 60f13e6075 Match mus_m_boat.mid 2018-09-28 17:03:36 -04:00
Diegoisawesome 1c4ac53f58 Merge pull request #340 from Kermalis/master
Music A-K
2018-09-26 23:29:25 -05:00
Kermalis c67dead63d Match mus_kazanbai.mid 2018-09-27 00:10:53 -04:00
Kermalis 7ec2803e9c Match mus_karakuri.mid 2018-09-26 23:57:32 -04:00
Kermalis f9c89f3f6a Match mus_kakkoii.mid 2018-09-26 23:55:22 -04:00
Kermalis 29bc694de5 Match mus_kachi22.mid 2018-09-26 23:53:27 -04:00
Kermalis 59814a6fcf Match mus_kachi3.mid (Thanks Diego) 2018-09-26 23:49:51 -04:00
Kermalis 21bd6c9e34 Match mus_kachi5.mid 2018-09-26 20:26:40 -04:00
Kermalis 26b8b36717 Match mus_kachi4.mid 2018-09-26 20:22:23 -04:00
Kermalis f2bfa4409a Match mus_kachi2.mid 2018-09-26 19:48:30 -04:00
Kermalis fbc74f20c3 Match mus_kachi1.mid 2018-09-26 19:43:31 -04:00
Kermalis c9cef8f631 Match mus_inter_v.mid 2018-09-26 19:40:24 -04:00
Kermalis ac4b91d602 Match mus_hutago.mid 2018-09-26 19:37:55 -04:00
Kermalis 68b0db70a8 Match mus_hightown.mid 2018-09-26 19:35:23 -04:00
Kermalis aac997896a Match mus_hideri.mid 2018-09-26 19:33:29 -04:00
Kermalis b1bcaa8add Match mus_hageshii.mid 2018-09-26 19:31:11 -04:00
Kermalis 495c287a5e Match mus_granroad.mid 2018-09-26 19:28:14 -04:00
Kermalis b7b95fd582 Match mus_gotown.mid 2018-09-26 19:13:45 -04:00
Kermalis d3bedad347 Match mus_gomachi0.mid 2018-09-26 19:06:26 -04:00
Kermalis a2e816b33a Match mus_girleye.mid 2018-09-26 19:04:26 -04:00
Kermalis a91981c796 Match mus_girl_sup.mid 2018-09-26 19:01:13 -04:00
Kermalis d3d03d4d7a Match mus_gim.mid 2018-09-26 18:58:19 -04:00
Kermalis b1398ec08a Match mus_fune_kan.mid 2018-09-26 18:56:08 -04:00
Kermalis a8ad043ff9 Match mus_friendly.mid 2018-09-26 18:54:12 -04:00
Kermalis 157cad7ba7 Match mus_finecity.mid 2018-09-26 18:52:03 -04:00
Kermalis b2100c1d3b Match mus_field13.mid 2018-09-26 18:48:54 -04:00
Kermalis c597ef4f73 Match mus_fanfa5.mid 2018-09-26 18:46:33 -04:00
Kermalis 6a76feddbf Match mus_fanfa4.mid 2018-09-26 18:44:24 -04:00
Kermalis f334a3c4da Match mus_fanfa1.mid 2018-09-26 18:41:29 -04:00
Kermalis c744979fdd Match se_z_search.mid 2018-09-26 03:43:43 -04:00
Kermalis 8c7ceee0b5 Match mus_event0.mid 2018-09-26 03:27:01 -04:00
Kermalis 094b7d4eaf Match mus_end.mid 2018-09-26 03:17:13 -04:00
Kermalis 5dee55787f Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-26 03:09:58 -04:00
Diegoisawesome f143e184a8 Fix compression score code bug reintroduction 2018-09-25 23:09:42 -05:00
Kermalis 042bad2d43 Match mus_eikou_r.mid 2018-09-25 23:47:55 -04:00
Kermalis 2606eafb59 Match mus_dummy.mid 2018-09-25 23:12:58 -04:00
Kermalis 412fb0b459 Match mus_dooro1.mid 2018-09-25 23:03:18 -04:00
Kermalis 014aa3d137 Match mus_dooro_x4.mid 2018-09-25 23:00:10 -04:00
Kermalis 03bbff5a5a Match mus_dooro_x3.mid 2018-09-25 22:57:29 -04:00
Kermalis 9cc3a8331a Match mus_dooro_x1.mid 2018-09-25 22:47:44 -04:00
Kermalis 686ba9eb99 Match mus_daigo.mid 2018-09-25 22:22:02 -04:00
Kermalis f480337dbc Match mus_dendou.mid 2018-09-25 20:32:01 -04:00
Kermalis d5047d6545 Match mus_demo1.mid 2018-09-25 20:23:51 -04:00
Kermalis 304baaf49e Match mus_deepdeep.mid 2018-09-25 20:19:36 -04:00
Kermalis 13cc134a5c Match mus_dan03.mid 2018-09-25 20:17:26 -04:00
Kermalis 214846e790 Match mus_dan02.mid 2018-09-25 20:13:08 -04:00
Kermalis 2e4b7511e5 Match mus_dan01.mid 2018-09-25 20:07:10 -04:00
Kermalis 1b575e20d7 Match mus_cycling.mid 2018-09-25 17:34:37 -04:00
Kermalis e8a081d0f2 Match mus_contest0.mid 2018-09-25 17:32:45 -04:00
Kermalis 1e7eefd5cc Match mus_conlobby.mid 2018-09-25 17:30:31 -04:00
Kermalis 8936bb2772 Match mus_con_k.mid 2018-09-25 17:25:36 -04:00
Kermalis e58bc7fb9e Match mus_con_fan.mid 2018-09-25 17:20:10 -04:00
Kermalis c501f63be7 Match mus_casino.mid 2018-09-25 17:17:30 -04:00
Kermalis 1768c542db Match mus_c_road.mid 2018-09-25 17:14:25 -04:00
Kermalis 179541bc2a Match mus_boyeye.mid 2018-09-25 17:11:50 -04:00
Kermalis e3b385624e Match mus_boy_sup.mid 2018-09-25 17:07:26 -04:00
Kermalis 4da711d64b Match mus_bijyutu.mid 2018-09-25 17:02:54 -04:00
Kermalis 1c4da06bfa Match mus_bd_time.mid 2018-09-25 16:59:56 -04:00
Kermalis 17610d37ec Match mus_battle38.mid 2018-09-25 16:53:58 -04:00
Kermalis 3327c587f0 Match mus_battle36.mid 2018-09-25 16:52:00 -04:00
Kermalis 8896ce87ec Match mus_battle35.mid 2018-09-25 16:49:19 -04:00
Kermalis 11cfa5fdc0 Match mus_battle34.mid 2018-09-25 16:47:25 -04:00
Kermalis 4249d0d34f Match mus_battle33.mid 2018-09-25 16:44:58 -04:00
Kermalis f8016d30c5 Match mus_battle32.mid 2018-09-25 16:43:02 -04:00
Kermalis 425eeb3c07 Match mus_battle31.mid 2018-09-25 16:40:09 -04:00
Kermalis e1841a111d Match mus_battle30.mid 2018-09-25 16:37:29 -04:00
Kermalis 51805c02af Match mus_battle27.mid 2018-09-25 16:32:48 -04:00
Kermalis 08715af6ac Match mus_battle20.mid 2018-09-25 16:28:35 -04:00
Kermalis b28eb2a825 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-25 16:25:21 -04:00
Diegoisawesome 7522d2e16a Partial implementation of MEMACC command 2018-09-25 15:07:14 -05:00
Kermalis d396871781 Match mus_b_tube.mid 2018-09-25 14:32:56 -04:00
Kermalis 4b5609b739 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-25 12:51:52 -04:00
Diegoisawesome d86b290419 Change initial state of lastNote 2018-09-25 11:43:46 -05:00
Diegoisawesome 7f38a03093 mid2agb compression algorithm less buggy than originally thought 2018-09-25 11:41:18 -05:00
Kermalis 2bb647245a Match mus_b_tower.mid 2018-09-25 02:42:54 -04:00
Kermalis 965e05dc87 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-25 02:34:34 -04:00
Diegoisawesome af4ff89e55 Comment out unused variable so GCC doesn't complain 2018-09-25 01:32:24 -05:00
Kermalis 00f0690fb0 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-25 02:29:15 -04:00
Diegoisawesome 48b65eecee Match compression behavior, for real 2018-09-25 01:26:09 -05:00
garak 72f9afcbf4 Merge remote-tracking branch 'upstream/master' 2018-09-24 08:40:33 -04:00
garak 3964dbd482 Merge branch 'master' of https://github.com/garakmon/pokeemerald 2018-09-24 08:39:26 -04:00
Diegoisawesome 98e1c1994b Completely blind guess to fix compression score 2018-09-24 02:00:09 -05:00
Kermalis d318b1f1f1 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-24 00:57:34 -04:00
Diegoisawesome 7ceabffc84 Clean .s files in midi folder 2018-09-23 23:52:04 -05:00
Kermalis 357b159b86 Match mus_b_factory.mid 2018-09-24 00:43:25 -04:00
Kermalis 9e7db1bc19 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-09-24 00:40:40 -04:00
Kermalis dbfc4b00e1 Match mus_b_palace.mid 2018-09-24 00:39:24 -04:00
Diegoisawesome ef95a13288 Fix compression score lower limit 2018-09-23 23:37:47 -05:00
Kermalis 257427ffdc Match mus_b_frontier.mid 2018-09-24 00:05:45 -04:00
Kermalis 6049308461 Match mus_b_dome1.mid 2018-09-23 23:31:01 -04:00
Kermalis 297b24cb20 Match mus_b_dome.mid 2018-09-23 23:28:02 -04:00
Kermalis db3d988a76 Match mus_b_arena.mid 2018-09-23 23:25:34 -04:00
Kermalis 2b0d340ba5 Match mus_ropeway.mid 2018-09-23 23:20:44 -04:00
Kermalis aceb85e11e Match mus_ayasii.mid 2018-09-23 23:16:58 -04:00
Kermalis 143b4d151d Change mus_naminori to 3/4 time signature 2018-09-23 22:50:57 -04:00
Kermalis e602329505 Match mus_ashroad.mid 2018-09-23 22:35:20 -04:00
Kermalis 5d52f64c04 Match mus_aqa_0.mid 2018-09-23 22:10:30 -04:00
Kermalis 4fc0cb095c Match mus_naminori.mid 2018-09-23 17:12:59 -04:00
Kermalis 619656fd1e Update mus_ajito.mid 2018-09-23 17:12:36 -04:00
Diegoisawesome 25033ef311 Finish tileset_anims macroization 2018-09-23 14:58:36 -05:00
Diegoisawesome e0acb92a3f mid2agb: allow -L param to take string 2018-09-23 00:40:37 -05:00
Diegoisawesome a63f3ce872 Set up Makefile for MIDIs 2018-09-22 20:28:32 -05:00
Diegoisawesome 584cad6c0b Merge pull request #339 from Kermalis/master
Rename voicegroups
2018-09-22 15:48:29 -05:00
Kermalis e93f1182e6 Rename voicegroups 2018-09-22 16:42:34 -04:00
Diegoisawesome 58a5e4a261 Merge branch 'master' of github.com:pret/pokeemerald 2018-09-22 15:39:34 -05:00
Diegoisawesome 9e840dc5fe Merge remote-tracking branch 'Tetra/master' 2018-09-22 15:23:47 -05:00
Diegoisawesome d50554bb8e Use macros and defines in tileset_anims 2018-09-22 15:02:49 -05:00
Diegoisawesome 925de13b44 Merge pull request #334 from Diegoisawesome/master
Change order of inital vol command in mid2agb
2018-09-22 14:20:33 -05:00
Diegoisawesome f613176308 Fix order of initial vol command 2018-09-22 13:54:00 -05:00
Diegoisawesome eb4408a6ff Merge pull request #338 from DizzyEggg/small
Rename gRandomMove to gCalledMove
2018-09-22 12:13:03 -05:00
DizzyEggg 611360c29e calledattack to calledmove 2018-09-22 19:08:41 +02:00
DizzyEggg e362c06aea gRandomMove to gCalledMove 2018-09-22 18:41:00 +02:00
Tetrable 1f767e4c49 Document and make tileset_anims.c easier to use 2018-09-22 13:27:43 +01:00
Tetrable 4d9c513e3e Document and improve tileset_anims.c further 2018-09-22 12:50:24 +01:00
Diegoisawesome a1edceb595 Merge pull request #336 from Kurausukun/master
port keysplit_tables from pokeruby
2018-09-21 11:45:27 -05:00
Kurausukun f9e8808234 Update voice_groups.inc
Added instruments that were previously part of keysplit_tables.inc
2018-09-21 12:42:32 -04:00
Kurausukun 3f7fb4fefd Update keysplit_tables.inc 2018-09-21 12:36:48 -04:00
Kurausukun e25a7d0276 Update keysplit_tables.inc
move instrument definitions to end of file
2018-09-21 12:32:22 -04:00
Diegoisawesome b787f8ca04 Merge pull request #335 from DizzyEggg/battledoc
Document some not labeled battle things
2018-09-21 10:10:04 -05:00
Kurausukun f1c0c79e21 ported keysplit_tables from pokeruby 2018-09-21 00:54:28 -04:00
DizzyEggg 66fd9b2ddf Label trainer hill battle type 2018-09-20 22:00:00 +02:00
DizzyEggg bf64333299 Give labels to healthbox gfx 2018-09-20 21:42:38 +02:00
DizzyEggg e4b7ba0977 Document some not labeled battle things 2018-09-20 11:55:35 +02:00
Diegoisawesome 25e469b664 Merge pull request #333 from Diegoisawesome/master
Add defines for tile, metatile, and palette count
2018-09-18 10:15:26 -05:00
Diegoisawesome 8a05bf82ec Merge branch 'master' of github.com:pret/pokeemerald 2018-09-18 10:03:57 -05:00
Diegoisawesome 899ae7a59a Add defines for tile, metatile, and palette count 2018-09-18 10:03:24 -05:00
Diegoisawesome 7f2d52d9e0 Merge pull request #332 from DizzyEggg/patch-5
Use defines for BattleAI_ChooseMoveOrAction
2018-09-17 10:11:25 -05:00
Diegoisawesome 6978a896d1 Merge pull request #331 from DizzyEggg/patch-3
Use pokeruby's formatting for move descriptions
2018-09-17 10:11:12 -05:00
Diegoisawesome 28f410737e Merge pull request #330 from DizzyEggg/patch-2
Make it easier to edit ability text
2018-09-17 10:10:33 -05:00
Marcus Huderle f2a76b54bd Re-dump tileset images as RGB-indexed, rather than greyscale 2018-09-16 11:07:48 -05:00
DizzyEggg 5164215c91 Use defines for BattleAI_ChooseMoveOrAction 2018-09-16 17:06:35 +02:00
DizzyEggg 94bbfa7fa0 Use pokeruby's formatting for move descriptions 2018-09-16 15:58:13 +02:00
DizzyEggg de65ddf4b6 Make it easier to edit ability text 2018-09-16 10:17:10 +02:00
Diegoisawesome 6a8f27c1ac Merge pull request #326 from DizzyEggg/cablecarutil
Decompile cable_car_util.c
2018-09-16 01:06:33 -05:00
Diegoisawesome 2bba2f91d6 Merge pull request #328 from DizzyEggg/slotmachine
Decompile/Port slot_machine.c
2018-09-16 00:59:53 -05:00
Diegoisawesome 3303c416d4 Merge remote-tracking branch 'Egg/slotmachine' 2018-09-15 20:42:58 -05:00
DizzyEggg 4d2637883a Slot machine is decompiled. 2018-09-15 23:19:37 +02:00
Diegoisawesome b183b99694 Merge pull request #327 from Diegoisawesome/master
Update mid2agb source
2018-09-15 16:12:25 -05:00
DizzyEggg db248dada2 slot machine is decompiled 2018-09-15 22:59:45 +02:00
Diegoisawesome 3028fdc353 Update mid2agb source
Credit to @camthesaxman
2018-09-15 15:49:31 -05:00
DizzyEggg 0547e260a4 More of slot machine 2018-09-15 18:01:20 +02:00
DizzyEggg ff13cb6352 decompile cable car util which has nothing to do with actual cable car 2018-09-15 13:50:23 +02:00
Diegoisawesome 48586660fd Merge branch 'master' of github.com:Diegoisawesome/pokeemerald 2018-09-14 22:35:18 -05:00
Diegoisawesome e8be47abb8 Add running status to mid2agb 2018-09-14 22:35:04 -05:00
DizzyEggg 2a7811456a Add anim tag sprite defines 2018-09-15 00:30:20 +02:00
Diegoisawesome b8c9d9a980 Merge pull request #324 from Diegoisawesome/master
Document main_menu
2018-09-14 12:17:11 -05:00
Diegoisawesome b860d583e4 Document main_menu 2018-09-14 12:15:46 -05:00
DizzyEggg a08d9dd451 Merge branch 'master' into anims 2018-09-12 22:59:04 +02:00
DizzyEggg 8a81bd1bce Sync battle anim labels with pokeruby 2018-09-12 22:58:03 +02:00
Diegoisawesome 095cbbc5c2 Merge pull request #321 from Slawter666/data
Move more data to C
2018-09-11 22:10:26 -05:00
Slawter666 f40fa37398 Move battle_bg data to C 2018-09-11 23:37:47 +01:00
Diegoisawesome b9e0cf9f6f Merge pull request #323 from Diegoisawesome/master
Fix gbafix
2018-09-11 17:34:37 -05:00
Diegoisawesome a9a50f1357 Merge pull request #322 from huderlem/fixspritesheets
Fix event object spritesheets
2018-09-11 17:33:14 -05:00
Marcus Huderle ba125b23fd Remove transparency from event object spritesheets 2018-09-11 17:18:10 -05:00
Slawter666 991151f461 Move item_use data to C 2018-09-11 03:04:19 +01:00
Slawter666 3c16d8c598 Move braille_puzzles data to C 2018-09-11 02:17:21 +01:00
Slawter666 b6ee8823f0 Move field_special_scene data to C 2018-09-11 02:04:03 +01:00
Slawter666 bcea321494 Finish converting data2b data 2018-09-11 01:35:47 +01:00
DizzyEggg 10b479a3ca Document battle animation scripts. 2018-09-10 21:19:19 +02:00
Diegoisawesome 8026188e36 Make long param use two dashes 2018-09-10 13:15:53 -05:00
Diegoisawesome 6907187954 Merge pull request #319 from Diegoisawesome/master
Make gbafix silent
2018-09-10 12:19:36 -05:00
Diegoisawesome aa0782c40b Make gbafix silent 2018-09-10 12:13:07 -05:00
Diegoisawesome 9438613291 Merge pull request #318 from Diegoisawesome/master
Standardize sprite visibility to boolean
2018-09-10 10:43:32 -05:00
Diegoisawesome d9941cd1a8 Standardize sprite visibility to boolean 2018-09-10 10:25:58 -05:00
Diegoisawesome cb053b3a15 Merge pull request #312 from DizzyEggg/decompile_frontier_2
Decompile Battle Factory
2018-09-10 10:20:41 -05:00
DizzyEggg 74cc2cf512 battle factory review changes 2018-09-10 10:18:30 +02:00
DizzyEggg b87856b58e Battle Factory is decompiled and documented. 2018-09-10 01:01:39 +02:00
Diegoisawesome 37edb063ba Merge pull request #317 from Tetrable/master
Document trainer animations, correct unused table labelling
2018-09-09 16:55:55 -05:00
Tetrable 044ef98309 Document trainer animations, correct unused table labelling 2018-09-09 22:35:07 +01:00
Tetrable 3a0c26887e Merge pull request #3 from pret/master
merge
2018-09-09 20:42:23 +01:00
DizzyEggg cf8898071d Merge branch 'decompile_frontier_2' of https://github.com/DizzyEggg/pokeemerald into decompile_frontier_2 2018-09-09 20:31:56 +02:00
DizzyEggg 4d1df7ecbe comm 2018-09-09 20:31:51 +02:00
DizzyEggg e21b91cc2f Merge pull request #12 from Slawter666/factory-data
Move battle factory data to C
2018-09-09 20:30:41 +02:00
Slawter666 135e98a824 Move battle factory data to C 2018-09-09 16:06:35 +01:00
Slawter666 1ba17e1666 Merge branch 'decompile_frontier_2' of https://github.com/DizzyEggg/pokeemerald into factory-data 2018-09-09 15:51:13 +01:00
DizzyEggg 6454740587 More battle factory 2018-09-09 13:12:26 +02:00
DizzyEggg 2f59df03ab Standartize AddTextPrinterParametrized functions, 2018-09-08 23:38:30 +02:00
DizzyEggg 1616c254d2 Swap_InitAllSprites done 2018-09-08 22:33:07 +02:00
Diegoisawesome e1834c9d7b Change overworld_frame macro to use tiles 2018-09-08 03:07:44 -05:00
Diegoisawesome eb8b0ff0f7 Merge branch 'master' of github.com:pret/pokeemerald 2018-09-08 02:43:19 -05:00
Diegoisawesome 12521fb1a8 Merge branch 'Slawter666-spritesheet' 2018-09-08 02:37:33 -05:00
Diegoisawesome 2b07588c02 Merge branch 'master' of github.com:Diegoisawesome/pokeemerald 2018-09-08 02:36:59 -05:00
Diegoisawesome 8827a52aa2 Fix makefile rules 2018-09-08 02:26:19 -05:00
Diegoisawesome f73807ea60 Add palette tags for event objects 2018-09-07 23:52:11 -05:00
Diegoisawesome d945a8bf2f Macroize main_menu and general cleanup 2018-09-07 19:24:33 -05:00
Slawter666 291ac2cee9 Add build rules for overworld sprite sheets 2018-09-08 00:28:32 +01:00
Diegoisawesome cf8f73bde1 Merge pull request #314 from Slawter666/data
Convert data to C
2018-09-07 11:39:07 -05:00
Slawter666 54d5a7ad97 Format event object pic tables 2018-09-07 14:14:52 +01:00
Slawter666 9dec2bdef8 Merge branch 'master' of https://github.com/pret/pokeemerald into spritesheet 2018-09-07 11:50:23 +01:00
DizzyEggg 1283b87505 up to sub_819d064 2018-09-06 23:02:16 +02:00
Diegoisawesome ef62393289 Merge pull request #316 from huderlem/gbagfx-metatiles
Add ability to specify metatile dimensions to gbagfx
2018-09-06 12:56:04 -05:00
Diegoisawesome 48ee3ec959 Merge pull request #315 from Diegoisawesome/master
Update scaninc and preproc with multi-file incbins
2018-09-06 12:54:49 -05:00
Marcus Huderle 78cdd97c8b Add ability to specify metatile dimensions to gbagfx 2018-09-06 11:44:50 -05:00
Marcus Huderle fa9d1759bd checkpoint 2018-09-06 11:37:45 -05:00
Slawter666 9ad7dc9fd7 Move remaining field_player_avatar data across 2018-09-06 12:02:37 +01:00
Diegoisawesome e0a83e3d72 Update scaninc and preproc with multi-file incbins 2018-09-06 03:45:50 -05:00
Slawter666 26c91f1502 Move field_player_avatar data to C 2018-09-06 03:11:33 +01:00
Diegoisawesome f8f7a8e300 Merge pull request #304 from Slawter666/graphics
Move data from graphics.s to C
2018-09-05 20:32:23 -05:00
Slawter666 9350ac0a74 Move battle_pyramid_bag data to C 2018-09-06 01:24:11 +01:00
Slawter666 07c2882390 Move starter_choose data to C 2018-09-06 00:47:29 +01:00
Slawter666 0cd250a83e Deleted accidently uploaded file 2018-09-06 00:00:29 +01:00
Slawter666 5656ceab6c Move graphics to src/data/graphics 2018-09-05 23:53:54 +01:00
Diegoisawesome 8defc345f0 Merge pull request #313 from ultima-soul/overworld_and_mapping
Implemented gRegionMapSectionId_To_PopUpThemeIdMapping array to be de…
2018-09-05 16:50:25 -05:00
DizzyEggg 75384546b5 More factory decomp and documentation. 2018-09-05 23:30:15 +02:00
ultima-soul 857ac33adb Fixed a typo. 2018-09-05 17:25:44 +00:00
Diegoisawesome 41fe72b95d Merge pull request #310 from DizzyEggg/patch-1
Update item_menu.c
2018-09-05 01:36:40 -05:00
Diegoisawesome c0687c7832 Merge pull request #311 from Slawter666/pss-label
Bring some labels over from pokeruby + template formatting
2018-09-05 01:36:05 -05:00
ultima-soul f505ba1bc7 Implemented gRegionMapSectionId_To_PopUpThemeIdMapping array to be dependent on Map Section ID enum rather than order dependent. 2018-09-05 01:13:17 +00:00
Slawter666 4c54212b1f Bring labels for overworld.c over from pokeruby 2018-09-04 23:31:37 +01:00
DizzyEggg 24b9cd721f More Battle Factory 2018-09-03 22:55:55 +02:00
Slawter666 5c66b8a7ef Label event_object_movement.c 2018-09-02 23:20:45 +01:00
DizzyEggg 0238b1c8ec More battle factory work 2018-09-02 19:41:33 +02:00
Slawter666 f74adc80c1 Format more templates 2018-09-02 17:53:52 +01:00
DizzyEggg 10eb952db5 Start battle factory 2018-09-02 18:10:36 +02:00
Slawter666 6106154801 Format WindowTemplate in battle_pyramid_bag.c 2018-09-02 16:26:23 +01:00
Slawter666 c1b3dfa15a Format templates in wallclock.c 2018-09-02 16:10:06 +01:00
Slawter666 c9db9b7a59 Format WindowTemplate in berry_blender.c 2018-09-02 15:14:23 +01:00
Slawter666 3119aae4b2 Format WindowTemplate in berry_tag_screen.c 2018-09-02 15:02:39 +01:00
Slawter666 f45c9e75db Format templates in item_menu.c 2018-09-02 14:49:29 +01:00
Slawter666 ef4695a72c Minor labelling 2018-09-02 13:47:12 +01:00
DizzyEggg 23aab35b96 Update item_menu.c
Don't use signed values for unsigned variables
2018-09-02 00:28:03 +02:00
Marcus Huderle 8ecf3b2159 Start decompiling shop.c 2018-09-01 17:15:35 -05:00
Diegoisawesome 4418189d4c Merge pull request #309 from DizzyEggg/types_manage
Various labelling
2018-09-01 16:07:57 -05:00
DizzyEggg 528a1e9ed0 Match CopySpriteTiles 2018-09-01 22:53:29 +02:00
DizzyEggg e28ce3be78 Fix the strings length issue 2018-09-01 22:03:21 +02:00
DizzyEggg 5c7ca813e7 Add AI flags to trainers data 2018-09-01 21:25:19 +02:00
DizzyEggg 44ba432dad Label various battle scripts 2018-09-01 20:00:13 +02:00
DizzyEggg ead21250a6 Label all battle ai scripts 2018-09-01 19:05:06 +02:00
DizzyEggg 38c89b9d0f Bank to battler 2018-09-01 18:36:08 +02:00
DizzyEggg ce949ba705 document move type variables in pss 2018-09-01 18:31:53 +02:00
Tetrable 5a53d6d1fb Merge pull request #2 from pret/master
Update
2018-09-01 12:36:33 +01:00
Diegoisawesome 1895383352 Merge pull request #308 from DizzyEggg/pyramid_bag
Decompile pyramid bag
2018-08-30 14:40:22 -05:00
DizzyEggg 96f2b995dc Pyramid bag review changes 2018-08-30 21:28:03 +02:00
DizzyEggg 43b74032fa Make pyramid bag compile. 2018-08-30 20:25:57 +02:00
DizzyEggg 917b32ffbe Finish decompiling pyramid bag. 2018-08-30 20:10:57 +02:00
DizzyEggg bc9fe72c6e Do some pyramid bag 2018-08-30 15:01:07 +02:00
Diegoisawesome 765e03846b Merge pull request #307 from Diegoisawesome/master
Use gbafix to insert header and generate checksum

Closes #305.
2018-08-30 00:34:06 -05:00
Diegoisawesome b22b6c5057 Update devkitARM to r49 2018-08-29 23:48:35 -05:00
Diegoisawesome 064216d3be Add gbafix from devkitPro/gba-tools 2018-08-29 23:39:03 -05:00
Diegoisawesome 7737025f4e Use gbafix to generate header and checksum 2018-08-29 16:34:59 -05:00
Diegoisawesome 8e5c72766c Merge pull request #300 from DizzyEggg/decompile_battle_frontier_1
Decompile battle_dome
2018-08-29 14:13:39 -05:00
DizzyEggg 3dea8fa265 battle tent review changes 2018-08-29 20:38:54 +02:00
Diegoisawesome aca96b07f0 Merge pull request #306 from Slawter666/data2b_2
Convert more of data2b.s to C
2018-08-27 01:50:46 -05:00
Slawter666 e30c2251ce Convert more of data2b 2018-08-27 00:26:54 +01:00
DizzyEggg d65ebcd3dd Label a dome functiion 2018-08-26 21:41:47 +02:00
Tetrable d8f6da0350 Merge pull request #1 from pret/master
Merge pokeemerald
2018-08-26 17:33:39 +01:00
DizzyEggg ddd4733de3 rename battle pyramid to battle pyramid bag 2018-08-26 17:54:58 +02:00
DizzyEggg 2811654931 Merge pull request #10 from Slawter666/frontier-data
Format SpriteTemplate
2018-08-26 16:47:18 +02:00
Slawter666 ca07412686 Format SpriteTemplate 2018-08-26 15:45:08 +01:00
DizzyEggg a8a2444f93 make battle dome compikle 2018-08-26 15:58:44 +02:00
DizzyEggg df3af2d9e1 Clean up battle dome code a bit 2018-08-26 15:51:14 +02:00
DizzyEggg 71de20a159 Merge pull request #9 from Slawter666/frontier-data
Convert battle dome data to C
2018-08-26 15:28:09 +02:00
DizzyEggg 78cad0dee5 try battle tent and fail 2018-08-26 15:27:06 +02:00
Slawter666 69c20f18ac Convert battle dome data to C 2018-08-26 13:40:36 +01:00
DizzyEggg 2b7c138cbe Some labels 2018-08-25 21:04:12 +02:00
DizzyEggg 0d8c5b613e make battle dome compile 2018-08-25 20:14:10 +02:00
DizzyEggg 447e65860c Merge branch 'master' into decompile_battle_frontier_1 2018-08-25 20:02:09 +02:00
DizzyEggg edcf04b665 Document battle dome. 2018-08-25 19:59:47 +02:00
DizzyEggg 62a645abaf Up To CopyDomeTrainerName 2018-08-25 18:46:15 +02:00
DizzyEggg 91349324c6 up to CB2_BattleDome 2018-08-25 11:55:16 +02:00
Slawter666 709b63efa9 Split files 2018-08-24 21:21:19 +01:00
Slawter666 6b145ed77c Move data from graphics.s to C 2018-08-24 04:21:07 +01:00
Diegoisawesome 60dff848aa Merge pull request #303 from Diegoisawesome/master
Move data from include to src
2018-08-23 02:50:29 -05:00
Diegoisawesome 96d744706d Merge branch 'master' of https://github.com/pret/pokeemerald 2018-08-23 02:42:45 -05:00
Diegoisawesome 26ef40553c Move data from include to src 2018-08-23 02:32:34 -05:00
Diegoisawesome aba566c2c0 Merge pull request #302 from Slawter666/data2b
Move some data from data2b.s to C
2018-08-23 01:43:20 -05:00
Slawter666 ed24233274 Convert more of data2b.s to C 2018-08-22 23:03:44 +01:00
Slawter666 4db5ef3ae6 Convert more data 2018-08-22 21:41:34 +01:00
Slawter666 ef6a3c2278 Move some data from data2b.s to C 2018-08-22 14:34:36 +01:00
DizzyEggg dea1de3fed More battle dome 2018-08-21 23:36:59 +02:00
DizzyEggg a12b69eae1 DisplayMatchInfoOnCard decompiled 2018-08-20 22:56:05 +02:00
DizzyEggg 5da12f2b21 battle dome - more work 2018-08-19 22:26:07 +02:00
DizzyEggg 4a0f7398ec Cant believe Ive matched this 2018-08-19 20:21:37 +02:00
DizzyEggg 239c56496b This is impossible 2018-08-19 17:13:05 +02:00
DizzyEggg fb19a8fc59 battle dome cards sensibly renamed 2018-08-19 01:06:10 +02:00
DizzyEggg e4649245ba this file is too much 2018-08-18 19:52:25 +02:00
DizzyEggg f7fd5ce75c Match one of the hardest battle dome functions 2018-08-18 18:23:40 +02:00
DizzyEggg 63cbc8f3cc battle dome - a couple more functions 2018-08-18 00:54:18 +02:00
Diegoisawesome 1fd1faef92 Merge pull request #297 from DizzyEggg/contest_table
Decompile contest_effect
2018-08-16 14:16:00 -07:00
DizzyEggg 5dd1afd383 contest effect review changes 2018-08-16 22:55:36 +02:00
DizzyEggg 0bfe894566 Merge with master 2018-08-16 22:53:01 +02:00
DizzyEggg 7669a94f0d this function is driving me insane 2018-08-16 22:46:02 +02:00
Diegoisawesome 2b81db7ace Fix Task_Truck1 2018-08-15 19:49:17 -07:00
Diegoisawesome 8ac98f7441 Merge pull request #298 from Diegoisawesome/master
Finish decompiling pokemon_summary_screen
2018-08-15 16:27:49 -07:00
Diegoisawesome 13dc7a4170 Merge branch 'master' of github.com:pret/pokeemerald 2018-08-15 16:22:54 -07:00
Diegoisawesome f65da613cf Merge pull request #299 from DizzyEggg/contest_ai
Decompile Contest ai
2018-08-15 16:19:18 -07:00
Diegoisawesome e7da514382 Finish documenting and cleaning up summary_screen
Also fix remaining nonmatchings
2018-08-15 15:58:41 -07:00
Diegoisawesome d28398b8dd Merge pull request #301 from Tetrable/master
Add national/hoenn dex defines, update dex arrays
2018-08-15 14:17:41 -07:00
DizzyEggg e2f5e73445 More battle dome 2018-08-15 23:04:46 +02:00
Tetrable 8896b54e8f Add national/hoenn dex defines, update dex arrays 2018-08-15 20:10:28 +01:00
Diegoisawesome ac3f4fd994 Continue documentation and cleanup of pokemon_summary_screen 2018-08-15 11:51:47 -07:00
DizzyEggg a54fa23b5f Begin battle frontier 1 2018-08-15 15:49:50 +02:00
DizzyEggg dc6cf391ce Make contest ai compile. 2018-08-15 12:06:23 +02:00
DizzyEggg 92c4fc6345 Contest AI clean-up 2018-08-15 11:50:18 +02:00
DizzyEggg c806992cfc Port contest ai from pokeruby 2018-08-15 11:43:57 +02:00
Diegoisawesome 0bc975bf57 Document and cleanup pokemon_summary_screen 2018-08-15 01:44:20 -07:00
Diegoisawesome 332a8bcb1d Extract rodata for unk_pokedex_area_screen_helper 2018-08-14 22:37:59 -07:00
Diegoisawesome a07d69d7c2 Finish pokemon_summary_screen 2018-08-14 22:00:35 -07:00
DizzyEggg ba225f8eaa Fix fakematching in contest effect 2018-08-15 00:25:19 +02:00
DizzyEggg 0b22ad4ab5 make contest effect build 2018-08-15 00:01:43 +02:00
DizzyEggg 0c7063c5ba Make contest effect table easier to edit in the future 2018-08-14 23:50:58 +02:00
DizzyEggg c72b55a5c4 Match the worst function ever 2018-08-14 22:28:25 +02:00
DizzyEggg 1a0e6f7aed match contest effect 2018-08-13 21:24:11 +02:00
Diegoisawesome 6dac87abfd Cleanup and document learn_move 2018-08-12 14:28:15 -07:00
DizzyEggg 0d68af7f06 copy contest effect from ruby 2018-08-12 23:20:17 +02:00
Diegoisawesome b40957c09b Finish decompiling learn_move 2018-08-12 13:33:41 -07:00
Diegoisawesome bd2b7beb07 Merge branch 'master' of github.com:pret/pokeemerald into Edwearth-learn_move 2018-08-12 13:17:51 -07:00
Diegoisawesome 335f4c1e81 Merge pull request #296 from DizzyEggg/event_data
Event data
2018-08-12 13:17:36 -07:00
DizzyEggg f1daf7442d event data review changes 2018-08-12 22:04:49 +02:00
Diegoisawesome 9a73a47ddd Merge branch 'master' of github.com:pret/pokeemerald into Edwearth-learn_move 2018-08-12 12:55:21 -07:00
DizzyEggg 577e6e7c1f Merge branch 'patch-2' of https://github.com/DizzyEggg/pokeemerald into event_data 2018-08-12 21:55:20 +02:00
Diegoisawesome 2dd5fc23d4 Prepare learn_move for merge 2018-08-12 12:54:07 -07:00
Diegoisawesome 25832810f6 Merge pull request #288 from DizzyEggg/slot_machine
Port a little bit of slot machine
2018-08-12 12:27:23 -07:00
Diegoisawesome 32b0e102cf Merge pull request #287 from DizzyEggg/easy_chat
Pikalax's Easy chat
2018-08-12 12:17:23 -07:00
Diegoisawesome 6bb761a711 Merge pull request #277 from atasro2/player_field_avatar
decompile a portion of field_player_avatar.s
2018-08-12 12:09:09 -07:00
Diegoisawesome 26e18f2292 Merge pull request #289 from DizzyEggg/contests
Pikalax's contests
2018-08-12 12:04:53 -07:00
MCboy 1bc93c5a66 Merge branch 'master' into player_field_avatar 2018-08-12 23:26:00 +04:30
MCboy 9e9ec8dc96 god damn it contributers :c 2018-08-12 23:17:27 +04:30
Diegoisawesome 21060091d1 Merge pull request #295 from DizzyEggg/pokemon_storage_system
Decompile a bit of pokemon storarage system
2018-08-12 11:38:39 -07:00
MCboy 2ddabca996 apply some changes 2018-08-12 22:31:58 +04:30
MCboy f7c3151ef2 add functions to header 2018-08-12 22:31:19 +04:30
MCboy e6db9c5d19 add function to header 2018-08-12 22:29:44 +04:30
MCboy 8650f2345d define function in header 2018-08-12 22:28:41 +04:30
DizzyEggg 7dac22314e Decompile a bit of pokemon storarage system 2018-08-12 16:40:31 +02:00
DizzyEggg 957dcd01b3 merge with master 2018-08-12 12:11:35 +02:00
DizzyEggg e787d5b602 Contest review changes 2018-08-12 12:08:51 +02:00
DizzyEggg 1229bead2e slot machine review changes 2018-08-12 11:50:26 +02:00
DizzyEggg 3a72e6a80d Easy chat review changes 2018-08-12 11:39:09 +02:00
Diegoisawesome a000eb4f36 Merge branch 'learn_move' of git://github.com/Edwearth/pokeemerald into Edwearth-learn_move 2018-08-11 19:03:38 -07:00
Diegoisawesome 40cf61307b Merge pull request #267 from garakmon/master
macOS support
2018-08-11 18:37:09 -07:00
Garak e0a9faacb5 sha1sum -> sha1 2018-08-11 21:29:54 -04:00
Garak 2cfc7bd358 change darwin check 2018-08-11 21:21:43 -04:00
Garak 296a539664 add faster builds and NODEP sections from pokeruby 2018-08-11 21:19:27 -04:00
garak 0d6f8ba5e4 add INSTALL sections for faster builds and NODEP 2018-08-11 21:13:37 -04:00
Garak 9ee4c23a46 remove -j4 2018-08-11 21:11:28 -04:00
garak 5d899d00e0 tone down INSTALL steps 2018-08-11 21:06:27 -04:00
Diegoisawesome 419917cdb0 Merge branch 'master' of github.com:pret/pokeemerald 2018-08-11 16:59:08 -07:00
Diegoisawesome 18d5186630 Merge remote-tracking branch 'garakmon/heal-loc-2' 2018-08-11 16:57:46 -07:00
Diegoisawesome 73bdef2f67 Merge pull request #293 from Diegoisawesome/master
Decompile field_specials
2018-08-11 16:37:06 -07:00
Diegoisawesome cf9518f237 Merge branch 'master' of github.com:pret/pokeemerald 2018-08-11 16:32:03 -07:00
Diegoisawesome 94eef0bfa5 Merge pull request #294 from DizzyEggg/learnsets
Make learnsets easier to edit
2018-08-11 16:27:52 -07:00
Diegoisawesome 0c29447717 Merge pull request #292 from DizzyEggg/move_desc
Move move descriptions to C
2018-08-11 16:26:16 -07:00
Diegoisawesome 57ce548020 Merge pull request #291 from DizzyEggg/patch-3
Update battle_script_commands.c
2018-08-11 16:24:34 -07:00
DizzyEggg 7b9a7765e0 Make learnsets easier to edit 2018-08-12 00:42:25 +02:00
Diegoisawesome 57b3393192 Fix compile error 2018-08-11 15:42:08 -07:00
Diegoisawesome cb9127ccaf Revert "Rename some specials"
This reverts commit 658f9351fe.
2018-08-11 15:16:41 -07:00
DizzyEggg 9bb7a2c7a5 make move desc compile 2018-08-12 00:09:53 +02:00
DizzyEggg df5009cb3e Move move descriptions to C 2018-08-12 00:03:19 +02:00
Diegoisawesome 658f9351fe Rename some specials 2018-08-11 14:59:43 -07:00
Diegoisawesome b54793be91 Finish decompiling field_specials 2018-08-11 14:51:54 -07:00
DizzyEggg 7f167ca9f4 Update battle_script_commands.c 2018-08-11 23:00:16 +02:00
DizzyEggg feee4751eb Make event data look cleaner 2018-08-11 22:54:34 +02:00
DizzyEggg 537ebd36ac Merge contests with master 2018-08-11 19:04:28 +02:00
DizzyEggg 0e0d103044 port more of slot machine 2018-08-11 18:47:56 +02:00
DizzyEggg 7961aa44ba start porting slot machine 2018-08-11 17:57:20 +02:00
garak 2fc3b7f171 change sUnknown_085A1E3C to sMapHealLocations 2018-08-11 10:28:13 -04:00
DizzyEggg 59d8d56868 merge easy chat with master 2018-08-11 14:14:51 +02:00
Diegoisawesome 1e0f3ec433 Continue decompiling field_specials 2018-08-10 14:07:23 -07:00
garak c3512e3b39 port larger heal location changes from poke ruby pr 2018-08-10 10:45:15 -04:00
Diegoisawesome 12ff59f9c1 Continue decompiling field_specials 2018-08-10 00:42:06 -07:00
Slawter666 bc42c5054c Merge remaining overworld frames 2018-08-10 00:20:19 +01:00
Slawter666 877a80d3bc Merge berry tree frames 2018-08-09 23:19:45 +01:00
Diegoisawesome bad170b0cb Continue decompiling field_specials 2018-08-08 23:53:21 -07:00
Slawter666 dea0bba64e Merge "pokemon" frames 2018-08-09 00:55:32 +01:00
Diegoisawesome 90896e38c9 Begin porting/decompiling field_specials 2018-08-08 01:37:12 -07:00
garak 45b730e474 copy heal_location changes from pokeruby 2018-08-07 23:05:48 -04:00
Garak 96ab357bed Merge pull request #3 from pret/master
syncing with source repo
2018-08-07 22:21:10 -04:00
Slawter666 704e3c7334 Merge https://github.com/pret/pokeemerald into spritesheet 2018-08-07 22:18:30 +01:00
Slawter666 ab2cc59629 Merge remaining "people" overworld frames 2018-08-07 22:16:03 +01:00
Diegoisawesome 85ebd76cd0 Fix fanfare constant to use define 2018-08-04 18:41:53 -07:00
Diegoisawesome 4070152b0e Merge pull request #284 from DizzyEggg/patch-1
Use constant in a battle script.
2018-08-04 18:32:04 -07:00
Diegoisawesome 002016e764 Merge pull request #283 from DizzyEggg/battle_pr_again
Battle code enums in switches
2018-08-04 18:31:49 -07:00
DizzyEggg 3d5f512aec Use constant in a battle script. 2018-08-03 18:07:45 +02:00
DizzyEggg eb4d9f6fed Tabs to spaces 2018-08-03 00:24:10 +02:00
DizzyEggg d6537c811b Battle code enums in case switches 2018-08-03 00:13:44 +02:00
Diegoisawesome 759bc2671c Merge pull request #280 from DizzyEggg/decompile_part_mon_summary
Decompile a few pokemon summary screen functions
2018-08-02 08:27:05 -07:00
Diegoisawesome 722b07707c Merge pull request #282 from DizzyEggg/stats_bits
Add some more stat defines for battle scripts
2018-08-02 08:11:44 -07:00
Slawter666 5917f7d108 Merge frontier brains, team magma and team aqua frames 2018-08-02 00:34:28 +01:00
Slawter666 52aa9cedcf Merge May frames into sprite sheets
Plus fix Brendan's surfing and watering frame order.
2018-07-29 17:29:36 +01:00
DizzyEggg 9febcd3a0a Document a bit of atk47 2018-07-29 15:51:08 +02:00
DizzyEggg 68145cd002 Document atk48 2018-07-29 15:33:16 +02:00
Diegoisawesome df4c20f1f8 Merge pull request #281 from einstein95/master
Port over preproc commit from pokeruby
2018-07-29 02:19:09 -07:00
einstein95 aeceecea3d Port over https://github.com/pret/pokeruby/commit/9d96147bbf8dabc2a28105d73905808e70b73b0f 2018-07-29 20:11:04 +12:00
DizzyEggg 4080c6f831 Decompile a few pokemon summary screen functions 2018-07-28 23:26:19 +02:00
Slawter666 d5825230e5 Merge "brendan" frames into sprite sheets 2018-07-28 18:11:28 +01:00
Diegoisawesome 919e7b4387 Merge pull request #279 from Diegoisawesome/master
Move strings to C, misc cleanup
2018-07-25 08:10:18 -07:00
MCboy 6c365fdc94 Update field_player_avatar.c 2018-07-25 17:47:04 +04:30
MCboy 3a15012085 Update field_player_avatar.c 2018-07-25 17:28:25 +04:30
MCboy 94a5f8d529 made file better ? 2018-07-25 17:18:49 +04:30
Diegoisawesome 7270e73fee Move strings to C 2018-07-25 01:15:36 -07:00
Diegoisawesome e92e2cb0aa Merge branch 'master' of github.com:pret/pokeemerald 2018-07-24 21:18:36 -07:00
Diegoisawesome 156fb472e1 Clean up files and add entries to charmap 2018-07-24 21:18:23 -07:00
Diegoisawesome 5883f867f0 Merge pull request #278 from vblm12/trainer_data
Move some trainer data into c structs
2018-07-24 18:58:56 -07:00
Diegoisawesome c47aac3538 Merge pull request #260 from DizzyEggg/decompile_union_room
Decompile part of union room
2018-07-24 18:48:23 -07:00
MCboy 1b3d7a5bef Update field_player_avatar.s 2018-07-24 17:04:02 +04:30
MCboy 64f40bbfee Add field_player_avatar to rodata 2018-07-24 17:03:16 +04:30
MCboy ed3a698b98 Update field_player_avatar.s 2018-07-24 17:01:44 +04:30
MCboy 82d88479ce decompiled a bunch of functions
i also made TryInterruptEventObjectSpecialAnim functionally equivalent tho its still nonmatching so i need help with that
2018-07-24 16:59:52 +04:30
DizzyEggg 1e9143e0b2 merge union room with master 2018-07-22 13:14:58 +02:00
DizzyEggg c9d486a5d3 make union room compile i guess 2018-07-22 12:49:49 +02:00
vblm12 3d04105488 Remove unnecessary files. 2018-07-21 01:51:44 -05:00
vblm12 29276cc76c Move some trainer data from data2b.s to c structs. 2018-07-20 22:14:31 -05:00
vblm12 07ea34e4c2 Make TrainerMonPtr fields const 2018-07-20 22:08:38 -05:00
vblm12 c41b8123e3 Move trainer defines to one place in opponent.h...
... to match pokeruby
2018-07-20 22:03:22 -05:00
MCboy 05c5469f61 Update field_player_avatar.s 2018-07-21 03:07:19 +04:30
MCboy 201fb6f818 ported code over from pokeruby 2018-07-21 03:06:40 +04:30
MCboy 62a4193f8f Update field_player_avatar.s 2018-07-20 03:46:55 +04:30
MCboy 43fa9da52a decompile more code
1 non matching need help
2018-07-20 03:44:20 +04:30
MCboy 416db8e751 oops 2018-07-19 21:23:45 +04:30
MCboy a8f9adeaf5 decompile player_field_avatar 2018-07-19 21:22:35 +04:30
MCboy e3a82bd2c5 decompile player_field_avatar.s 2018-07-19 21:18:09 +04:30
MCboy 34e3638f6c decompile field_player_avatar.s 2018-07-19 21:17:27 +04:30
MCboy 663bb3112a add player_field_avatar.c 2018-07-19 21:15:35 +04:30
MCboy 9bb23388a5 Fixed a typo
i couldnt find a function for 15 minutes because of this :(
2018-07-19 20:51:40 +04:30
garakmon 1ab872c68e Allow make compare to work on all platforms 2018-07-18 15:06:18 -04:00
Garak 5e46a0fcc5 Merge pull request #2 from pret/master
sync with source repo
2018-07-17 09:24:30 -04:00
Diegoisawesome 06b3ce408f Merge pull request #272 from DizzyEggg/final_battle_files_touches
Thoroughly document and label battle files
2018-07-16 13:35:17 -07:00
DizzyEggg 118fa3afce IS_MOVE_PHYSICAL to IS_TYPE_PHYSIAL 2018-07-16 22:00:27 +02:00
DizzyEggg bf0178238a Battle files - review changes 2018-07-16 20:47:30 +02:00
DizzyEggg ea5ffa3375 Merge with master 2018-07-16 20:23:05 +02:00
Diegoisawesome 07ef762770 Merge pull request #275 from Diegoisawesome/master
Document list_menu.c and main_menu.c
2018-07-15 04:43:03 -07:00
Diegoisawesome 731d6d59bc Document list_menu.c and main_menu.c 2018-07-15 04:30:37 -07:00
Marcus Huderle 24f6484643 Merge pull request #274 from huderlem/movement_constants
Move and use movement constants
2018-07-13 18:53:27 -07:00
Marcus Huderle 94650495c6 Use map battle scene constants in map headers 2018-07-12 22:45:41 -05:00
Marcus Huderle 546819bc72 Use map type constants in map headers 2018-07-12 22:39:38 -05:00
Marcus Huderle d53e8137cd Use weather constants in map headers 2018-07-12 22:15:35 -05:00
Marcus Huderle d5eb94330a Use region map section constants in map headers 2018-07-12 21:47:04 -05:00
Marcus Huderle 7d375972ba Sync bg_event macros with pokeruby 2018-07-11 11:12:26 -05:00
Marcus Huderle 8ffd7a70fc Use movement type constants in object_event macros 2018-07-10 18:04:51 -05:00
Marcus Huderle d675b7578c Move movement type constants into include/constants/event_object_movement_constants.h 2018-07-10 18:04:41 -05:00
Diegoisawesome abc1905cab Merge pull request #273 from Slawter666/pokedex-doc
Minor labelling of pokedex.c
2018-07-08 15:13:03 -07:00
Slawter666 08774bdd88 Merge https://github.com/pret/pokeemerald into pokedex-doc 2018-07-08 01:23:28 +01:00
Slawter666 dd228fae5a Minor variable labelling 2018-07-08 01:20:01 +01:00
DizzyEggg ee3d505b58 little touches for HandleTurnActionSelectionState 2018-07-07 21:14:41 +02:00
DizzyEggg 008d961b2a add party menu defines 2018-07-07 19:57:09 +02:00
DizzyEggg 1c48e58574 small fixes 2018-07-07 14:24:19 +02:00
DizzyEggg 9892298645 Merge branch 'master' into final_battle_files_touches 2018-07-07 14:11:04 +02:00
Diegoisawesome 6313f360d5 Merge branch 'DizzyEggg-decompile_cut' 2018-07-05 20:33:47 -07:00
Diegoisawesome f79ac26ce3 Rename SetLastTalkedObjectInFrontOfPlayer to CheckObjectGraphicsInFrontOfPlayer 2018-07-05 20:33:07 -07:00
Diegoisawesome 5189442bcc Merge branch 'decompile_cut' of git://github.com/DizzyEggg/pokeemerald into DizzyEggg-decompile_cut 2018-07-05 20:32:12 -07:00
Garak e06b63efc9 Merge pull request #1 from pret/master
synching with source repo
2018-07-04 11:11:45 -04:00
DizzyEggg e6d67c7c22 give labels to player controller functions 2018-07-01 15:45:47 +02:00
DizzyEggg c556358e47 label multiuse sprite template functions 2018-07-01 15:28:57 +02:00
DizzyEggg f35c0abe80 merge with battle tent update 2018-07-01 12:16:52 +02:00
DizzyEggg d2e47323fe document frontier related 2018-07-01 11:15:42 +02:00
Diegoisawesome efebc51972 Merge pull request #268 from DizzyEggg/decompile_battle_tent
Decompile a bit of battle tent
2018-06-30 11:25:19 -07:00
DizzyEggg 2d0be91217 Move all trainer defines to trainers.h and identify frontier brain trainer id 2018-06-30 18:55:34 +02:00
DizzyEggg bfc64c9689 C vars sym ewram 2018-06-30 15:35:54 +02:00
DizzyEggg 97712ec931 change mapDataId to mapLayoutId 2018-06-30 14:52:13 +02:00
DizzyEggg 15fe5a031b Merge branch 'master' into decompile_battle_tent 2018-06-30 14:43:41 +02:00
DizzyEggg cdacc27714 change for loop in fldeff_cut 2018-06-30 14:26:33 +02:00
DizzyEggg 5434db2fc6 use region map constants 2018-06-30 14:22:09 +02:00
DizzyEggg 30c85a5128 more battle documentation 2018-06-30 14:12:17 +02:00
DizzyEggg 272b98da6c document party status summary 2018-06-28 21:06:32 +02:00
Marcus Huderle 91ee3221b3 Formatting 2018-06-20 19:54:21 -05:00
Marcus Huderle 5e00c0bfcf Fix map constants 2018-06-20 19:54:21 -05:00
Marcus Huderle ed8b006e67 Rename map-layout-related things 2018-06-20 19:54:21 -05:00
Marcus Huderle 135a11e50e Move events and scripts into map dirs 2018-06-20 19:54:21 -05:00
Marcus Huderle 89d35e82a2 Move 'map attributes' into 'layouts' 2018-06-20 19:54:21 -05:00
DizzyEggg ab36efdaf4 document bounce effect 2018-06-20 23:07:51 +02:00
DizzyEggg 94752d4207 document battle bars 2018-06-19 00:43:15 +02:00
DizzyEggg caa36b530a label and document battle windows 2018-06-17 16:48:58 +02:00
DizzyEggg 9329ffc2bc review cut changes 2018-06-17 12:39:58 +02:00
DizzyEggg 0fe3e612eb battle tent start and create frontier struct in saveblock 2018-06-17 12:30:09 +02:00
Marcus Huderle 4ab87bf8f3 Fetch calcrom webhook details from travis environment 2018-06-16 18:50:31 -05:00
garakmon 9acd55ae4f re-initializing structs in tools/aif2pcm/main.c
initializing all fields because clang doesn’t understand {0}
2018-06-16 19:20:10 -04:00
garakmon 9766108fbc adding agbcc include path
For some reason the headers for agbcc are being installed in
tools/agbcc instead of tools/agbcc/include. This is a simple
(potentially temporary) workaround.
2018-06-16 19:03:20 -04:00
garakmon 0b574eb01c adding macOS install instructions
While the procedure here is similar to the Linux one, there are some
Mac-specific quirks that I thought warranted some more detail.
2018-06-16 18:49:53 -04:00
garakmon 13ed20c6e3 compiler fixes
The compiler flag -s is not necessary and causes build failure on some
systems (macOS, clang compilers) due to it being deprecated.
Additionally, on those same systems, tools/aif2pcm/main.c failed to
compile due to an overly cautious compiler not liking some struct
declarations.
These changes afaik do not affect other builds.
2018-06-16 18:49:27 -04:00
Marcus Huderle 46f9b83fe5 Add calcrom discord webhook to travis 2018-06-16 11:39:54 -05:00
DizzyEggg 3bcd30969a cut field effect is decompiled and documented 2018-06-16 14:04:29 +02:00
DizzyEggg 7ea5dd7923 start fldeffect cut 2018-06-16 00:45:48 +02:00
Marcus Huderle f807eb1f2d Split out movement radius in object_event macro 2018-06-15 07:49:21 -05:00
Marcus Huderle 2807abe3ba Remove filler bytes from object_event macro 2018-06-15 07:49:21 -05:00
Marcus Huderle acc1a5d446 Get all map constants from include/ rather than constants/ 2018-06-15 07:49:21 -05:00
Marcus Huderle 0c8cfc2297 Merge pull request #264 from Mother-Of-Dragons/master
tileset_anims.c typo fix
2018-06-14 09:10:50 -05:00
Avara 7a9c9bee85 tileset_anims.c typo fix 2018-06-14 14:34:19 +01:00
Marcus Huderle bebcea4029 Merge pull request #263 from huderlem/event_object_movement
Sync event object movement with pokeruby
2018-06-14 08:08:51 -05:00
Marcus Huderle e01dd90bb3 Update applymovement actions to reflect movement action names 2018-06-13 18:19:19 -05:00
Marcus Huderle 4d13e3394a Bring all movement function names up-to-date with pokeruby 2018-06-13 17:51:26 -05:00
DizzyEggg 377280ac3b Merge branch 'master' into decompile_union_room 2018-06-13 20:33:55 +02:00
Marcus Huderle f810c9ecad Merge pull request #262 from Mother-Of-Dragons/master
no more gUnknowns in tileset_anims.c
2018-06-12 07:53:09 -05:00
Avara 223ee357f7 battle dome palette label update to graphics.s 2018-06-12 12:12:29 +01:00
Marcus Huderle aa9a45c16f Rebrand 'map object' and 'field object' to 'event object' 2018-06-11 19:11:48 -05:00
Marcus Huderle ed245b677a Add remaining rodata to event_object_movement.c 2018-06-11 18:17:31 -05:00
Marcus Huderle 89edf6d9e9 Move all field object data into src/data and event_object_movement.c 2018-06-11 17:33:50 -05:00
Avara 3bed36276d updated label names 2018-06-11 21:57:22 +01:00
Avara 7de91ed6ae updated label names 2018-06-11 21:22:41 +01:00
Marcus Huderle eb8dbff4a7 Move event_object_movement_helpers into event_object_movement 2018-06-11 10:56:14 -05:00
Marcus Huderle 73327f0d44 Decompile field_ground_effect into event_object_movement.c 2018-06-11 10:23:14 -05:00
Marcus Huderle 4018acfae1 Update event object struct members 2018-06-11 09:19:17 -05:00
Marcus Huderle 38a126df66 Rename field_map_obj to event_object_movement 2018-06-11 08:46:33 -05:00
DizzyEggg 5526d980ec union room is too hard 2018-06-10 18:28:37 +02:00
DizzyEggg 166295acc7 union room prepare for battle 2018-06-09 22:14:52 +02:00
Marcus Huderle 300428d540 Update .travis.yml for new devkitpro r48 location 2018-06-06 00:14:33 -05:00
DizzyEggg 7b72cfdc6c through sub_80156C8 2018-06-04 23:32:28 +02:00
DizzyEggg dbb9cdd424 more link stuff 2018-06-04 12:07:32 +02:00
DizzyEggg e50f4b4999 still going 2018-06-03 22:39:10 +02:00
DizzyEggg e95b1156d2 more progress 2018-06-03 09:37:01 +02:00
DizzyEggg 83cf2f50df shabby beginnings 2018-06-01 23:08:25 +02:00
Diegoisawesome 0b09575fd4 Merge pull request #249 from golemgalvanize/decompile_pokedex
Decompile pokedex
2018-06-01 00:02:46 -07:00
golem galvanize 94030c6b53 fixed as best I could 2018-05-31 07:08:24 -04:00
Diegoisawesome dd28854a22 Merge pull request #255 from DizzyEggg/decomp_record_mixing
Fix pika's Record Mixing PR
Also closes #107.
2018-05-30 16:51:30 -07:00
DizzyEggg 42731e4b88 LANG_ENG to GAME_LANGUAGE 2018-05-30 20:28:31 +02:00
Diegoisawesome f6350bc003 Merge pull request #258 from DizzyEggg/decompile_rom_8034C54
Decompile rom 8034c54
2018-05-29 17:35:47 -07:00
DizzyEggg ff0c615870 decompile rom_8034C54 2018-05-27 23:26:01 +02:00
DizzyEggg 357afd91b5 start rom_8034C54 decomp 2018-05-27 17:42:48 +02:00
DizzyEggg dd1c7c741a make record mixing compile 2018-05-26 00:37:03 +02:00
DizzyEggg 9e7965fab0 document record mixing 2018-05-26 00:25:36 +02:00
DizzyEggg b051cbaaab more record mixing decomp 2018-05-25 21:00:41 +02:00
Diegoisawesome 06186561f2 Merge pull request #257 from Diegoisawesome/master
Clean up Makefile (with help from devkitPro maintainers)
2018-05-25 01:08:57 -05:00
PikalaxALT 6ae395a636 Merge branch 'master' into contest 2018-05-24 10:26:55 -04:00
Diegoisawesome 489f90b832 Update Makefile with help from devkitPro maintainers 2018-05-22 18:46:38 -05:00
DizzyEggg 03b593d3c3 try my luck with record mixing 2018-05-22 21:54:57 +02:00
DizzyEggg c8e1c80375 record mixing fix for real hopefully 2018-05-20 12:21:39 +02:00
DizzyEggg 4d5bfc149e Merge branch 'master' into decomp_record_mixing 2018-05-20 12:16:45 +02:00
DizzyEggg 1a8d5132d6 fix record mixing for real 2018-05-20 10:51:09 +02:00
Diegoisawesome de60bdf2fe Merge pull request #256 from DizzyEggg/decompile_field_tasks
Decompile field tasks
2018-05-19 23:34:30 -05:00
Diegoisawesome ecfe49ec61 Merge pull request #254 from DizzyEggg/decompile_menu_indicators
Decompile menu indicators
2018-05-19 23:23:45 -05:00
DizzyEggg 0978cc60a1 change map event var names to pokeruby ones 2018-05-19 19:20:32 +02:00
DizzyEggg 1307fde8ca make field tasks compile 2018-05-19 18:13:48 +02:00
DizzyEggg d1798d0ed9 decompile field tasks 2018-05-19 18:02:43 +02:00
DizzyEggg 11d8f489c4 failed attempt 2018-05-19 14:30:41 +02:00
DizzyEggg e44f35c7b7 fix record mixing merge conflicts 2018-05-19 12:32:44 +02:00
DizzyEggg 9385036ff7 make menu indicators compile 2018-05-19 11:53:22 +02:00
DizzyEggg 4857757431 merge list menu and list indicators 2018-05-19 11:36:31 +02:00
DizzyEggg 1ead30ad40 decompile menu indicators 2018-05-19 10:54:02 +02:00
DizzyEggg 303c9f0917 start menu indicators decomp 2018-05-16 22:16:22 +02:00
Diegoisawesome 0c1f85f200 Merge pull request #253 from DizzyEggg/decompile_menu_helpers
Decompile menu helpers
2018-05-15 17:44:41 -05:00
DizzyEggg 0cf3836a03 decompile menu helpers 2018-05-15 20:22:19 +02:00
DizzyEggg 7735fb2ad3 start menu helpers decomp 2018-05-14 23:03:40 +02:00
Diegoisawesome d1df98361f Merge pull request #252 from Diegoisawesome/master
Fix sym_common end, rename ASM_DIRECT to NAKED
2018-05-11 17:36:11 -05:00
Diegoisawesome ce5fc0277a Remove extra space at end of sym_common 2018-05-11 17:24:56 -05:00
Diegoisawesome 23b050a99e Update naked attribute and ASM_DIRECT to NAKED macro 2018-05-11 17:24:32 -05:00
PikalaxALT 5539e282a3 through sub_80DB798 2018-05-11 10:51:38 -04:00
PikalaxALT 8d0da7d8e0 Propagate ASM_DIRECT --> NAKED renaming 2018-05-11 09:41:32 -04:00
PikalaxALT 4488bbe9e6 Merge branch 'master' into contest 2018-05-11 09:25:26 -04:00
PikalaxALT c15b50ac68 through prints_contest_move_description 2018-05-11 08:44:21 -04:00
Diegoisawesome 3e93615e38 Merge pull request #251 from Diegoisawesome/master
Use song constants
2018-05-11 00:53:58 -05:00
Diegoisawesome 4e2886db81 Use song constants 2018-05-11 00:33:32 -05:00
Diegoisawesome bc60000755 Update mauville_old_man.txt to fix warning 2018-05-10 21:49:51 -05:00
Diegoisawesome 7c551ef373 Merge pull request #250 from Diegoisawesome/master
Port/decompile field_effect
2018-05-10 18:45:35 -05:00
Diegoisawesome 2b6d2dfadd Merge branch 'master' of https://github.com/pret/pokeemerald 2018-05-10 18:38:24 -05:00
Diegoisawesome 416d67c832 Finish porting/decompiling field_effect.c 2018-05-10 18:36:57 -05:00
PikalaxALT 9bee601b16 through sub_80DB174 2018-05-10 19:28:52 -04:00
PikalaxALT 508a8e5182 through sub_80DAFA0 2018-05-10 18:16:58 -04:00
PikalaxALT 7fdebe0d15 through sub_80DAE0C 2018-05-10 17:54:30 -04:00
PikalaxALT dfc83cf28f Merge branch 'master' into contest 2018-05-10 09:47:12 -04:00
Diegoisawesome 80062972ae Begin porting field_effect 2018-05-10 03:02:33 -05:00
golem galvanize 13efa1ef62 fixing conflicts 2018-05-10 03:34:36 -04:00
golem galvanize d31600e70e finish decompiling pokedex 2018-05-10 03:30:42 -04:00
Marcus Huderle 7defc27b99 Merge pull request #245 from PikalaxALT/mauville_old_man
Mauville old man
2018-05-09 15:08:19 -07:00
PikalaxALT 4470f77b3d Merge branch 'master' into mauville_old_man 2018-05-09 15:30:21 -04:00
PikalaxALT 1b525ba7f9 Remove file that should have been ignored. WTF clion? 2018-05-09 15:28:51 -04:00
Diegoisawesome e01253ebe1 Merge pull request #247 from Diegoisawesome/master
Port/decompile fieldmap.c
2018-05-09 05:30:57 -05:00
Diegoisawesome 279276c539 Fix capitalization on filename 2018-05-09 05:14:24 -05:00
Diegoisawesome b570f87152 Merge master from pret 2018-05-09 05:10:23 -05:00
Diegoisawesome d66c1c642c Port/decompile fieldmap.c 2018-05-09 05:07:56 -05:00
PikalaxALT 5efe8f3a0d through sub_80DAB8C 2018-05-08 19:00:23 -04:00
PikalaxALT f6fbecbc41 through sub_80DA874 2018-05-07 20:49:23 -04:00
PikalaxALT e8bb464de9 through sub_80DA4F4 2018-05-07 19:46:48 -04:00
PikalaxALT fd1d75ce37 Merge branch 'master' into mauville_old_man 2018-05-07 18:18:00 -04:00
PikalaxALT 61cc1d5574 Rename symbols using Ruby as a reference 2018-05-07 18:11:20 -04:00
PikalaxALT 0231ed13ee Remaining functions in mauville_old_man 2018-05-07 16:35:29 -04:00
Marcus Huderle f14d2765da Merge pull request #240 from Slawter666/master
Move gItems to c
2018-05-06 10:05:26 -07:00
Slawter666 7f2329253f requested changes 2018-05-06 17:31:50 +01:00
Slawter666 190ac275bb Formatting item_icon_table.h 2018-05-06 13:45:56 +01:00
Slawter666 279a6e1ddc Convert item_icon_table.inc to C 2018-05-06 13:37:28 +01:00
Slawter666 aab1238ec0 Revert "Convert item_graphics.inc to C"
This reverts commit 546217d281.
2018-05-06 09:12:23 +01:00
Slawter666 546217d281 Convert item_graphics.inc to C
I have tried to group the items that share the same icon but have different palettes where possible. This commit also splits data/graphics.s into two files.
2018-05-05 23:27:26 +01:00
Slawter666 22ec43a6ed resolve merge conflicts 2018-05-05 18:50:26 +01:00
Marcus Huderle 83ea8d0cd9 Merge pull request #243 from PikalaxALT/trader
Port trader from Ruby
2018-05-04 19:15:40 -07:00
PikalaxALT e6cca15232 sub_80D8B38 2018-05-04 18:59:59 -04:00
PikalaxALT 58200616d5 Merge branch 'master' into trader 2018-05-04 17:45:50 -04:00
PikalaxALT f05acd88d5 sub_80D8A88 2018-05-03 22:29:53 -04:00
PikalaxALT 210cedd077 through sub_80D883C 2018-05-03 21:01:22 -04:00
PikalaxALT 8aa462cd74 through sub_8121178 2018-05-03 18:05:07 -04:00
PikalaxALT 876e1eb7cc through sub_8121064 2018-05-03 17:51:14 -04:00
PikalaxALT 1943118a1e through sub_8120D34 2018-05-03 17:26:02 -04:00
PikalaxALT c6115a2fec through sub_8120C0C 2018-05-03 17:03:52 -04:00
PikalaxALT 0bc7759f9b through sub_8120748 2018-05-03 13:40:08 -04:00
Marcus Huderle cdb5e9e314 Merge pull request #242 from DizzyEggg/decompile_battle_records
Decompile battle records
2018-05-03 08:42:44 -07:00
Marcus Huderle 9dc867a91c Merge pull request #241 from DizzyEggg/decomp_item
Decompile item
2018-05-03 08:38:45 -07:00
PikalaxALT 7d446a9ef7 through sub_80D8490 2018-05-03 08:51:52 -04:00
PikalaxALT f9230e80aa through vblank_cb_battle 2018-05-02 19:59:00 -04:00
PikalaxALT cae0fb8ec2 through sub_81203FC 2018-05-02 16:57:34 -04:00
PikalaxALT 21c3e7e8e5 through SetMauvilleOldMan 2018-05-02 11:31:58 -04:00
PikalaxALT 4bf0950421 through sub_80D7DE8 2018-05-02 08:43:27 -04:00
PikalaxALT ef29d17c41 through sub_80D7B24 2018-05-01 21:27:24 -04:00
PikalaxALT 4b1e30434d Through sub_80D787C 2018-05-01 19:47:11 -04:00
PikalaxALT 4acbcf5759 Port trader from Ruby 2018-05-01 15:19:24 -04:00
DizzyEggg b80fb98d9a make battle records compile 2018-05-01 16:35:38 +02:00
DizzyEggg cc578fce18 battle records decompiled and documented 2018-05-01 15:54:31 +02:00
DizzyEggg ae78786723 identify and name battle records things 2018-05-01 15:33:13 +02:00
DizzyEggg 95cf853762 battle records more decomp and subtle name changes 2018-05-01 14:01:54 +02:00
DizzyEggg f9a2f6c4a2 start decompiling battle records 2018-05-01 12:38:55 +02:00
golem galvanize f9331f15ef decompiled up to sub_80BFCF4 2018-04-30 20:41:17 -04:00
DizzyEggg 9f97646724 make item compile 2018-04-29 15:34:14 +02:00
DizzyEggg fd40e93cb5 clear item, save and load save files 2018-04-29 14:21:59 +02:00
DizzyEggg 25c669e36b decompile item 2018-04-29 13:36:26 +02:00
golem galvanize 6a401b5386 Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_pokedex 2018-04-25 00:28:57 -04:00
Slawter666 39fd42faea convert data/items.inc to include/data/items.h
OK
2018-04-25 02:33:55 +01:00
Slawter666 a49f80d552 Convert item_descriptions.inc to .h
OK
2018-04-25 01:41:04 +01:00
Slawter666 a9d65ae6b6 Move files to include/data 2018-04-24 00:58:14 +01:00
Slawter666 5a7a0d621c minor documentation of constants/items.h 2018-04-24 00:17:09 +01:00
Slawter666 2d4ab9f4ac Updated items.c
Working but non-matching
2018-04-23 23:25:03 +01:00
Slawter666 f56067bb63 Update items.c 2018-04-23 22:14:30 +01:00
Slawter666 a04f8f6ee3 Convert item data files to .c (not compiling) 2018-04-23 21:44:46 +01:00
Diegoisawesome 867b496f2e Merge pull request #239 from DizzyEggg/patch-1
Use DMA large macro in option menu
2018-04-18 14:58:28 -05:00
DizzyEggg dede2cc300 Use DMA large macro in option menu 2018-04-18 21:53:51 +02:00
Diegoisawesome d10844f1fe Merge pull request #237 from KDSKardabox/master
Decompile mon markings, rotating_gate & field_camera
2018-04-18 14:12:51 -05:00
KDSKardabox dc759a501b add braces 2018-04-18 22:17:23 +05:30
KDSKardabox 0bab373f49 Perform requested changes 2018-04-18 22:10:26 +05:30
Diegoisawesome 4e63a52832 Merge pull request #238 from DizzyEggg/decompile_battle_anim_sound_tasks
decompile battle_anim_sound_tasks
2018-04-18 11:40:01 -05:00
DizzyEggg 3d12a02f3e almost decomp sound tasks battle anim 2018-04-18 16:03:15 +02:00
KDSKardabox 7700fe61fe Decompile field camera 2018-04-18 17:42:41 +05:30
KDSKardabox b818924feb Decompile rotating_rate & remove debug check 2018-04-18 14:09:50 +05:30
KDSKardabox 86f46ff8eb Merge branch 'master' of https://github.com/pret/pokeemerald
g Please enter a commit message to explain why this merge is necessary,
2018-04-17 14:27:52 +05:30
KDSKardabox f5cbefc295 Decompile mon markings 2018-04-17 14:24:39 +05:30
Diegoisawesome b5a269545a Merge pull request #236 from KDSKardabox/master
Decompile dewford trend
2018-04-16 11:24:48 -05:00
KDSKardabox 936bb5925a Decompile dewford trend 2018-04-16 16:22:13 +05:30
Marcus Huderle da719a1541 Merge pull request #235 from KDSKardabox/master
Decompile pokemon icon
2018-04-14 09:33:58 -07:00
KDSKardabox 447afe4505 Decompile pokemon icon 2018-04-13 17:51:49 +05:30
Marcus Huderle cff12d7907 Merge pull request #234 from KDSKardabox/master
Port map_obj_lock, map_name_popup, rom6 & script_movement
2018-04-12 12:30:41 -07:00
KDSKardabox ac7d69eb6e Done requested changes 2018-04-12 22:36:07 +05:30
KDSKardabox 66e76d9633 Decompile script movement 2018-04-10 14:55:25 +05:30
KDSKardabox a3d065d0bd Decompile rom6 2018-04-10 12:17:29 +05:30
KDSKardabox a18dc6aa80 Decompile map_name_popup 2018-04-09 12:52:28 +05:30
KDSKardabox 3948614bff Decompile map_obj_lock 2018-04-03 16:22:31 +05:30
Edouard Veyrier 2f96282c7f cleaner 2018-04-03 00:10:19 +02:00
Edouard Veyrier b2e8ee836d sub_81607EC and sub_816082C 2018-04-02 20:06:40 +02:00
Edouard Veyrier 09e29a5cf8 Fix three functions to have the right checksum 2018-04-01 18:22:09 +02:00
golem galvanize 069a7e71fc Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_pokedex 2018-03-30 16:49:08 -04:00
golem galvanize 3006ff177b pushing so I can pull from master 2018-03-30 16:48:30 -04:00
Edouard Veyrier 6e919da4aa Change order in ld_script.txt 2018-03-29 20:41:29 +02:00
Edouard Veyrier 17b9f5d892 Fix compile error 2018-03-29 15:46:10 +02:00
Edouard Veyrier cfacd23248 Fix temporarily 2018-03-29 11:56:10 +02:00
KDSKardabox b74b576418 Fix 2 non-matchings 2018-03-29 10:43:49 +05:30
Marcus Huderle a5cd6e8ef4 Merge pull request #231 from KDSKardabox/master
Player PC
2018-03-28 21:45:24 -07:00
Marcus Huderle d4c6ef7ae6 Merge pull request #227 from PikalaxALT/pokenav_match_call
Pokenav match call
2018-03-28 21:33:50 -07:00
Marcus Huderle c5f99a723e Remove s prefix from static functions 2018-03-28 21:26:52 -07:00
Marcus Huderle c3572de5bb Merge pull request #232 from HrPeanut/start_menu
Start menu
2018-03-28 21:03:06 -07:00
Anders Løvig 3f4c717d5c Rename stuff for more consistency 2018-03-29 02:16:02 +02:00
Anders Løvig df94a8a77c Small changes and corrections 2018-03-28 22:43:25 +02:00
Edouard Veyrier 990784a6d9 Improve comments 2018-03-28 21:45:35 +02:00
Anders Løvig 57775a946d Rename start menu functions 2018-03-28 21:09:27 +02:00
Edouard Veyrier 75b07292c9 Translate first functions of learn move 2018-03-28 19:20:20 +02:00
Anders Løvig 5bc8ee6465 Added static modifers 2018-03-28 15:45:35 +02:00
Anders Løvig 6cd590f4fd Decompiled start_menu.s 2018-03-28 00:40:00 +02:00
KDSKardabox 8ba626b3c4 Update RAM map for fossil_specials and fldeff_groundshake 2018-03-19 17:16:44 +05:30
KDSKardabox f9f64fff42 Resolve conflicts 2018-03-19 16:15:13 +05:30
KDSKardabox a24ffb1321 Finish decompiling player_pc rodata 2018-03-19 15:57:33 +05:30
KDSKardabox a454bd98fa Finish .text part of player_pc 2018-03-16 16:01:11 +05:30
KDSKardabox 1f7fb45d0f Decompile more functions 2018-03-15 16:07:24 +05:30
Diegoisawesome 2ecbe252a2 Merge pull request #219 from Mother-Of-Dragons/master
Fixed label names: battle_ai_scripts.s
2018-03-14 17:47:46 -05:00
Avara e03004b4b6 Fixed label names: battle_ai_scripts.s 2018-03-13 11:55:18 +00:00
KDSKardabox f3b5ed0d12 Decompile more functions & rename some labels 2018-03-13 14:41:39 +05:30
KDSKardabox e7cf8e5c17 Start decompile player_pc 2018-03-12 13:56:20 +05:30
Diegoisawesome d2d587406a Merge pull request #228 from DizzyEggg/decompile_item_menu_icons
Decompile item menu icons
2018-03-09 16:12:09 -06:00
DizzyEggg 711a345fd4 fix conflicts 2018-03-09 22:54:57 +01:00
Diegoisawesome ae214eca8b Merge pull request #226 from DizzyEggg/decompile_list_menu
Decompile list menu
2018-03-09 15:49:36 -06:00
DizzyEggg 70ec55386c if 2018-03-09 22:22:00 +01:00
DizzyEggg db2839bd5b curly brace 2018-03-09 22:18:58 +01:00
PikalaxALT 9b920bfec3 More renaming 2018-03-07 18:03:13 -05:00
PikalaxALT b2d8ce10ce Fix build crash 2018-03-06 21:51:25 -05:00
Diegoisawesome f1b180d89d Merge pull request #229 from DizzyEggg/patch-2
Use EGG_HATCH_LEVEL define
2018-03-06 08:38:36 -06:00
PikalaxALT aa2cb6a974 Rename match call assets 2018-03-06 08:52:29 -05:00
DizzyEggg 18d8c9382a Use EGG_HATCH_LEVEL define 2018-03-06 13:29:10 +01:00
PikalaxALT b3fb7cfca5 Rename some struct fields 2018-03-04 17:30:59 -05:00
PikalaxALT 565b058545 Make visual alignment of structs more consistent 2018-03-04 17:08:10 -05:00
PikalaxALT 7b9930a0a2 Remaining data in match_call 2018-03-04 16:58:51 -05:00
PikalaxALT 1c67840652 Match call data, 2 2018-03-04 16:44:50 -05:00
PikalaxALT 9b25d02369 Match call data, 1 2018-03-04 16:14:56 -05:00
PikalaxALT 734375f101 Remaining functions in match_call 2018-03-04 15:47:54 -05:00
PikalaxALT 44fedd861d nonmatching sub_81D1B40 2018-03-04 15:36:01 -05:00
Diegoisawesome 29e51811f4 Merge pull request #225 from DizzyEggg/clear_battle_files
Clean some battle files
2018-03-04 14:11:26 -06:00
DizzyEggg 1771e8b458 make it compile 2018-03-04 20:12:45 +01:00
DizzyEggg 62e849a5df item menu is done 2018-03-04 20:03:11 +01:00
DizzyEggg 4c3f8ac6c6 start item menu icons decomp 2018-03-04 18:41:07 +01:00
PikalaxALT 30c20bbab6 through sub_81D1B00 2018-03-03 13:41:28 -05:00
PikalaxALT 19a89f2362 nonmatching sub_81D199C 2018-03-03 13:22:38 -05:00
DizzyEggg 18a92fdcc0 list menu is decompiled 2018-03-03 14:58:41 +01:00
PikalaxALT df128cbfed Merge branch 'master' into pokenav_match_call 2018-03-02 21:49:09 -05:00
PikalaxALT e3b078d08f through sub_81D1914 2018-03-02 21:43:18 -05:00
DizzyEggg 87274b9eed more list menu work 2018-03-03 01:02:07 +01:00
PikalaxALT d25a9ffe16 through sub_81D1898 2018-03-02 18:12:23 -05:00
DizzyEggg ae29f35afd start decompiling list menu 2018-03-02 16:34:31 +01:00
PikalaxALT 89847427e4 match_call_t; through sub_81D17E4 2018-03-02 08:44:33 -05:00
DizzyEggg 1f052cc08d unnecessary externs 2018-03-02 10:21:12 +01:00
DizzyEggg a2458d966c match hidden power calc 2018-03-01 15:02:44 +01:00
DizzyEggg edf2ea45b1 merge with master 2018-03-01 10:12:35 +01:00
Diegoisawesome 0a9f0d80f5 Merge pull request #216 from KDSKardabox/master
Decompile Ground Shake, Fossil Special & Flash
2018-02-28 22:46:11 -06:00
Diegoisawesome 318eb470cf Fix SourceForge link (again) 2018-02-28 22:07:10 -06:00
PikalaxALT 988be1ab86 Carve out Match Call functions 2018-02-28 22:47:50 -05:00
KDSKardabox 85492c0dac Merge branch 'master' of https://github.com/pret/pokeemerald 2018-03-01 09:13:29 +05:30
KDSKardabox 2f9d69f67f use free_and_set_null macros 2018-03-01 09:11:26 +05:30
PikalaxALT 9abc121fa2 through sub_81D16DC 2018-02-28 22:09:28 -05:00
Diegoisawesome c0357cea46 Merge pull request #222 from DizzyEggg/decompile_battle_link_817C95C
Decompile battle_tv previously known as battle_link_817C95C
2018-02-28 18:18:51 -06:00
DizzyEggg 20baa1bc7a battle tv review changes 2018-03-01 01:05:34 +01:00
DizzyEggg 988f0b7e19 Merge branch 'master' into decompile_battle_link_817C95C 2018-03-01 01:01:18 +01:00
DizzyEggg b846015343 more battle files cleaning 2018-03-01 00:59:52 +01:00
DizzyEggg a28dfd6da4 Merge branch 'master' into clear_battle_files 2018-02-28 23:58:29 +01:00
DizzyEggg fed5f03097 get rid of unnecessary externs 2018-02-28 23:57:08 +01:00
Diegoisawesome bcef4e7d1c Merge pull request #221 from DizzyEggg/data_to_c
Move some data to C
2018-02-28 16:55:45 -06:00
DizzyEggg e93da9b1f9 make strings in battle message static 2018-02-28 23:50:25 +01:00
Diegoisawesome a57e04e14d Merge pull request #220 from PikalaxALT/trainer_rematch
Decompile trainer_rematch
2018-02-28 16:41:54 -06:00
Diegoisawesome 0cd9ba36ce Merge pull request #224 from DizzyEggg/another_try
Fix two nonmatching functions
2018-02-28 13:05:05 -06:00
DizzyEggg 305a4fa744 match two functions 2018-02-28 19:37:48 +01:00
Diegoisawesome 19b467e49f Merge pull request #223 from DizzyEggg/decompile_blit
Decompile blit
2018-02-28 09:29:28 -06:00
DizzyEggg 85a959f321 clean up files 2018-02-28 13:07:58 +01:00
DizzyEggg edf9f706c4 decomp blit 2018-02-28 12:56:01 +01:00
DizzyEggg d29b9d268f make it compile 2018-02-28 00:18:59 +01:00
DizzyEggg 59ff4aec9b decompile and document battle tv 2018-02-27 20:40:09 +01:00
DizzyEggg a9212eeb66 battle file more done and clean up tv 2018-02-27 18:13:28 +01:00
PikalaxALT 7f7b182ca4 sub_81D1574 2018-02-27 08:47:47 -05:00
KDSKardabox 99630e954c Merge branch 'master' of https://github.com/pret/pokeemerald 2018-02-27 10:35:17 +05:30
KDSKardabox 835777dec2 Decompile fleff_flash rodata 2018-02-27 10:33:23 +05:30
DizzyEggg 2fa00d01ee make it compile 2018-02-26 15:56:59 +01:00
PikalaxALT 1616f998fc Rename some flags relevant to the conditions under which Wattson becomes available for rematch 2018-02-26 08:42:15 -05:00
DizzyEggg 1972303792 type and ability names to C 2018-02-26 14:29:17 +01:00
PikalaxALT f46e941f30 Name functions, variables, and that one flag constant 2018-02-26 08:23:17 -05:00
KDSKardabox 2d7d686cc1 Decompile fldeff_flash 2018-02-26 17:54:54 +05:30
DizzyEggg 919f803214 correct move target defines 2018-02-26 13:24:46 +01:00
DizzyEggg 8821d6396a move battle moves to C 2018-02-26 12:59:52 +01:00
DizzyEggg 8ff9cb0ede give up for now 2018-02-26 11:45:47 +01:00
PikalaxALT 80906f022b Cleanup; create enums for trainer rematches 2018-02-25 22:33:58 -05:00
PikalaxALT 6bfc8579ad Decompile trainer_rematch 2018-02-25 21:56:09 -05:00
DizzyEggg 4a45b4de4e more work 2018-02-25 18:45:00 +01:00
KDSKardabox 392b869fa3 Code cleanup 2018-02-25 17:23:51 +05:30
DizzyEggg c0ea81afc5 add meaningful struct field names 2018-02-25 00:36:37 +01:00
DizzyEggg f2052e5d8f PRAISE CAM FOR HE IS CHAMP 2018-02-24 19:34:43 +01:00
DizzyEggg 558133bba0 almost match 2018-02-24 13:44:26 +01:00
KDSKardabox 5e76251ea9 match 2 functions 2018-02-23 01:52:08 +05:30
KDSKardabox 48fdddf638 Bring non-matchings in a compiling state 2018-02-22 15:15:03 +05:30
KDSKardabox a3c17fad22 Decompile Fossil Special & Groundshake Data 2018-02-22 12:17:46 +05:30
Avara 59c95c32db Fixed label names: battle_ai_scripts.s 2018-02-21 00:26:12 +00:00
DizzyEggg 25a57093b1 start battle link file 2018-02-20 02:01:51 +01:00
KDSKardabox 9719e2fa22 Start decompile fossil_specials.s 2018-02-19 15:37:02 +05:30
Diegoisawesome 5162393c16 Merge pull request #218 from DizzyEggg/patch-1
match ScrCmd_braillemessage
2018-02-18 19:03:44 -06:00
DizzyEggg 0adda180ac match ScrCmd_braillemessage 2018-02-19 01:46:32 +01:00
Diegoisawesome 20bff7014f Merge pull request #217 from DizzyEggg/some_nonmatchings
match some functions
2018-02-18 18:09:52 -06:00
KDSKardabox caaf41fd49 Refine logic 2018-02-19 00:53:06 +05:30
DizzyEggg d7c486aa18 match some functions 2018-02-18 19:12:09 +01:00
KDSKardabox 5ed68a87f8 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-02-18 17:35:36 +05:30
KDSKardabox b1cb82fc67 Finish fldeff_groundshake 2018-02-18 17:33:48 +05:30
KDSKardabox 52b631a092 Decompile more functions 2018-02-18 04:30:20 +05:30
Diegoisawesome ef3a7a06b4 Merge branch 'intro' of https://github.com/Diegoisawesome/pokeemerald 2018-02-17 13:44:56 -06:00
Diegoisawesome 247e1293f4 Fix nonmatching in intro_credits_graphics 2018-02-17 13:44:10 -06:00
Diegoisawesome bc90a4fc1d Merge pull request #215 from Diegoisawesome/intro
Decompile intro and credits
2018-02-17 04:14:13 -06:00
Diegoisawesome ebd88b3606 Merge branch 'master' of https://github.com/pret/pokeemerald into intro 2018-02-17 04:03:59 -06:00
Diegoisawesome 1605f62535 Decompile credits 2018-02-17 04:00:22 -06:00
Diegoisawesome bc4bb5b32e Start intro_credits_graphics decomp 2018-02-16 13:08:21 -06:00
KDSKardabox e518a40508 [WIP} Start decomp Ground Shake 2018-02-16 15:21:27 +05:30
Diegoisawesome e2932a38de Merge pull request #214 from KDSKardabox/master
Decompile fledd_softboiled.h
2018-02-15 22:33:55 -06:00
Diegoisawesome 0a206ee52c Finish decompiling intro 2018-02-15 22:30:39 -06:00
KDSKardabox ffeca135bc Merge branch 'master' of https://github.com/pret/pokeemerald 2018-02-16 09:29:11 +05:30
golem galvanize 6cbea9af6d Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_pokedex 2018-02-15 18:20:53 -05:00
golem galvanize 4a71a61e58 start decompiling 2018-02-15 18:20:19 -05:00
Diegoisawesome cfec30413c Merge pull request #209 from DizzyEggg/decompile_overworld
Decompile overworld
2018-02-15 17:04:55 -06:00
Diegoisawesome 34716558b1 Almost finish decompiling intro 2018-02-15 16:54:34 -06:00
DizzyEggg 824699f505 overworld review changes2 2018-02-15 23:09:52 +01:00
KDSKardabox a200d9406b Finish fldeff_softboiled.c 2018-02-15 22:32:28 +05:30
KDSKardabox 301664db2f Matching the unmatched and another function 2018-02-15 17:12:02 +05:30
DizzyEggg 90fa97f810 merge overworld with master 2018-02-15 12:41:32 +01:00
DizzyEggg 4b4495f3fe overworld review changes 2018-02-15 12:36:52 +01:00
KDSKardabox 44c1ea16b9 Cleanup and one non-matching function 2018-02-15 16:05:27 +05:30
KDSKardabox 64683e1473 [WIP] Decompile fledd_softboiled.h 2018-02-15 15:29:26 +05:30
Diegoisawesome fcf3f97da9 Merge pull request #210 from KDSKardabox/master
[Ready to Merge] fldeff_strength.s, fldeff_sweetscent.s
2018-02-14 22:23:11 -06:00
KDSKardabox 2fb78b5ca8 Fix reviewed points. 2018-02-15 09:47:42 +05:30
KDSKardabox 895c72cb26 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-02-15 09:45:15 +05:30
Diegoisawesome e706d89ff1 Merge pull request #213 from golemgalvanize/decompile_main_menu
Decompile main menu
2018-02-14 21:16:47 -06:00
golem galvanize ce28fa900b fixes 2018-02-14 22:11:31 -05:00
golem galvanize c3c30417ef fixes 2018-02-14 20:45:27 -05:00
Diegoisawesome 8318898fbd Merge pull request #212 from PikalaxALT/travis_use_r47
Update devkitARM to r47
2018-02-14 14:11:54 -06:00
KDSKardabox deeaac2bf1 Decompile fldeff_sweetsecent.c 2018-02-14 17:24:31 +05:30
golem galvanize e1bd37dca9 fix merge conflicts 2018-02-13 22:19:14 -05:00
golem galvanize e5b6d15f91 move data to c 2018-02-13 22:12:02 -05:00
PikalaxALT 6ed3da2eb8 Update devkitARM to r47 2018-02-13 19:53:48 -05:00
DizzyEggg 3762f27727 make it compiler 2018-02-14 01:19:25 +01:00
DizzyEggg 5dde701c81 merge overworld with master 2018-02-14 01:12:17 +01:00
DizzyEggg 94b47c0686 decompile overworld 2018-02-14 00:58:22 +01:00
KDSKardabox c959dc1174 Finish fldeff_strength.s 2018-02-13 23:08:54 +05:30
KDSKardabox e375606810 [Do not Merge] fldeff_strength.s 2018-02-13 21:52:33 +05:30
Diegoisawesome bb8c53f898 Merge pull request #208 from KDSKardabox/master
Decompile birch_pc.c
2018-02-12 22:36:55 -06:00
KDSKardabox aaea65c37b Merge branch 'master' of https://github.com/pret/pokeemerald
# Conflicts:
#	include/strings.h
2018-02-13 10:02:27 +05:30
KDSKardabox ae321d6e7c move to strings.h 2018-02-13 09:32:40 +05:30
KDSKardabox 7b360b2e33 Review fixes 2018-02-13 09:16:38 +05:30
Diegoisawesome 398e775d90 Merge pull request #201 from golemgalvanize/decompile_item_menu
Decompile item menu
2018-02-12 13:29:21 -06:00
golem galvanize 511831ff1f fix const variable 2018-02-12 14:06:52 -05:00
golem galvanize 4ac064bbaf Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu 2018-02-12 14:00:47 -05:00
golem galvanize f81c52b56e more fixes 2018-02-12 13:59:42 -05:00
DizzyEggg f22be4d010 more overworld work 2018-02-12 18:26:26 +01:00
DizzyEggg 382442c4c8 start decompiling overworld.s 2018-02-12 15:01:43 +01:00
PikalaxALT db898d0e48 Minor edit to make it possible to build when trying to match the nonmatching fn 2018-02-12 08:16:28 -05:00
KDSKardabox 54922641af Port smokescreen.s 2018-02-12 16:44:04 +05:30
KDSKardabox 185cf71842 Missing label 2018-02-12 16:17:57 +05:30
KDSKardabox d52a54e64f Updating pokedex count function labels 2018-02-12 16:15:51 +05:30
KDSKardabox 0ca0ad1c63 Decompile birch_pc.c 2018-02-12 15:42:15 +05:30
Diegoisawesome a4787bc06a Merge pull request #207 from DizzyEggg/decompile_pokemon_123
Decompile and clean pokemon files
2018-02-11 22:13:15 -06:00
Diegoisawesome 98860220e9 Merge pull request #110 from PikalaxALT/link
Link and some RFU
2018-02-11 21:10:32 -06:00
golem galvanize f2144e9932 Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu 2018-02-11 20:34:56 -05:00
PikalaxALT 590c4b500b Merge branch 'master' into record_mixing 2018-02-11 20:12:40 -05:00
PikalaxALT ea347199a2 Merge branch 'master' into link 2018-02-11 19:22:06 -05:00
DizzyEggg 1bb05809d2 make it compile x2 2018-02-12 00:37:07 +01:00
DizzyEggg 0347509704 make it compile o 2018-02-12 00:31:13 +01:00
DizzyEggg 5e781f5b3f change some constants to male and female 2018-02-12 00:11:10 +01:00
golem galvanize 42cfbcb197 some fixes 2018-02-11 18:00:45 -05:00
DizzyEggg 2736c0fd4a add more const pokemon data, clear include 2018-02-11 23:46:50 +01:00
golem galvanize 601a942db4 decompile main_menu 2018-02-11 17:19:36 -05:00
Diegoisawesome 14a76793e5 Merge pull request #206 from DizzyEggg/battle_labels
More battle code clean up
2018-02-11 14:50:18 -06:00
DizzyEggg d704a2b5df thonk 2018-02-11 21:45:26 +01:00
DizzyEggg 4c19790ff1 review battle code clean up change 2018-02-11 21:05:42 +01:00
DizzyEggg fd17ca59b0 more pokemon work 2018-02-11 17:35:01 +01:00
DizzyEggg 084ba7a7a4 decompile all pokemon files 2018-02-10 13:24:03 +01:00
DizzyEggg 5707c5c7c6 start pokemon 3 2018-02-10 02:06:32 +01:00
golem galvanize 99d0b4bbfd Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_main_menu 2018-02-09 17:47:01 -05:00
DizzyEggg 1a1bad3129 decompile pokemon_item_effect 2018-02-09 18:46:00 +01:00
DizzyEggg 9e7696f25a decompile pokemon1 2018-02-09 15:55:12 +01:00
golem galvanize 56e1a52823 Fixes 2018-02-08 21:00:28 -05:00
DizzyEggg ff6a0316c1 get rid of unnecessary externs 2018-02-09 01:09:02 +01:00
DizzyEggg bce01bc518 battle labels merge with master 2018-02-09 00:43:07 +01:00
golem galvanize de95a703b0 Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu 2018-02-08 16:03:53 -05:00
golem galvanize 368a63d5a7 decompiled up to task_new_game_prof_birch_speech_10 2018-02-08 16:01:24 -05:00
Diegoisawesome 387dbf48d0 Merge pull request #202 from DizzyEggg/move_mon_data
Move data from asm to pokemon_1.c
2018-02-08 14:06:57 -06:00
DizzyEggg 9df5e16343 more battle labels 2018-02-08 12:13:29 +01:00
DizzyEggg 96290f4ee3 pokemon and battle constants 2018-02-08 11:17:41 +01:00
golem galvanize 03f8d0d6ce Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_main_menu 2018-02-07 19:31:33 -05:00
golem galvanize 4a903279df decompile task_new_game_prof_birch_speech_4 2018-02-07 19:30:58 -05:00
Diegoisawesome 250538fcae Merge pull request #205 from Diegoisawesome/menu
Decompile menu.s and new_menu_helpers.s
2018-02-07 18:24:42 -06:00
Diegoisawesome 772fd47564 Merge branch 'master' of https://github.com/pret/pokeemerald into menu 2018-02-07 18:06:59 -06:00
golem galvanize caf5d136b9 Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu 2018-02-07 18:59:00 -05:00
DizzyEggg a10fd5a7c4 create more battle constants 2018-02-08 00:35:13 +01:00
Diegoisawesome 5db765a475 Make small change to sub_819A080 2018-02-07 17:13:59 -06:00
DizzyEggg caf9af321d get rid of unnecessary externs 2018-02-08 00:00:25 +01:00
Diegoisawesome 48e63979c8 Merge pull request #200 from DizzyEggg/decompile_title_screen
decompile title screen
2018-02-07 16:53:08 -06:00
DizzyEggg 1a32010f13 iwram common symbols to c 2018-02-07 23:21:51 +01:00
DizzyEggg 5ac6cc4860 move battle vars to c file 2018-02-07 22:53:40 +01:00
golem galvanize 76e6be7ff2 update function name and struct names 2018-02-07 14:22:49 -05:00
DizzyEggg 4b7d778a5c move mon data fix conflicts 2018-02-07 20:17:55 +01:00
golem galvanize b67afb9490 I hope this fixes the conflicts 2018-02-07 14:14:08 -05:00
golem galvanize 1b303aeee8 decompiled up to task_new_game_prof_birch_speech_3 2018-02-07 14:11:08 -05:00
DizzyEggg c5e2092e8b title screen with master 2018-02-07 20:10:56 +01:00
Diegoisawesome 802b505d7b Merge pull request #199 from DizzyEggg/decompile_rtc_screen
decompile rtc reset screen
2018-02-07 13:03:59 -06:00
Diegoisawesome ccae0ee970 Merge pull request #198 from DizzyEggg/decompile_item_icon
decompile item icon
2018-02-07 12:59:40 -06:00
Diegoisawesome 1ae5adbb19 Merge pull request #196 from DizzyEggg/decompile_ray_scene
Decompile rayquaza scene
2018-02-07 12:59:13 -06:00
DizzyEggg 9b4b19fd5a rtc screen review changes 2018-02-07 19:59:02 +01:00
DizzyEggg a61dc815b0 bag arrow to item count plus 1 2018-02-07 19:51:41 +01:00
DizzyEggg 593031904b ray changes 2018-02-07 19:47:55 +01:00
Cameron Hall 13bc7a8dd2 Merge pull request #166 from camthesaxman/battle_refactor
rename/refactor battle code
2018-02-07 12:46:12 -06:00
Diegoisawesome 3fb2471016 Merge pull request #197 from DizzyEggg/decompile_berry_tag_screen
Decompile berry tag screen
2018-02-07 12:27:25 -06:00
Diegoisawesome db97098b91 Merge pull request #204 from DizzyEggg/match_nonmatchings
Match a couple of nonmatching functions
2018-02-07 09:34:32 -06:00
DizzyEggg b3a94a359f match berry fix func 2018-02-07 15:02:47 +01:00
DizzyEggg 96ab6f8353 match secret base func and fix struct 2018-02-07 13:49:33 +01:00
Diegoisawesome 1d8476e06f Merge branch 'PikalaxALT-menu' into menu 2018-02-07 00:16:35 -06:00
Diegoisawesome 41c389e565 Merge branch 'menu' of git://github.com/PikalaxALT/pokeemerald into PikalaxALT-menu 2018-02-07 00:16:11 -06:00
Diegoisawesome d396a8f89c Merge new_menu_helpers and menu 2018-02-07 00:07:42 -06:00
Diegoisawesome 18abda9dca Finish menu.s and eliminate TextColor 2018-02-06 20:37:54 -06:00
camthesaxman c3dc14ba66 more renaming 2018-02-06 16:09:39 -06:00
scnorton 08516ae12c take a sharp knife and jam it into sub_819A080 2018-02-06 16:29:12 -05:00
Diegoisawesome 97c9a4ec22 Skip sub_819A080 2018-02-06 14:35:23 -06:00
camthesaxman aba388d332 GetBattlerSpriteId -> GetAnimBattlerSpriteId 2018-02-06 14:00:01 -06:00
camthesaxman 6a4967689e more renaming 2018-02-06 13:48:02 -06:00
Diegoisawesome c9ef0be15d Merge branch 'master' of github.com:pret/pokeemerald 2018-02-06 12:47:23 -06:00
Diegoisawesome 4c6f6c4738 Use fixed width types in TintPalette funcs 2018-02-06 12:47:09 -06:00
Diegoisawesome 91387a95c3 Merge remote-tracking branch 'Egg/match_non' 2018-02-06 12:12:27 -06:00
camthesaxman 3ec68d5f79 reorganize berry graphics files 2018-02-06 11:51:43 -06:00
camthesaxman 89e6170748 remove some redundant .pal files 2018-02-06 11:46:34 -06:00
DizzyEggg ab5977e7e4 match item use func 2018-02-06 18:15:10 +01:00
DizzyEggg 9e43b01a4c match obj update pos2 2018-02-06 17:42:24 +01:00
DizzyEggg 1902ff0238 match palette functions 2018-02-06 15:31:04 +01:00
Diegoisawesome 06e1aca2ac Move start_menu EWRAM symbols into C file 2018-02-05 23:12:34 -06:00
camthesaxman f78fa6aabf rename bank to battler 2018-02-05 19:46:59 -06:00
camthesaxman 607cba8c2e Merge branch 'master' into battle_refactor 2018-02-05 17:38:23 -06:00
DizzyEggg 541fef5368 move wild data to C 2018-02-05 22:27:29 +01:00
DizzyEggg e6eae224fc mon ewram data to c 2018-02-05 17:56:28 +01:00
DizzyEggg ae8e89a10d move some pokemon data to c 2018-02-05 17:39:26 +01:00
golem galvanize 5f7709dc8b decompile item_menu 2018-02-04 23:47:47 -05:00
DizzyEggg 0c60ffe22a decompile title screen 2018-02-04 16:11:00 +01:00
PikalaxALT f39053ee30 common syms in window.c, because why not 2018-02-03 10:19:56 -05:00
PikalaxALT d52f52fa73 Merge branch 'master' into link 2018-02-03 09:42:19 -05:00
DizzyEggg 27452ca822 decompile rtc reset screen 2018-02-02 19:00:01 +01:00
DizzyEggg 0826ea552e forgot a semicolon LMAO 2018-02-02 16:09:17 +01:00
DizzyEggg e13eacda39 decompile item icon 2018-02-02 16:06:20 +01:00
DizzyEggg 79fbee559f add func to include 2018-02-02 14:42:29 +01:00
DizzyEggg b6437b8d80 document berry tag screen 2018-02-02 14:41:56 +01:00
DizzyEggg ebc8af50f1 decompile berry tag screen 2018-02-02 14:03:48 +01:00
DizzyEggg 14d2caaf8d start decompiling berry tag screen 2018-02-02 12:32:12 +01:00
DizzyEggg af068e74ad more function names in ray scene 2018-02-01 23:39:53 +01:00
DizzyEggg be08cc06f2 more function names in ray scene 2018-02-01 15:32:12 +01:00
DizzyEggg 9976e21f6a give some names ray scene 2018-02-01 14:53:27 +01:00
DizzyEggg b697497835 ray scene is decompiled 2018-02-01 14:47:41 +01:00
DizzyEggg 68146af07c more ray scene work 2018-02-01 11:17:07 +01:00
golem galvanize 0a67b1d80c decompiled up to sub_81AC10C 2018-01-31 20:22:51 -05:00
Diegoisawesome eb6aed50e5 Update save.c with recorded battle sector 2018-01-31 16:12:46 -06:00
Diegoisawesome 9b1eb0b903 Merge pull request #195 from ProjectRevoTPP/save_rodata
save.c rodata
2018-01-31 14:58:34 -06:00
ProjectRevoTPP a998cba4f0 depreciate depreciate 2018-01-31 15:53:38 -05:00
ProjectRevoTPP 78bd2b0849 move save rodata to source and use saveblock chunk macros 2018-01-31 15:26:57 -05:00
DizzyEggg db6185275e start decompiling rayquaza scene 2018-01-31 13:05:36 +01:00
golem galvanize e78697494c Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu 2018-01-31 00:29:38 -05:00
Diegoisawesome ef3df1d40c Merge pull request #189 from ProjectRevoTPP/field_map_obj_helpers
field_map_obj_helpers
2018-01-30 23:21:18 -06:00
ProjectRevoTPP e7fffb5e9a merge 2018-01-31 00:13:49 -05:00
Diegoisawesome 3167dec946 Merge pull request #188 from golemgalvanize/decompile_field_message_box
decompile field_message_box
2018-01-30 23:11:53 -06:00
golem galvanize 4190475be5 remove symbol from EWRAM 2018-01-31 00:07:30 -05:00
golem galvanize 155a371064 decompile set_callback3_to_bag 2018-01-31 00:03:52 -05:00
golem galvanize 821ede4674 remove set_callback3_to_bag from asm 2018-01-30 23:54:58 -05:00
ProjectRevoTPP 09302c0bc5 Merge branch 'master' of https://github.com/pret/pokeemerald into field_map_obj_helpers 2018-01-30 23:23:45 -05:00
Diegoisawesome eb5737357d Merge pull request #194 from DizzyEggg/decompile_mystery_event_menu
decompile mystery event menu
2018-01-30 20:33:27 -06:00
ProjectRevoTPP 3ff5db0b69 forward declarations 2018-01-30 21:17:36 -05:00
Diegoisawesome f56ce33258 Merge pull request #192 from DizzyEggg/decompile_coord_event_weather
decompile_coord_event_weather
2018-01-30 20:16:26 -06:00
golem galvanize f7c9a6cb54 Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu 2018-01-30 19:38:24 -05:00
golem galvanize d5d62c9d4d fix ewram 2018-01-30 19:28:38 -05:00
ProjectRevoTPP 05bd37bf46 rename header 2018-01-30 18:30:59 -05:00
ProjectRevoTPP c5f1b576f2 Merge branch 'master' of https://github.com/pret/pokeemerald into field_map_obj_helpers 2018-01-30 18:24:14 -05:00
ProjectRevoTPP 536a338ff9 cleanup 2018-01-30 18:22:56 -05:00
ProjectRevoTPP 6453b88433 finish decompiling field_map_obj_helpers.c 2018-01-30 18:19:41 -05:00
DizzyEggg 9fbedcc41c coord weather fix conflicts 2018-01-31 00:02:16 +01:00
DizzyEggg 741b8adf9a decompile mystery event menu 2018-01-30 23:23:35 +01:00
golem galvanize f0cc705d35 fixes 2018-01-30 17:16:41 -05:00
Diegoisawesome b3315b64a1 Merge pull request #187 from golemgalvanize/decompile_item_use
decompile item_use
2018-01-30 15:41:43 -06:00
Diegoisawesome 232dea1a63 Merge pull request #193 from DizzyEggg/decompile_scanline_effect
decompile scanline effect
2018-01-30 15:37:34 -06:00
golem galvanize 231b69451b fixed 2018-01-30 16:33:20 -05:00
Diegoisawesome ef4313d42f Merge pull request #191 from DizzyEggg/patch-2
Delete option_menu.s
2018-01-30 15:21:29 -06:00
Diegoisawesome 6873f47821 Merge pull request #190 from DizzyEggg/decompile_time_events
decompile time events
2018-01-30 15:20:24 -06:00
golem galvanize 092da42723 decompiled up to set_callback3_to_bag 2018-01-30 16:12:40 -05:00
golem galvanize f220ac971c got Task_BagMenu closer 2018-01-30 15:26:46 -05:00
Diegoisawesome a75c476d57 Get RenderText a bit closer (thanks Egg) 2018-01-30 13:13:07 -06:00
Diegoisawesome 7941558b80 Merge remote-tracking branch 'Bird/attempt_RenderText' 2018-01-30 13:08:47 -06:00
Diegoisawesome b08b94978b Merge pull request #184 from DizzyEggg/decompile_pokemon_animation
decompilie pokemon animation
2018-01-30 13:06:32 -06:00
golem galvanize 59b0e69820 adding ld_script 2018-01-30 13:22:59 -05:00
golem galvanize 9f902df79b decompiled up to sub_81ABCC0 2018-01-30 13:19:37 -05:00
Diegoisawesome 3793152bc3 More work on menu 2018-01-29 17:26:36 -06:00
ProjectRevoTPP 42bfa15ae0 decompile more of field_map_obj_helpers.c 2018-01-29 15:49:28 -05:00
Diegoisawesome 8dbab51c0e Merge remote-tracking branch 'Pikalax/libc' 2018-01-29 11:03:26 -06:00
DizzyEggg db3ecf5012 decompile scanline effect 2018-01-29 17:47:12 +01:00
DizzyEggg e6fb626c1f decompile_coord_event_weather 2018-01-29 16:46:56 +01:00
DizzyEggg 0995b75345 Delete option_menu.s 2018-01-29 16:37:42 +01:00
DizzyEggg 76fc1d1c12 make time events compile 2018-01-29 16:25:09 +01:00
DizzyEggg d728124a7b decompile time events 2018-01-29 15:55:34 +01:00
DizzyEggg 78fc471f32 mon anim with master 2018-01-29 14:40:50 +01:00
DizzyEggg 78728ae454 add rgb constants 2018-01-29 14:36:13 +01:00
DizzyEggg ed546d680f pokemon animation is decompiled 2018-01-29 12:36:56 +01:00
ProjectRevoTPP 3eaaa59c04 start decompiling field_map_obj_helpers 2018-01-29 04:13:15 -05:00
golem galvanize 2a16b7cb81 decompile field_message_box 2018-01-28 00:22:06 -05:00
golem galvanize b377112cd6 decompile item_use 2018-01-27 22:58:44 -05:00
DizzyEggg 16c46905ff more pokemon animation functions 2018-01-28 00:51:20 +01:00
Diegoisawesome a3ed94dc69 Continue work on menu.c 2018-01-27 17:46:32 -06:00
DizzyEggg 8ca9bbe425 more pokemon anim functions decompiled 2018-01-27 21:10:00 +01:00
DizzyEggg 95827ab64b more pokemon anim functions decompiled 2018-01-27 11:57:46 +01:00
Diegoisawesome 2da7bdbb11 Begin menu.s decomp 2018-01-26 23:41:52 -06:00
Diegoisawesome 7d8a2ae7f0 Decompile new_menu_helpers.s 2018-01-25 15:25:35 -06:00
golem galvanize 7231aa2658 got it almost matching 2018-01-24 16:45:37 -05:00
DizzyEggg 4e43a251b0 more pokemon anim funcs 2018-01-24 19:37:30 +01:00
Diegoisawesome 10037ac0e1 Fix spelling of 'Parametrized' to 'Parameterized' 2018-01-24 01:03:20 -06:00
Diegoisawesome 0c47cd6fc3 Renamed link_strings and fixed warning in fldeff_cut.s 2018-01-24 00:18:10 -06:00
Diegoisawesome e5596be256 Merge pull request #185 from Diegoisawesome/master
Decompile naming_screen
2018-01-23 23:37:45 -06:00
Diegoisawesome b8b0431477 Identification 2018-01-23 23:32:16 -06:00
Diegoisawesome 5784098446 Organization and naming 2018-01-23 23:14:22 -06:00
Diegoisawesome cc307730a1 Add entry in sym_ewram.txt and organize a bit 2018-01-23 21:34:59 -06:00
Diegoisawesome 5a57485ece Decompile naming_screen.c 2018-01-23 21:30:13 -06:00
DizzyEggg ad73f92061 start decompiling pokemon animation 2018-01-22 21:32:50 +01:00
camthesaxman 663ecd0014 Merge branch 'master' of https://github.com/pret/pokeemerald into battle_refactor 2018-01-21 22:29:35 -06:00
PikalaxALT d4e8c20f84 Merge branch 'master' into link 2018-01-21 23:20:13 -05:00
PikalaxALT 097da4e011 Merge branch 'master' into libc 2018-01-21 20:38:34 -05:00
PikalaxALT 19864d3cd9 Fix for windows 2018-01-21 19:16:15 -05:00
PikalaxALT d35cf06854 nonmatching sub_801120C 2018-01-21 18:25:23 -05:00
Diegoisawesome f57340b729 Revert "Use standard flags to link libgcc, libc"
This reverts commit 454e44aa43.
2018-01-21 15:50:12 -06:00
Diegoisawesome 2ba141eac4 Merge pull request #182 from DizzyEggg/decompile_hof_pc
decompile hof pc
2018-01-21 15:10:26 -06:00
Diegoisawesome f4455bb2a5 Merge pull request #180 from DizzyEggg/decompile_mystery_event_script
Decompile mystery event script
2018-01-21 14:38:09 -06:00
DizzyEggg fbf91fabcf review changes mystery event 2018-01-21 21:32:30 +01:00
Diegoisawesome 5feb270e97 Merge pull request #173 from easyaspi314/fix_perms
Fix file permissions.
2018-01-21 14:29:35 -06:00
Diegoisawesome ee8b53bb41 Merge pull request #181 from yenatch/fix-install
fix shell scripts in install instructions
2018-01-21 14:28:53 -06:00
Devin 8f1bfcbf3a Fix more of them sneaky executables 2018-01-21 15:25:18 -05:00
Devin 26624e2414 Merge branch 'master' of https://github.com/pret/pokeemerald into fix_perms 2018-01-21 15:22:49 -05:00
Devin 35cc20c9aa Merge branch 'master' of https://github.com/pret/pokeemerald into fix_perms 2018-01-21 15:22:05 -05:00
Diegoisawesome eec225e983 Merge pull request #178 from PikalaxALT/libc
Use standard flags to link libgcc, libc
2018-01-21 14:19:22 -06:00
Diegoisawesome a1aa645f23 Merge pull request #179 from yenatch/travis
travis badge
2018-01-21 14:17:50 -06:00
Diegoisawesome 852b858571 Merge pull request #177 from DizzyEggg/patch-1
Add a comment about one battle transition
2018-01-21 14:13:19 -06:00
DizzyEggg f59eedb672 decompile hof pc 2018-01-21 20:45:43 +01:00
scnorton 89bbecd34b Include <string.h> in global.h 2018-01-21 14:40:19 -05:00
yenatch e5a3757ff9 fix shell scripts in install instructions 2018-01-21 13:50:12 -05:00
DizzyEggg f53a39e7a2 mystery event labels 2018-01-21 19:30:01 +01:00
yenatch 745985612e travis badge 2018-01-21 12:57:41 -05:00
scnorton 454e44aa43 Use standard flags to link libgcc, libc 2018-01-21 12:37:17 -05:00
DizzyEggg e85d7d5492 Add a comment about one battle transition 2018-01-21 14:23:04 +01:00
Diegoisawesome 0db23bc215 Merge pull request #164 from DizzyEggg/decompile_option_menu
Decompile option menu
2018-01-21 06:59:13 -06:00
DizzyEggg e0fbd5daad text window cleanup 2018-01-21 13:32:11 +01:00
DizzyEggg ad2ef517bd option menu fix conflicts 2018-01-21 12:46:19 +01:00
DizzyEggg 0bc7fb92db start decompiling mystery event script 2018-01-21 12:36:11 +01:00
Diegoisawesome 8a60952fc0 Merge branch 'master' of github.com:pret/pokeemerald 2018-01-21 04:11:52 -06:00
Diegoisawesome 5bf86da366 Fix tool newlines 2018-01-21 04:11:43 -06:00
Diegoisawesome 3897c01d58 Merge pull request #176 from yenatch/travis
travis
2018-01-21 03:46:09 -06:00
Diegoisawesome c5b3c4168a Remove attempt at guarding specials.inc 2018-01-21 03:30:31 -06:00
yenatch 8ccb8a0af8 travis 2018-01-21 00:44:57 -05:00
golem galvanize 4499af0ec3 got another pointer 2018-01-20 23:36:17 -05:00
golem galvanize 452c0cfd7c BEGONE POINTER 2018-01-20 23:18:26 -05:00
golem galvanize 311a18ee9a edit instructions and makefile 2018-01-20 22:58:42 -05:00
golem galvanize bce63b3694 REMOVE BASEROM 2018-01-20 22:41:02 -05:00
PikalaxALT 772f0aa3fd Merge branch 'master' into link 2018-01-20 22:08:41 -05:00
golem galvanize f22d295cfc Merge branch 'master' of https://github.com/pret/pokeemerald into dump_small_baseroms 2018-01-20 21:37:47 -05:00
Diegoisawesome d279f50f57 Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-20 19:18:33 -06:00
Diegoisawesome 28c9f40b3e Extract data from fossil_special_fldeff_groundshake 2018-01-20 19:18:03 -06:00
PikalaxALT 7af3cd051e through sub_80111FC 2018-01-20 19:51:19 -05:00
golem galvanize 33ebcabc3a Merge branch 'master' of https://github.com/pret/pokeemerald into dump_small_baseroms 2018-01-20 19:45:38 -05:00
golem galvanize bdc8cf6ac4 fixing conflicts 2018-01-20 19:44:34 -05:00
Diegoisawesome f00bbdfeca Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-20 18:31:07 -06:00
Diegoisawesome 8d7a830151 Extract data from field_effect_misc 2018-01-20 18:30:33 -06:00
PikalaxALT 3faaeafffe through sub_8011090 2018-01-20 19:23:21 -05:00
Diegoisawesome 064c813a95 Extract data from map_obj_8097404 2018-01-20 17:45:45 -06:00
PikalaxALT 1566dca0c2 through sub_8010EC0 2018-01-20 18:43:58 -05:00
Diegoisawesome ed8269889b Extract data from pokedex.s 2018-01-20 17:17:51 -06:00
PikalaxALT ef412145d0 through sub_8010A70 2018-01-20 17:28:10 -05:00
golem galvanize 59e1aacd26 DIEGO SEND HELP 2018-01-20 17:26:30 -05:00
Diegoisawesome aca539d5dd Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-20 16:22:40 -06:00
Diegoisawesome b47b9e5758 Extract data from starter_choose 2018-01-20 16:22:16 -06:00
PikalaxALT 95d77c25f3 through sub_801084C 2018-01-20 16:38:44 -05:00
Diegoisawesome 692ed13fe7 Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-20 15:37:56 -06:00
Diegoisawesome d10c91f1b0 Extract data from item_menu_icons.s 2018-01-20 15:37:37 -06:00
golem galvanize 646aa19e87 Merge branch 'master' of https://github.com/pret/pokeemerald into dump_small_baseroms 2018-01-20 15:56:36 -05:00
PikalaxALT a8e8bfb4c8 through sub_8010750 2018-01-20 15:50:45 -05:00
Diegoisawesome 82c6df71b6 Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-20 14:20:34 -06:00
Diegoisawesome 971b47755d Extract data from naming screen 2018-01-20 14:16:01 -06:00
PikalaxALT aa6ffc5ba1 through sub_8010528 2018-01-20 14:59:34 -05:00
PikalaxALT c5096c81ad through task_add_05_task_del_08FA224_when_no_RfuFunc 2018-01-20 14:29:13 -05:00
PikalaxALT b8ad1a0fc4 through sub_8010198 2018-01-20 12:02:06 -05:00
PikalaxALT b8af0f011d through rfufunc_80FA020 2018-01-20 11:53:35 -05:00
PikalaxALT 6ac0175c1e nonmatching sub_800FD14 2018-01-20 10:16:09 -05:00
Diegoisawesome 80e376d6cb Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-20 02:38:11 -06:00
Diegoisawesome 2ef7467951 Extract data from pokemon_summary_screen 2018-01-20 02:37:28 -06:00
golem galvanize 4729338e5b Merge branch 'master' of https://github.com/pret/pokeemerald into dump_small_baseroms 2018-01-20 03:07:04 -05:00
Diegoisawesome 4cb2853344 Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-20 00:49:43 -06:00
Diegoisawesome 098671750b Extract data from text window 2018-01-20 00:49:21 -06:00
Diegoisawesome ce3ab413ba Merge remote-tracking branch 'Diego/dump_data' 2018-01-19 23:43:05 -06:00
Diegoisawesome 7abfc6a989 Extract data from trainer card 2018-01-19 23:42:30 -06:00
Diegoisawesome 73082f2855 Merge remote-tracking branch 'Diego/dump_data' 2018-01-19 21:39:23 -06:00
Diegoisawesome fbb51bc24b Extract baseroms from party_menu.s 2018-01-19 21:38:57 -06:00
PikalaxALT b9e5ad9f11 through sub_800FCD8 2018-01-19 22:03:02 -05:00
PikalaxALT 1c15b896a8 sub_800F86C 2018-01-19 21:50:30 -05:00
Diegoisawesome 2d74179d86 Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-19 20:08:30 -06:00
Diegoisawesome 4be109e60e Extract forgotten baserom in trade.s 2018-01-19 20:07:59 -06:00
golem galvanize 59b5957ebe Merge branch 'master' of https://github.com/pret/pokeemerald into dump_small_baseroms 2018-01-19 21:05:13 -05:00
golem galvanize e5ba5ccdbb dump battle_frontier_2.s 2018-01-19 21:04:43 -05:00
golem galvanize c45db79b5d dump contest.s 2018-01-19 21:03:17 -05:00
Diegoisawesome 4559a95d9b Merge branch 'dump_data' of https://github.com/Diegoisawesome/pokeemerald 2018-01-19 19:54:19 -06:00
Diegoisawesome b22a800581 Extract data from trade.s
Also rename window_template_terminator to null_window_template, in keeping with naming conventions
2018-01-19 19:52:46 -06:00
PikalaxALT c383d490ad through sub_800F850 2018-01-19 19:13:45 -05:00
Devin c408110319 Fix file permissions. 2018-01-19 15:06:49 -05:00
Diegoisawesome c74334c26a Fix address of berry struct in item.c 2018-01-19 12:49:08 -06:00
Diegoisawesome fd544ba438 Start extracting data from trade.s 2018-01-19 12:38:09 -06:00
Diegoisawesome 4c6511c8f9 Extract data from field_screen.s
Also move files incorrectly placed in interface dir
2018-01-18 22:36:24 -06:00
PikalaxALT 58def21c62 nonmatching sub_800F638 2018-01-18 19:23:12 -05:00
scnorton 68e9b5719c sub_800F4F0 2018-01-18 17:38:51 -05:00
Diegoisawesome 6445394929 Extract rotating_gate.s 2018-01-18 15:38:31 -06:00
Diegoisawesome b7ee548897 Merge remote-tracking branch 'Bird/dump_pokenav.s' 2018-01-18 14:38:45 -06:00
Diegoisawesome 7086bf0048 Merge remote-tracking branch 'Bird/dump_slot_machine.s' 2018-01-18 14:19:13 -06:00
Diegoisawesome d6567414ed Merge remote-tracking branch 'Ketsuban/document-weirdness' 2018-01-18 14:04:31 -06:00
Diegoisawesome 48c1e4961e Merge remote-tracking branch 'Egg/decompile_unk_transition' 2018-01-18 14:02:13 -06:00
Diegoisawesome dcdf91c111 Merge remote-tracking branch 'Bird/dump_learn_move.s' 2018-01-18 13:46:34 -06:00
Diegoisawesome dbbd005a53 Merge remote-tracking branch 'Bird/dump_wild_encounter.s' 2018-01-18 13:39:44 -06:00
Diegoisawesome 9a65fbd81e Merge remote-tracking branch 'pret/master' 2018-01-18 12:53:45 -06:00
Diegoisawesome b806ee8bed Finish extracting pokemon storage system data 2018-01-18 12:52:37 -06:00
scnorton 090f70dd5b sub_800F498 2018-01-18 13:18:24 -05:00
PikalaxALT 75a32c9dc5 Merge branch 'link' of github.com:pikalaxalt/pokeemerald into link 2018-01-18 12:55:48 -05:00
scnorton c6ff1a6ce3 Merge branch 'master' into link 2018-01-18 12:53:31 -05:00
PikalaxALT cfb0e233ee sub_800F1E0 2018-01-18 08:46:17 -05:00
Diegoisawesome ec8594fd10 Extract Wanda PC box wallpapers 2018-01-18 04:06:43 -06:00
golem galvanize 3c93557bcf tab fixing 2018-01-17 23:10:26 -05:00
golem galvanize c9a3ef7a6e dump pokenav.s 2018-01-17 23:01:33 -05:00
Diegoisawesome 184fedc870 Extract PC box background images 2018-01-17 20:57:19 -06:00
golem galvanize 5d8db75db9 Merge branch 'master' of https://github.com/pret/pokeemerald into dump_pokenav.s 2018-01-17 19:40:35 -05:00
golem galvanize 173c5923cb clean up reel_time_gfx 2018-01-17 19:19:47 -05:00
golem galvanize 442398261e fix tabs and add forgotten image 2018-01-17 14:48:50 -05:00
golem galvanize 84c6a97429 dump slot_machine.s 2018-01-17 14:44:38 -05:00
Thomas Winwood 6fa557c2ec Document sub_814F8F8, sub_814F950 and sUnknownMoveTable
These are left over from the Japanese games, which provide more variation to
the attack string than the English games.
2018-01-17 19:33:23 +00:00
Diegoisawesome 24e0edee9f Merge remote-tracking branch 'Pi/song-names' 2018-01-17 00:43:01 -06:00
Diegoisawesome fd267b2dc3 Remove duplicate LIBC line from makefile 2018-01-17 00:38:18 -06:00
Diegoisawesome 6fa37dc82c Merge remote-tracking branch 'Pikalax/mac_build_and_libc' 2018-01-16 23:52:11 -06:00
golem galvanize c06bb60183 Merge branch 'master' of https://github.com/pret/pokeemerald into dump_slot_machine.s 2018-01-16 21:53:55 -05:00
golem galvanize 35f8898725 start dumping slot_machine.s 2018-01-16 21:52:43 -05:00
Devin 9c84e8fd56 Fix typos in songs.h and song_table.inc again, and made the comments match.
I'm sorry if I sound like a brolen record. ;)
2018-01-16 19:36:34 -05:00
DizzyEggg 295aa96a05 decompile unk transition 2018-01-16 23:57:26 +01:00
camthesaxman a78b0636f5 more renaming 2018-01-16 16:42:31 -06:00
camthesaxman b4bb562363 rename battle_2.c to battle_main.c 2018-01-16 16:15:02 -06:00
scnorton d8bb1d15e7 Merge branch 'master' into mac_build_and_libc 2018-01-16 17:09:36 -05:00
Diegoisawesome 23f45bd2b6 Merge remote-tracking branch 'origin/delete-on-error' 2018-01-16 15:57:10 -06:00
camthesaxman c3c13d0acf more renaming 2018-01-16 15:12:38 -06:00
Diegoisawesome 309640a28c Merge remote-tracking branch 'Egg/decompile_battle_transition' 2018-01-16 14:51:00 -06:00
DizzyEggg 50f9615dc9 battle transition review changes 2018-01-16 21:37:46 +01:00
golem galvanize 820c11358d dump learn_move.s 2018-01-16 15:31:43 -05:00
camthesaxman 157b88b6db identity -> position 2018-01-16 14:01:31 -06:00
DizzyEggg 77352c7ee4 give the s prefix to a variable 2018-01-16 19:41:25 +01:00
DizzyEggg 4dd06dbcd3 optiom menu move data to C 2018-01-16 19:39:35 +01:00
DizzyEggg a6072ae293 decompile option menu 2018-01-16 18:59:06 +01:00
golem galvanize 147b43cca6 tabs 2018-01-16 04:13:28 -05:00
golem galvanize 1555a607d0 dump wild_encounter 2018-01-16 04:06:58 -05:00
golem galvanize 449d645936 window_template usage 2018-01-16 02:20:48 -05:00
Diegoisawesome 56e55d217a Merge remote-tracking branch 'Bird/dump_shop.s' 2018-01-16 00:04:48 -06:00
golem galvanize 29d84dabe6 spacing fix 2018-01-16 01:01:14 -05:00
golem galvanize f9d7b6a923 fixes 2018-01-16 00:56:12 -05:00
golem galvanize 63460df7fd dump shop.s 2018-01-16 00:40:42 -05:00
golem galvanize 5a5eb4ff59 dumped most of pokenav.s 2018-01-15 23:38:10 -05:00
Devin 200aea1b09 Fixed typos 2018-01-15 14:10:07 -05:00
Devin 694f7f45bf Add most English song and SFX names as comments in songs.h and song_table.inc 2018-01-15 04:41:24 -05:00
Diegoisawesome 90c175b73f Extract baseroms from field_effect.s 2018-01-15 02:49:52 -06:00
Diegoisawesome 79451b5bb4 Extract data around Deoxys icon 2018-01-14 23:40:55 -06:00
Diegoisawesome 11cb3275cc Merge remote-tracking branch 'Diego/master' 2018-01-14 21:41:29 -06:00
Diegoisawesome 59680b2a73 Finish adding symbols to battle_anims 2018-01-14 21:04:06 -06:00
Diegoisawesome 404c415ef6 Charmap modifications
Add midline dot to English charmap and swap two dot leader (U+2025) for midline horizontal ellipsis (U+22EF) in Japanese charmap
2018-01-14 17:25:02 -06:00
DizzyEggg 05aba58d5d fix battle transition conflicts 2018-01-14 22:19:26 +01:00
DizzyEggg bc1a957674 make battle transition compile 2018-01-14 22:15:50 +01:00
DizzyEggg d7644cd3d8 battle transition is decompiled 2018-01-14 22:09:35 +01:00
DizzyEggg fdbe7fa7de up to 30 battle transitions 2018-01-14 20:45:44 +01:00
DizzyEggg 9106d8df18 up to groudon transition 2018-01-13 21:03:07 +01:00
yenatch 0051d8aeea make build_tools.sh executable 2018-01-13 01:34:20 -05:00
yenatch 84d364819a add a rule for baserom.gba 2018-01-13 01:32:10 -05:00
yenatch 98ee41806e use .SECONDARY instead of .PRECIOUS to prevent files from being deleted 2018-01-13 01:30:43 -05:00
yenatch 294c9656be fix broken build after building without tools 2018-01-13 01:30:08 -05:00
Marcus Huderle d1630d481a Merge pull request #155 from ProjectRevoTPP/assert
add assert support to pokeemerald.
2018-01-11 18:25:42 -08:00
Diegoisawesome d2a55b1b10 Remove extraneous comments that mess with incbin count 2018-01-09 22:23:11 -06:00
Diegoisawesome 3241b1405f Add symbols to music_player_table
Also rename gMPlay structs to gMPlayInfo
2018-01-09 21:30:54 -06:00
Diegoisawesome 73d3a21c2d Merge remote-tracking branch 'pret/master' 2018-01-09 20:21:01 -06:00
Diegoisawesome 80cfce776b Mark sound files as precious 2018-01-09 20:01:01 -06:00
Diegoisawesome 4e4b18e04f Remove sample bins and update makefile 2018-01-09 19:37:10 -06:00
Diegoisawesome 90c5b93f23 Extract voicegroups 2018-01-09 19:27:11 -06:00
ProjectRevoTPP e1801885a0 both print defines for nocashgba 2018-01-09 19:39:51 -05:00
ProjectRevoTPP ecc2408cd5 comment 2018-01-09 19:28:32 -05:00
scnorton 09d3da101b Implement agbcc's libc and allow a custom cxx compiler to be passed to build_tools.sh 2018-01-09 15:53:17 -05:00
ProjectRevoTPP e19c51cd10 scrub ld_script for bloat 2018-01-09 01:26:27 -05:00
ProjectRevoTPP 0bf530da12 nocashgba printf 2018-01-08 22:03:07 -05:00
ProjectRevoTPP ba1eb6d952 nogba to nocashgba 2018-01-08 21:39:07 -05:00
ProjectRevoTPP d215fcc78e actually change NOGBAPrint, stupid 2018-01-08 17:05:26 -05:00
ProjectRevoTPP 7d501c8b13 let the user deal with nogbaprint, forget this 2018-01-08 17:03:28 -05:00
Diegoisawesome dcdb5d7693 Create sound data files 2018-01-08 01:30:28 -06:00
camthesaxman 3b097262f5 completely label and document dma3_manager.c 2018-01-07 23:59:42 -06:00
ProjectRevoTPP d98c14444a NDEBUG which is supposed to be NDEBUG... 2018-01-07 23:46:35 -05:00
Diegoisawesome 11cf2950ae Fix rayquaza.8bpp rule 2018-01-07 20:34:30 -06:00
Diegoisawesome aacb23b004 Merge remote-tracking branch 'Roukaour/master' 2018-01-07 19:43:06 -06:00
ProjectRevoTPP dd2d49144b Merge branch 'master' of https://github.com/pret/pokeemerald into assert 2018-01-07 20:01:56 -05:00
Diegoisawesome 5c00be143d Merge pull request #156 from Diegoisawesome/master
Extract baseroms and port field_door
2018-01-07 19:00:16 -06:00
Diegoisawesome 0eadf71b1a Move forward declaration 2018-01-07 18:58:52 -06:00
Diegoisawesome 75f9c16504 Merge branch 'master' of https://github.com/pret/pokeemerald 2018-01-07 18:47:05 -06:00
Diegoisawesome a11c65ff1a Port field_door 2018-01-07 17:50:13 -06:00
ProjectRevoTPP d1e08c88bf Merge branch 'master' of https://github.com/pret/pokeemerald into assert 2018-01-07 18:11:14 -05:00
camthesaxman 75c359e300 match ScrollWindow 2018-01-07 16:58:20 -06:00
ProjectRevoTPP 3da57eb98d Merge branch 'master' of https://github.com/pret/pokeemerald into assert 2018-01-07 16:23:09 -05:00
camthesaxman 0fd6ae4791 match ProcessDma3Requests 2018-01-07 15:06:16 -06:00
Diegoisawesome efe19e95c8 Extract door animations 2018-01-07 01:29:26 -06:00
ProjectRevoTPP 10ddfac7ab consistency 2018-01-06 22:00:08 -05:00
ProjectRevoTPP 419e6d885b use firered isagbprint header. 2018-01-06 21:38:34 -05:00
ProjectRevoTPP 8cf6da7a3b don't forget to add the file dummy 2018-01-06 21:13:18 -05:00
ProjectRevoTPP 7be61cfb1a add assert support to pokeemerald. 2018-01-06 21:12:42 -05:00
camthesaxman 601ec28721 remove explicit memcpy and add HEAP_SIZE constant 2018-01-06 00:35:48 -06:00
camthesaxman 462a0030ae match MoveSaveBlocks_ResetHeap 2018-01-06 00:17:31 -06:00
Remy Oukaour 7b90e12650 concatenate all prerequisites: @cat $^ >$@
prerequisite changes extension of target: %.4bpp: %.png
2018-01-03 20:08:20 -05:00
DizzyEggg eb00e8ba4a more work on battle transition 2018-01-02 20:38:33 +01:00
Diegoisawesome e3585d7d66 Review fixes 2018-01-01 19:21:30 -06:00
Diegoisawesome 4f726232b8 Merge remote-tracking branch 'EternalCode/master' 2018-01-01 16:31:35 -06:00
EternalCode d8c329b888 Update fldeff_teleport.c 2018-01-01 14:36:27 -05:00
DizzyEggg ba176dfe07 start working on battle transition 2018-01-01 17:41:34 +01:00
Diegoisawesome ad277a69dd Merge remote-tracking branch 'xenonnsmb/master'.
Closes #102, closes #103, and closes #134.
2018-01-01 03:07:55 -06:00
Diegoisawesome e852700954 Merge remote-tracking branch 'origin/avara-opponent-constants' 2017-12-31 17:40:28 -06:00
Diegoisawesome 31140b10c5 Merge remote-tracking branch 'Egg/dump_battle_anim_scripts' 2017-12-31 13:35:14 -06:00
Diegoisawesome 4633de0665 Merge remote-tracking branch 'Egg/dump_trainer_ai_scripts' 2017-12-31 13:06:42 -06:00
luckytyphlosion f82badd515 Add pokegold and pokefirered. 2017-12-31 13:30:22 -05:00
DizzyEggg 4f82c1630e dump all battle anim sprite templates ptrs 2017-12-31 17:23:27 +01:00
DizzyEggg 4f950d698c dump battle animation scripts 2017-12-31 16:28:57 +01:00
ProjectRevoTPP 59e40c293e requests 2017-12-31 02:13:32 -05:00
DizzyEggg ca29ad22e8 dump trainer ai scripts 2017-12-30 16:04:31 +01:00
DizzyEggg 9bad1921df Merge branch 'master' into dump_trainer_ai_scripts 2017-12-30 12:20:16 +01:00
DizzyEggg 5ae6461cc5 commit 2017-12-30 12:19:02 +01:00
ProjectRevoTPP 48378f791c last wave of graphics.s dumps 2017-12-30 01:09:06 -05:00
ProjectRevoTPP 06aa07306e sixteenth wave of graphics.s dumps 2017-12-29 20:25:32 -05:00
Diegoisawesome f0df833f37 Extract easy chat and pokemon animation 2017-12-29 13:34:24 -06:00
ProjectRevoTPP cfe17cc552 fifteenth wave of graphics.s dumps 2017-12-28 22:05:30 -05:00
ProjectRevoTPP 77b7462dbb merge 2017-12-28 17:26:58 -05:00
ProjectRevoTPP 03a2a3b81b fourteenth wave of graphics.s dumps 2017-12-28 17:15:37 -05:00
Diegoisawesome 1496ea3a24 Merge branch 'master' of github.com:pret/pokeemerald 2017-12-28 03:00:15 -06:00
Diegoisawesome 2d04eb22ab Split rom_81370FC and port function names 2017-12-28 02:09:11 -06:00
Diegoisawesome ca49f8438d Extract battle_transition data 2017-12-27 15:25:15 -06:00
ProjectRevoTPP 8a338f44db thirteenth wave of graphics.s dumps 2017-12-26 22:37:36 -05:00
Diegoisawesome f9a9391ff3 Split/extract/port landmark 2017-12-26 21:20:29 -06:00
Diegoisawesome ba130d469d Split/extract pokedex cry screen data 2017-12-26 16:18:18 -06:00
Diegoisawesome eff0caf759 Split and extract roulette data 2017-12-26 01:42:08 -06:00
ProjectRevoTPP 0af942e0b8 twelfth wave of graphics.s dumps 2017-12-26 01:39:01 -05:00
ProjectRevoTPP 770714dcee eleventh wave of graphics.s dumps 2017-12-25 22:00:56 -05:00
ProjectRevoTPP d6bac7f9f8 tenth wave of graphics.s dumps (battle_frontier) 2017-12-25 15:51:01 -05:00
Diegoisawesome 15c92318d3 Extract data from misc files
Also split data4d.s
2017-12-25 00:32:01 -06:00
ProjectRevoTPP 7dd75f453d merge 2017-12-25 00:05:39 -05:00
ProjectRevoTPP 2c7112ce8f ninth wave of graphics.s dumps 2017-12-24 22:39:43 -05:00
Cameron Hall 87958f2f87 Merge pull request #147 from DizzyEggg/dump_pointers
Get rid of pointer baseroms
2017-12-24 12:51:53 -06:00
DizzyEggg 47ab4efef0 fix tab-killed strings 2017-12-24 19:47:27 +01:00
DizzyEggg 71b522b212 trailing spaces 2017-12-24 19:26:44 +01:00
DizzyEggg b2eadfa16c spaces to tabs 2017-12-24 19:15:51 +01:00
DizzyEggg 9ee677d567 commit 2017-12-24 19:08:55 +01:00
DizzyEggg ee4185865d more data dumped 2017-12-24 18:40:24 +01:00
DizzyEggg c436f01ce9 get rid of trainer card pointers 2017-12-24 12:18:21 +01:00
DizzyEggg 43f23b8a78 Merge branch 'master' into dump_pointers 2017-12-24 11:15:00 +01:00
ProjectRevoTPP addfdfbcba eighth wave of graphics.s dumps 2017-12-24 02:54:08 -05:00
Diegoisawesome e8153598ef Extract contest painting 2017-12-24 01:09:18 -06:00
ProjectRevoTPP d0659a3ec6 seventh wave of graphics.s dumps 2017-12-24 01:00:53 -05:00
ProjectRevoTPP e56f04ae2e sixth wave of graphics.s dumps 2017-12-24 00:08:28 -05:00
Cameron Hall f209cbd7a0 Merge pull request #144 from DizzyEggg/decompile_bike
decompile bike
2017-12-23 23:02:40 -06:00
ProjectRevoTPP ac74d6f100 fifth wave of graphics.s dumps 2017-12-23 22:06:01 -05:00
ProjectRevoTPP 4ad2c5c941 fourth wave of graphics.s dumps 2017-12-23 18:30:48 -05:00
DizzyEggg 8cd4908fa3 merge bike with master, fix conflicts 2017-12-24 00:08:55 +01:00
Diegoisawesome ca25068ae8 Extract baseroms from battle_tower 2017-12-23 16:17:31 -06:00
DizzyEggg 3a3772c74f more baseroms dumped 2017-12-23 22:41:31 +01:00
ProjectRevoTPP d137b7f0a8 third wave of graphics.s dumps (battle_anim part 2) 2017-12-23 15:50:58 -05:00
Diegoisawesome 4eccc06973 Finish extracting battle_frontier_2 data 2017-12-23 13:56:52 -06:00
DizzyEggg 4d24381e5e more pointer dumping 2017-12-23 20:47:43 +01:00
DizzyEggg e647cb2308 dump start menu and a bit of textwindow and trainercard 2017-12-23 19:23:55 +01:00
DizzyEggg c959c65562 dump some pokenav data pointers 2017-12-23 15:15:02 +01:00
DizzyEggg 4f6ca126b5 dump all rayquaza scene data to C 2017-12-23 13:23:23 +01:00
Diegoisawesome 8bd6f9319f Continue extraction from battle_frontier_2 2017-12-23 03:47:03 -06:00
Diegoisawesome a64b5cd31f Extract start of battle_frontier_2 2017-12-23 01:16:45 -06:00
ProjectRevoTPP 3499ff51b5 second wave of graphics.s dumps (battle_anim part 1) 2017-12-23 01:45:04 -05:00
ProjectRevoTPP d10c645353 first wave of graphics.s dump 2017-12-22 19:18:09 -05:00
DizzyEggg e7111984a9 start rayquaza dumping 2017-12-23 00:22:07 +01:00
Diegoisawesome 04b64dda0b Extract baseroms from battle frontier and tent files 2017-12-22 15:04:05 -06:00
DizzyEggg 3ca5af4d5d do some pointer storage system hunting 2017-12-22 20:10:51 +01:00
DizzyEggg 9c45ca0c5f dump pokemon icon 2017-12-22 19:16:15 +01:00
DizzyEggg 08ebf59e44 get rid of pointers in pokedex 2017-12-22 18:43:41 +01:00
DizzyEggg cddd44834e Merge branch 'master' into dump_pointers 2017-12-22 16:22:16 +01:00
Diegoisawesome 4a4a10a990 Merge remote-tracking branch 'pret/master' 2017-12-22 03:10:09 -06:00
Diegoisawesome 841ee0f2b2 Fix pokeblock songs include 2017-12-22 03:06:57 -06:00
Diegoisawesome 8278583e7b Extract baseroms from battle_anim files 2017-12-22 02:45:03 -06:00
sceptillion 3c286feec6 Merge branch 'master' of https://github.com/pret/pokeemerald into dump_songs 2017-12-22 00:17:34 -08:00
sceptillion e675043558 phoneme constants 2017-12-22 00:14:56 -08:00
sceptillion 96511dc214 use internal song names 2017-12-22 00:10:20 -08:00
Diegoisawesome 6bd6cfcac7 Merge remote-tracking branch 'pret/master' 2017-12-22 01:22:16 -06:00
sceptillion 44415f1bbe rename songs to reflect internal names 2017-12-21 23:14:37 -08:00
Diegoisawesome 0e8d6645f8 Attempts to fix nonmatchings in palette.c 2017-12-22 01:03:16 -06:00
sceptillion 4cb9f8db76 name phoneme songs 2017-12-21 20:51:09 -08:00
Diegoisawesome 4554b546ef Add missing phoneme entries 2017-12-21 21:20:06 -06:00
sceptillion d6987ee9b9 dump songs 2017-12-21 14:30:11 -08:00
Diegoisawesome 0403f6eea9 Merge remote-tracking branch 'Egg/decompile_use_pokeblock' 2017-12-21 16:19:50 -06:00
DizzyEggg bcffcb0c1c pokeblock merge conflicts 2017-12-21 23:12:36 +01:00
Diegoisawesome eb65458b67 Fix setvaddress params 2017-12-21 16:06:12 -06:00
Diegoisawesome 2c0e5a41a2 Merge remote-tracking branch 'Shanty/script_macros' 2017-12-21 16:03:37 -06:00
Marcus Huderle 66f9d4c266 Revert initclock arg sizes 2017-12-21 16:02:42 -06:00
DizzyEggg 19c25a8f2b start dumping pokedex 2017-12-21 22:56:20 +01:00
Marcus Huderle 173761a5a1 Port generic event script macros from pokeruby 2017-12-21 13:47:52 -06:00
Diegoisawesome a705a863d1 Fix incorrect slash in battle_bg.c 2017-12-21 12:26:00 -06:00
Diegoisawesome 4307292f55 Merge remote-tracking branch 'Egg/kobold_fixes' 2017-12-21 11:42:10 -06:00
DizzyEggg 78f35494a3 fix trainer see pr 2017-12-21 17:51:48 +01:00
DizzyEggg 6b5157b2a3 decompile bike.s 2017-12-21 17:46:03 +01:00
DizzyEggg b4b3fe04ee pr dump review changes 2017-12-20 17:24:37 +01:00
DizzyEggg 8380fc63dc Merge branch 'master' into kobold_fixes 2017-12-20 17:22:25 +01:00
DizzyEggg 504363f2a6 Merge branch 'master' into decompile_trainer_see 2017-12-20 17:21:46 +01:00
DizzyEggg df479661ff pokeblock review changes 2017-12-20 17:20:41 +01:00
DizzyEggg b615af4184 fix pokeblock merge conflicts 2017-12-20 17:16:56 +01:00
Diegoisawesome 7e6a68a99a Merge remote-tracking branch 'Egg/static_to_s' 2017-12-20 00:25:54 -06:00
Diegoisawesome fe6c93a431 Merge remote-tracking branch 'Roukaour/master' 2017-12-19 23:53:23 -06:00
Cameron Hall 02b5cf028f Merge pull request #139 from DizzyEggg/decompile_battle1
Decompile and split battle_1
2017-12-19 15:34:54 -06:00
DizzyEggg 38af0f78ea hopefully fix kobold PR 2017-12-19 20:52:52 +01:00
DizzyEggg 37a6e1b6c7 Merge branch 'master' of https://github.com/itskobold/pokeemerald into kobold_fixes 2017-12-19 20:09:28 +01:00
DizzyEggg 4949411f3e make battle bg compile 2017-12-19 17:41:05 +01:00
DizzyEggg 7581218569 Merge branch 'master' into decompile_battle1 2017-12-19 17:37:53 +01:00
DizzyEggg 4abc2eea8a ram vars to C files 2017-12-19 17:33:07 +01:00
DizzyEggg b7a2335347 clean up trainer see file 2017-12-19 17:18:44 +01:00
DizzyEggg 5744356989 decompile trainer see 2017-12-18 23:26:44 +01:00
DizzyEggg a612ef12a0 start working on trainer see 2017-12-18 19:35:50 +01:00
DizzyEggg cb229f56e8 fix pokeblock conflicts 2017-12-18 16:58:14 +01:00
Diegoisawesome 6a674e1e83 Merge remote-tracking branch 'Egg/decompile_mail_data' 2017-12-17 22:51:40 -06:00
DizzyEggg 314b96af46 static names given s prefix 2017-12-17 23:45:27 +01:00
Remy Oukaour a0ad3ae720 * Use the $^ automatic variable for Castform files to avoid repetition
* Use static pattern rules for png->otherextension to avoid repetition
* Multi-use directories are declared at the top; single-use directories do not use variables
2017-12-17 16:45:58 -05:00
Remy Oukaour 9301016f40 INSTALL.md links to pret/pokeruby-tools, since YamaArashi/pokeruby-tools and ProjectRevoTPP/pokeruby-tools are 404 2017-12-17 16:39:01 -05:00
DizzyEggg 720bd555bc add constants trainers file 2017-12-17 21:19:08 +01:00
DizzyEggg 54dccc8512 give batter script command names 2017-12-17 20:38:01 +01:00
DizzyEggg 7517f6a030 fix battle setup conflicts 2017-12-17 20:26:13 +01:00
DizzyEggg 46fa2557d7 merge mail with master, fix conflicts 2017-12-17 20:22:56 +01:00
DizzyEggg eb8055eb07 battle 1 is decompiled 2017-12-17 20:10:57 +01:00
scnorton 3c2b1731ee Merge branch 'master' into link 2017-12-17 14:09:06 -05:00
PikalaxALT 5b526906e1 through sub_800F0F8 2017-12-16 12:07:20 -05:00
PikalaxALT 190a2cba61 Merge branch 'master' into link 2017-12-16 11:27:10 -05:00
PikalaxALT 6d73bb4b57 Import function labels from Ruby 2017-12-16 10:23:05 -05:00
DizzyEggg c3abe2863f rename 2017-12-16 15:12:55 +01:00
DizzyEggg 5b409d49ed pokeblock.s is decompiled 2017-12-16 15:10:29 +01:00
DizzyEggg f4ab21ee67 Merge branch 'master' into decompile_use_pokeblock 2017-12-16 11:42:59 +01:00
PikalaxALT da2e0dfe50 Merge branch 'master' into clock 2017-12-15 21:04:25 -05:00
DizzyEggg 930fea6fad mail review changes 2017-12-16 01:18:31 +01:00
DizzyEggg bb82032208 battle setup review changes 2017-12-16 01:15:19 +01:00
DizzyEggg 44abbae60b nerge with master, fix conflicts 2017-12-16 01:08:55 +01:00
DizzyEggg 4351676749 decompile more of pokeblock.s 2017-12-16 00:08:23 +01:00
Diegoisawesome 224fdbf026 Merge pull request #138 from Diegoisawesome/master
Rename some symbols and add languages
2017-12-15 00:38:21 -06:00
Diegoisawesome e3c366df64 Merge remote-tracking branch 'pret/master' 2017-12-15 00:08:48 -06:00
Avara c8ac4e8ce4 Opponents fixed and moved~ 2017-12-12 02:58:57 +00:00
Cameron Hall c9f196cdfe Merge pull request #137 from camthesaxman/constants_headers
move constants to C headers
2017-12-11 12:45:08 -06:00
camthesaxman 9525fdd54d convert more constants 2017-12-11 12:41:13 -06:00
camthesaxman c681b482c2 convert more constants 2017-12-11 12:27:51 -06:00
DizzyEggg 8ac17e0948 move data from asm to pokeblock.c 2017-12-11 16:52:28 +01:00
Avara 0c20cd6990 Opponent Constants 2017-12-11 14:37:13 +00:00
DizzyEggg b4d10ab7ab split pokeblock files 2017-12-10 19:02:51 +01:00
DizzyEggg 37ae6a7758 move more pokeblock data to C and label 2017-12-10 16:38:27 +01:00
PikalaxALT b1c6f80e10 through sub_800F048 2017-12-10 10:31:11 -05:00
PikalaxALT beeb86be37 through (nonmatching) sub_800EFB0 2017-12-10 10:23:43 -05:00
DizzyEggg fb30acbc30 pokeblock feed is decompiled 2017-12-10 15:04:03 +01:00
DizzyEggg bb1ae5f857 Merge branch 'master' into decompile_use_pokeblock 2017-12-09 21:24:47 +01:00
DizzyEggg 6561b62986 start pokeblock feed 2017-12-09 21:23:40 +01:00
PikalaxALT 253b3c2fa5 sub_800EDD4 2017-12-08 08:24:54 -05:00
PikalaxALT abc3869eca through sub_800EDBC 2017-12-07 20:21:50 -05:00
PikalaxALT 6441ba7832 sub_800EB44 2017-12-07 20:04:07 -05:00
PikalaxALT c9f43116aa through sub_800EAFC 2017-12-07 08:48:49 -05:00
PikalaxALT 399d3731da Reformat asm/librfu.s to clarify what is being accessed in pc-relative loads 2017-12-07 00:29:58 -05:00
PikalaxALT 94da6de903 sub_800E94C 2017-12-07 00:28:12 -05:00
PikalaxALT 4f342198c2 sub_800E88C 2017-12-06 23:55:40 -05:00
PikalaxALT dc0d544119 sub_800E87C, remaining data in link_rfu 2017-12-05 23:54:31 -05:00
camthesaxman 19fbf024ff fix merge conflicts 2017-12-05 12:42:30 -06:00
camthesaxman 00896cb3b5 rename rng.c to random.c and rom4.c to overworld.c 2017-12-05 12:27:33 -06:00
Cameron Hall fd75493bc6 Merge pull request #129 from DizzyEggg/dumb_naming
Name some battle labels
2017-12-05 12:05:06 -06:00
Cameron Hall 7597433af6 Merge pull request #130 from DizzyEggg/decompile_pokeball
Decompile pokeball
2017-12-05 11:57:54 -06:00
camthesaxman caa13f8777 convert some constants to C headers 2017-12-05 11:55:48 -06:00
PikalaxALT 21619096da sub_800E748 2017-12-04 21:05:41 -05:00
PikalaxALT 765ad80884 through sub_800E700 2017-12-04 20:06:03 -05:00
PikalaxALT 92fd61d6f2 through sub_800E604 2017-12-04 19:51:26 -05:00
PikalaxALT 0b58905eea sub_800E3A8 2017-12-04 19:10:37 -05:00
DizzyEggg ddcf52bcae get rid of ball pal files 2017-12-04 23:22:48 +01:00
EternalCode 266dd492a7 void parameter in function header 2017-12-04 17:12:05 -05:00
DizzyEggg ad07843f2d start working on use pokeblock 2017-12-04 23:09:44 +01:00
PikalaxALT feb0d13534 sub_800E174 2017-12-03 23:33:49 -05:00
PikalaxALT 3dd7ec7526 through sub_800E15C 2017-12-03 22:23:46 -05:00
PikalaxALT 8b5d6fe5d9 CreateWirelessStatusIndicatorSprite 2017-12-03 22:01:06 -05:00
xenonnsmb e649e3d248 adding tools from pokeruby 2017-12-03 19:55:01 -06:00
EternalCode d74c0d053e missed moving an extern to top 2017-12-03 20:48:08 -05:00
EternalCode 077089f0e5 fldeff_teleport file completed 2017-12-03 20:46:56 -05:00
xenonnsmb eeaa59d837 Add install info from pokeruby repo. 2017-12-03 19:45:03 -06:00
xenonnsmb 42119b9e1b Create build_tools.sh 2017-12-03 19:42:55 -06:00
PikalaxALT d5bc329de7 through sub_800DF90 2017-12-03 20:32:49 -05:00
PikalaxALT 519c8d42f8 through sub_800DD94 2017-12-03 20:04:54 -05:00
DizzyEggg 4faa442d5a decompile and label mail 2017-12-03 19:19:11 +01:00
DizzyEggg 790df7159e more battlescript labels 2017-12-03 00:47:21 +01:00
DizzyEggg e10aea9a51 give some more labels to battle struct fields 2017-12-02 23:31:58 +01:00
DizzyEggg ce6e97fa0b sprite data fields to array 2017-12-02 21:44:50 +01:00
DizzyEggg 2fe25da65a move pokeball data to rom 2017-12-02 21:27:00 +01:00
DizzyEggg c2fdde3a49 pokeball file is decompiled 2017-12-02 20:38:26 +01:00
DizzyEggg c27f7a8131 start working on pokeball 2017-12-02 19:39:07 +01:00
PikalaxALT c282e4fa59 sub_800DBF8 2017-12-02 10:19:02 -05:00
DizzyEggg d75e7ace1d label battle stuff 2017-12-02 14:08:55 +01:00
PikalaxALT e2244831a7 through sub_800DB18 2017-12-01 21:51:06 -05:00
DizzyEggg 273474d57a give names to some battlescripts 2017-12-02 00:03:46 +01:00
DizzyEggg 039c9f4bd8 merge with master 2017-12-01 21:27:29 +01:00
DizzyEggg 646664ff29 battle setup file is decompiled 2017-12-01 21:25:13 +01:00
Diegoisawesome 0250aefb73 Merge pull request #118 from PikalaxALT/field_poison
Decompile field poison
2017-12-01 11:32:01 -06:00
PikalaxALT b07ad8b169 through sub_800D9DC 2017-12-01 08:45:49 -05:00
PikalaxALT a7e95b97ca sub_800D7D8 2017-11-30 23:20:43 -05:00
PikalaxALT cf539e253e through sub_800D780 2017-11-30 22:56:56 -05:00
PikalaxALT 9f4ecadbfa through sub_800D658 2017-11-30 22:05:07 -05:00
PikalaxALT f974812e9b through sub_800D5D0 2017-11-30 08:43:04 -05:00
PikalaxALT f3ad97ad13 through sub_800D550 2017-11-30 08:35:33 -05:00
PikalaxALT 6f84853b08 sub_800D434 2017-11-30 08:26:39 -05:00
PikalaxALT a781a6d5fd through sub_800D358 2017-11-30 00:19:44 -05:00
PikalaxALT c906978692 through sub_800D294; fix sub_800CF34 2017-11-29 23:58:48 -05:00
DizzyEggg e8ecb01ab2 more work on battle setup 2017-11-29 19:54:15 +01:00
PikalaxALT 295e45c788 sub_800D158 2017-11-29 08:46:16 -05:00
PikalaxALT 921011592c unsigned -> unsigned int; create header 2017-11-29 08:30:18 -05:00
PikalaxALT 10068b0345 Merge branch 'master' into field_poison 2017-11-29 08:19:54 -05:00
Diegoisawesome 8e9428c482 Add languages to enum 2017-11-29 00:53:18 -06:00
Diegoisawesome 70743f4b95 Merge branch 'master' of https://github.com/pret/pokeemerald 2017-11-29 00:52:32 -06:00
PikalaxALT 3f00d341d5 nonmatching sub_800CF34 2017-11-28 19:41:32 -05:00
DizzyEggg 10470ef536 start working on battle setup 2017-11-28 23:02:09 +01:00
Diegoisawesome 54da963091 Merge pull request #122 from PikalaxALT/unk_81BAD84
Unk 81 bad84
2017-11-28 10:11:49 -06:00
Diegoisawesome de00b4aeec Merge pull request #121 from PikalaxALT/coins
Coins
2017-11-28 10:00:55 -06:00
PikalaxALT 88636dfc2a Merge branch 'master' into clock 2017-11-27 20:09:53 -05:00
PikalaxALT b9d08ed83b Merge branch 'master' into unk_81BAD84 2017-11-27 20:08:34 -05:00
PikalaxALT 1ac177723d Merge branch 'master' into field_poison 2017-11-27 20:07:33 -05:00
PikalaxALT 41eb2ed59e Merge branch 'master' into coins 2017-11-27 20:06:38 -05:00
PikalaxALT cbd2718b5e Merge branch 'master' into link 2017-11-27 20:05:51 -05:00
Diegoisawesome 18c6b8efc2 Merge pull request #120 from PikalaxALT/unk_text_util
Decompile asm/unk_text_util.s
2017-11-27 18:39:50 -06:00
Diegoisawesome db87e2db4c Merge pull request #117 from ProjectRevoTPP/load_save
finish load_save.c
2017-11-27 15:19:08 -06:00
Diegoisawesome 877ad22711 Merge pull request #127 from DizzyEggg/make_it_compile
EMERGENCY PULL REQUEST
2017-11-27 15:08:26 -06:00
DizzyEggg 7275585d56 its flavour, not flavor 2017-11-27 21:54:15 +01:00
DizzyEggg 7144b3b7af fix flavour flavor not building, fuccing americans 2017-11-27 21:24:34 +01:00
ProjectRevoTPP e6bcfee668 Encyprtion 2017-11-27 15:20:10 -05:00
Cameron Hall 6e317c6463 Merge pull request #124 from DizzyEggg/dump_battlescripts
Dump Battle Scripts
2017-11-27 14:00:29 -06:00
Diegoisawesome 64e6480988 Merge pull request #116 from DizzyEggg/decompile_berry_blender
Decompile berry blender
2017-11-27 13:34:15 -06:00
DizzyEggg 237261e193 berry blender review changes 2017-11-27 20:03:41 +01:00
DizzyEggg 77a6c30bd4 make various macros 2017-11-26 21:04:00 +01:00
DizzyEggg b0657350a4 berry blender fix merge conflicts 2017-11-26 19:21:51 +01:00
DizzyEggg d48392e677 change battle variables names 2017-11-26 18:07:00 +01:00
DizzyEggg 59f64c622b name more battlescripts 2017-11-26 17:26:11 +01:00
DizzyEggg 1bb5b1fd07 more battle labels 2017-11-26 17:15:28 +01:00
DizzyEggg 8c30c42c36 more labelling and changes 2017-11-26 14:17:02 +01:00
DizzyEggg 9886eeb5d8 fix, rename, label battle labels and battlescripts 2017-11-26 13:26:58 +01:00
DizzyEggg cc572f7c00 clear battle code and battlescripts 2017-11-26 11:55:17 +01:00
DizzyEggg 938d346b6d fixes and labels 2017-11-26 01:19:57 +01:00
DizzyEggg 76f4a8b195 clean up and use names for printfromtable 2017-11-26 00:33:40 +01:00
DizzyEggg 847bfa1540 add more battlescript macros 2017-11-25 21:32:17 +01:00
DizzyEggg fe658cc2fd create setword macro 2017-11-25 21:11:20 +01:00
PikalaxALT 6b84feaaf2 nonmatching sub_811AB68 2017-11-25 13:19:06 -05:00
DizzyEggg 9151a6d094 dump battlescripts, rename battlescripts 2017-11-25 18:42:31 +01:00
PikalaxALT a875d665b8 Merge branch 'master' into easy_chat 2017-11-25 10:56:55 -05:00
PikalaxALT 9840be1f00 Slight cleanup 2017-11-24 22:43:05 -05:00
PikalaxALT f9c3aeb919 sub_8135380 2017-11-24 22:30:20 -05:00
PikalaxALT 1063bcaab8 through sub_81352DC 2017-11-24 22:28:13 -05:00
PikalaxALT 53a7f188f8 through sub_81351AC 2017-11-24 22:08:12 -05:00
PikalaxALT 23c7c6a41c _12HourClockFixAMPM 2017-11-24 21:52:22 -05:00
PikalaxALT 1b3fcb83f2 sub_813504C 2017-11-24 21:37:42 -05:00
PikalaxALT dfa5f24e59 sub_8134FFC 2017-11-24 21:27:05 -05:00
PikalaxALT 046e5ebf69 through sub_8134FB0 2017-11-24 21:17:50 -05:00
PikalaxALT 4a81b595c3 through c2_080111BC 2017-11-24 21:11:32 -05:00
PikalaxALT b210d5f86b through c3_80BF560 2017-11-24 21:06:46 -05:00
PikalaxALT 2746967bef through sub_8134CE8 2017-11-24 20:46:29 -05:00
PikalaxALT efd23cb91b Cb2_ViewWallClock 2017-11-24 20:06:29 -05:00
PikalaxALT 24009ea941 through Cb2_StartWallClock and associated data 2017-11-24 19:49:03 -05:00
PikalaxALT 2280614a14 Start decompiling data 2017-11-24 19:06:01 -05:00
PikalaxALT f54f2c424f LoadWallClockGraphics 2017-11-24 18:00:26 -05:00
PikalaxALT ab569cc466 clock.s 2017-11-24 14:57:00 -05:00
PikalaxALT da04898840 Clean up includes 2017-11-23 23:10:51 -05:00
PikalaxALT 772da493f9 data/unk_81BAD84 2017-11-23 21:15:57 -05:00
PikalaxALT c5dcbb78ce unk_81BAD84 2017-11-23 21:04:15 -05:00
PikalaxALT 89d938ea9e Finish decompiling coins 2017-11-23 13:53:51 -05:00
PikalaxALT e8b1059345 CHAR_SPECIAL_F7 constant
Preface for string decompilation
2017-11-23 13:29:11 -05:00
PikalaxALT ef18d3b8ec Decompile asm/unk_text_util.s 2017-11-23 11:23:05 -05:00
itskobold deec6f21db Pointer fixes etc
Fixed up the last of my old dumps
2017-11-23 10:48:56 +00:00
ProjectRevoTPP 9644f44982 finish load_save.c 2017-11-22 21:06:30 -05:00
PikalaxALT eff1ad3300 Decompile field poison 2017-11-22 20:13:15 -05:00
itskobold 40638a48e7 battle_frontier_1.s fix
sorted out most of the other raw pointers
2017-11-22 15:15:58 +00:00
itskobold a9f7a41edd battle_frontier_1 buncha pointers fixed 2017-11-22 13:05:28 +00:00
PikalaxALT 73b0f9eb53 sub_800CEB0 2017-11-22 00:16:00 -05:00
ProjectRevoTPP adba0bacfc Merge branch 'master' of https://github.com/pret/pokeemerald into load_save 2017-11-21 21:25:48 -05:00
ProjectRevoTPP 161a37809b nonmatching MoveSaveBlocks_ResetHeap (i tried...) 2017-11-21 21:25:01 -05:00
PikalaxALT 7a38a43f81 sub_800C7B4 2017-11-21 09:14:43 -05:00
itskobold caf952e02e Merge branch 'master' of https://github.com/pret/pokeemerald 2017-11-20 18:27:23 +00:00
Diegoisawesome 1e4f12e6fa Merge pull request #115 from DizzyEggg/decompile_wild_encounter
Decompile wild encounter
2017-11-20 10:10:27 -06:00
DizzyEggg 4e25ef10f2 wild encounter review changes 2017-11-20 16:40:02 +01:00
PikalaxALT 035c0b0ecd sub_800C744 2017-11-19 18:34:28 -05:00
DizzyEggg ad3a97e178 berry blender merge conflicts 2017-11-19 22:58:13 +01:00
PikalaxALT cc82358864 sub_800C54C 2017-11-19 16:54:49 -05:00
DizzyEggg a3b5af17ea berry blender is done 2017-11-19 22:48:46 +01:00
PikalaxALT 03ce7b042a sub_800C36C 2017-11-19 10:20:44 -05:00
itskobold 625be4bf04 Merge branch 'master' of https://github.com/pret/pokeemerald 2017-11-19 10:50:39 +00:00
PikalaxALT d6d315d817 Merge branch 'master' into link 2017-11-19 00:07:56 -05:00
PikalaxALT a5498843fa Annotate possible file boundaries in link_rfu 2017-11-19 00:06:13 -05:00
PikalaxALT 22600e81cc Start parsing out link_rfu common syms 2017-11-19 00:02:15 -05:00
PikalaxALT bf06edfcd3 sub_800C27C 2017-11-18 23:30:23 -05:00
PikalaxALT 155bb03f46 sub_800C210 2017-11-18 21:09:42 -05:00
PikalaxALT bd30e5aa24 sub_800C12C 2017-11-18 20:55:57 -05:00
PikalaxALT 728532be77 Return stuff to its rightful place, and set up struct definitions for later 2017-11-18 20:33:53 -05:00
DizzyEggg 3de416662b wild encounter, fix merge conflicts 2017-11-18 21:45:52 +01:00
DizzyEggg 185402fe21 more work on berry blender 2017-11-18 21:38:57 +01:00
PikalaxALT f25cdb4837 resolve questionable file boundary decision 2017-11-18 15:15:54 -05:00
PikalaxALT 648f3245c1 through sub_800C054 2017-11-18 15:00:38 -05:00
Diegoisawesome 5dc8beb034 Merge pull request #112 from DizzyEggg/decompile_recorded_battle
Decompile recorded battle
2017-11-18 13:29:27 -06:00
DizzyEggg 8fd3081306 start working on berry blender 2017-11-18 16:11:34 +01:00
DizzyEggg f8b40754c7 wild encounter done 2017-11-18 12:27:10 +01:00
DizzyEggg ca43536242 make recorded battle compile 2017-11-17 22:33:36 +01:00
DizzyEggg 6b075ae0ff wild encounter file is decompiled 2017-11-17 22:28:55 +01:00
Diegoisawesome 52624c4fb7 Merge branch 'master' of https://github.com/pret/pokeemerald 2017-11-17 15:07:17 -06:00
Diegoisawesome 3883c39991 Merge pull request #114 from DizzyEggg/decompile_daycare
Decompile daycare
2017-11-17 14:25:45 -06:00
DizzyEggg d0245cf8d2 recorded battle merge conflicts fix 2017-11-17 19:34:55 +01:00
DizzyEggg 1b7246395d merge conflicts, review changes, daycare 2017-11-17 19:31:03 +01:00
DizzyEggg a2a17bba92 more work on wild encounter 2017-11-17 17:50:07 +01:00
PikalaxALT 06c1908d00 through sub_800BFCC 2017-11-17 08:44:54 -05:00
PikalaxALT a054b244ab sub_800BF4C 2017-11-17 08:33:25 -05:00
itskobold 370e47beee Merge branch 'master' of https://github.com/pret/pokeemerald 2017-11-17 09:25:40 +00:00
PikalaxALT 8377b00662 rfu_REQ_sendData_wrapper 2017-11-17 00:05:28 -05:00
PikalaxALT 3c20c54b83 sub_800BEC0 2017-11-16 23:37:09 -05:00
PikalaxALT cc37d7e15b reset buffers 2017-11-16 22:13:42 -05:00
PikalaxALT 2fd6aad25a through SendRecvDone 2017-11-16 21:38:06 -05:00
PikalaxALT 236cbf96c8 Merge origin/master into pikalaxalt/link 2017-11-16 19:00:07 -05:00
DizzyEggg b37d8c0821 start decompiling wild encounter 2017-11-16 20:38:10 +01:00
Diegoisawesome a98c6bf210 Fix build by renaming specials 2017-11-16 09:30:04 -06:00
Diegoisawesome f8402b3d74 Rename contest string symbols 2017-11-15 23:57:38 -06:00
Diegoisawesome c0d180a870 Merge pull request #100 from PikalaxALT/heal_location
Heal location and Field Region Map
2017-11-15 23:24:45 -06:00
PikalaxALT b46a15b03e Enclose flag macro definitions in parentheses 2017-11-16 00:13:06 -05:00
PikalaxALT a7f72e7da1 Remove spaces between incrementor and incrementee 2017-11-16 00:01:47 -05:00
Diegoisawesome 6a73c89e54 Merge pull request #113 from DizzyEggg/decompile_pss
Start Pokemon Storage System
2017-11-15 20:55:38 -06:00
DizzyEggg ba00a1c688 daycare file fully done 2017-11-15 22:12:18 +01:00
DizzyEggg 616edd6c3f daycare file is decompiled 2017-11-15 20:08:31 +01:00
DizzyEggg 1e79d53d2f merge daycare with master 2017-11-15 17:18:05 +01:00
PikalaxALT 89b695278d Merge branch 'master' into heal_location 2017-11-15 09:01:56 -05:00
PikalaxALT 50501396b2 DoHandshake 2017-11-15 08:44:11 -05:00
itskobold 46ee15b962 Getting myself organised
durr
2017-11-15 12:55:16 +00:00
itskobold 7c79b030e9 Merge branch 'master' of https://github.com/pret/pokeemerald 2017-11-15 12:42:18 +00:00
itskobold 2acab81713 Merge branch 'master' of https://github.com/pret/pokeemerald
also started fixing pointers in my dumps
2017-11-15 12:41:25 +00:00
Diegoisawesome 055a419830 Merge pull request #101 from Diegoisawesome/dump_maps
Dump maps
2017-11-15 01:01:06 -06:00
Diegoisawesome ce0e5cbfe4 Merge branch 'master' of https://github.com/pret/pokeemerald into dump_maps 2017-11-15 00:47:34 -06:00
Diegoisawesome 3fb2a488f9 Merge pull request #111 from DizzyEggg/decompile_battle5
Decompile battle5
2017-11-14 16:52:40 -06:00
Diegoisawesome 118bf4f4b1 Merge pull request #108 from DizzyEggg/decompile_starter_choose
Decompile starter choose
2017-11-14 16:41:53 -06:00
DizzyEggg 6e2b1d4315 starter choose sym bss space to align 2017-11-14 23:27:22 +01:00
DizzyEggg 0310be3007 more of daycare done 2017-11-14 23:25:07 +01:00
DizzyEggg 95949c772e more of daycare done 2017-11-14 21:43:23 +01:00
DizzyEggg a972de7bca start working on daycare 2017-11-14 20:23:25 +01:00
PikalaxALT 3bb450645b LinkVSync 2017-11-14 08:44:32 -05:00
PikalaxALT 6f8da5dcb6 through DequeueRecvCmd 2017-11-14 08:31:37 -05:00
Diegoisawesome 72b57b342e Merge pull request #106 from DizzyEggg/decompile_hall_of_fame
Decompile hall of fame
2017-11-13 15:33:48 -06:00
DizzyEggg 048dc4aa28 fix graphics rules file 2017-11-13 22:10:25 +01:00
DizzyEggg 8a56532d35 fix graphics rules file 2017-11-13 22:08:50 +01:00
DizzyEggg 5c44c64050 add hof graphics 2017-11-13 21:55:38 +01:00
DizzyEggg 516a5b2219 fix merge conflicts, review changes 2017-11-13 20:00:20 +01:00
Diegoisawesome d1fe93bf4a Merge pull request #105 from DizzyEggg/dump_things
Get rid of a couple of baseroms
2017-11-13 12:46:40 -06:00
DizzyEggg ea575ee217 fix typo in a string 2017-11-13 19:42:03 +01:00
DizzyEggg 4d615350c8 added berry blender start gfx 2017-11-13 19:36:23 +01:00
DizzyEggg 3e1f3d0e1e recorded battle file is decompiled 2017-11-13 19:01:23 +01:00
DizzyEggg bb9c928330 starter choose review changes 2017-11-13 18:30:17 +01:00
DizzyEggg ac68187895 review changes adding a pal file 2017-11-13 18:18:12 +01:00
DizzyEggg 209b6eb467 more of recorded battle done 2017-11-13 18:07:23 +01:00
PikalaxALT c81d50cb2f LinkMain1 2017-11-13 01:46:22 -05:00
PikalaxALT 2be3083b3e through ResetSerial 2017-11-13 01:24:28 -05:00
PikalaxALT 910c39d4ef DisableSerial 2017-11-13 01:20:38 -05:00
PikalaxALT fcb8c8cf32 through sub_800B524 2017-11-13 01:12:34 -05:00
PikalaxALT 515459d151 through sub_800B4C0 2017-11-13 01:04:31 -05:00
PikalaxALT 7e4cb5f332 HandleLinkConnection 2017-11-13 01:01:27 -05:00
PikalaxALT abec2b9340 through sub_800B3A4 2017-11-13 00:31:27 -05:00
PikalaxALT 8904f62cc8 through sub_800B33C 2017-11-13 00:15:31 -05:00
PikalaxALT f21c5ebea5 through sub_800B1A0 2017-11-12 23:58:05 -05:00
PikalaxALT 85cf626316 sub_800B080 2017-11-12 23:33:03 -05:00
PikalaxALT 344a71d347 through CB2_LinkError 2017-11-12 23:16:51 -05:00
PikalaxALT e6b38426b7 sub_800ADF8 2017-11-12 22:44:20 -05:00
PikalaxALT 16dba15c1c through sub_800AD88 2017-11-12 22:30:00 -05:00
PikalaxALT 6fe7b33ae1 through sub_800AD10 2017-11-12 22:24:15 -05:00
PikalaxALT ccf6599b40 sub_800AC34 2017-11-12 22:09:11 -05:00
PikalaxALT 79609d52c8 MAPSEC_DYNAMIC 2017-11-12 21:39:44 -05:00
PikalaxALT b346bac98b through GetLinkPlayerCount_2 2017-11-12 21:31:08 -05:00
PikalaxALT 5ec0fc9aa0 sub_800AB18 2017-11-12 21:26:11 -05:00
PikalaxALT 1ca032c6ff Address review items, 1 2017-11-12 21:13:18 -05:00
PikalaxALT 2e95c5575f sub_800AA60 2017-11-12 20:57:21 -05:00
DizzyEggg 8ceea171b3 leave out pss for now 2017-11-13 00:15:07 +01:00
DizzyEggg 3b43668286 more recorded battle done 2017-11-13 00:10:34 +01:00
DizzyEggg c4674735d2 start working on recorded battle 2017-11-12 22:59:36 +01:00
DizzyEggg c967ba1d5f dump couple of baseroms review changes 2017-11-12 18:41:04 +01:00
DizzyEggg 716590c165 one more battle label change 2017-11-12 17:11:06 +01:00
DizzyEggg 9febe24d9f label some battle struct fields 2017-11-12 17:06:31 +01:00
DizzyEggg cd879d6f8a Merge branch 'battle4_fixes' into decompile_battle5 2017-11-12 16:46:44 +01:00
DizzyEggg 47a8c6c432 battle5 decompiled and renamed 2017-11-12 16:39:21 +01:00
Diegoisawesome 6e6e11205d Fix capitalized symbol names 2017-11-11 18:17:46 -06:00
DizzyEggg b7fa10d01e Merge branch 'master' into battle4_fixes 2017-11-12 00:17:38 +01:00
DizzyEggg c3f6f528e8 come closer maybe 2017-11-12 00:16:46 +01:00
Diegoisawesome f497c1508b Split files from event_scripts.s
Also move maps/scripts to scripts/maps
2017-11-11 16:10:17 -06:00
DizzyEggg b1abe40230 atk9e_metronome matching 2017-11-11 22:58:23 +01:00
Cameron Hall 558bf2f7d0 Merge pull request #104 from DizzyEggg/decompile_battle_7
Decompile battle 7
2017-11-11 15:48:17 -06:00
PikalaxALT 567b2af081 Drop tracking on gbapal files 2017-11-11 14:38:53 -05:00
DizzyEggg 7472d639cf match one function in battlescript cmds 2017-11-11 20:01:04 +01:00
itskobold e373cf4bb9 field_effect dataroms
quite a few pointers and stuff done
2017-11-11 15:26:39 +00:00
itskobold 1e495b2837 contest_painting.s, cute_sketch.s
simple stuff
2017-11-11 15:05:05 +00:00
PikalaxALT d0578ca9e0 through sub_800AA54 2017-11-11 09:56:47 -05:00
DizzyEggg fa3691ca40 start pss 2017-11-11 14:45:08 +01:00
PikalaxALT 8eb7bdc617 Reinfer file boundaries 2017-11-11 00:39:02 -05:00
PikalaxALT 3321548956 Link common syms 2017-11-11 00:25:05 -05:00
PikalaxALT e874cbd9d9 Rename functions in link.c 2017-11-11 00:05:44 -05:00
PikalaxALT 2c37f83546 sub_800A7DC 2017-11-10 23:12:21 -05:00
PikalaxALT 92afe9e33f sub_800A73C 2017-11-10 22:54:40 -05:00
PikalaxALT ee738c74b9 through sub_800A6E8 2017-11-10 22:44:35 -05:00
PikalaxALT efd0651efe through sub_800A678 2017-11-10 22:34:23 -05:00
PikalaxALT 27c0dc0fd5 through sub_800A588 2017-11-10 22:08:17 -05:00
PikalaxALT b92d85fd30 Decompile link data 2017-11-10 20:55:03 -05:00
PikalaxALT 50c1622507 Split link.s and link_rfu.s 2017-11-10 20:47:24 -05:00
PikalaxALT 3503444d3b Some EWRAM offsets abstracted away 2017-11-10 20:27:02 -05:00
PikalaxALT 263fbdb2c1 through sub_800A388 2017-11-10 19:37:38 -05:00
PikalaxALT e8ea1867a0 sub_800A2F4 2017-11-10 19:25:46 -05:00
PikalaxALT 1ac4d1849c through sub_800A2BC 2017-11-10 19:14:35 -05:00
Diegoisawesome 2e40384fa2 Extract baseroms from event_scripts 2017-11-10 18:12:18 -06:00
PikalaxALT 27f9dd0a97 sub_800A0C8 2017-11-10 19:06:06 -05:00
Diegoisawesome a6c30ba951 More file organization 2017-11-10 13:20:27 -06:00
Diegoisawesome d5af24fb2d Extract tilesets 2017-11-10 12:46:01 -06:00
Diegoisawesome 6ecad1a59d Organize map data 2017-11-10 12:39:00 -06:00
Diegoisawesome a81deec3b3 Extract unused maps 2017-11-10 11:42:04 -06:00
PikalaxALT d76901ff64 through sub_800A0AC 2017-11-10 08:37:50 -05:00
Diegoisawesome de8a058714 Extract more baseroms from maps 2017-11-10 02:52:05 -06:00
Diegoisawesome 29079c4b99 Dump numerous baseroms, begin moving data to proper files 2017-11-10 01:49:12 -06:00
PikalaxALT c9da45b254 through sub_8009FAC 2017-11-09 21:56:47 -05:00
PikalaxALT 1523d5c01e sub_8009D90 2017-11-09 21:48:27 -05:00
Diegoisawesome 09e431077a Merge remote-tracking branch 'pret/master' into dump_maps 2017-11-09 20:30:56 -06:00
PikalaxALT d94f74d261 sub_8009AA0 2017-11-09 21:14:43 -05:00
Diegoisawesome 2d3044aaa6 Begin map dump cleanup 2017-11-09 19:38:57 -06:00
Diegoisawesome 455a979819 Add dummy Sootopolis map connections 2017-11-09 19:21:54 -06:00
Diegoisawesome f61810a8f9 Dump maps 2017-11-09 19:21:31 -06:00
Diegoisawesome 75b5792aa8 Update flags.inc 2017-11-09 12:49:35 -06:00
PikalaxALT 6192cb2eea sub_8009A58 2017-11-08 20:48:26 -05:00
PikalaxALT d51f87226f sub_80099E0 2017-11-08 20:11:29 -05:00
PikalaxALT 9a9f601244 sub_8009900 2017-11-08 19:58:59 -05:00
PikalaxALT e68dbd6276 through sub_8009818 2017-11-08 19:29:37 -05:00
Diegoisawesome e6ef86e4b0 Update variable and flag names 2017-11-08 15:20:10 -06:00
DizzyEggg 045e7d6382 split starter choose data 2017-11-08 20:53:39 +01:00
DizzyEggg 61408456e8 starter choose file is decompiled 2017-11-08 18:05:47 +01:00
itskobold 0e69dcd30c more work on battle_frontier_1.s
added a few window_templates and pointer tables
2017-11-08 09:51:20 +00:00
itskobold bb28d9ef40 easy_chat.s 2017-11-08 08:32:41 +00:00
PikalaxALT d5547a3744 main.c common syms 2017-11-07 23:53:30 -05:00
PikalaxALT 9029fb27c1 through sub_8009734 2017-11-07 22:52:10 -05:00
PikalaxALT f90106ae6c sub_8009638 2017-11-07 22:26:00 -05:00
PikalaxALT 0709dc7e4c sub_8009570 2017-11-07 22:14:40 -05:00
PikalaxALT 59eb766f47 sub_80094EC 2017-11-07 21:45:44 -05:00
PikalaxALT fce326fbd4 through sub_8009414 2017-11-07 20:25:24 -05:00
itskobold fd80cc40c0 daycare.s
a few pointers
2017-11-07 23:23:09 +00:00
itskobold b2cb7ba58c contest.s, region_map.s, trainer_rematch.s
all partially done
2017-11-07 23:11:17 +00:00
itskobold 860d5e026d Labelling fix
Oversight
2017-11-07 22:11:48 +00:00
itskobold aedec0865d Labels 2017-11-07 22:04:52 +00:00
itskobold 45b28d08ba mystery_event_msg.s
also fixed a couple of other files
2017-11-07 21:24:39 +00:00
itskobold ffeeb20299 mauville_old_man.s
progress
2017-11-07 20:47:43 +00:00
itskobold da2335f10c naming_screen.s update
made it more readable
2017-11-07 20:09:38 +00:00
itskobold 0f541e703d shop.s, menu_indicators.s, naming_screen.s
all only partially done
2017-11-07 19:46:00 +00:00
itskobold 4c514a50bf field_screen.s
partially done
2017-11-07 18:59:33 +00:00
itskobold f844eab31b baseroms
fieldmap.s
fldeff_cut.s (partially)
2017-11-07 18:31:19 +00:00
itskobold dedae4a1d0 battle_frontier_1.s, unk_transition.s dumproms
still a fair bit to dump for battle_frontier_1.s
2017-11-07 14:51:51 +00:00
PikalaxALT bc063b45d0 sub_80E7FF8 2017-11-06 23:33:39 -05:00
PikalaxALT 8d6007256f sub_80E7F68 2017-11-06 23:20:11 -05:00
PikalaxALT 0a17fc98f6 nonmatching sub_80E7B60 2017-11-06 23:03:11 -05:00
DizzyEggg 19d9cff2ff static variables to hall of fame c 2017-11-06 18:57:22 +01:00
DizzyEggg a729e9838e move data to hall of fame c file 2017-11-06 18:41:32 +01:00
DizzyEggg a2263207bf hall of fame is decompiled 2017-11-06 17:27:39 +01:00
DizzyEggg 0f723f7677 halfway through hall of fame 2017-11-05 14:55:13 +01:00
DizzyEggg bd56bb073f start working on hall of fame 2017-11-05 12:05:07 +01:00
DizzyEggg 99e697223f get rid of two baseroms 2017-11-05 00:25:09 +01:00
DizzyEggg 135c4ea1f6 dump some of the item menu 2017-11-05 00:16:09 +01:00
PikalaxALT 8d05aeccec sub_80E7A14 2017-11-04 19:03:41 -04:00
PikalaxALT f2e723660b sub_80E7948 2017-11-04 18:48:13 -04:00
DizzyEggg 4d4d642285 dump berry blender and script menu 2017-11-04 22:40:36 +01:00
PikalaxALT 158e9ff762 sub_80E78C4 2017-11-04 12:20:40 -04:00
PikalaxALT fb9e5cb3a4 sub_80E7830 2017-11-04 12:03:50 -04:00
PikalaxALT cd4aa5efe5 through sub_80E7820 2017-11-04 11:49:28 -04:00
PikalaxALT d921e555d2 sub_80E7630 2017-11-04 11:39:23 -04:00
DizzyEggg 32c7d4f252 make it compile 2017-11-04 16:25:19 +01:00
PikalaxALT 6c746425ed sub_80E756C 2017-11-04 11:16:07 -04:00
DizzyEggg 352102a07a Merge branch 'master' into decompile_battle_7 2017-11-04 16:12:45 +01:00
DizzyEggg 6c8155074b battle 7 is decompiled 2017-11-04 16:11:13 +01:00
PikalaxALT 411cb29f4a sub_80E7324 2017-11-04 10:55:39 -04:00
PikalaxALT c054446790 through sub_80E715C 2017-11-04 10:15:58 -04:00
PikalaxALT f5c1e190d1 sub_80E6F60 2017-11-04 09:39:41 -04:00
PikalaxALT 1c3e7f169f sub_80E6E24 2017-11-03 22:26:12 -04:00
PikalaxALT 20ebcf7169 sub_80E6D54 2017-11-03 22:07:36 -04:00
PikalaxALT f8486b31c5 sub_80E6CA0 2017-11-03 21:56:18 -04:00
PikalaxALT ca2bc94c2b through sub_80E6BF8 2017-11-03 20:59:29 -04:00
PikalaxALT 293dfc4823 sub_811AB44 2017-11-02 20:54:13 -04:00
PikalaxALT 42c1164d72 sub_811AAAC 2017-11-02 20:51:13 -04:00
PikalaxALT 881d222621 sub_811A95C 2017-11-02 20:37:03 -04:00
PikalaxALT 1049cd670d through sub_811A938 2017-11-02 19:48:43 -04:00
PikalaxALT 85eb28ba42 through sub_811A8A4 2017-11-02 19:44:03 -04:00
PikalaxALT 46068c0a6f sub_811A7E4 2017-11-02 19:35:00 -04:00
PikalaxALT 01d6114da2 easy_chat_input_maybe 2017-11-02 19:26:14 -04:00
PikalaxALT ed7ded0748 Merge branch 'master' into easy_chat 2017-11-02 18:34:41 -04:00
DizzyEggg 5243285ab2 start working on battle 7 2017-11-02 18:19:49 +01:00
PikalaxALT ab3b8cd51a Merge branch 'master' into heal_location 2017-11-02 07:59:29 -04:00
Diegoisawesome af197ccd3b Merge pull request #98 from PikalaxALT/bard_music
Decompile bard music
2017-11-01 23:18:10 -05:00
Diegoisawesome b4ac67e0eb Merge pull request #97 from PikalaxALT/secret_base
Secret base
2017-11-01 23:16:33 -05:00
PikalaxALT 75262c1920 Merge branch 'master' into bard_music 2017-11-02 00:09:14 -04:00
PikalaxALT 1406084fdd More camelCase, 2 2017-11-01 23:59:48 -04:00
PikalaxALT 9884147cd9 More camelCase 2017-11-01 23:54:11 -04:00
PikalaxALT 9945d57f07 Address review items 2017-11-01 23:50:13 -04:00
PikalaxALT 6543d7f2d6 Merge branch 'master' into heal_location 2017-11-01 23:43:08 -04:00
PikalaxALT 8a4f0287da Merge branch 'master' into secret_base 2017-11-01 23:42:04 -04:00
Diegoisawesome c71f6baa8c Merge pull request #99 from PikalaxALT/math_util
Meme Util
2017-11-01 22:41:28 -05:00
PikalaxALT 17fd3bccf7 Merge branch 'master' into secret_base 2017-11-01 23:39:54 -04:00
PikalaxALT 9cfdc8b7e8 Merge branch 'master' into heal_location 2017-11-01 23:37:41 -04:00
PikalaxALT 1b499670bd IWRAM and EWRAM symbols in region_map 2017-11-01 23:29:02 -04:00
PikalaxALT 22f6517423 Decompile remaining region map data 2017-11-01 23:21:07 -04:00
PikalaxALT c99a08d448 More data decomp in region_map 2017-11-01 23:00:22 -04:00
PikalaxALT 30d68db0dc sRegionMapCursorSpriteTemplate 2017-11-01 22:26:54 -04:00
PikalaxALT 2e0b1700f4 sRegionMap_MapSecAquaHideoutOld 2017-11-01 22:12:18 -04:00
PikalaxALT 4ff03f85a9 Decompile data related to Emerald-specific areas 2017-11-01 22:07:30 -04:00
PikalaxALT 50efd7b68d Decompile region map entry structs 2017-11-01 21:51:59 -04:00
PikalaxALT 7eacb24cf7 Start ripping graphics/data for region_map 2017-11-01 21:10:47 -04:00
PikalaxALT e3005e88c7 Decompile remaining functions in region_map 2017-11-01 00:34:57 -04:00
PikalaxALT ee60ae7da9 sub_8124BE4 2017-11-01 00:01:17 -04:00
PikalaxALT 9f5f134476 sub_8124AD4 2017-10-31 23:39:09 -04:00
PikalaxALT 3d2571b0c5 sub_8124A70 2017-10-31 23:18:56 -04:00
PikalaxALT 8c73c1450f sub_8124904 2017-10-31 23:11:48 -04:00
PikalaxALT 01c4b3bd35 through sub_81248F4 2017-10-31 22:37:28 -04:00
PikalaxALT f61822535b MCB2_FlyMap 2017-10-31 22:34:12 -04:00
PikalaxALT f6d1e5a965 through sub_8124668 2017-10-31 22:05:23 -04:00
PikalaxALT c3c08bf037 through sub_8124610 2017-10-31 21:55:57 -04:00
PikalaxALT ef535b98b5 through GetMapName 2017-10-31 21:51:11 -04:00
PikalaxALT 2f1325416b through RegionMapPlayerIconSpriteCallback 2017-10-31 21:32:25 -04:00
PikalaxALT 968ff8c3c8 through UnhideRegionMapPlayerIcon 2017-10-31 20:58:47 -04:00
PikalaxALT 7d7c8e8ba6 sub_8124288 2017-10-31 19:40:35 -04:00
Diegoisawesome 63210c0789 Merge pull request #96 from DizzyEggg/decompile_evo_scene_graphics
Decompile Evolution graphics/scene
2017-10-31 13:57:29 -05:00
DizzyEggg 6cb1c4fd6e fix merge conflicts, evo scene 2017-10-31 19:36:25 +01:00
DizzyEggg 665734d689 evolution files review changes 2017-10-31 19:28:43 +01:00
Diegoisawesome 4cb8528d94 Merge pull request #94 from DizzyEggg/decompile_battle_controllers
Decompile ALL battle controllers
2017-10-31 13:04:52 -05:00
DizzyEggg f724213a04 review change 3 battle controllers 2017-10-31 18:52:18 +01:00
DizzyEggg 192817a7dc clarify controllers terminator 2017-10-31 18:49:29 +01:00
DizzyEggg 712ae56167 review change battle controllers 2017-10-31 18:04:08 +01:00
PikalaxALT 9f03434a13 through sub_8124278 2017-10-31 08:44:03 -04:00
PikalaxALT 6cd0086bf9 through CreateRegionMapCursor 2017-10-31 08:38:17 -04:00
PikalaxALT 853ced6687 sub_8123FB0 2017-10-30 22:35:28 -04:00
PikalaxALT 4db83e0097 through sub_8123F9C 2017-10-30 22:20:09 -04:00
PikalaxALT ccbeaccc9b sub_8123F30 2017-10-30 21:47:37 -04:00
PikalaxALT 7b6792230a sub_8123EB4 2017-10-30 21:34:19 -04:00
PikalaxALT f0c71c7e3f get_flagnr_blue_points 2017-10-30 21:20:31 -04:00
PikalaxALT cd9022f929 sub_8123C00 2017-10-30 21:14:52 -04:00
PikalaxALT 525b17a110 sub_81238AC 2017-10-30 21:08:28 -04:00
Diegoisawesome 60bb83144b Update variable constants 2017-10-30 14:37:54 -05:00
PikalaxALT c324722987 through GetRegionMapSectionIdAt 2017-10-30 08:58:43 -04:00
PikalaxALT f6a55433a2 through sub_81237B4 2017-10-30 08:46:36 -04:00
PikalaxALT 474df27136 through CalcZoomScrollParams 2017-10-30 08:39:39 -04:00
PikalaxALT 35a6d2046a sub_8123418 2017-10-29 23:08:06 -04:00
PikalaxALT 1597284694 sub_8123334 2017-10-29 22:05:15 -04:00
PikalaxALT 16c5a58f35 sub_8123254 2017-10-29 21:38:45 -04:00
PikalaxALT 8d35bf1c9e _swiopen 2017-10-29 21:31:38 -04:00
PikalaxALT f07307dc73 sub_81230C4 2017-10-29 21:14:53 -04:00
PikalaxALT a9afb8b130 through sub_81230AC 2017-10-29 20:58:53 -04:00
PikalaxALT 6f68e5af95 sub_8122DB0 2017-10-29 20:49:49 -04:00
PikalaxALT 76bb397e83 region_map.c through sub_8122CF8 2017-10-29 19:33:53 -04:00
DizzyEggg 51df918c04 evo scene file is done 2017-10-29 16:15:23 +01:00
PikalaxALT c0a229f108 Decompile field region map bg and window templates 2017-10-29 11:12:28 -04:00
PikalaxALT 6e10e8caad sub_8170428 2017-10-29 11:05:42 -04:00
PikalaxALT 929638f572 sub_8170290 2017-10-29 10:58:33 -04:00
PikalaxALT 0a060ae254 Start decompiling field_region_map 2017-10-29 10:38:25 -04:00
PikalaxALT 4049ed7e2c Rename REGION_MAP constants to adopt MAPSEC names from Ruby 2017-10-28 22:03:33 -04:00
PikalaxALT 27cee8bcf1 Remove unnecessary include 2017-10-28 21:44:52 -04:00
PikalaxALT bbda7125f6 Rename functions 2017-10-28 21:43:06 -04:00
PikalaxALT 00f4bba6d8 Decompile heal location functions 2017-10-28 20:55:01 -04:00
PikalaxALT 6fcde15bb6 Decompile heal location data 2017-10-28 20:43:33 -04:00
PikalaxALT 975e28c01e Merge branch 'master' into easy_chat 2017-10-28 20:03:24 -04:00
PikalaxALT 6d3778948d finish math_util 2017-10-28 16:15:36 -04:00
PikalaxALT 8613e8a54d through sub_81515FC 2017-10-28 16:09:31 -04:00
PikalaxALT f57776c74c through sub_8151574 2017-10-28 15:58:07 -04:00
PikalaxALT 6e5dcf19f7 Slight reorganization of data includes 2017-10-28 15:43:50 -04:00
PikalaxALT 175e2e6b37 Slight touchup 2017-10-28 10:44:19 -04:00
PikalaxALT 607b7ac834 Decompile remaining bard music data 2017-10-28 10:42:12 -04:00
PikalaxALT 4ae9b1d9d0 Decompile Bard Sound structs 2017-10-28 10:27:28 -04:00
PikalaxALT 5da296e94e GetWordPhonemes; assign names and improve guess of types 2017-10-28 09:46:35 -04:00
PikalaxALT 002b394855 through sub_817C7F4 2017-10-28 09:05:40 -04:00
PikalaxALT bb10a4dd57 Merge branch 'master' into secret_base 2017-10-27 23:25:15 -04:00
PikalaxALT 16e30598db Remove unused includes 2017-10-27 23:22:35 -04:00
PikalaxALT a5951592be Decompile data 2017-10-27 23:21:09 -04:00
PikalaxALT 4c274f6030 Last remaining function in secret base 2017-10-27 22:46:57 -04:00
PikalaxALT f601525474 sub_80EBB28 2017-10-27 22:43:11 -04:00
PikalaxALT 9a5320135b sub_80EB9E0 2017-10-27 22:38:33 -04:00
PikalaxALT 939d728405 sub_80EB56C 2017-10-27 22:34:38 -04:00
PikalaxALT 69d206c255 sub_80EB498 2017-10-27 22:24:54 -04:00
PikalaxALT b8b2a7ca40 through sub_80EB438 2017-10-27 22:20:13 -04:00
PikalaxALT 9c3a79f3de through sub_80EB218 2017-10-27 22:12:11 -04:00
PikalaxALT d17ff9430a sub_80EAF80 2017-10-27 21:55:07 -04:00
PikalaxALT 8634537b8b through sub_80EAEF4 2017-10-27 21:17:17 -04:00
PikalaxALT 6341dbf61f sub_80EAD94 2017-10-27 21:03:27 -04:00
PikalaxALT 3d01d999c6 sub_80EAD14 2017-10-27 21:00:59 -04:00
PikalaxALT 5aaa4c099b DeleteFirstOldBaseFromPlayerInRecordMixingFriendsRecords 2017-10-27 20:57:46 -04:00
PikalaxALT d60ae05cbb sub_80EABDC 2017-10-27 20:50:32 -04:00
PikalaxALT b30232a2e8 sub_80EABA4 2017-10-27 20:47:07 -04:00
PikalaxALT 5ac53054a8 sub_80EAAF4 2017-10-27 20:39:02 -04:00
PikalaxALT aa134d42fb sub_80EAA64 2017-10-27 20:32:05 -04:00
Diegoisawesome d9dd2aa582 Add songs.inc constants 2017-10-27 13:51:31 -05:00
DizzyEggg e8903fb4dd start workin on evo scene 2017-10-27 18:52:21 +02:00
DizzyEggg f4e134569f evo graphics file is done 2017-10-27 15:49:14 +02:00
DizzyEggg 0f992c8f5c begin working on evolution graphics 2017-10-27 14:59:55 +02:00
PikalaxALT 75b52fe80a through sub_80EAA18 2017-10-27 08:43:10 -04:00
PikalaxALT f61795ab47 through sub_80EA990 2017-10-27 08:38:54 -04:00
PikalaxALT bef07a4bba sub_80EA828 2017-10-27 08:29:58 -04:00
DizzyEggg 2d14e6bb67 name one var 2017-10-27 13:29:18 +02:00
Diegoisawesome 49c88e6343 Merge branch 'master' of github.com:pret/pokeemerald into dump_maps 2017-10-27 02:02:36 -05:00
Diegoisawesome 431e737453 Final predump fixes 2017-10-27 00:26:34 -05:00
PikalaxALT fbfcce3f35 sub_80EA3E4 2017-10-26 23:35:41 -04:00
PikalaxALT afcb30ccb0 sub_80EA354 2017-10-26 22:54:11 -04:00
PikalaxALT fcaccb8501 through sub_80EA30C 2017-10-26 22:49:51 -04:00
PikalaxALT 1ed15b3952 through sub_80EA20C 2017-10-26 22:37:16 -04:00
PikalaxALT 81100d155a sub_80EA08C 2017-10-26 22:21:20 -04:00
PikalaxALT 68a253990d through sub_80E9FB0 2017-10-26 22:10:38 -04:00
PikalaxALT ae3119a9c8 sub_80E9E90 2017-10-26 21:59:54 -04:00
PikalaxALT 48f38a888b through sub_80E9E44 2017-10-26 21:53:00 -04:00
PikalaxALT 135da0136f through game_continue 2017-10-26 21:39:34 -04:00
Diegoisawesome 7827feaa2f Final fixes before dump 2017-10-26 18:03:19 -05:00
DizzyEggg a41b90ae62 clear two emitters 2017-10-26 23:18:24 +02:00
DizzyEggg 5e285c3bca Merge branch 'master' into decompile_battle_controllers 2017-10-26 23:13:09 +02:00
DizzyEggg 1506184465 battle controller opponent is done 2017-10-26 23:12:48 +02:00
camthesaxman 5ea2f463d7 also fix ambiguous MON_DATA_SPD_EV and MON_DATA_SPD2 constants 2017-10-26 13:47:14 -05:00
PikalaxALT de5d9361f9 through sub_80E9BA8 2017-10-26 08:45:41 -04:00
PikalaxALT 2aa6dbe473 through sub_80E9AD0 2017-10-26 08:40:08 -04:00
PikalaxALT 49f3ccaf29 sub_80E9A90 2017-10-25 20:03:55 -04:00
PikalaxALT 84a9441267 MWF: sub_80E9914 2017-10-25 19:54:24 -04:00
PikalaxALT 943e2ec33d sub_80E98AC 2017-10-25 18:41:17 -04:00
DizzyEggg fa36e23683 start opponent controller, thx bird 2017-10-25 21:57:28 +02:00
DizzyEggg a9bc67dbb0 recorded opponent controller is done 2017-10-25 18:59:07 +02:00
DizzyEggg 91b010299f start recorded opponent controller 2017-10-25 16:24:17 +02:00
PikalaxALT 42a22d4c9f through sub_80E980C 2017-10-25 08:46:08 -04:00
PikalaxALT ea507b8d43 sub_80E9780 2017-10-25 08:41:25 -04:00
PikalaxALT b4f9acd039 sub_80E9744 2017-10-25 08:34:41 -04:00
PikalaxALT 835a04ada8 through sub_80E9668 2017-10-25 08:22:36 -04:00
PikalaxALT 2dee40a23f sub_80E9578 2017-10-24 22:47:12 -04:00
PikalaxALT 9e3bb08e04 sub_80E933C 2017-10-24 22:34:52 -04:00
PikalaxALT 09605333c8 sub_80E9238 2017-10-24 22:17:26 -04:00
PikalaxALT e094e3db9b CurrentMapIsSecretBase 2017-10-24 22:10:35 -04:00
PikalaxALT 82ac40e619 sub_80E916C 2017-10-24 22:00:29 -04:00
PikalaxALT 1f5378c6d1 sub_80E9108 2017-10-24 21:41:22 -04:00
PikalaxALT 0b0926f127 through sub_80E909C 2017-10-24 21:27:46 -04:00
PikalaxALT 6558af388b sub_80E8F9C 2017-10-24 21:10:58 -04:00
PikalaxALT eeecca9671 fix sub_80E8CB0 2017-10-24 20:56:40 -04:00
PikalaxALT 45479c14b6 sub_80E8EE0 2017-10-24 20:37:38 -04:00
PikalaxALT bd85d9166d through sub_80E8E18 2017-10-24 20:27:07 -04:00
PikalaxALT 326e37a0d3 through sub_80E8D4C 2017-10-24 20:19:33 -04:00
Diegoisawesome 118b29ed03 Update map_object_constants 2017-10-24 17:12:57 -05:00
Diegoisawesome 71cde8829b More fixes 2017-10-24 15:06:09 -05:00
DizzyEggg 3ece244246 wally controller is done 2017-10-24 21:45:41 +02:00
Diegoisawesome 32bf0849d2 Test 2017-10-24 14:35:06 -05:00
Diegoisawesome 3b4093640e Even more prep 2017-10-24 13:59:43 -05:00
DizzyEggg 94b3a8dd69 spd to speed 2017-10-24 15:35:36 +02:00
DizzyEggg 0659b19e99 Merge branch 'master' into decompile_battle_controllers 2017-10-24 15:27:55 +02:00
DizzyEggg bffcd426cf link opponent controller is done 2017-10-24 15:25:20 +02:00
Diegoisawesome 17303d963e More prep 2017-10-24 00:11:26 -05:00
Diegoisawesome 26f9776f6f Fix some stuff 2017-10-23 22:18:35 -05:00
Diegoisawesome c23a633a44 Prepare for dumping 2017-10-23 21:18:49 -05:00
camthesaxman 1bb931245b use SPEED instead of SPD in mon data constants 2017-10-23 20:43:26 -05:00
PikalaxALT 7bf352944f sub_80E8BF8 2017-10-23 19:29:16 -04:00
PikalaxALT eb2c2f0a3f through sub_80E8BC8 2017-10-23 19:21:08 -04:00
PikalaxALT 0dfd0f8c0e through sub_80E8B58; secret base ewram 2017-10-23 18:56:18 -04:00
PikalaxALT eb49cfcab2 sub_80E8AF0 2017-10-23 18:35:06 -04:00
DizzyEggg 1f3a867a0b battle link partner controller is done 2017-10-23 16:38:11 +02:00
DizzyEggg 356eb34e32 undo revert 2017-10-23 14:40:22 +02:00
DizzyEggg 5b05811dd9 start link partner controller 2017-10-23 14:24:54 +02:00
DizzyEggg 5b70307962 revert merge coz its bugged 2017-10-23 13:36:55 +02:00
DizzyEggg 7d1373e3fa Merge branch 'master' into decompile_battle_controllers 2017-10-23 13:33:32 +02:00
DizzyEggg 918625196e recorded player controller is done 2017-10-23 13:32:11 +02:00
DizzyEggg aa7e97945b start recorded player controller 2017-10-23 11:24:58 +02:00
DizzyEggg a8ea415c81 player partner controller is done 2017-10-23 11:07:36 +02:00
Diegoisawesome cd7c3476d5 Rename script commands again 2017-10-23 00:34:55 -05:00
Diegoisawesome 88230e8d16 Merge pull request #91 from golemgalvanize/summary
partially decompile pokemon_summary_screen
2017-10-22 20:16:16 -05:00
U-User-PC\User 2082c0491b more bool8 stuff 2017-10-22 21:00:08 -04:00
Diegoisawesome 5b83924d6c Merge pull request #95 from PikalaxALT/decoration
Move these palettes to INCBINs
2017-10-22 19:53:25 -05:00
PikalaxALT 1ef4dbe691 Fix global declarations of libc fns 2017-10-22 20:43:03 -04:00
PikalaxALT 0dd3db7061 Rename some functions and all RAM objects in decoration.c 2017-10-22 20:13:31 -04:00
PikalaxALT 9fc2c99d18 Move these palettes to INCBINs 2017-10-22 19:05:32 -04:00
PikalaxALT c042e5148b Decoration + decoration_inventory (#89)
* SetDecorationInventoriesPointers

* ClearDecorationInventories

* CheckHasDecoration

* DecorationAdd

* DecorationCheckSpace

* DecorationRemove

* sub_8161A38

* CountDecorations; Funcion renaming

* Disassemble decoration data structs, tilemaps, and descriptions

* sub_8126968

* sub_81269D4

* through sub_8126A88

* through sub_8126B2C

* sub_8126B80

* sub_8126C08

* sub_8126C48

* sub_8126CA4

* sub_8126D10

* sub_8126E44

* sub_8126E8C

* sub_8126F68

* sub_8127058

* sub_8127088

* sub_81270E8

* through sub_8127208

* through sub_8127268

* sub_8127284

* through sub_81272F8

* sub_8127330

* through sub_8127480

* sub_81274A0

* sub_8127500; makefile now tells scaninc to scan headers

* Actual real fix to mapfile being in build/emerald instead of wd

* through sub_812759C

* through sub_812764C

* through sub_8127744

* through sub_81277BC

* sub_81277E8

* sub_8127814

* through sub_81279C4

* through sub_8127ACC

* sub_8127B04

* sub_8127B54

* sub_8127B90

* sub_8127D38

* sub_8127E18

* sub_8127F68

* sub_8128060

* ConfigureCameraObjectForPlacingDecoration

* SetUpPlacingDecorationPlayerAvatar

* sub_812826C

* through sub_8128414

* through sub_81284F4

* sub_812853C

* sub_8128950

* through sub_8128AAC

* through sub_8128BBC

* c1_overworld_prev_quest

* sub_8128C64

* sub_8128CD4

* sub_8128D10

* sub_8128DB4

* through sub_8128E18

* through sub_8129068

* sub_8129088

* through sub_81291E8

* sub_812925C

* sub_81292D0

* sub_81292E8

* gpu_pal_decompress_alloc_tag_and_upload

* AddDecorationIconObjectFromIconTable

* GetDecorationIconPicOrPalette

* AddDecorationIconObjectFromFieldObject

* AddDecorationIconObject

* through sub_8129708

* sub_81297F8

* sub_81298EC

* SetUpPuttingAwayDecorationPlayerAvatar

* sub_8129ABC

* sub_8129B34

* sub_8129BCC

* through sub_8129C74

* through sub_8129D8C

* sub_8129E0C

* sub_8129E74

* sub_8129F20

* sub_8129FC8

* sub_812A040

* nonmatching sub_812A0E8

* through sub_812A22C

* sub_812A25C

* sub_812A2C4

* through sub_812A39C

* Remaining fns in decoration.s

* Decompile decoration headers

* Decompile all remaining decoration data that had already been disassembled

* Disassemble two data objects

* Suggest structure of list menu template

* decompile through decoration list menu template

* Disassemble decoration icon graphics table

* Rip icon gfx

* Decompile deco icon table

* Decompile more data related to drawing decorations

* Decompile gUnknown_085A7250 structs

* Decompile two sprite templates

* Decompile remaining data in decoration.s

* Decompile decoration ewram

* deco -> decor
2017-10-22 17:55:07 -05:00
U-User-PC\User 72dcfeddd7 all done(I hope) 2017-10-22 15:12:48 -04:00
U-User-PC\User 52d368a29a all done 2017-10-22 15:01:34 -04:00
DizzyEggg 21f4995922 start player partner controller 2017-10-22 20:49:21 +02:00
DizzyEggg 26c79313d8 safari controller is done 2017-10-22 20:38:23 +02:00
DizzyEggg f77dcef59d Merge branch 'master' into decompile_battle_controllers 2017-10-22 18:47:06 +02:00
DizzyEggg df4e32a307 player battle controller is done 2017-10-22 18:43:15 +02:00
Diegoisawesome 1bab62e1cd Merge pull request #93 from ProjectRevoTPP/clear_save_data_screen
decompile clear_save_data_screen.
2017-10-21 22:29:59 -05:00
ProjectRevoTPP 29fb6d8d1e whoops 2017-10-21 23:23:03 -04:00
ProjectRevoTPP a43d6d4a53 review changes 2017-10-21 23:20:50 -04:00
ProjectRevoTPP 821f1a6f4f Merge branch 'master' of https://github.com/pret/pokeemerald into clear_save_data_screen 2017-10-21 22:46:01 -04:00
Diegoisawesome b8f23aa20d Merge branch 'master' of github.com:pret/pokeemerald 2017-10-21 20:20:52 -05:00
Diegoisawesome 667914075b Merge branch 'librfu-decomp' 2017-10-21 20:11:31 -05:00
DizzyEggg 813b1bfd4a label and do more work at player controller 2017-10-22 01:04:02 +02:00
shinyquagsire23 482b42a295 Split librfu into separate C files in its own directory, rfu_initializeAPI matching except for register differences 2017-10-21 13:46:41 -06:00
U-User-PC\User fd464a546c updating 2017-10-21 14:11:32 -04:00
DizzyEggg 3d1c16523e start working on battle controllers, especially player 2017-10-21 17:32:35 +02:00
ProjectRevoTPP ae53458622 decompile clear_save_data_screen. 2017-10-21 00:44:17 -04:00
U-User-PC\User 77ef72f782 updating 2017-10-20 16:31:12 -04:00
U-User-PC\User 2a60aefed6 updating 2017-10-20 16:28:38 -04:00
U-User-PC\User c63acde250 updating 2017-10-20 16:18:29 -04:00
Diegoisawesome afd42c8e14 Merge pull request #92 from DizzyEggg/decompile_walda_phrase
decompile walda phrase
2017-10-20 14:01:40 -05:00
DizzyEggg 31e0b468c7 move from raq scene to walda phrase 2017-10-20 20:46:26 +02:00
DizzyEggg 8c85a27346 walda phrase is done 2017-10-20 20:39:00 +02:00
Diegoisawesome d2cf86bff9 Merge pull request #82 from PikalaxALT/mail
Decompile functions for reading mail
2017-10-20 13:22:56 -05:00
Diegoisawesome 35a96cb0c0 Merge pull request #88 from DizzyEggg/decompile_battle_interface
decompile battle interface
2017-10-20 12:39:55 -05:00
DizzyEggg ccd7e8b3b1 battle interface review changes 2017-10-20 19:24:46 +02:00
DizzyEggg cda5c5f925 start working on walda phrase 2017-10-20 18:52:01 +02:00
DizzyEggg b65da491a9 merge with master, fix conflicts 2017-10-20 10:49:21 +02:00
Diegoisawesome ae5aa3c4df Merge pull request #86 from PikalaxALT/special_ptr_table
Decompile special pointers
2017-10-20 00:24:06 -05:00
Diegoisawesome bc82b53916 Merge pull request #85 from DizzyEggg/decompile_battle_anim
Decompile battle_anim.s
2017-10-20 00:03:15 -05:00
PikalaxALT 7bc152e2ed Merge branch 'master' into mail 2017-10-19 18:45:38 -04:00
DizzyEggg 36035518dc review battle anim changes 2017-10-20 00:01:17 +02:00
DizzyEggg dee6133076 fix merge conflicts 2017-10-19 19:46:37 +02:00
Diegoisawesome 8ceecd9fba Merge pull request #81 from DizzyEggg/decompile_rom3
Decompile rom_3
2017-10-19 12:40:56 -05:00
DizzyEggg 9ccc472b97 label some functions 2017-10-19 18:25:48 +02:00
DizzyEggg 11bead31e9 battle interface is done 2017-10-19 15:28:41 +02:00
U-User-PC\User 7a515ea1f9 fixed 2017-10-18 20:05:26 -04:00
U-User-PC\User 79a947ed16 git made me 2017-10-18 19:52:33 -04:00
U-User-PC\User d4532c70cb fix merge conflicts 2017-10-18 19:28:36 -04:00
U-User-PC\User 11f9a27640 decompiled up to sub_81C3D54 2017-10-18 19:25:08 -04:00
DizzyEggg ee6bdc9068 more battle interface 2017-10-18 23:52:21 +02:00
DizzyEggg 7c24b03742 Merge branch 'master' into decompile_battle_interface 2017-10-18 23:05:55 +02:00
DizzyEggg 25a9c851cf more of battle interface done again 2017-10-18 23:05:14 +02:00
DizzyEggg 6e56211f40 more of battle interface done 2017-10-18 21:42:00 +02:00
DizzyEggg 0ffc5652fd hp printing in healthboxes done I hope 2017-10-18 00:00:46 +02:00
Diegoisawesome 0f0ba1e28c Merge pull request #74 from DizzyEggg/decompile_international_string_util
International String Util
2017-10-17 13:32:25 -05:00
DizzyEggg 4b45282dd3 start working on battle interface 2017-10-16 18:12:27 +02:00
DizzyEggg 003a8a501b fix merge conflict 2017-10-15 23:27:27 +02:00
DizzyEggg dd0f19476c battle anim file is decompiled 2017-10-15 23:21:59 +02:00
DizzyEggg ebb2999c03 more of battle anim done 2017-10-14 23:37:44 +02:00
PikalaxALT 70eaf5d1be port def_special 2017-10-14 16:28:22 -04:00
PikalaxALT 7cf9693551 Decompile special pointers 2017-10-14 14:26:25 -04:00
DizzyEggg 752ce9b90d start working on battle anim 2017-10-14 16:55:25 +02:00
PikalaxALT a252140f3b Merge branch 'master' into mail 2017-10-14 09:52:56 -04:00
DizzyEggg 455202eca0 Merge branch 'master' into decompile_rom3 2017-10-14 11:36:28 +02:00
DizzyEggg 14e41d6c50 rom3 is decompiled 2017-10-14 11:34:26 +02:00
Diegoisawesome 0d38d443b5 Merge pull request #84 from Diegoisawesome/decomp_scrcmd
Decomp scrcmd
2017-10-14 00:05:50 -05:00
Diegoisawesome 924c0c6b5a Merge branch 'master' of https://github.com/pret/pokeemerald into decomp_scrcmd 2017-10-13 20:29:11 -05:00
Diegoisawesome 2852f4f1b8 Continue attempt to decomp braillemessage 2017-10-13 19:48:09 -05:00
Diegoisawesome f6af9e7013 Merge pull request #77 from DizzyEggg/match_abe
ABE
2017-10-13 13:30:46 -05:00
DizzyEggg 72ed861715 fix rom3 conflicts 2017-10-13 19:58:45 +02:00
DizzyEggg 20d158cf4a start decompiling emitters 2017-10-13 19:46:27 +02:00
Diegoisawesome 3040c1e1aa Merge pull request #75 from DizzyEggg/decompile_reshow_battle_screen
Decompile reshow battle screen
2017-10-13 12:42:42 -05:00
PikalaxALT 1112af4e19 Field labels 2017-10-13 12:19:51 -04:00
PikalaxALT dea018323f Struct pointer in EWRAM 2017-10-13 12:05:18 -04:00
PikalaxALT 32168adbc8 Remaining functions 2017-10-13 12:03:15 -04:00
PikalaxALT cc84713249 sub_8121B1C 2017-10-13 11:47:17 -04:00
DizzyEggg c78679ae66 rom3 decomp start 2017-10-13 17:22:50 +02:00
PikalaxALT e24f3808f4 Merge branch 'master' into mail 2017-10-13 11:16:34 -04:00
PikalaxALT 52db3ad5aa Decompile TV (#80)
* ClearTVShowData

* special_0x44

* DoTVShow (nonmatching because align)

* DoTVShowBravoTrainerPokemonProfile

* Update field names

* DoTVShowBravoTrainerBattleTower

* Renaming of struct fields

* sub_80EBFF4 and UpdateTVScreensOnMap

* SetTVMetatilesOnMap

* Power buttons for the TV screens on the map

* special_0x45

* sub_80EC18C

* special_0x4a

* ResetGabbyAndTy

* GabbyAndTyBeforeInterview

* GabbyAndTyAfterInterview

* Through IsTVShowInSearchOfTrainersAiring

* GabbyAndTyGetLastQuote

* GabbyAndTyGetLastBattleTrivia

* GabbyAndTySetScriptVarsToFieldObjectLocalIds

* InterviewAfter; use TVShow as a precursor for making the individual show structs anonymous

* Make TV structs anonymous within the union

* Move the TV union to its own subheader

* Move TV show enums to the global.tv.h subheader

* Funcion renaming

* Apply static attributes where able

* PutPokemonTodayCaughtOnAir

* sub_80EC8A4

* PutPokemonTodayFailedOnTheAir

* sub_80EC9E8, sub_80ECA10

* sub_80ECA38

* sub_80ECB00

* Put3CheersForPokeblocksOnTheAir

* PutFanClubSpecialOnTheAir

* ContestLiveUpdates_BeforeInterview

* Other before-interview Contest Live Updates functions

* ContestLiveUpdates_BeforeInterview_5

* InterviewAfter_BravoTrainerPokemonProfile

* BravoTrainerPokemonProfile_BeforeInterview1

* BravoTrainerPokemonProfile_BeforeInterview2

* Disassemble TV data

* Decompile TV data

* InterviewAfter_BravoTrainerBattleTowerProfile

* SaveRecordedItemPurchasesForTVShow

* PutNameRaterShowOnTheAir

* StartMassOutbreak

* PutLilycoveContestLadyShowOnTheAir

* InterviewAfter_FanClubLetter

* Rip TV strings

* InterviewAfter_RecentHappenings

* InterviewAfter_PkmnFanClubOpinions

* sub_80ED718

* EndMassOutbreak

* sub_80ED888

* sub_80ED8B4

* UpdateMassOutbreakTimeLeft

* sub_80ED950

* PutFishingAdviceShowOnTheAir

* through sub_80EDA80

* ewram and common syms are now fetched from the object files

* BSS symbols are taken from the tv.o file

* through sub_80EDC60

* sub_80EDCE8

* sub_80EDD78

* through sub_80EDE84

* nomatching sub_80EDE98

* sub_80EDFB4

* sub_80EE104

* sub_80EE104

* sub_80EE184

* sub_80EE2CC

* sub_80EE35C

* sub_80EE44C

* sub_80EE4DC

* sub_80EE5A4

* sub_80EE69C

* sub_80EE72C

* sub_80EE7C0

* sub_80EE818

* sub_80EE8C8

* sub_80EEA70

* sub_80EEB98

* sub_80EEBF4

* through sub_80EED60

* Functions relating to Pokemon News

* sub_80EEF6C

* GetPriceReduction

* IsPriceDiscounted

* sub_80EF120

* through sub_80EF370

* sub_80EF40C

* HasMixableShowAlreadyBeenSpawnedWithPlayerID

* TV_SortPurchasesByQuantity

* FindActiveBroadcastByShowType_SetScriptResult

* InterviewBefore

* through sub_80EF88C

* through sub_80EF93C

* through sub_80EFA24

* through TV_BernoulliTrial

* sub_80EFB58

* sub_80EFBA4

* sub_80EFBDC

* through sub_80EFD98

* ChangePokemonNickname

* ChangeBoxPokemonNickname

* sub_80EFF9C

* through player_id_to_dword

* CheckForBigMovieOrEmergencyNewsOnTV

* GetMomOrDadStringForTVMessage

* sub_80F01E8

* sub_80F0358

* sub_80F049C

* TV record mixing functions

* sub_80F06D0

* sub_80F0708 nonmatching

* through sub_80F0B24

* sub_80F0B64

* through sub_80F0C04

* sub_80F0C7C

* sub_80F0D60

* sub_80F0E58

* sub_80F0E84

* through sub_80F0F24

* sub_80F0F64

* sub_80F1208

* sub_80F1254

* sub_80F1290

* sub_80F12A4

* sub_80F14F8

* DoTVShowTodaysSmartShopper

* DoTVShowTheNameRaterShow

* DoTVShowPokemonTodaySuccessfulCapture

* DoTVShowPokemonTodayFailedCapture

* DoTVShowPokemonFanClubLetter

* DoTVShowRecentHappenings

* DoTVShowPokemonFanClubOpinions

* DoTVShowPokemonNewsMassOutbreak

* DoTVShowPokemonContestLiveUpdates

* DoTVShowPokemonBattleUpdate

* DoTVShow3CheersForPokeblocks

* DoTVShowInSearchOfTrainers

* Label GabbyAndTyData fields; remove ddump comments from data/text/tv.inc

* DoTVShowPokemonAngler

* DoTVShowTheWorldOfMasters; update RAM symbols and field names

* Decorate static functions

* DoTVShowTodaysRivalTrainer; region map enums

* TVDewfordTrendWatcherNetworkTextGroup

* DoTVShowHoennTreasureInvestigators

* DoTVShowFindThatGamer

* DoTVShowBreakingNewsTV

* DoTVShowSecretBaseVisit

* DoTVShowPokemonLotterWinnerFlashReport

* DoTVShowThePokemonBattleSeminar

* DoTVShowTrainerFanClubSpecial, DoTVShowTrainerFanClub

* DoTVShowSpotTheCuties

* DoTVShowPokemonNewsBattleFrontier

* DoTVShowWhatsNo1InHoennToday

* Helpers for DoTVShowSecretBaseSecrets

* DoTVShowSecretBaseSecrets

* DoTVShowSafariFanClub

* Finish decompilation of tv.s

* Some renaming

* Rename text group pointers

* revoke statis; pokenews enums

* Labels are number one

* Label all TV struct fields

* Make data/text/tv.inc more readable

* Split data/text/tv.inc

* Rename pokenews text pointers

* Frontier Symbol constants; indicate static rodata objects with 's' prefix

* Fix leading spaces/tabs

F*** CLion sometimes

* Fix inconsequential warning
2017-10-13 10:09:36 -05:00
PikalaxALT 74c59af856 sub_8121A1C 2017-10-13 08:47:26 -04:00
DizzyEggg 0f44747788 review changes 2017-10-13 12:25:32 +02:00
DizzyEggg b229a1c295 Merge branch 'master' into decompile_reshow_battle_screen 2017-10-13 12:18:32 +02:00
PikalaxALT 3c4478b370 Decompile data 2017-10-13 00:11:55 -04:00
Diegoisawesome 24bd8c73e1 Name some new script commands 2017-10-12 22:34:58 -05:00
PikalaxALT aa3af7a3a7 sub_81219F0 2017-10-12 23:05:36 -04:00
PikalaxALT 52af334b89 sub_81215EC 2017-10-12 22:59:01 -04:00
Diegoisawesome 428dd0e0a8 Merge branch 'DizzyEggg-decompile_battle_9' 2017-10-12 20:00:38 -05:00
Diegoisawesome df04aca8d2 Merge branch 'decompile_battle_9' of https://github.com/DizzyEggg/pokeemerald into DizzyEggg-decompile_battle_9 2017-10-12 19:46:39 -05:00
Diegoisawesome 9ac5f464fd Merge branch 'DizzyEggg-qwerty2' 2017-10-12 17:55:38 -05:00
Diegoisawesome 3131014b1b Merge branch 'qwerty2' of https://github.com/DizzyEggg/pokeemerald into DizzyEggg-qwerty2 2017-10-12 17:55:10 -05:00
PikalaxALT 8d31a46c6f sub_8121478 2017-10-12 15:59:43 -04:00
Diegoisawesome f300f853c8 Add const qualifiers to scrcmd 2017-10-12 14:39:18 -05:00
DizzyEggg 4178e32ec9 ABE is matching 2017-10-12 17:49:24 +02:00
Diegoisawesome f1b6358047 Port/decomp scrcmd 2017-10-12 02:06:19 -05:00
yenatch 08274c04c0 Merge pull request #70 from ProjectRevoTPP/use_build
use build/.
2017-10-11 23:47:42 -04:00
Diegoisawesome 31eeff9319 Use less cd and more vars 2017-10-11 23:37:30 -04:00
DizzyEggg a3b62f43ee battle 9 is decompiled 2017-10-11 12:49:42 +02:00
DizzyEggg 6dfe8ced2c ai switching basically done 2017-10-10 21:45:07 +02:00
DizzyEggg 57e5624e06 battle9 is being worked on 2017-10-10 18:01:45 +02:00
DizzyEggg e382a73e9d merge branch master 2017-10-10 11:48:16 +02:00
ProjectRevoTPP f1d07acc48 Merge branch 'master' of https://github.com/pret/pokeemerald into use_build 2017-10-09 20:25:41 -04:00
ProjectRevoTPP 6d66081be0 minor tweak to make tidy. 2017-10-09 20:25:34 -04:00
Diegoisawesome 8914645231 Merge pull request #72 from DizzyEggg/fix_static_names
Add Save Location header and fix static names
2017-10-09 18:17:04 -05:00
Diegoisawesome 6c28abf5dd Merge pull request #71 from DizzyEggg/match_sth
Match all nonmatching functions in battle ai commands
2017-10-09 18:16:16 -05:00
Diegoisawesome 3e72d67487 Merge pull request #65 from DizzyEggg/decompile_battle_message
Decompile battle message
2017-10-09 16:42:21 -05:00
DizzyEggg b6ec90db61 secod table to hex 2017-10-09 23:38:40 +02:00
DizzyEggg beab7a10d2 table to hex 2017-10-09 23:33:41 +02:00
U-User-PC\User f6f81f34b1 decompiled up to sub_81C228C 2017-10-09 16:49:14 -04:00
U-User-PC\User 42f633cbf4 (un)fix battle.h 2017-10-09 16:00:18 -04:00
DizzyEggg eb59f15799 mergin and chill 2017-10-09 21:40:05 +02:00
ProjectRevoTPP 2145af4a3e Merge branch 'master' of https://github.com/pret/pokeemerald into use_build 2017-10-09 15:33:42 -04:00
Diegoisawesome 08a5efbd81 Merge pull request #62 from Diegoisawesome/baserom_extraction
Continued baserom extraction
2017-10-09 14:32:44 -05:00
Diegoisawesome 41db025975 Merge remote-tracking branch 'pret/master' into baserom_extraction 2017-10-09 13:32:26 -05:00
Diegoisawesome ae06c13e99 Add front pic anims with help from marijnvdwerf 2017-10-09 13:10:02 -05:00
U-User-PC\User f438734192 fixing merge conflicts 2017-10-09 13:32:57 -04:00
U-User-PC\User d361f7030a decompiled up to sub_81C20F0 2017-10-09 13:17:13 -04:00
DizzyEggg ab03b03c4b decompile reshow battle screen 2017-10-09 18:18:40 +02:00
DizzyEggg 9d4acb9635 some work on international string util 2017-10-09 15:40:08 +02:00
DizzyEggg 7fb4a54e39 Merge branch 'master' into decompile_battle_message 2017-10-09 13:58:24 +02:00
DizzyEggg fdfbbb4951 add diploma header and static names fix 2017-10-09 13:55:31 +02:00
DizzyEggg 7b690dbe3a add save location header, change static names 2017-10-09 13:48:41 +02:00
DizzyEggg 6941be8e33 match and clean up ai script commands 2017-10-09 13:41:07 +02:00
ProjectRevoTPP 96f4b6d118 :q!Merge branch 'master' of https://github.com/pret/pokeemerald into use_build 2017-10-09 02:32:17 -04:00
ProjectRevoTPP 97c6201cfe add build/ support. 2017-10-09 02:19:44 -04:00
Diegoisawesome 96c5966ff3 Merge pull request #69 from ProjectRevoTPP/save_location
decompile save_location.c
2017-10-09 00:33:23 -05:00
ProjectRevoTPP a9d94cc5d6 decompile save_location.c 2017-10-08 22:21:34 -04:00
Diegoisawesome 023c4b69ab Merge pull request #68 from ProjectRevoTPP/diploma
decompile diploma.c
2017-10-08 14:48:48 -05:00
DizzyEggg 95e4ae06ce battle message decompiled and dumped 2017-10-08 14:54:51 +02:00
ProjectRevoTPP f775ccd571 forgot to remove unnecessary local ptr 2017-10-07 22:58:21 -04:00
ProjectRevoTPP f0775000a1 decompile diploma.c 2017-10-07 22:54:32 -04:00
DizzyEggg 7552caaadc placeholders for battle strings are done 2017-10-07 19:59:41 +02:00
DizzyEggg db63fc1a09 battle message huge take off 2017-10-07 15:15:47 +02:00
Diegoisawesome 07e29b70bc Merge pull request #63 from ProjectRevoTPP/save_failed_screen
decompile save_failed_screen.c
2017-10-06 23:08:23 -05:00
ProjectRevoTPP 2ecb9fcd13 oops 2017-10-06 23:30:35 -04:00
ProjectRevoTPP e38fd8347d use rodata for save_failed_screen 2017-10-06 21:59:47 -04:00
ProjectRevoTPP 058fed1fd8 oops 2017-10-06 20:35:29 -04:00
ProjectRevoTPP 35bb9b02e3 ewram defines 2017-10-06 20:26:53 -04:00
ProjectRevoTPP f383cb8354 update labels 2017-10-06 19:48:18 -04:00
ProjectRevoTPP 4b4d9907a8 merge 2017-10-06 18:35:51 -04:00
ProjectRevoTPP d0dfc758fc decompile save_failed_screen.c 2017-10-06 18:33:35 -04:00
Diegoisawesome dea28a0a23 Merge pull request #57 from DizzyEggg/decomp_battle2
Decompile battle2
2017-10-06 17:08:27 -05:00
DizzyEggg 7b88c7f2f0 move const data to battle files 2017-10-06 19:09:37 +02:00
DizzyEggg 19e2255c34 Merge branch 'master' into decomp_battle2 2017-10-06 17:07:56 +02:00
DizzyEggg 3cc20c7c3f battle 2 is done 2017-10-06 17:06:45 +02:00
Diegoisawesome d5e7ddddb7 Extract baseroms from data2c 2017-10-06 01:57:52 -05:00
Diegoisawesome 1bd7739ea6 Merge pull request #61 from ProjectRevoTPP/braille_puzzle
decompile braille_puzzles.c
2017-10-06 00:35:29 -05:00
DizzyEggg 342e616d4b battle2 more and more and more 2017-10-06 00:12:01 +02:00
ProjectRevoTPP c88a39b5d5 formatting 2017-10-05 13:05:25 -04:00
ProjectRevoTPP e7175999f5 decompile braille_puzzles.c 2017-10-05 13:02:39 -04:00
U-User-PC\User ddc2e96825 egg pls save me 2017-10-04 13:27:50 -04:00
DizzyEggg d87d19cfe5 more battle2 done 2017-10-04 19:25:14 +02:00
DizzyEggg aaa191f0d8 Merge branch 'master' into decomp_battle2 2017-10-04 11:18:50 +02:00
Diegoisawesome f41709d322 Rename files for consistency with pokeruby 2017-10-04 02:43:45 -05:00
Diegoisawesome cfc70c9806 Extract baseroms from miscellaneous files
Had to leave some unfinished due to complexity at the moment
2017-10-04 02:38:25 -05:00
Diegoisawesome 09d5d81c9c Merge pull request #60 from DizzyEggg/branchname
Create battle_transition.h
2017-10-03 15:37:21 -05:00
U-User-PC\User 750937c58c fix battle.h 2017-10-03 16:10:18 -04:00
U-User-PC\User 1ae3d9b57b I hope this fixes merge conflicts 2017-10-03 15:54:19 -04:00
U-User-PC\User 0a88d1042a decompiled up to sub_81C13B0 2017-10-03 15:42:28 -04:00
DizzyEggg 46fe1f441f giant battle handler is done wohohohhohoho 2017-10-03 21:35:27 +02:00
DizzyEggg c8114eb3a5 create battle_transition.h 2017-10-03 12:11:13 +02:00
Diegoisawesome d32ec8bf72 Merge pull request #59 from PikalaxALT/sym_bss
BSS; decompile tileset_anims
2017-10-03 01:26:01 -05:00
Diegoisawesome e774b79b45 Merge pull request #43 from PikalaxALT/unk_text_util_2
Unk text util 2
2017-10-02 22:58:52 -05:00
PikalaxALT 2701191a76 Merge branch 'master' into unk_text_util_2 2017-10-02 22:09:29 -04:00
PikalaxALT 10c5a7a2dd Merge branch 'master' into sym_bss 2017-10-02 22:04:43 -04:00
PikalaxALT ce5ac9d782 BSS: record_mixing 2017-10-02 22:02:22 -04:00
PikalaxALT 572648ba2d BSS: field_screen, field_effect, pokemon_storage_system, fldeff_cut, script_menu 2017-10-02 21:51:22 -04:00
PikalaxALT df0b715207 Decompile data/tileset.s 2017-10-02 21:08:54 -04:00
PikalaxALT d43b6227bb Rip tileset anims 2017-10-02 20:53:58 -04:00
DizzyEggg db58d5e24a battle2 3500 C lines 2017-10-02 23:32:39 +02:00
PikalaxALT 74951e4312 Name pointer tables 2017-10-02 08:43:52 -04:00
PikalaxALT 3ec4d98de9 Split palette and tileset_anims 2017-10-01 22:10:53 -04:00
PikalaxALT 993d5e2a6a clean up declarations in src/palette.c 2017-10-01 21:50:58 -04:00
PikalaxALT 5a51a49642 Sanitize data/tilesets.s, 3 2017-10-01 19:39:55 -04:00
PikalaxALT 84e5819ca3 Sanitize data/tilesets.s, 2 2017-10-01 19:01:37 -04:00
camthesaxman 0fe97e838e add asmdiff.sh comparison script 2017-10-01 15:05:00 -05:00
Diegoisawesome ba758afc14 Extract baseroms from and combine fldeff_emotion and trainer_see
Also extract from bike
2017-10-01 14:48:29 -05:00
Diegoisawesome 8982501b78 Extract baseroms from reset_rtc_screen 2017-10-01 13:03:51 -05:00
DizzyEggg d4e1c417d3 Merge branch 'master' into decomp_battle2 2017-10-01 18:55:21 +02:00
DizzyEggg 1fcafaf35a more of battle2 done 2017-10-01 18:54:01 +02:00
Diegoisawesome d9603769f3 Merge pull request #58 from Diegoisawesome/baserom_extraction
Extract baseroms from intro_credits_graphics and battle_interface
2017-10-01 03:11:19 -05:00
Diegoisawesome c9cad220de Extract baseroms from intro_credits_graphics.s 2017-10-01 03:08:19 -05:00
PikalaxALT 4d78e62fd9 Sanitize data/tilesets.s 2017-09-30 22:23:00 -04:00
PikalaxALT a1ccd78218 Disassemble pointer tables in data/tileset.s 2017-09-30 22:16:51 -04:00
PikalaxALT 20ed9ad0ac Decompile asm/tileset.s into src/palette.c 2017-09-30 21:19:29 -04:00
DizzyEggg 729f4e10ed start decompiling battle2 2017-10-01 01:12:42 +02:00
Diegoisawesome 1a55966f1b Extract baseroms from battle_interface 2017-09-30 16:37:53 -05:00
PikalaxALT 64631bac93 BSS: rom4.o, field_camera.o 2017-09-30 13:08:28 -04:00
Diegoisawesome a96cadf4ee Merge pull request #56 from PikalaxALT/map_constants
Add Avara's map_constants.h
2017-09-30 11:58:24 -05:00
PikalaxALT 8620b9203d BSS: berry_blender.o 2017-09-30 10:12:35 -04:00
PikalaxALT 24da6e48ff BSS: main_menu.o, battle_1.o 2017-09-30 10:01:52 -04:00
PikalaxALT f4827632f2 BSS: link.o 2017-09-30 09:56:08 -04:00
PikalaxALT ef0b022707 BSS: src/main.o, src/dma3_manager.o 2017-09-30 09:32:46 -04:00
PikalaxALT 87b16995eb Add Avara's map_constants.h 2017-09-30 08:40:21 -04:00
Diegoisawesome 13017a3b19 Merge pull request #55 from DizzyEggg/decompile_metatile_behavior
decompile metatile behavior
2017-09-30 03:11:36 -05:00
Diegoisawesome 2a8ea4981e Merge pull request #54 from DizzyEggg/finish_pokemon2
finish pokemon 2 file
2017-09-30 03:04:15 -05:00
Diegoisawesome f30b9eed2c Merge pull request #53 from DizzyEggg/decomp_save
finish save.c
2017-09-30 03:02:07 -05:00
Diegoisawesome 741c99cded Merge pull request #45 from DizzyEggg/decomp_battle4
Decompile Battle 4
2017-09-30 03:00:10 -05:00
Diegoisawesome f09a6a653c Merge pull request #52 from DizzyEggg/patch-2
Update songs.h
2017-09-30 02:49:15 -05:00
Diegoisawesome 52a66f0d4c Merge pull request #50 from DizzyEggg/decomp_roamer
decompile roamer
2017-09-30 02:31:43 -05:00
DizzyEggg 2766bd78df split the second file 2017-09-30 09:22:59 +02:00
DizzyEggg 5d9d9c1423 split, rename for real this time 2017-09-30 09:11:48 +02:00
DizzyEggg cd87f47c8a fix a bad file name 2017-09-30 09:01:21 +02:00
Diegoisawesome 88655144df Merge pull request #51 from DizzyEggg/decomp_money
decompile money
2017-09-30 01:56:21 -05:00
Diegoisawesome 7ffba45d0f Merge pull request #49 from Diegoisawesome/baserom_extraction
Extract baseroms from intro.s and others
2017-09-30 01:40:24 -05:00
Diegoisawesome ed94a3f206 Merge pull request #44 from ProjectRevoTPP/field_special_scene
decompile field_special_scene.c
2017-09-30 01:17:21 -05:00
ProjectRevoTPP 7db6b48aa0 move externs 2017-09-30 02:05:47 -04:00
Diegoisawesome 5d246842b1 Extract baseroms from battle_setup.s 2017-09-29 17:53:48 -05:00
Diegoisawesome 3ced50a9e8 Extract baseroms from item_use 2017-09-29 17:41:45 -05:00
Diegoisawesome 6f22bf385d Extract baseroms from battle_anim_80FE840 2017-09-29 17:34:39 -05:00
DizzyEggg f5387cf6b1 decompile metatile behav 2017-09-29 19:03:50 +02:00
DizzyEggg 5d56361973 finish pokemon 2 file 2017-09-29 11:02:18 +02:00
DizzyEggg 7b72c83762 finish save.c 2017-09-29 10:06:36 +02:00
DizzyEggg eb4f195c19 Update songs.h
Thanks to Jughead Jones, Wobb, Lunos, Bela and anyone else who helped.
2017-09-29 08:37:15 +02:00
DizzyEggg e41b9cbbb3 decompile money 2017-09-29 00:11:42 +02:00
DizzyEggg f1fe0c217d decompile roamer 2017-09-28 20:52:36 +02:00
DizzyEggg 4dad58648f take revo suggestion 2017-09-28 19:34:13 +02:00
DizzyEggg 6d4d58a8a7 rename battle4 and battleai 2017-09-28 17:38:07 +02:00
DizzyEggg 7273b8f262 battle 4 is all done 2017-09-28 16:51:24 +02:00
DizzyEggg 14fcc9ec20 merge with master and move to C 2017-09-28 16:32:23 +02:00
DizzyEggg bc3b4b4d9a battle 4 commands are decompiled 2017-09-28 15:34:21 +02:00
DizzyEggg 69928d3904 battle 4 up to 0xE5 2017-09-27 23:43:45 +02:00
Diegoisawesome 22211c08f1 Extract baseroms from player_pc 2017-09-27 01:40:04 -05:00
Diegoisawesome ee777d7b17 Extract baseroms from title_screen 2017-09-27 00:51:09 -05:00
ProjectRevoTPP 04c8eff882 merge 2017-09-27 00:48:11 -04:00
Diegoisawesome d27bc3e071 Extract baserom includes from battle_7 and field_region_map 2017-09-26 23:21:27 -05:00
Diegoisawesome 6cc1ec7bb1 Extract intro gfx from graphics.s 2017-09-26 23:06:25 -05:00
Diegoisawesome 14fc923503 Merge remote-tracking branch 'pret/master' into baserom_extraction 2017-09-26 22:21:38 -05:00
Diegoisawesome 825b8dffe1 Extract baserom calls from data2b_2.s and rename 2017-09-26 21:48:26 -05:00
Diegoisawesome d18eaa3502 Extract baserom calls from intro.s 2017-09-26 18:13:58 -05:00
scnorton d160ca4679 Merge branch 'master' into easy_chat 2017-09-26 18:24:39 -04:00
yenatch 3c8091393c Merge pull request #47 from PikalaxALT/split_data3
Split data3
2017-09-26 18:16:52 -04:00
DizzyEggg d769ec1374 battle 4 up to a8 2017-09-26 22:39:59 +02:00
Cameron Hall 701d53be8d Merge pull request #48 from Diegoisawesome/cleanup
Extract scattered baseroms and cleanup
2017-09-26 13:45:41 -05:00
PikalaxALT def827fcd4 Capitalize all gUnknown labels 2017-09-26 08:30:12 -04:00
Diegoisawesome 60b0fd8b39 Rename battle AI prefix to something agreeable 2017-09-26 00:19:20 -05:00
Diegoisawesome 3db01d1867 Correct battle AI prefix again 2017-09-25 21:28:30 -05:00
Diegoisawesome 6f230848f6 Add window_template_terminator macro 2017-09-25 20:24:14 -05:00
PikalaxALT 0e75d957d6 Update offset comments in save block 1 2017-09-25 19:57:44 -04:00
Diegoisawesome 3093d770ee Correct battle AI prefix 2017-09-25 16:42:07 -05:00
scnorton b62b67e428 sub_811A4D0; constants for ezchat task data offsets 2017-09-25 17:30:49 -04:00
Diegoisawesome d1efbcd282 Extract scattered baseroms and cleanup 2017-09-25 16:27:02 -05:00
scnorton cdfdd2a29a sub_811A428 2017-09-25 17:22:51 -04:00
scnorton 1d5ec895af Rename data/data3.s to data/daycare.s 2017-09-25 16:13:32 -04:00
scnorton 9cf6a05905 Split data3_a0_B 2017-09-25 16:09:44 -04:00
scnorton a8a4a500ab split data3_a0_A 2017-09-25 15:27:54 -04:00
scnorton bf9e2b7210 split data3_a1 2017-09-25 15:03:52 -04:00
scnorton 55bae5e8ad data/script_menu.s 2017-09-25 14:47:44 -04:00
scnorton 5fbfc57304 Disassemble some pointers in data3_a1.s 2017-09-25 14:18:54 -04:00
scnorton 3013d3726f Split data3b.s 2017-09-25 11:23:44 -04:00
PikalaxALT 0984461aeb Start decomp of easy_chat 2017-09-25 08:53:25 -04:00
DizzyEggg 52a951276f battle 4, up to x69 2017-09-25 00:09:13 +02:00
U-User-PC\User 40eb03542b decompiled up to sub_81C1040 2017-09-23 20:23:55 -04:00
DizzyEggg 898d0b20ad up to x50 2017-09-24 00:29:52 +02:00
ProjectRevoTPP d740eabb3c merge 2017-09-23 15:02:32 -04:00
DizzyEggg 7bb0fcf182 merge with master and fix conflicts 2017-09-23 20:36:00 +02:00
DizzyEggg 601fc9e85b atk49 is matching baby WOHOHOHOHO 2017-09-23 20:13:45 +02:00
yenatch a57915fa5b Merge pull request #36 from DizzyEggg/decomp_egg_hatch
Decompile Egg Hatch
2017-09-23 13:50:55 -04:00
ProjectRevoTPP 57543e164e revert pointless change 2017-09-23 12:42:06 -04:00
ProjectRevoTPP 24751851d2 correct field_map_obj.h order declaration. 2017-09-23 12:06:23 -04:00
ProjectRevoTPP 2448426183 decompile field_special_scene.c 2017-09-22 22:45:47 -04:00
PikalaxALT 4cf1150002 clion pls 2017-09-22 21:26:37 -04:00
PikalaxALT fcb7e50e44 Merge branch 'master' into unk_text_util_2 2017-09-22 21:19:08 -04:00
PikalaxALT 561d60342f Decompile data 2017-09-22 21:18:53 -04:00
Cameron Hall 2ad419e4b9 Merge pull request #42 from ProjectRevoTPP/fix_languages
correct gitattributes assignment of languages.
2017-09-22 20:13:37 -05:00
PikalaxALT 293a506474 Merge branch 'master' into unk_text_util_2 2017-09-22 21:11:07 -04:00
Cameron Hall 21a04940d4 Merge pull request #41 from PikalaxALT/split_data_emerald
Split data emerald
2017-09-22 20:10:40 -05:00
ProjectRevoTPP 55348b0771 correct gitattributes assignment of languages. 2017-09-22 21:07:12 -04:00
U-User-PC\User 3d16b884b9 updated branch with fix 2017-09-22 18:28:18 -04:00
DizzyEggg 21f668d6a5 add things git ate 2017-09-23 00:13:11 +02:00
DizzyEggg fc57c6c817 atk 48 is really troublesome 2017-09-23 00:06:52 +02:00
DizzyEggg d5afb0c6e9 up to x48 and troubles 2017-09-22 21:33:49 +02:00
U-User-PC\User ee277bff16 decompiled up to sub_81C0A50 2017-09-22 15:17:59 -04:00
PikalaxALT aa64f61b84 Finish decomp of unk_text_util_2 2017-09-22 00:01:07 -04:00
PikalaxALT 15212c4f8d Font6Func 2017-09-21 23:43:13 -04:00
PikalaxALT 4e1c9920b2 Split data/data_emerald2.s 2017-09-21 13:51:32 -04:00
PikalaxALT ab6a7d2d8c Split data/data_emerald.s 2017-09-21 13:28:02 -04:00
DizzyEggg 9ee9a20152 fix merge conflicts 2017-09-21 10:50:15 +02:00
yenatch ed9e0e2054 Merge pull request #37 from PikalaxALT/berry_fix_program
Berry fix program
2017-09-20 23:37:59 -04:00
PikalaxALT 27903a102b Merge branch 'master' into berry_fix_program 2017-09-20 23:18:20 -04:00
yenatch 40c1e81d03 Merge pull request #40 from PikalaxALT/lilycove_lady
Lilycove lady
2017-09-20 23:14:22 -04:00
PikalaxALT 8d5250fdaa Merge branch 'master' into lilycove_lady 2017-09-20 23:02:17 -04:00
PikalaxALT 6f481cceb1 Decompile lilycove lady data 2017-09-20 22:52:42 -04:00
yenatch e7f91c65d9 Merge pull request #38 from PikalaxALT/battle_dome_cards
Battle dome cards
2017-09-20 22:41:18 -04:00
yenatch b35935e3ef Merge pull request #39 from Diegoisawesome/master
Extract baserom calls from various battle data files and crt0.s
2017-09-20 22:24:38 -04:00
PikalaxALT 63a25a34a7 Disassemble lilycove lady data 2017-09-20 21:42:14 -04:00
U-User-PC\User 70e0a357be why are these functions bullying me 2017-09-20 21:25:48 -04:00
PikalaxALT 942fbe87d4 Populate header, label as static whatever won't break things 2017-09-20 21:03:57 -04:00
PikalaxALT d263750f19 remaining lilycove lady functions 2017-09-20 20:48:32 -04:00
PikalaxALT faf844f332 through sub_818E880 2017-09-20 20:32:22 -04:00
PikalaxALT c56b6fc9a4 sub_818E794 2017-09-20 20:24:22 -04:00
PikalaxALT 45d53d9242 Merge branch 'master' into lilycove_lady 2017-09-20 20:17:31 -04:00
PikalaxALT 25ffdf7342 sub_818E704 2017-09-20 20:16:11 -04:00
PikalaxALT bf4319f25e sub_818E6B0 2017-09-20 20:08:05 -04:00
yenatch d485f17784 Merge pull request #31 from PikalaxALT/sub_81700F8
rom_81700F8
2017-09-20 19:26:28 -04:00
Diegoisawesome 9ed9f7de94 Finish renaming strings in strings.s 2017-09-20 16:46:59 -05:00
DizzyEggg cf26b0e125 forgot save lol 2017-09-20 22:55:37 +02:00
DizzyEggg 0c7555e237 SetMoveEffect functionally equivalent and close 2017-09-20 22:54:26 +02:00
PikalaxALT 7c8cbc6b88 SetLilycoveContestLady 2017-09-20 16:49:22 -04:00
PikalaxALT 44e75e1f03 through sub_818E570 2017-09-20 16:32:37 -04:00
PikalaxALT d22a9acc63 through sub_818E490 2017-09-20 16:12:18 -04:00
U-User-PC\User c2f1e2fe53 decompiled up to sub_81C0510 2017-09-20 15:07:24 -04:00
scnorton 5fb39d5ef9 sub_818E3EC 2017-09-20 12:56:45 -04:00
scnorton fdea92edff through sub_818E3E0 2017-09-20 11:48:11 -04:00
scnorton 213fef6042 through sub_818E308 2017-09-20 11:44:20 -04:00
scnorton 8a31e58689 sub_818E298 2017-09-20 11:30:09 -04:00
scnorton 0895d8d861 sub_818E258 2017-09-20 11:25:46 -04:00
scnorton 0b81c2920a sub_818E1F4 2017-09-20 10:45:00 -04:00
DizzyEggg 3919b7130b Fix merge conflicts 2017-09-20 13:12:43 +02:00
DizzyEggg 28da80e19a battle 4 up to SetMoveEffect 2017-09-20 12:56:45 +02:00
PikalaxALT c05f2d4473 sub_818E06C 2017-09-19 23:31:05 -04:00
Diegoisawesome 4ec2fe8f37 Replace data with move constants 2017-09-19 22:00:02 -05:00
PikalaxALT 9b00767b55 sub_818E004; sanity 2017-09-19 22:57:22 -04:00
PikalaxALT 28d0fa33fe SetLilicoveQuizLady 2017-09-19 22:35:40 -04:00
PikalaxALT 73ee165ef6 sub_818DF00 2017-09-19 22:25:31 -04:00
PikalaxALT 83a420400c through sub_818DEF4 2017-09-19 21:58:32 -04:00
PikalaxALT 534dd2c4b0 sub_818DD84 2017-09-19 21:47:15 -04:00
PikalaxALT 316f9f4d83 through sub_818DD14 2017-09-19 21:28:01 -04:00
PikalaxALT f43de6e582 Merge branch 'master' into lilycove_lady 2017-09-19 21:18:34 -04:00
PikalaxALT 54bd2c1781 Address review by diego 2017-09-19 21:10:30 -04:00
PikalaxALT 5fc2c964fb Merge branch 'master' into sub_81700F8 2017-09-19 21:00:24 -04:00
PikalaxALT 2c07b94e94 Merge branch 'master' into berry_fix_program 2017-09-19 20:55:05 -04:00
PikalaxALT d4d8f876e5 Merge branch 'master' into battle_dome_cards 2017-09-19 20:54:49 -04:00
Diegoisawesome d273493cbb Merge remote-tracking branch 'pret/master' 2017-09-19 19:42:32 -05:00
Diegoisawesome fcc94f9722 Extract baseroms from battle_message and rename strings 2017-09-19 19:31:53 -05:00
yenatch f94074b602 Merge pull request #35 from PikalaxALT/field_map_obj
Field map obj
2017-09-19 19:29:09 -04:00
DizzyEggg b4875d82d5 more battle 4 2017-09-20 00:28:00 +02:00
scnorton 3b3423d1a7 sub_818DC60 2017-09-19 17:07:36 -04:00
scnorton b8e733283e Another handful of favour lady functions 2017-09-19 17:04:17 -04:00
scnorton 4e8a2c6934 SetLilycoveFavourLady 2017-09-19 16:55:53 -04:00
scnorton b26eb6713b sub_818DB20 2017-09-19 16:32:33 -04:00
scnorton 0d0532731f sub_818DAEC, sub_818DB04 2017-09-19 16:24:42 -04:00
scnorton 99a7fcfdfa sub_818DA78, SetLilycoveLadyRandomly 2017-09-19 16:21:50 -04:00
scnorton e7e1938094 Start decompilation of lilycove_lady 2017-09-19 16:17:23 -04:00
Diegoisawesome 3d32be86fc Continue baserom extraction 2017-09-19 14:12:51 -05:00
DizzyEggg 67a8ac72ec add egg graphics 2017-09-19 21:02:35 +02:00
DizzyEggg b3c788f2ca begin work on battle4, organize battle headers 2017-09-19 21:01:12 +02:00
scnorton bff89725ec Add battle_dome_cards header to expose symbols as needed 2017-09-19 09:46:17 -04:00
PikalaxALT 63ff09e806 Nearly finished with battle_dome_cards 2017-09-19 08:53:31 -04:00
PikalaxALT 057894f3c5 sub_818D7D8 2017-09-19 08:36:45 -04:00
PikalaxALT 8634f72290 sub_818D778 2017-09-19 08:35:27 -04:00
PikalaxALT b2b6774efc sub_818D6CC 2017-09-19 08:32:49 -04:00
DizzyEggg 148b995189 finish egg hatch, clean up headers 2017-09-19 14:27:46 +02:00
PikalaxALT ee47fe9377 sub_818D65C 2017-09-19 08:22:43 -04:00
PikalaxALT 6ef3f9dd50 sub_818D5B0 2017-09-19 08:13:53 -04:00
PikalaxALT 7e157f2027 Decorate local EWRAM objects in battle_dome_cards.c as EWRAM 2017-09-18 22:50:21 -04:00
PikalaxALT 52dc68aa89 sub_818D3E4 2017-09-18 22:41:54 -04:00
PikalaxALT c593b51dc5 oamt_spawn_poke_or_trainer_picture 2017-09-18 22:23:13 -04:00
PikalaxALT 8aeb5ea301 uns_builder_assign_animtable1 2017-09-18 21:31:28 -04:00
PikalaxALT 16b0b386be sub_818D180 2017-09-18 21:28:28 -04:00
PikalaxALT 7de2140b86 sub_818D0C4 2017-09-18 21:26:11 -04:00
PikalaxALT e033c72121 load_pokemon_image_TODO 2017-09-18 20:00:46 -04:00
PikalaxALT 9e96bd540a Battle Dome Cards BEGIN 2017-09-18 19:39:20 -04:00
PikalaxALT 8098a209da Remove warnings 2017-09-18 19:30:55 -04:00
PikalaxALT 60f8369a89 Merge branch 'master' into berry_fix_program 2017-09-18 19:24:09 -04:00
PikalaxALT ee73040717 Merge branch 'master' into field_map_obj 2017-09-18 19:21:34 -04:00
DizzyEggg f255cbd7dc Merge branch 'master' into decomp_egg_hatch 2017-09-18 23:50:08 +02:00
DizzyEggg 2e7127284f egg hatch almost decompiled 2017-09-18 23:48:47 +02:00
yenatch e23fb64dad Merge pull request #34 from DizzyEggg/decomp_battle3
Decompile battle_3
2017-09-18 17:46:42 -04:00
yenatch 9a0438af6a battle_3: tabs 2017-09-18 17:45:11 -04:00
scnorton d48c4ab7a9 Slight cleanup and relabeling of functions 2017-09-18 15:28:55 -04:00
scnorton 810bfffd12 data decomp 2017-09-18 15:10:25 -04:00
scnorton 0e2d84f24d Remaining functions 2017-09-18 14:07:34 -04:00
scnorton 39e6bdf094 sub_81BF7E8 2017-09-18 14:04:00 -04:00
scnorton 097a38f054 nonmatching sub_81BF7A4 2017-09-18 13:54:39 -04:00
DizzyEggg c253bf5e75 add important headers, const ptrs and egg hatch start 2017-09-18 18:36:05 +02:00
scnorton c5dddf41f5 sub_81BF5A4 2017-09-18 11:26:45 -04:00
PikalaxALT 8604291b0f Start decomp 2017-09-18 09:23:06 -04:00
DizzyEggg ecd659f46e add side labels 2017-09-18 12:51:16 +02:00
PikalaxALT abe72dca47 Merge branch 'master' into sub_81700F8 2017-09-17 23:42:43 -04:00
PikalaxALT 16f2e40576 Fix naming conflicts 2017-09-17 23:42:44 -04:00
PikalaxALT 380858293e Merge branch 'master' into sub_81700F8 2017-09-17 22:58:57 -04:00
Diegoisawesome 9f87103ea0 Extract baserom calls from files
Extract calls from crt0.s, bard_music.s, battle_4.s
2017-09-17 20:33:32 -05:00
scnorton 25c7b4cd92 Remaining pointers 2017-09-17 20:08:29 -04:00
scnorton b7a373e700 No more incbins 2017-09-17 19:35:09 -04:00
scnorton c980070657 More glorious data dumping 2017-09-17 19:33:44 -04:00
scnorton a23f1a4b11 hooray, another data dump 2017-09-17 19:19:01 -04:00
scnorton 88bb0dfc39 More data dism 2017-09-17 18:54:19 -04:00
scnorton d8dd96fa07 Start dumping data 2017-09-17 18:36:38 -04:00
scnorton 130ba76533 remove data3.h 2017-09-17 17:50:07 -04:00
scnorton b92b690d2a never mind, this actually is in field_map_obj.s 2017-09-17 17:40:38 -04:00
scnorton 6106bc93b3 Remove data/field_map_obj.s from data/data3.s 2017-09-17 17:33:25 -04:00
scnorton 70b1ad4857 Remaining functions 2017-09-17 15:33:26 -04:00
scnorton fb01dd2e5a More an_walk_any_2_macro memes (again again) 2017-09-17 15:06:45 -04:00
scnorton a9d3949c91 More an_walk_any_2_macro memes (again) 2017-09-17 15:05:23 -04:00
scnorton 8d34e9c397 More an_walk_any_2_macro memes 2017-09-17 15:03:47 -04:00
scnorton 7bf307e7ae The memes keep coming 2017-09-17 14:59:52 -04:00
scnorton 0689afbd86 Yet more maybe_shadow_1 memes 2017-09-17 14:54:27 -04:00
scnorton b54689b9a3 Another four functions 2017-09-17 14:12:32 -04:00
scnorton c9699169ad another block of directional anim functions 2017-09-17 14:06:43 -04:00
scnorton e544d5f8b8 sub_80958C0 and callers 2017-09-17 14:02:43 -04:00
scnorton 283d9060a7 Some functions relating to affine animations 2017-09-17 13:59:30 -04:00
scnorton 71b40f50c0 Merge branch 'master' into field_map_obj 2017-09-17 13:38:33 -04:00
scnorton 4b04e92e8b Ten more functions (remaining function count is 99) 2017-09-17 13:26:17 -04:00
DizzyEggg 07c2a83827 Merge branch 'master' into decomp_battle3 2017-09-17 19:22:53 +02:00
yenatch 74bda5b680 Merge pull request #33 from ProjectRevoTPP/master
split/rename remaining rom files.
2017-09-17 13:21:07 -04:00
scnorton 7af9833883 Additional script object callbacks 2017-09-17 13:06:03 -04:00
scnorton 513e3cd9bc Five small functions 2017-09-17 13:00:43 -04:00
scnorton 92a3f1cb2e More maybe_shadow_1_macro memes 2017-09-17 12:57:42 -04:00
scnorton b06631f654 Functions for facing towards/away from another object? 2017-09-17 12:25:27 -04:00
scnorton 20152fb0af Yet Another Macro Cluster TM 2017-09-17 12:19:35 -04:00
PikalaxALT 3356a4fb92 Failed attempt to fix InitFieldObjectStateFromTemplate, but at least we fixed the weirdness with the double MapObject structs 2017-09-17 11:39:49 -04:00
DizzyEggg 75595f9b3d decompile battle 3 2017-09-17 17:14:32 +02:00
PikalaxALT 9b4c61658a npc_set_direction_and_anim__an_proceed 2017-09-17 10:58:24 -04:00
PikalaxALT 384ca4658b yet more an_walk_any_2_macro functions 2017-09-17 10:29:57 -04:00
PikalaxALT f8b08d3ee7 more an_walk_any_2_macro functions 2017-09-17 10:25:48 -04:00
PikalaxALT 43b3195bc8 More special anims with timers 2017-09-17 10:23:18 -04:00
PikalaxALT cd958b1e43 special_anim_with_timer 2017-09-17 10:07:43 -04:00
PikalaxALT 3a7f771eab maybe_shadow_1 might be a meme 2017-09-17 10:01:27 -04:00
PikalaxALT 3fdb217ba3 sub_80941E0 2017-09-17 09:55:17 -04:00
PikalaxALT 99e0fe1f24 callers of callers of sub_80940C4 2017-09-17 09:52:17 -04:00
PikalaxALT 9dc7839dd8 callers of sub_80940C4 2017-09-17 09:49:50 -04:00
DizzyEggg c7592bc87c finish porting cam's port 2017-09-17 15:19:15 +02:00
PikalaxALT 8ee004b9b1 sub_80940C4 which may or may not be a meme 2017-09-17 08:45:24 -04:00
PikalaxALT bf9a00250b maybe_shadow_1 which may or may not be a shadow 2017-09-17 08:38:00 -04:00
PikalaxALT ed6e95fbd7 Avoid using duplicate macros 2017-09-17 08:30:36 -04:00
PikalaxALT 501baffc48 Yet another chunk of highly similar functions 2017-09-17 08:26:27 -04:00
PikalaxALT 6439551e1a Another chunk of functions, including some expanded from macros 2017-09-17 08:20:42 -04:00
DizzyEggg a9a66b06ef start porting cam's port of battle3 2017-09-17 14:10:32 +02:00
PikalaxALT 0582b5cb90 npc_obj_ministep_stop_on_arrival 2017-09-17 08:05:33 -04:00
PikalaxALT 7c8991842f do_run_anim 2017-09-16 23:52:50 -04:00
PikalaxALT 529ccf9a96 do_go_anim 2017-09-16 23:49:31 -04:00
PikalaxALT 432924e56d npc_apply_direction 2017-09-16 23:31:43 -04:00
PikalaxALT 8e03a0199c an_look_any simple 2017-09-16 23:20:44 -04:00
PikalaxALT 4ef7127561 FieldObjectSetRegularAnim 2017-09-16 23:12:35 -04:00
PikalaxALT 4e22f1e55f MapObjectExec***Anim 2017-09-16 23:11:09 -04:00
PikalaxALT 5f189fa53b state_to_direction memes 2017-09-16 23:05:53 -04:00
PikalaxALT 0e3dbf3235 GetOppositeDirection 2017-09-16 23:03:04 -04:00
PikalaxALT 9514206969 Another block of functions for getting anim ids given direction 2017-09-16 22:58:17 -04:00
PikalaxALT 08cb777fd7 FieldObjectFaceOppositeDirection 2017-09-16 22:54:15 -04:00
PikalaxALT d1666473d3 Another block of functions for getting anim IDs from directions 2017-09-16 22:48:19 -04:00
PikalaxALT eb7e52d2a8 Deswiss the cheese 2017-09-16 22:44:47 -04:00
PikalaxALT 64d3a67b0c FieldObjectMoveDestCoords 2017-09-16 22:27:04 -04:00
PikalaxALT eb41c57ecd GetFieldObjectMovingCameraOffset 2017-09-16 22:23:48 -04:00
PikalaxALT 812ad017e8 sub_80930E0 2017-09-16 22:19:23 -04:00
PikalaxALT 44e590add0 sub_8093038 2017-09-16 22:15:54 -04:00
PikalaxALT 3f2c6556cb sub_8092FF0 2017-09-16 21:59:14 -04:00
PikalaxALT bd48354207 sub_8092F88 2017-09-16 21:52:55 -04:00
PikalaxALT 76b68e039d MoveCoordsPixel 2017-09-16 21:45:18 -04:00
PikalaxALT f03c0dc3b4 MoveCoords 2017-09-16 21:39:29 -04:00
ProjectRevoTPP a923091dec formatting 2017-09-16 21:35:02 -04:00
ProjectRevoTPP 16c05694fb split remaining rom files. 2017-09-16 21:32:37 -04:00
PikalaxALT 996d9f4b42 sub_8092E9C 2017-09-16 21:31:37 -04:00
PikalaxALT 951acc8c31 CheckForCollisionBetweenFieldObjects 2017-09-16 21:29:04 -04:00
PikalaxALT c982993860 IsMetatileDirectionallyImpassable 2017-09-16 21:08:44 -04:00
PikalaxALT 3e472ccc8b IsCoordOutsideFieldObjectMovementRect 2017-09-16 21:04:52 -04:00
PikalaxALT 7d58ce75ad sub_8092C8C 2017-09-16 18:52:20 -04:00
PikalaxALT fedbcd7bb7 npc_block_way 2017-09-16 18:42:35 -04:00
PikalaxALT 5812bc4ebe npc_block_way__next_tile 2017-09-16 18:33:38 -04:00
PikalaxALT ca88036ebe npc_set_running_behaviour_etc 2017-09-16 18:29:14 -04:00
PikalaxALT edd5c81a8e sub_8092AF8 2017-09-16 18:24:58 -04:00
PikalaxALT 589c34e30a obj_npc_animation_step, npc_apply_anim_looping 2017-09-16 18:18:34 -04:00
PikalaxALT 119c0e96b5 sub_8092A4C 2017-09-16 18:04:26 -04:00
yenatch d574795b72 Merge pull request #32 from Diegoisawesome/master
Extract baserom calls from data2.s and begin tidying up strings.s
2017-09-16 17:57:50 -04:00
PikalaxALT fa436fca4d a block of direction-based anim num fns 2017-09-16 17:41:46 -04:00
PikalaxALT 34950dbd13 remaining field object step callbacks 2017-09-16 17:34:41 -04:00
PikalaxALT 15aba9a076 Hidden1 2017-09-16 17:24:26 -04:00
PikalaxALT 6247fe742c Tree and Mountain Disguise FOCB 2017-09-16 16:53:55 -04:00
Diegoisawesome 5e12833b13 Finish merge 2017-09-16 15:50:08 -05:00
PikalaxALT 12885ca371 CopyPlayer2 2017-09-16 16:40:00 -04:00
PikalaxALT c6bb13939e state_to_direction memes 2017-09-16 16:10:55 -04:00
PikalaxALT 559833ccf6 Merge branch 'master' into field_map_obj 2017-09-16 15:41:54 -04:00
Diegoisawesome 5a74c0e913 Merge remote-tracking branch 'pret/master' 2017-09-16 14:24:47 -05:00
PikalaxALT c7f28f034c Change type of state_to_direction argument 1 to match pokeruby 2017-09-16 15:16:39 -04:00
Cameron Hall 19d2d73c70 Merge pull request #28 from DizzyEggg/decomp_pokemon
decompile pokemon1/2/3
2017-09-16 14:14:50 -05:00
PikalaxALT 052c9f0234 Fix header guards 2017-09-16 15:13:26 -04:00
PikalaxALT 18e06b480b Fix header guards 2017-09-16 15:13:06 -04:00
Diegoisawesome 3c63063831 Add missing file and rename data2.s to link.s 2017-09-16 14:08:47 -05:00
Cameron Hall 1220a139db Merge pull request #29 from DizzyEggg/decomp_berry
decompile berry
2017-09-16 13:58:46 -05:00
PikalaxALT 66fbc9753f sub_8091F94 2017-09-16 13:54:33 -04:00
PikalaxALT ee3dc1edda Some more functions, including some swiss-cheesing that got out of hand 2017-09-16 09:43:49 -04:00
PikalaxALT 86df6d1073 Field object path movement 2017-09-16 08:44:43 -04:00
PikalaxALT a082f92581 sub_8091110 2017-09-16 08:13:37 -04:00
Diegoisawesome 582a3795ac Remove unneeded files 2017-09-16 03:24:19 -05:00
Diegoisawesome 6ba1dc8169 Merge remote-tracking branch 'pret/master' 2017-09-16 03:21:42 -05:00
Diegoisawesome 448497dfbb Finish extracting data2.s 2017-09-16 03:21:09 -05:00
PikalaxALT 54c8580d34 rom_81700F8 2017-09-15 22:12:45 -04:00
PikalaxALT 3e9e4b13ec MoveFieldObjectInNextDirectionInSequence 2017-09-15 21:39:24 -04:00
PikalaxALT 79e8235701 AlternatelyGoInOppositeDirections 2017-09-15 21:26:56 -04:00
scnorton 1c6177f678 Rotatoes 2017-09-15 16:34:03 -04:00
scnorton 2e1ecdb877 Tridirectional spinners 2017-09-15 16:08:01 -04:00
scnorton f6840ba7e7 RandomlyLookSouthOrEast 2017-09-15 16:00:39 -04:00
scnorton b269048369 RandomlyLookSouthOrWest 2017-09-15 15:57:38 -04:00
scnorton 8c6367f997 RandomlyLookNorthOrEast 2017-09-15 15:53:07 -04:00
scnorton 0571056955 RandomlyLookNorthOrWest 2017-09-15 15:26:51 -04:00
scnorton bf101743c2 RandomlyLookEastOrWest 2017-09-15 14:42:54 -04:00
scnorton 7440bba1b1 RandomlyLookNorthOrSouth 2017-09-15 14:36:54 -04:00
scnorton 9f6a4be9f0 BerryTree 2017-09-15 14:26:01 -04:00
PikalaxALT 9a13b1f34e FaceFixedDirection 2017-09-14 21:30:14 -04:00
PikalaxALT 68c62595f5 RandomlyGoEastOrWest 2017-09-14 21:25:30 -04:00
PikalaxALT 4a1383d77b RandomlyGoNorthOrSouth 2017-09-14 21:22:14 -04:00
PikalaxALT 0ae3347e47 Rename some functions 2017-09-14 08:38:21 -04:00
PikalaxALT c1c12981fe LookRandomDirections helpers 2017-09-13 21:11:59 -04:00
PikalaxALT 2895765964 LookRandomDirections 2017-09-13 20:36:58 -04:00
PikalaxALT ddf712beac sub_808F8BC 2017-09-13 20:34:25 -04:00
PikalaxALT c1f5183f40 Three-direction get-running-past-facing callbacks 2017-09-13 20:26:08 -04:00
PikalaxALT 6b906d95b9 Three more running-past-facing-direction callbacks 2017-09-13 20:22:38 -04:00
PikalaxALT a04666e2d3 Running-past facing direction callbacks (North/East restricted) 2017-09-13 19:54:43 -04:00
PikalaxALT f9de01dc86 sub_808F638 and sub_808F648 2017-09-13 19:45:59 -04:00
PikalaxALT 64ffa8f963 Merge branch 'master' into field_map_obj 2017-09-13 19:29:19 -04:00
PikalaxALT c2e31f0618 sub_808F608 2017-09-13 19:21:05 -04:00
PikalaxALT d72231379b FieldObjectIsTrainerAndCloseToPlayer 2017-09-13 19:13:44 -04:00
DizzyEggg b1e90c1d50 review berry cleanings 2017-09-13 19:30:05 +02:00
DizzyEggg c80b76e85a Merge branch 'master' into decomp_berry 2017-09-13 18:24:59 +02:00
DizzyEggg 117f8a6abd Merge branch 'master' into decomp_pokemon 2017-09-13 18:24:01 +02:00
Cameron Hall 78009a835f Merge pull request #30 from DizzyEggg/decompile_util
decompile util
2017-09-13 11:19:13 -05:00
PikalaxALT e26501f130 Support functions for GoRandomDirections 2017-09-13 10:59:25 -04:00
scnorton 28b272bf52 NoMovement1, GoRandomDirections 2017-09-13 09:41:11 -04:00
DizzyEggg 4c16bb5ee6 decompile util.s 2017-09-13 12:58:57 +02:00
DizzyEggg a08cd8e5a7 define number of map objects 2017-09-13 12:17:48 +02:00
DizzyEggg 1ecd0a7838 add vba save files to gitignore 2017-09-13 11:18:06 +02:00
DizzyEggg 5f4c5e280c berry.s decompiled 2017-09-13 11:16:26 +02:00
DizzyEggg a83d07e1b3 Merge branch 'master' into decomp_berry 2017-09-13 10:03:07 +02:00
Diegoisawesome 3e1c6024a7 Continue extracting from data2.s 2017-09-13 01:10:12 -05:00
shinyquagsire23 dd316b28e0 Decompile up to ARM functions in librfu, split ARM interrupt functions into their own .s 2017-09-12 20:11:51 -06:00
scnorton c8696f1552 npc_paltag_by_palslot 2017-09-12 17:35:08 -04:00
DizzyEggg c9603c40d8 Merge branch 'master' into decomp_pokemon 2017-09-12 23:02:08 +02:00
PikalaxALT 9286c93c8a npc_paltag_set_load 2017-09-12 16:49:04 -04:00
PikalaxALT c6ef344262 sub_808F254 2017-09-12 16:17:52 -04:00
DizzyEggg 625b1b6949 start berry porting 2017-09-12 18:47:27 +02:00
Cameron Hall 0918cadae3 Merge pull request #27 from DizzyEggg/decomp_script
decompile script.s
2017-09-12 11:45:32 -05:00
DizzyEggg 8731a8caa5 one more function in pokemon1 2017-09-12 15:36:04 +02:00
DizzyEggg 0fe7030230 pokemon 3 is almost decompiled 2017-09-12 15:05:40 +02:00
DizzyEggg 6539188fa6 label and decomp some pokemon animation stuff 2017-09-12 13:05:54 +02:00
DizzyEggg 4d84618732 make vars static in script s 2017-09-12 10:41:30 +02:00
DizzyEggg e5ff9e3db1 will fix later i guess 2017-09-12 10:39:17 +02:00
Diegoisawesome a9f09ca051 Begin renaming string.s unknowns 2017-09-12 01:23:34 -05:00
Diegoisawesome 04598f0749 Rename data2 external file symbols 2017-09-12 00:00:05 -05:00
Diegoisawesome 7808374cfe Merge remote-tracking branch 'pret/master' 2017-09-11 22:03:27 -05:00
Diegoisawesome 3a96688b12 Dump strings.txt 2017-09-11 22:01:39 -05:00
shinyquagsire23 a8a6816f0e Decompile STWI_start_command 2017-09-11 17:49:50 -06:00
shinyquagsire23 3c51ecded9 Decompile to STWI_init 2017-09-11 17:04:13 -06:00
DizzyEggg 4242ede445 almost there, troubles 2017-09-12 00:01:12 +02:00
DizzyEggg 738e776630 more pokemon2 decomp 2017-09-11 22:28:36 +02:00
DizzyEggg e69606b5cb praise cam the CHAMP man 2017-09-11 19:42:37 +02:00
DizzyEggg 8e88f2790a pokemon2 get mon data troubles 2017-09-11 18:27:54 +02:00
scnorton 9306122359 through sub_808F23C 2017-09-11 10:46:26 -04:00
scnorton 2b9b75a824 sub_808F1B4 2017-09-11 10:40:34 -04:00
scnorton 7c40186e35 FindFieldObjectTemplateInArrayByLocalId 2017-09-11 10:31:09 -04:00
scnorton 5ad282c82c GetFieldObjectTemplateByLocalIdAndMap 2017-09-11 10:29:00 -04:00
scnorton bd9b81546f through FieldObjectGetBerryTreeId 2017-09-11 10:19:03 -04:00
DizzyEggg 5394435520 more of pokemon3 decompiled 2017-09-11 14:42:13 +02:00
DizzyEggg 154a70e228 start pokemon3 decomp 2017-09-11 11:35:41 +02:00
DizzyEggg 48239b6598 Merge branch 'master' into decomp_script 2017-09-11 09:22:10 +02:00
Diegoisawesome 54e18f3f2e Add missing files for building 2017-09-11 01:50:55 -05:00
scnorton bc98dc128b Make rom.sha1 lowercase to fix erroneous comparison results on *nix 2017-09-11 01:50:23 -05:00
Diegoisawesome ab189ecec5 Begin extracting baserom calls from data2.s 2017-09-11 00:40:47 -05:00
shinyquagsire23 ce08f34ed5 Finish with STWI_send_* 2017-09-10 22:22:10 -06:00
shinyquagsire23 e26e1f1275 Use a union to differentiate between 8-bit and 32-bit operations on packets 2017-09-10 22:03:12 -06:00
shinyquagsire23 9218c2ce16 Decompile to STWI_send_TestModeREQ 2017-09-10 21:46:26 -06:00
shinyquagsire23 dac306c5e9 Decompiled librfu to STWI_send_DisconnectREQ 2017-09-10 21:41:56 -06:00
scnorton bcf844f965 sub_808F080 2017-09-10 17:47:37 -04:00
Cameron Hall 6292b82503 Merge pull request #26 from Diegoisawesome/master
Decompile bg.s
2017-09-10 16:13:17 -05:00
scnorton 8456991837 Functions for retrieving flag and script pointer given map object id 2017-09-10 17:11:03 -04:00
DizzyEggg a2a66181fb decompile script.s 2017-09-10 23:05:23 +02:00
scnorton b263dcc7cf FieldObjectSetDirection 2017-09-10 17:04:37 -04:00
scnorton 69a1ff984d obj_unfreeze 2017-09-10 16:57:08 -04:00
scnorton 251360624a CopySprite 2017-09-10 16:53:08 -04:00
scnorton a89da3ae31 Functions operating on the camera object 2017-09-10 16:36:19 -04:00
scnorton 4dfae8b9e4 FindCameraObject 2017-09-10 16:32:26 -04:00
scnorton c7b1a8c3da ObjectCB_CameraObject 2017-09-10 16:13:19 -04:00
scnorton 9e0a171098 AddCameraObject 2017-09-10 16:02:20 -04:00
scnorton 5a5ea8c740 UpdateFieldObjectsForCameraUpdate 2017-09-10 15:56:03 -04:00
scnorton d8e2238086 FieldObjectDoesZCoordMatch 2017-09-10 15:54:41 -04:00
scnorton 79b19a36b8 UpdateFieldObjectCoordsForCameraUpdate 2017-09-10 15:35:21 -04:00
scnorton 5bb5886774 npc_coords_shift_still 2017-09-10 15:14:46 -04:00
scnorton 1ed1fbab1c sub_808EBA8 2017-09-10 15:12:48 -04:00
shinyquagsire23 f4a21e5789 Cleanup and formatting fixes from camthesaxman 2017-09-10 12:04:48 -06:00
Diegoisawesome 1b220ed2ed Resolve some nonmatchings in bg.c 2017-09-10 01:02:23 -05:00
Diegoisawesome bdb6c775d9 Remove bg.h 2017-09-09 21:48:33 -05:00
yenatch 7e9948ba2b Merge pull request #24 from PikalaxALT/master
Make rom.sha1 lowercase to fix erroneous comparison results on *nix
2017-09-09 22:34:27 -04:00
Diegoisawesome a1368c545d Merge remote-tracking branch 'pret/master' 2017-09-09 20:54:41 -05:00
Diegoisawesome f29fc55796 Cleanup bg.c 2017-09-09 20:52:33 -05:00
Diegoisawesome 001d1027e3 Finish bg.s, 6 nonmatching 2017-09-09 19:46:19 -05:00
Cameron Hall eb280768a4 Merge pull request #23 from DizzyEggg/clean_up2
Splitting, labelling, decomp
2017-09-09 12:06:15 -05:00
DizzyEggg 10a525d5a0 decomp safari zone 2017-09-09 15:45:50 +02:00
DizzyEggg 2a1e63f2b2 add vba save state files to gitignore 2017-09-09 14:27:51 +02:00
DizzyEggg 3355389eab start coins decomp 2017-09-09 14:24:18 +02:00
PikalaxALT ba6987b733 sub_808EB08 2017-09-08 21:35:46 -04:00
PikalaxALT 019935fb73 npc_coords_set 2017-09-08 21:28:22 -04:00
PikalaxALT 70e982d1fa npc_coords_shift 2017-09-08 21:27:02 -04:00
PikalaxALT 43c3b9fdff unref_sub_808EAC4 2017-09-08 21:25:20 -04:00
DizzyEggg 307278374b start money.s decomp 2017-09-09 00:45:25 +02:00
scnorton b639ca3b15 sub_808EAB0 2017-09-08 18:12:27 -04:00
scnorton a17a1bb27a npc_load_two_palettes__and_record 2017-09-08 18:04:23 -04:00
scnorton dddb44e301 npc_load_two_palettes__no_record 2017-09-08 17:58:41 -04:00
scnorton 5a020a47f3 FindFieldObjectPaletteIndexByTag 2017-09-08 17:34:12 -04:00
scnorton 07b1668623 pal_patch_for_npc_range 2017-09-08 17:21:58 -04:00
scnorton e6e0dc80f6 pal_patch_for_npc 2017-09-08 17:17:03 -04:00
DizzyEggg 5eff1d5bdb label gHealthBoxesIds 2017-09-08 22:27:27 +02:00
DizzyEggg 44dbf4dea0 port pokemon size record 2017-09-08 22:23:14 +02:00
scnorton 2d3ce87c4c sub_808E8F4 2017-09-08 15:27:08 -04:00
scnorton 444887ba22 sub_808E8C0 2017-09-08 15:21:32 -04:00
scnorton 1de5a14a35 sub_808E894 2017-09-08 15:18:03 -04:00
scnorton db2b371e70 gpu_pal_allocator_reset__manage_upper_four 2017-09-08 15:11:29 -04:00
scnorton d3edf5642e sub_808E82C 2017-09-08 15:08:10 -04:00
scnorton 8ef5d05955 sub_808E7E4 2017-09-08 15:05:04 -04:00
scnorton 782f21f63e sub_808E78C 2017-09-08 14:58:17 -04:00
scnorton 62eca95358 sub_808E75C 2017-09-08 14:53:00 -04:00
scnorton 05685f3961 FieldObjectGetLocalIdAndMap 2017-09-08 14:40:34 -04:00
scnorton 67955bb51a npc_by_local_id_and_map_set_field_1_bit_x20 2017-09-08 14:36:58 -04:00
scnorton 511474cc15 FieldObjectHandleDynamicGraphicsId 2017-09-08 14:20:13 -04:00
scnorton e0b2e6cdbf GetFieldObjectGraphicsInfo 2017-09-08 14:16:44 -04:00
scnorton 823f8d6a0c get_berry_tree_graphics 2017-09-08 14:05:45 -04:00
scnorton 9b98055ecc PlayerObjectTurn 2017-09-08 13:46:21 -04:00
PikalaxALT ddcce8c3bc FieldObjectTurn 2017-09-08 13:41:55 -04:00
DizzyEggg 4d01d400a8 port lottery corner 2017-09-08 18:48:55 +02:00
DizzyEggg a55c5925a6 label gMapHeader 2017-09-08 18:31:57 +02:00
DizzyEggg bf11200d4a () to (void) 2017-09-08 18:28:00 +02:00
DizzyEggg 8544804758 failed nonmatch attempt, better arg names given I guess 2017-09-08 18:19:20 +02:00
DizzyEggg ba1c066d57 new game fully decompiled 2017-09-08 16:46:37 +02:00
Diegoisawesome 6c6ebd9268 Fix nonmatchings, stuck on CopyRectToBgTilemapBufferRect 2017-09-08 01:02:35 -05:00
PikalaxALT ad99377734 unref_sub_808E504 2017-09-07 21:17:55 -04:00
PikalaxALT a87b35f9a7 FieldObjectSetGraphicsId 2017-09-07 21:04:32 -04:00
PikalaxALT f8e8adf82e SetPlayerAvatarFieldObjectIdAndObjectId 2017-09-07 20:04:59 -04:00
PikalaxALT 11786cc325 sub_808E38C 2017-09-07 19:45:30 -04:00
PikalaxALT de8ef5e125 sub_808E1B8 2017-09-07 19:28:46 -04:00
PikalaxALT 113482a7cc sub_808E16C 2017-09-07 18:54:51 -04:00
PikalaxALT 44be18e1df RemoveFieldObjectIfOutsideView 2017-09-07 17:41:56 -04:00
PikalaxALT 341a4735bc RemoveFieldObjectsOutsideView 2017-09-07 16:09:59 -04:00
PikalaxALT f128e4c4f0 SpawnFieldObjectsInView 2017-09-07 15:58:38 -04:00
PikalaxALT 64ebd9b4fb sprite_new 2017-09-07 15:50:49 -04:00
PikalaxALT f7742a68ae AddPseudoFieldObject 2017-09-07 14:31:23 -04:00
PikalaxALT 12562aa2d4 MakeObjectTemplateFromFieldObjectTemplate 2017-09-07 14:16:30 -04:00
DizzyEggg 4a1b2967ca make lots of define files 2017-09-07 19:45:32 +02:00
DizzyEggg 8bfdc42d0e name b message functions, split battle2 2017-09-07 16:35:25 +02:00
DizzyEggg d7d1b97bb8 add battle strings codes to charmap 2017-09-07 15:10:33 +02:00
shinyquagsire23 b420fb3962 Decompiled librfu to STWI_send_CP_EndREQ 2017-09-07 03:59:39 -06:00
shinyquagsire23 f1216076d7 Begin librfu decompilation 2017-09-07 00:55:52 -06:00
Diegoisawesome a2d37efb67 Almost perfect now but r8 and r12 are flipped 2017-09-06 23:53:13 -05:00
Diegoisawesome 3f61c01afa Stuck on CopyToBgTilemapBufferRect 2017-09-06 21:59:34 -05:00
PikalaxALT 112177b57f Slight touching up of data3.s; denote boundaries of data/field_map_obj.s for future split 2017-09-06 22:46:44 -04:00
PikalaxALT 1f83a2885e Through MakeObjectTemplateFromFieldObjectGraphicsInfo 2017-09-06 22:33:11 -04:00
PikalaxALT 22c8367956 SpawnSpecialFieldObject 2017-09-06 22:00:51 -04:00
PikalaxALT bd4b3c4c6d SpawnFieldObject 2017-09-06 21:46:53 -04:00
PikalaxALT b79e3af0a8 SpawnFieldObjectInternal 2017-09-06 20:28:36 -04:00
scnorton e0216d6045 unref_sub_808D958 2017-09-06 18:26:37 -04:00
scnorton 398186d7c4 RemoveFieldObjectInternal 2017-09-06 18:12:44 -04:00
scnorton 942400ddbf RemoveFieldObject 2017-09-06 17:55:36 -04:00
scnorton a6269f2f0f Static 2017-09-06 17:29:13 -04:00
scnorton e060123648 GetAvailableFieldObjectSlot 2017-09-06 17:25:20 -04:00
DizzyEggg cb9b14a3e5 split lilycove_lady 2017-09-06 22:27:17 +02:00
scnorton 6448563ede unref_sub_808D77C 2017-09-06 16:14:55 -04:00
DizzyEggg d41cc4c8d0 clean a bit more ewram.txt 2017-09-06 22:01:43 +02:00
DizzyEggg cdd36116f2 label pokemon3.s 2017-09-06 21:48:30 +02:00
DizzyEggg 33ee3115ab add glink defines from pokeruby 2017-09-06 21:18:50 +02:00
DizzyEggg b7d75cb615 split item effects and organize sym ewram 2017-09-06 21:11:10 +02:00
scnorton 9498dfa71c InitFieldObjectStateFromTemplate (nonmatching, same as ruby) 2017-09-06 14:25:17 -04:00
DizzyEggg c3cc1b3370 make it compile 2017-09-06 18:39:03 +02:00
DizzyEggg 0cc4cadd2f label pokemon2 and some box stuff 2017-09-06 18:34:18 +02:00
DizzyEggg c6eacc9be5 start porting pokemon1 2017-09-06 17:19:08 +02:00
scnorton 1087d1c822 GetFieldObjectIdByLocalIdAndMapInternal; rename gUnknown_02037350 to gMapObjects 2017-09-06 10:48:51 -04:00
scnorton f15191bfc2 GetFieldObjectIdByXY 2017-09-06 09:52:31 -04:00
DizzyEggg 577e23a87d Merge branch 'master' into clean_up2 2017-09-06 15:51:09 +02:00
scnorton ea9dabdfab TryGetFieldObjectIdByLocalIdAndMap 2017-09-06 09:49:51 -04:00
scnorton f3f8c5ec2c sub_808D4F4 2017-09-06 09:42:10 -04:00
scnorton 368b0f9ee8 sub_808D450 2017-09-06 09:38:38 -04:00
scnorton a08f11cab3 sub_808D438 2017-09-06 09:29:59 -04:00
scnorton f677873d07 npcs_clear_ids_and_state 2017-09-06 09:25:16 -04:00
scnorton dcda5419b8 Merge branch 'master' into field_map_obj 2017-09-06 09:21:52 -04:00
scnorton 1959b1afcc Make rom.sha1 lowercase to fix erroneous comparison results on *nix 2017-09-06 09:20:49 -04:00
PikalaxALT 83dbdc0318 npc_clear_ids_and_state 2017-09-06 08:46:47 -04:00
PikalaxALT 63dd0ea397 Spawn source files for Field Map Obj 2017-09-06 08:35:16 -04:00
DizzyEggg b6661e7736 name some pokemon and battle labels 2017-09-05 20:13:34 +02:00
DizzyEggg a7486afb4e dump some more strings 2017-09-05 17:43:47 +02:00
DizzyEggg e18241d8ec dumped a lot of strings 2017-09-05 17:04:11 +02:00
DizzyEggg 1680fc0b81 start start menu decomp 2017-09-05 13:01:24 +02:00
DizzyEggg 54b8306115 really clean up battle ai 2017-09-05 09:41:48 +02:00
Diegoisawesome afa3bf20c6 Continue work on bg.s 2017-09-05 01:02:31 -05:00
Diegoisawesome ea33650dc1 Begin disassembling bg.s 2017-09-04 21:18:52 -05:00
luckytyphlosion 675bdb5250 Add Discord and other disassemblies. 2017-09-04 19:41:47 -04:00
DizzyEggg 2702b0ec9b decomp calc dmg and clean up battle ai 2017-09-04 21:43:13 +02:00
DizzyEggg 92892d140a begin load_save.c 2017-09-04 18:26:39 +02:00
DizzyEggg 7ba62bcac8 split data battle controller files 2017-09-04 15:39:20 +02:00
DizzyEggg 1a9b1a45ca split battle rodata 2017-09-04 15:05:11 +02:00
DizzyEggg 0b39bfb2c2 label a bit of battle transition 2017-09-04 13:46:03 +02:00
DizzyEggg a83501f3bc find pokemon animation and recorded 2017-09-04 13:23:40 +02:00
DizzyEggg 4bf54bfdd4 split roamer and decor inventories 2017-09-04 13:01:57 +02:00
DizzyEggg 75a94ce58e split and label 2017-09-04 12:22:04 +02:00
yenatch 7ea0d462c4 Merge pull request #22 from DizzyEggg/clean_up
bring pokeemerald to usable state
2017-09-03 18:11:57 -04:00
DizzyEggg 5afd2d5bfb begin new save.c, label lots of things 2017-09-03 22:50:17 +02:00
DizzyEggg d09f39e971 label battle animation unknowns 2017-09-03 20:13:23 +02:00
DizzyEggg 9dedb3a8bd split more battle buffer files 2017-09-03 18:58:40 +02:00
DizzyEggg ddf85539c1 move ram save variables to C 2017-09-03 15:39:33 +02:00
DizzyEggg a3f602f17c begin save.s decomp, thanks revo! 2017-09-03 14:13:01 +02:00
DizzyEggg 907e281de6 decompile label more of item.s 2017-09-03 13:33:13 +02:00
DizzyEggg 50530b4666 begin decompiling item.s 2017-09-03 00:47:51 +02:00
DizzyEggg d5806bfe6a label some item functions 2017-09-03 00:00:38 +02:00
DizzyEggg e0725bca55 move variables to rtc.c 2017-09-02 23:37:06 +02:00
DizzyEggg 048700fe57 decompile rtc 2017-09-02 23:28:44 +02:00
DizzyEggg b5fea95a46 finish event data 2017-09-02 22:31:37 +02:00
DizzyEggg a4cc67008e begin event data 2017-09-02 21:43:53 +02:00
DizzyEggg a47face8cf split battle buffer files 2017-09-02 20:56:53 +02:00
DizzyEggg a91ffaaa41 clean up decompress header 2017-09-02 20:08:08 +02:00
DizzyEggg 7a831c215e decompile decompress.s 2017-09-02 19:55:39 +02:00
DizzyEggg 7ecdcc5ed8 iwram and ewram vars to C 2017-09-02 17:32:34 +02:00
DizzyEggg 591837e3c3 decompile sound.s 2017-09-02 17:03:46 +02:00
DizzyEggg 2089dd0f86 start labelling, decompiling sound.s 2017-09-02 16:03:53 +02:00
DizzyEggg 84240b1a5a sprite.c: move ewram, iwram, rom data 2017-09-02 13:11:19 +02:00
DizzyEggg 24a1e3e544 decompile more of sprite.s 2017-09-02 12:12:09 +02:00
DizzyEggg c146c247f2 decompile more of sprite.s 2017-09-02 01:42:44 +02:00
DizzyEggg 26bf61e06f start decompiling sprite.s 2017-09-02 00:21:11 +02:00
DizzyEggg bc5acf7394 more splitting, move ewram sprite vars to C 2017-09-02 00:09:46 +02:00
DizzyEggg 449d546556 split some battle files 2017-09-01 23:40:13 +02:00
DizzyEggg b614971cba find b scripting commands table, thx revo 2017-09-01 22:35:45 +02:00
DizzyEggg cb12aaec65 git commit -m "label sprite for real this time"
git commit -m
2017-09-01 22:29:13 +02:00
DizzyEggg 0989222de3 revert fuck-up 2017-09-01 22:08:40 +02:00
DizzyEggg ee7580753b rename sprite labels 2017-09-01 19:43:26 +02:00
DizzyEggg 6987dd9a21 decompile text window 2017-09-01 19:01:58 +02:00
DizzyEggg 1d2be3c5e8 get rid of data window 2017-09-01 17:38:28 +02:00
DizzyEggg 7daeebd3f4 decompile window.s 2017-09-01 16:53:06 +02:00
DizzyEggg 6f03356237 begin working on pokeemerald 2017-08-31 16:48:24 +02:00
camthesaxman cbe13acff1 split out battle_3.s 2017-07-29 15:18:01 -05:00
Cameron Hall daa0495577 Merge pull request #20 from camthesaxman/decompile_battle_3
Fix literal pools and alignment
2017-07-29 11:45:58 -05:00
camthesaxman 16d30072cb fix the alignment, maybe? 2017-07-28 19:53:49 -05:00
camthesaxman 6ff99b648e align script 2017-07-28 19:31:43 -05:00
camthesaxman b89f1431f8 stop optimizing literal pool loads 2017-07-28 19:26:59 -05:00
YamaArashi e0dd5ef9a7 fix build errors 2017-04-05 13:51:55 -07:00
Diegoisawesome b95747dc69 Begin disassembling window.s 2017-03-29 19:02:15 -05:00
Diegoisawesome 0931f65fa2 Cleanup files 2017-03-27 23:38:49 -05:00
Diegoisawesome 5a8eeb353d Mostly decompile text.s 2017-03-27 19:30:49 -05:00
Diegoisawesome 1d95689766 Continue disassembling text.s 2017-03-08 14:44:44 -06:00
Diegoisawesome c47e109fbf Use constant NUM_TASKS in palette.c 2017-03-07 07:47:23 -06:00
Diegoisawesome a2679fbbf0 Merge branch 'master' of https://github.com/Diegoisawesome/pokeemerald 2017-03-07 07:44:54 -06:00
Diegoisawesome 20358c4c96 Begin disassembling text.s 2017-03-07 07:44:41 -06:00
ProjectRevoTPP 5e42b2a558 formatting 2017-03-06 19:57:52 +00:00
ProjectRevoTPP 1965873326 merge 2017-03-06 08:38:30 +00:00
ProjectRevoTPP 1bbdaee1e1 clean up a few functions in palette.c 2017-03-06 08:37:33 +00:00
ProjectRevoTPP b2ec63d69e resolve implicit declarations and enforce warnings as errors 2017-03-05 13:27:22 -06:00
ProjectRevoTPP 4b004adee3 oops 2017-03-05 07:38:19 +00:00
ProjectRevoTPP 4df1842682 resolve implicit declarations and enforce warnings as errors 2017-03-05 07:35:03 +00:00
Diegoisawesome d12fd5c5ce Merge remote-tracking branch 'refs/remotes/pret/master' 2017-03-04 23:32:12 -06:00
Diegoisawesome 56f5e8bdab Disassemble palette.s
All but two functions match.
2017-03-04 22:43:34 -06:00
YamaArashi 83ae14e2b9 use constant in WaitForVBlank() 2017-02-17 10:58:42 -08:00
YamaArashi 73bf7791f8 use i/o register constants 2017-02-17 10:56:19 -08:00
YamaArashi a60e850a86 make VBlankIntr() match 2017-02-17 10:52:03 -08:00
ProjectRevoTPP afd45e9dd4 finish decompiling dma3_manager.c except for ProcessDma3Requests (#18) 2017-02-17 09:26:45 -08:00
ProjectRevoTPP 9a80b550f0 finish decompiling main.c (#17)
* partially decompile battle_ai.c up to tai60_unk

* nonmatching tai60_unk

* decompile more of battle_ai.c

* formatting

* finish porting battle_ai.c

* formatting

* decompile up to nonmatching VBlankIntr

* finish decompiling main.c

* formatting
2017-02-15 13:25:21 -08:00
YamaArashi 79c7922c23 remove asm/battle_ai.o from ld script 2017-02-03 18:39:54 -08:00
ProjectRevoTPP 689df5cff8 finish decompiling battle_ai.c (#16)
* partially decompile battle_ai.c up to tai60_unk

* nonmatching tai60_unk

* decompile more of battle_ai.c

* formatting

* finish porting battle_ai.c

* formatting
2017-02-03 18:34:56 -08:00
YamaArashi e2b834d21d begin decompiling main.s 2017-02-03 16:44:06 -08:00
YamaArashi ae1f731e60 add missing 'static' 2017-02-03 09:34:55 -08:00
YamaArashi 8f9ed6e585 decompile rng 2017-02-02 16:30:30 -08:00
YamaArashi 39299306e0 Merge pull request #15 from camthesaxman/battle_ai
start decompiling battle_ai
2017-02-01 20:17:55 -08:00
camthesaxman bcff8d1b45 start decompiling battle_ai 2017-02-01 22:15:38 -06:00
YamaArashi 82fed1cd44 Merge pull request #14 from camthesaxman/fix_build
make emerald build with the new preproc syntax
2017-01-31 21:42:17 -08:00
camthesaxman 8a36c77ac8 make emerald build 2017-01-31 23:31:28 -06:00
YamaArashi a0311c8f84 split more data 2017-01-15 22:56:19 -08:00
YamaArashi 0f27bfba8d split more code 2017-01-15 17:14:00 -08:00
YamaArashi 3c6e4dba69 formatting 2017-01-15 14:15:38 -08:00
YamaArashi af822ef2a7 make StringCopyN_Multibyte match 2017-01-15 14:10:24 -08:00
YamaArashi c01a3f4285 rename some functions to match pokeruby 2017-01-14 17:33:43 -08:00
YamaArashi b7e2a25915 port matching InsertTask() from pokeruby 2017-01-14 17:14:36 -08:00
YamaArashi 72470c7048 remove explicit array size 2017-01-14 15:50:29 -08:00
YamaArashi 53935efc64 mostly finish string_util.c 2017-01-14 15:17:51 -08:00
YamaArashi 1268134668 decompile string_util 2017-01-14 14:20:49 -08:00
YamaArashi 2f76de380c placeholder strings 2017-01-14 02:22:08 -08:00
YamaArashi dd0ed3d043 split out more data 2017-01-14 01:54:02 -08:00
YamaArashi a74c6f8586 begin splitting data2 2017-01-14 00:53:26 -08:00
YamaArashi ebf4c5ca76 decompile multiboot 2017-01-13 17:46:05 -08:00
YamaArashi 452bbe41cf port siirtc from pokeruby 2016-11-02 14:06:41 -07:00
YamaArashi a99e9a16c6 add *.bat to .gitignore 2016-11-02 13:03:36 -07:00
Diegoisawesome b0a46f2c4b Merge remote-tracking branch 'refs/remotes/pret/master' 2016-11-01 22:42:34 -05:00
Diegoisawesome 6838022ab3 Merge remote-tracking branch 'refs/remotes/pret/master' 2016-11-01 22:14:40 -05:00
YamaArashi a1e41e65a9 formatting 2016-11-01 20:10:33 -07:00
YamaArashi dcf291abe4 name pokemon cry voicegroup 2016-11-01 20:10:09 -07:00
Diegoisawesome 69c734c9a8 Ported libmks4agb from pokeruby (#12)
* Port agb_flash from pokeruby

* use ramscrgen

* formatting

* delete ewram_syms.txt and iwram_syms.txt

* Finish port of agb_flash

* Ported libmks4agb from pokeruby

* Reordered declarations to match pokeruby
2016-11-01 20:03:16 -07:00
Diegoisawesome 349c10c3a0 Reordered declarations to match pokeruby 2016-11-01 21:57:27 -05:00
Diegoisawesome f5743c7d6f Ported libmks4agb from pokeruby 2016-11-01 21:48:22 -05:00
Diegoisawesome 7f292ba84e Merge remote-tracking branch 'refs/remotes/pret/master'
# Conflicts:
#	sym_bss.txt
2016-11-01 18:17:27 -05:00
YamaArashi 2db94cf5eb remove libagbbackup_rodata.s 2016-11-01 16:14:27 -07:00
YamaArashi 105050fbe5 formatting 2016-11-01 16:09:15 -07:00
Diegoisawesome 2f6f3f8256 Port agb_flash from pokeruby (#11)
* Port agb_flash from pokeruby

* use ramscrgen

* formatting

* delete ewram_syms.txt and iwram_syms.txt

* Finish port of agb_flash
2016-11-01 16:04:03 -07:00
Diegoisawesome be503990d9 Merge branch 'master' of https://github.com/Diegoisawesome/pokeemerald 2016-11-01 17:53:12 -05:00
Diegoisawesome 06a8cfc9f8 Merge remote-tracking branch 'refs/remotes/pret/master'
# Conflicts:
#	asm/libagbbackup.s
#	asm/save.s
#	asm/save_failed_screen.s
#	sym_bss.txt
#	sym_common.txt
2016-11-01 17:50:47 -05:00
Diegoisawesome 67ac6db95e Finish port of agb_flash 2016-11-01 17:36:43 -05:00
YamaArashi dd3e5da227 delete ewram_syms.txt and iwram_syms.txt 2016-11-01 17:36:43 -05:00
YamaArashi e14f46dd65 formatting 2016-11-01 17:36:43 -05:00
YamaArashi 652600ba5d use ramscrgen 2016-11-01 17:36:37 -05:00
YamaArashi 555bbb5494 define variables in gpu_regs.c 2016-11-01 14:52:19 -07:00
YamaArashi f71ceb29b4 define variables in mallo.c 2016-11-01 14:45:06 -07:00
Diegoisawesome 265e1b712f Merge remote-tracking branch 'refs/remotes/pret/master'
# Conflicts:
#	asm/libagbbackup.s
2016-11-01 14:18:05 -05:00
Diegoisawesome 7dad2846f8 Port agb_flash from pokeruby 2016-11-01 14:15:48 -05:00
YamaArashi 532cff43fb delete ewram_syms.txt and iwram_syms.txt 2016-11-01 12:15:43 -07:00
YamaArashi d708372ea9 formatting 2016-11-01 12:13:12 -07:00
YamaArashi 734ec8dd51 use ramscrgen 2016-11-01 12:10:55 -07:00
Diegoisawesome b4a39100c0 Merge https://github.com/pret/pokeemerald 2016-11-01 12:20:17 -05:00
YamaArashi 6f0e42a91a split asm files 2016-11-01 10:16:34 -07:00
YamaArashi fef81187dc add address of main function 2016-11-01 09:51:03 -07:00
Diegoisawesome f09f9cef75 Merge remote-tracking branch 'refs/remotes/pret/master' 2016-11-01 10:56:23 -05:00
YamaArashi 4db33778ad formatting 2016-11-01 08:35:13 -07:00
YamaArashi a793e62d83 .s -> .inc 2016-11-01 08:29:13 -07:00
YamaArashi 2ec5b0cedd Merge pull request #10 from Diegoisawesome/master
Ported libc from pokeruby
2016-11-01 08:21:13 -07:00
Diegoisawesome 442002dada Ported libc from pokeruby 2016-11-01 10:17:40 -05:00
YamaArashi 74834c0ca0 remove old tools 2016-11-01 07:59:44 -07:00
Diegoisawesome 0f6ec6492c Merge remote-tracking branch 'refs/remotes/pret/master' 2016-10-31 18:52:21 -05:00
YamaArashi 3433894671 Merge pull request #9 from Diegoisawesome/master
Ported task.c and others from pokeruby
2016-10-31 08:23:51 -07:00
Diegoisawesome 4df1937738 Ported task.c and others from pokeruby 2016-10-31 09:43:17 -05:00
YamaArashi 6874afafe5 contest AI 2016-09-03 15:27:28 -07:00
YamaArashi 231ea2f27c base_emerald to baserom 2016-09-03 15:07:51 -07:00
YamaArashi 764fdaf381 add *.sha1 to .gitattributes 2016-09-03 14:49:37 -07:00
YamaArashi f5879e72d9 clean up aligns 2016-09-03 14:31:43 -07:00
YamaArashi 5af8ba570c add INSTALL file 2016-09-03 14:25:34 -07:00
YamaArashi de1bee2ddf update graphics makefile 2016-09-03 14:20:45 -07:00
YamaArashi a43a1cd76f move trainer graphics 2016-09-03 14:04:23 -07:00
YamaArashi a824690dbd move title screen graphics 2016-09-03 14:01:37 -07:00
YamaArashi 8e8d5dcba5 move pokemon graphics 2016-09-03 13:57:41 -07:00
YamaArashi 92d2c4ea10 move birch speech graphics 2016-09-03 11:13:17 -07:00
YamaArashi 4c543a3e5c move item graphics 2016-09-03 11:10:34 -07:00
YamaArashi 1af50a809c move map object graphics 2016-09-03 11:02:35 -07:00
YamaArashi 0a89eb1e66 move berry graphics 2016-09-03 10:38:37 -07:00
YamaArashi 513a162994 move tilesets to match pokeruby 2016-09-03 10:32:18 -07:00
YamaArashi deb6d7c6ba split data1.s 2016-09-03 10:20:06 -07:00
YamaArashi 8399f0af6b split data out of data2.s 2016-09-03 09:25:58 -07:00
YamaArashi e215a4b6c5 RFU data section 2016-09-03 04:29:59 -07:00
YamaArashi 13a00040d7 eliminate libgcc.s 2016-09-03 04:11:10 -07:00
YamaArashi c9b1c40b86 split out graphics data 2016-09-03 03:03:50 -07:00
YamaArashi 8866801ef9 make it build 2016-09-03 02:20:49 -07:00
YamaArashi a11fe6f83b global labels 2016-09-03 01:17:20 -07:00
YamaArashi b12e80fc04 split asm/emerald.s 2016-09-03 01:11:14 -07:00
YamaArashi a05857f889 make asm compatible with stock gas 2016-09-02 23:11:29 -07:00
YamaArashi f910e326a1 new charmap 2016-09-02 22:27:57 -07:00
YamaArashi 92fa2f05f4 update pokedex entries for preproc 2016-09-02 22:10:43 -07:00
YamaArashi 9a8c780523 {next} -> \n 2016-09-02 21:59:16 -07:00
YamaArashi 1ad80dfe89 .charmapstr to .string 2016-09-02 19:56:47 -07:00
YamaArashi 7bef2a2783 convert comments (; -> @) 2016-09-02 19:51:16 -07:00
YamaArashi bc10815b94 reorganize headers and add CpuFill macros 2016-01-08 12:49:23 -08:00
YamaArashi b06f500539 rename macro in gpu_regs.c 2016-01-08 11:46:13 -08:00
YamaArashi 8cc19c6b5e use FALSE instead of 0 2016-01-08 01:12:04 -08:00
YamaArashi b4781cdf03 gpu_regs.c 2016-01-08 01:08:16 -08:00
YamaArashi 4e95a13295 update asm 2016-01-07 23:27:40 -08:00
YamaArashi cf8f490381 begin compiling C source in the build process 2016-01-07 00:45:06 -08:00
YamaArashi b18325fc3e fix last @ local label 2016-01-06 21:24:27 -08:00
YamaArashi c14df031ad use $ for local labels 2016-01-06 20:44:58 -08:00
YamaArashi 8c312b28ab get rid of @ local labels 2016-01-06 20:23:20 -08:00
YamaArashi d35478a398 move C files 2016-01-06 18:57:32 -08:00
YamaArashi 9da6dee38e update .gitattributes with *.c and *.h rules 2016-01-06 18:55:37 -08:00
YamaArashi bc8a55565b fix mistake in location of return 2016-01-03 19:19:38 -08:00
YamaArashi c013862b69 make mem alloc functions more consistent 2016-01-03 19:03:30 -08:00
YamaArashi ccfaadc775 comment MemBlock struct and add data field 2016-01-03 15:34:11 -08:00
YamaArashi b116b3cb2e update disasm with function data from idb 2016-01-03 07:04:11 -08:00
YamaArashi 50fb956024 update struct field type 2016-01-03 06:46:11 -08:00
YamaArashi 9d535add1e c source code for malloc.c 2016-01-03 06:40:10 -08:00
YamaArashi 54c7ef9fc6 naming/renaming some field object functions 2015-12-29 18:41:57 -08:00
YamaArashi 47cae7f740 name some field object image animations 2015-12-27 00:09:10 -08:00
YamaArashi fe1076d42c update graphics function disasm 2015-12-03 00:17:29 -08:00
YamaArashi 4339dc18fc clean bg and core function names 2015-11-29 23:20:00 -08:00
YamaArashi d9995eae1a leading zeroes for numbered maps 2015-11-29 11:01:24 -08:00
YamaArashi e84b5c5eef trainer pic indices 2015-11-28 22:12:14 -08:00
YamaArashi f8504f2c9c new game Birch pic 2015-11-28 21:21:42 -08:00
YamaArashi fe5e75ac8f update window, text, and main menu disasm 2015-11-28 19:28:41 -08:00
YamaArashi 03778a4c06 split out main menu (and Birch speech) 2015-11-28 19:26:45 -08:00
YamaArashi 54640ba0bf remove unnecessary '.align' before '.pool' 2015-11-27 19:38:13 -08:00
YamaArashi 716991410a RTC data 2015-11-27 19:14:13 -08:00
YamaArashi d4cbc7e468 split out RTC functions 2015-11-27 18:54:15 -08:00
YamaArashi 9eabe80048 name game's RTC functions 2015-11-27 18:50:30 -08:00
YamaArashi 244ae4c8b8 name GPIO registers 2015-11-27 15:46:51 -08:00
YamaArashi ddc1ae2fed name RTC lib functions 2015-11-27 15:32:24 -08:00
YamaArashi 08c0c508cf name unknown library as 'librtc' 2015-11-27 15:30:41 -08:00
YamaArashi 13340a9d82 split out tileset animation code 2015-11-27 09:39:52 -08:00
YamaArashi 144bab20ce name tileset functions 2015-11-27 09:34:59 -08:00
YamaArashi 6105801ee7 split out multiboot.s 2015-11-27 02:19:02 -08:00
YamaArashi 85036fe67f partially comment GameCube multi-boot library 2015-11-27 01:33:50 -08:00
YamaArashi 0e3464ffa0 name unknown lib as 'libgcnmultiboot' (GameCube multi-boot) 2015-11-26 18:37:35 -08:00
YamaArashi 5ce2d43498 field effect graphics and scripts 2015-11-25 16:43:06 -08:00
YamaArashi f7a92b9a95 string ref charmap consts and field effect script macros 2015-11-24 18:04:56 -08:00
YamaArashi 3565d5ea5b split out string utility code 2015-11-24 12:35:16 -08:00
YamaArashi e417efb820 split out string utility data 2015-11-24 12:29:15 -08:00
YamaArashi c0502849fa powers of ten 2015-11-24 12:05:08 -08:00
YamaArashi 9968f7fbf8 update disasm 2015-11-24 11:59:32 -08:00
YamaArashi 69d1b312f6 title screen background tiles and palettes 2015-11-24 01:41:14 -08:00
YamaArashi 066d199fe3 add space in include directive 2015-11-23 19:06:19 -08:00
YamaArashi 1ddb502ff8 put back unused labels for FRLG fonts 2015-11-23 18:41:54 -08:00
YamaArashi 45a115354b clean fonts 2015-11-23 18:31:37 -08:00
YamaArashi 5c20c01b7a unused fonts are FRLG male/female fonts
(thanks to Ketsuban from #pret)
2015-11-23 18:29:07 -08:00
YamaArashi 7199d3a54a put font widths in rows of 16 2015-11-23 18:04:02 -08:00
YamaArashi b951fb1113 dumped fonts 2015-11-23 17:44:06 -08:00
YamaArashi 22d87f81d7 fix typo in tileset name 2015-11-22 17:04:54 -08:00
YamaArashi 3e95160b25 tilesets 2015-11-22 15:29:11 -08:00
YamaArashi a14b654374 the unknown Brendan/May image was for base decorating 2015-11-22 02:55:46 -08:00
YamaArashi 08210ef39e field object data 2015-11-21 01:39:40 -08:00
YamaArashi a580d84634 unused woman object 2015-11-19 21:26:03 -08:00
YamaArashi 58e7a7108d unused Brendan and May images 2015-11-19 20:13:01 -08:00
YamaArashi 5e8ad60ec3 add leading zeroes to filenames 2015-11-19 18:44:58 -08:00
YamaArashi f978097c69 field object PNGs and palettes (without .s files yet) 2015-11-19 08:38:21 -08:00
YamaArashi 1537ae67af fix pichu icon 2015-11-15 20:11:38 -08:00
YamaArashi 43dae25742 berry PNGs and palettes 2015-11-14 16:32:02 -08:00
YamaArashi 57fef42a95 trainer PNGs and palettes 2015-11-14 09:58:43 -08:00
YamaArashi e205a499de renamed trainer pic to trainer front pic 2015-11-14 07:44:13 -08:00
YamaArashi 3af77f0544 item icon PNGs and palettes 2015-11-14 07:05:39 -08:00
YamaArashi 8d0d89c00c formatting and license 2015-11-13 22:44:23 -08:00
YamaArashi fa863b11b6 phony targets for tools 2015-11-13 22:20:00 -08:00
YamaArashi 4c733f3811 pokemon PNGs and palettes 2015-11-13 21:57:22 -08:00
YamaArashi 3d1b6597f3 trainer back pics 2015-11-08 14:13:45 -08:00
YamaArashi a221c035f8 trainer graphics labels 2015-11-08 12:47:49 -08:00
YamaArashi ab7ab10c72 trainer data 2015-11-08 11:41:34 -08:00
YamaArashi d46221aad1 item graphics labels 2015-11-07 19:25:31 -08:00
YamaArashi 795246a93d pokemon graphics labels 2015-11-07 15:09:26 -08:00
YamaArashi 6292ec87fc berry data table 2015-10-30 19:04:45 -07:00
YamaArashi 72f13c0b51 berry firmness strings 2015-10-30 10:34:16 -07:00
YamaArashi 832b0b525f wild pokemon data
- Thanks to Sanqui for many Ruby/Sapphire names. https://github.com/Sanqui/romhacking/blob/master/pokemon/location-area-names
2015-10-25 22:56:06 -07:00
YamaArashi 269cda7ac9 remove "+1" from function pointer labels 2015-10-20 23:52:50 -07:00
YamaArashi e771d87c78 move script command function table to separate file 2015-10-20 23:41:19 -07:00
YamaArashi 1e46fbec42 Merge pull request #1 from yenatch/event-macros
add event script macros
2015-10-20 18:59:47 -07:00
yenatch 45fc576354 event script command pointers 2015-10-20 13:30:48 -07:00
yenatch 316be8337a truncate nonexistent command macros 2015-10-20 10:21:48 -07:00
yenatch cd857e0e84 fix a broken comment and a repeated command name 2015-10-20 09:55:59 -07:00
yenatch 8fb91c74b2 add event script macros 2015-10-19 09:42:57 -07:00
YamaArashi e17df124ff Hoenn region map entries 2015-10-18 05:11:30 -07:00
YamaArashi b948fcbb0d pickup items 2015-10-18 02:17:47 -07:00
YamaArashi d17f3b9746 battle arena move mind ratings 2015-10-18 01:15:48 -07:00
YamaArashi 89fdfa4811 move lists that determine battle factory battle style hint 2015-10-18 00:35:42 -07:00
YamaArashi 09084cf977 battle pyramid wild pokemon 2015-10-17 23:01:19 -07:00
YamaArashi 147ba4adc0 battle frontier/tent pokemon 2015-10-17 21:25:28 -07:00
YamaArashi b9e336cf8b battle frontier/tent trainers 2015-10-17 18:50:43 -07:00
YamaArashi 033c5e64ee battle frontier held items 2015-10-16 22:47:29 -07:00
YamaArashi b189af94cc use fewer easy chat macros 2015-10-16 21:58:26 -07:00
YamaArashi 22bafa45ca use macros for easy chat words 2015-10-16 17:32:39 -07:00
YamaArashi 8ce02b461e easy chat words by letter 2015-10-16 16:57:46 -07:00
YamaArashi fc49fe46fd easy chat words 2015-10-16 12:33:20 -07:00
YamaArashi 009d9f877b easy chat group names 2015-10-15 00:50:43 -07:00
YamaArashi a6f32421bb renaming 2015-10-14 14:37:16 -07:00
YamaArashi 27061f496e contest move effect func ptr table 2015-10-14 14:20:40 -07:00
YamaArashi 078afb798e contest move effects 2015-10-14 13:26:49 -07:00
YamaArashi dd8f08f8a8 some contest text 2015-10-14 13:17:58 -07:00
YamaArashi 6dd8d212c6 contest move data 2015-10-14 10:40:52 -07:00
YamaArashi b6e95f52d6 battle move data 2015-10-14 06:57:02 -07:00
YamaArashi 63ce51de2e split bytes in item data 2015-10-14 03:23:42 -07:00
YamaArashi 15deec2511 dumped item data 2015-10-14 03:12:21 -07:00
YamaArashi 9cf66deb98 fix alignment 2015-10-13 07:01:39 -07:00
YamaArashi f678112ce1 nature stat table 2015-10-13 06:59:37 -07:00
YamaArashi 654b3eef7c preliminary dump of item effect data 2015-10-13 02:12:21 -07:00
YamaArashi ed64ddfb34 spinda spot graphics data 2015-10-12 23:07:18 -07:00
YamaArashi f381883b5d Documented the name stored in an egg's data.
The Japanese word for egg is stored in an egg's name field when it's
created, but the name is not shown.
2015-10-12 21:35:15 -07:00
YamaArashi 79f2988694 egg moves 2015-10-12 20:26:16 -07:00
YamaArashi b3f965dc84 remove unnecessary leading zeroes 2015-10-12 19:08:21 -07:00
YamaArashi fb02626f1e tm/hm learnsets 2015-10-12 18:53:18 -07:00
YamaArashi d5b5623de7 evolution table 2015-10-12 18:08:47 -07:00
YamaArashi bfae72bf1d level up learnsets 2015-10-12 16:14:45 -07:00
YamaArashi 54183f2d07 pokemon base stats 2015-10-12 13:08:49 -07:00
YamaArashi 6c87e0143d item descriptions 2015-10-11 22:14:07 -07:00
YamaArashi c608a399db experience tables 2015-10-11 19:42:50 -07:00
YamaArashi 7b95d1ff81 pokedex data 2015-10-11 17:59:52 -07:00
YamaArashi e67ef58403 ribbon descriptions 2015-10-11 14:30:45 -07:00
YamaArashi 7a16daf6ee add move descriptions 2015-10-11 11:16:52 -07:00
YamaArashi 63ee844510 ability descriptions 2015-10-11 03:06:48 -07:00
YamaArashi 5f550963fa nature names 2015-10-11 02:11:27 -07:00
YamaArashi bc7f744daa ability names 2015-10-11 01:46:54 -07:00
YamaArashi 52c9f4a7dc type names 2015-10-11 01:20:41 -07:00
YamaArashi 1874db5e8a add trainer class names 2015-10-10 22:52:58 -07:00
YamaArashi 9fa2098029 add pokemon and move names, plus pokemon constants 2015-10-10 21:03:09 -07:00
YamaArashi fcaed9692f I/O reg constants for dma3_manager.s 2015-10-10 10:28:00 -07:00
YamaArashi ad6c576199 add WRAM symbols for DMA3 manager 2015-10-10 10:22:31 -07:00
YamaArashi 8cb7dcb2da add I/O register constants 2015-10-10 10:06:17 -07:00
YamaArashi 14a95252f8 create constants dir 2015-10-10 08:43:47 -07:00
YamaArashi fd6e15b70a use .4byte and .2byte everywhere 2015-10-10 08:37:51 -07:00
YamaArashi 725956695b add labels for unknown ROM data 2015-10-10 05:20:38 -07:00
YamaArashi e329fff4a2 make more labels into local labels 2015-10-10 03:50:53 -07:00
YamaArashi ba0829d751 remove more manual literal pools 2015-10-10 03:41:19 -07:00
YamaArashi 98f62d9dfa remove unnecessary .arm and .thumb directives 2015-10-10 03:27:41 -07:00
YamaArashi 41013b2feb update for modified assembler 2015-10-10 03:15:57 -07:00
YamaArashi c21b61688e add pokedex order data 2015-10-09 00:43:11 -07:00
YamaArashi 2f245f08c5 make data dir 2015-10-08 02:07:23 -07:00
YamaArashi c467da924b make includes relative to the base dir 2015-10-08 02:03:14 -07:00
YamaArashi 57ce369ccf add missed font label 2015-10-08 00:27:41 -07:00
YamaArashi f7aa4ad144 add font labels 2015-10-08 00:21:20 -07:00
YamaArashi 3d692070f7 add menu cursor dimension data 2015-10-07 18:30:49 -07:00
YamaArashi dc8e2ebc13 change name of glyph width functions 2015-10-07 18:24:21 -07:00
YamaArashi 0f1e6fbfa4 add text renderer data 2015-10-07 06:48:45 -07:00
YamaArashi 69f436b393 add down arrow tiles data 2015-10-06 22:05:11 -07:00
YamaArashi 2b1c03dd2e replace unknown addresses with labels 2015-10-06 21:41:57 -07:00
YamaArashi f64303defa add font half row offsets data and more 2015-10-06 21:24:58 -07:00
YamaArashi 770b750c37 change interrupt table address to label 2015-10-06 20:45:31 -07:00
YamaArashi 025bb6a8b9 add interrupt table and other data 2015-10-06 20:41:59 -07:00
YamaArashi 65228e6fb8 add type signatures
- many of these probably have mistakes
2015-10-06 20:15:42 -07:00
YamaArashi dc52bd0d85 split out task.s 2015-10-06 19:12:31 -07:00
YamaArashi 61abdbe445 split out libraries 2015-10-06 07:00:49 -07:00
YamaArashi 25342bcf33 split out some code 2015-10-06 05:46:30 -07:00
YamaArashi b05c4231a9 use .pool instead of manual literal pool in most cases 2015-10-05 19:15:37 -07:00
YamaArashi 064051d247 use more constants in InterruptMain 2015-10-05 06:53:39 -07:00
YamaArashi 9024595c93 split out files and add build batch file 2015-10-05 06:03:59 -07:00
YamaArashi 7f3c790d09 make asm directory 2015-10-05 05:52:26 -07:00
YamaArashi a9b2aba6d5 Rename asm file. 2015-10-05 04:32:21 -07:00
YamaArashi 6ed03b75d7 Initial code disassembly. 2015-10-05 03:13:11 -07:00
YamaArashi 33b799c967 Initial commit 2015-10-05 03:09:22 -07:00
11542 changed files with 1035493 additions and 73204 deletions
+26
View File
@@ -0,0 +1,26 @@
*.pal text eol=crlf
*.sh text eol=lf
*.s text eol=lf
*.txt text eol=lf
Makefile text eol=lf
*.mk text eol=lf
*.c text eol=lf
*.h text eol=lf
*.pl text eol=lf
*.inc text eol=lf
*.sha1 text eol=lf
*.json text eol=lf
*.sed text eol=lf
*.cpp text eol=lf
.gitattributes text eol=lf
.gitignore text eol=lf
*.hpp text eol=lf
*.md text eol=lf
*.ps1 text eol=crlf
*.yml text eol=lf
*.png binary
*.bin binary
*.h linguist-language=C
*.inc linguist-language=Assembly
+175
View File
@@ -0,0 +1,175 @@
#!/usr/bin/perl
# Usage:
# calcrom.pl <mapfile> [--data]
#
# mapfile: path to .map file output by LD
# data: set to output % breakdown of data
use IPC::Cmd qw[ run ];
use Getopt::Long;
my $usage = "Usage: calcrom.pl file.map [--data]\n";
my $showData;
GetOptions("data" => \$showData) or die $usage;
(@ARGV == 1)
or die $usage;
open(my $file, $ARGV[0])
or die "ERROR: could not open file '$ARGV[0]'.\n";
my $src = 0;
my $asm = 0;
my $srcdata = 0;
my $data = 0;
while (my $line = <$file>)
{
if ($line =~ /^ \.(\w+)\s+0x[0-9a-f]+\s+(0x[0-9a-f]+) (\w+)\/.+\.o/)
{
my $section = $1;
my $size = hex($2);
my $dir = $3;
if ($section =~ /text/)
{
if ($dir eq 'src')
{
$src += $size;
}
elsif ($dir eq 'asm')
{
$asm += $size;
}
}
elsif ($section =~ /rodata/)
{
if ($dir eq 'src')
{
$srcdata += $size;
}
elsif ($dir eq 'data')
{
$data += $size;
}
}
}
}
(my $elffname = $ARGV[0]) =~ s/\.map/.elf/;
# Note that the grep filters out all branch labels. It also requires a minimum
# line length of 5, to filter out a ton of generated symbols (like AcCn). No
# settings to nm seem to remove these symbols. Finally, nm prints out a separate
# entry for whenever a name appears in a file, not just where it's defined. uniq
# removes all the duplicate entries.
#
#
# You'd expect this to take a while, because of uniq. It runs in under a second,
# though. Uniq is pretty fast!
my $base_cmd = "nm $elffname | awk '{print \$3}' | grep '^[^_].\\{4\\}' | uniq";
# This looks for Unknown_, Unknown_, or sub_, followed by an address. Note that
# it matches even if stuff precedes the unknown, like sUnknown/gUnknown.
my $undoc_regex = "'[Uu]nknown_[0-9a-fA-F]\\{5,7\\}\\|sub_[0-9a-fA-F]\\{5,7\\}'";
# This looks for every symbol with an address at the end of it. Some things are
# given a name based on their type / location, but still have an unknown purpose.
# For example, FooMap_EventScript_FFFFFFF.
# The above may be double counted here, and will need to be filtered out.
my $partial_doc_regex = "'_[0-28][0-9a-fA-F]\\{5,7\\}'";
my $count_cmd = "wc -l";
# It sucks that we have to run this three times, but I can't figure out how to get
# stdin working for subcommands in perl while still having a timeout. It's decently
# fast anyway.
my $total_syms_as_string;
(run (
command => "$base_cmd | $count_cmd",
buffer => \$total_syms_as_string,
timeout => 60
))
or die "ERROR: Error while getting all symbols: $?";
my $undocumented_as_string;
(run (
command => "$base_cmd | grep $undoc_regex | $count_cmd",
buffer => \$undocumented_as_string,
timeout => 60
))
or die "ERROR: Error while filtering for undocumented symbols: $?";
my $partial_documented_as_string;
(run (
command => "$base_cmd | grep $partial_doc_regex | grep -v $undoc_regex | $count_cmd",
buffer => \$partial_documented_as_string,
timeout => 60
))
or die "ERROR: Error while filtering for partial symbols: $?";
# Performing addition on a string converts it to a number. Any string that fails
# to convert to a number becomes 0. So if our converted number is 0, but our string
# is nonzero, then the conversion was an error.
$undocumented_as_string =~ s/^\s+|\s+$//g;
my $undocumented = $undocumented_as_string + 0;
(($undocumented != 0) or (($undocumented == 0) and ($undocumented_as_string eq "0")))
or die "ERROR: Cannot convert string to num: '$undocumented_as_string'";
$partial_documented_as_string =~ s/^\s+|\s+$//g;
my $partial_documented = $partial_documented_as_string + 0;
(($partial_documented != 0) or (($partial_documented == 0) and ($partial_documented_as_string eq "0")))
or die "ERROR: Cannot convert string to num: '$partial_documented_as_string'";
$total_syms_as_string =~ s/^\s+|\s+$//g;
my $total_syms = $total_syms_as_string + 0;
(($total_syms != 0) or (($total_syms == 0) and ($total_syms_as_string eq "0")))
or die "ERROR: Cannot convert string to num: '$total_syms_as_string'";
($total_syms != 0)
or die "ERROR: No symbols found.";
my $total = $src + $asm;
my $srcPct = sprintf("%.4f", 100 * $src / $total);
my $asmPct = sprintf("%.4f", 100 * $asm / $total);
my $documented = $total_syms - ($undocumented + $partial_documented);
my $docPct = sprintf("%.4f", 100 * $documented / $total_syms);
my $partialPct = sprintf("%.4f", 100 * $partial_documented / $total_syms);
my $undocPct = sprintf("%.4f", 100 * $undocumented / $total_syms);
if ($asm == 0)
{
print "Code decompilation is 100% complete\n"
}
else
{
print "$total total bytes of code\n";
print "$src bytes of code in src ($srcPct%)\n";
print "$asm bytes of code in asm ($asmPct%)\n";
}
print "\n";
if ($partial_documented == 0 && $undocumented == 0)
{
print "Documentation is 100% complete\n"
}
else
{
print "$total_syms total symbols\n";
print "$documented symbols documented ($docPct%)\n";
print "$partial_documented symbols partially documented ($partialPct%)\n";
print "$undocumented symbols undocumented ($undocPct%)\n";
}
if ($showData)
{
print "\n";
my $dataTotal = $srcdata + $data;
my $srcDataPct = sprintf("%.4f", 100 * $srcdata / $dataTotal);
my $dataPct = sprintf("%.4f", 100 * $data / $dataTotal);
print "$dataTotal total bytes of data\n";
print "$srcdata bytes of data in src ($srcDataPct%)\n";
print "$data bytes of data in data ($dataPct%)\n";
}
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash -ex
build_name=$1
map_file=$build_name.map
if [ ! -f $map_file ]; then
echo "$map_file does not exist!"
exit 1
fi
output=$(perl $(dirname "$0")/calcrom.pl $build_name.map | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')
curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`\\n$build_name progress:\\n$output\\n\`\`\`\"}" -H "Content-Type: application/json" -X POST "$CALCROM_DISCORD_WEBHOOK_URL"
+8
View File
@@ -0,0 +1,8 @@
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## **Discord contact info**
<!--- Formatted as username (e.g. pikalaxalt) or username#numbers (e.g. PikalaxALT#5823) -->
<!--- Contributors must join https://discord.gg/d5dubZ3 -->
+69
View File
@@ -0,0 +1,69 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
GAME_VERSION: EMERALD
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
MODERN: 0
COMPARE: 1
steps:
- name: Checkout
uses: actions/checkout@master
- name: Checkout syms
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@master
with:
path: symbols
ref: symbols
- name: Checkout agbcc
uses: actions/checkout@master
with:
path: agbcc
repository: pret/agbcc
- name: Install binutils
run: |
sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi libpng-dev
# build-essential and git are already installed
# gcc-arm-none-eabi is only needed for the modern build
# as an alternative to dkP
- name: Install agbcc
run: |
./build.sh
./install.sh ../
working-directory: agbcc
- name: Compare
run: make -j${nproc} all syms
- name: Modern
env:
MODERN: 1
COMPARE: 0
run: make -j${nproc} all
- name: Move symfiles
if: ${{ github.event_name == 'push' }}
run: |
cp -v *.sym symbols/
echo "SYMBOLS_COMMIT_MSG=$( git log --format=%s ${GITHUB_SHA} )" >> $GITHUB_ENV
- name: Update symfiles
if: ${{ github.event_name == 'push' }}
uses: EndBug/add-and-commit@v7
with:
branch: symbols
cwd: "./symbols"
add: "*.sym"
message: ${{ env.SYMBOLS_COMMIT_MSG }}
+42 -3
View File
@@ -1,3 +1,42 @@
*
!.gitignore
!*.sym
*.exe
*.o
*.i
*.elf
*.gba
!data/*.gba
*.sgm
*.sa1
*.ss[0-9]
*.sg1
*.1bpp
*.4bpp
*.8bpp
*.gbapal
*.lz
*.rl
*.latfont
*.hwjpnfont
*.fwjpnfont
sound/**/*.bin
sound/songs/midi/*.s
tools/agbcc
*.map
*.bat
*.dump
*.sa*
Thumbs.db
build/
.DS_Store
*.ddump
.idea/
porymap.*.cfg
prefabs.json
.vscode/
*.a
.fuse_hidden*
*.sna
*.diff
*.sym
*.js
/pokeemerald-*.png
/pokeemerald_modern-*.png
+620
View File
@@ -0,0 +1,620 @@
# Instructions
These instructions explain how to set up the tools required to build **pokeemerald**, which assembles the source files into a ROM.
These instructions come with notes which can be expanded by clicking the "<i>Note...</i>" text.
In general, you should not need to open these unless if you get an error or if you need additional clarification.
If you run into trouble, ask for help on Discord or IRC (see [README.md](README.md)).
## Windows
Windows has instructions for building with three possible terminals, providing 3 different options in case the user stumbles upon unexpected errors.
- [Windows 10/11 (WSL1)](#windows-1011-wsl1) (**Fastest, highly recommended**, Windows 10 and 11 only)
- [Windows (msys2)](#windows-msys2) (Second fastest)
- [Windows (Cygwin)](#windows-cygwin) (Slowest)
Unscientific benchmarks suggest **msys2 is 2x slower** than WSL1, and **Cygwin is 5-6x slower** than WSL1.
<details>
<summary><i>Note for advanced users: <b>WSL2</b>...</i></summary>
> <b>WSL2</b> is an option and is even faster than <b>WSL1</b> if files are stored on the WSL2 file system, but some tools may have trouble interacting
> with the WSL2 file system over the network drive. For example, tools which use Qt versions before 5.15.2 such as <a href="https://github.com/huderlem/porymap">porymap</a>
> may <a href="https://bugreports.qt.io/browse/QTBUG-86277">have problems with parsing the <code>\\wsl$</code> network drive path</a>.
</details>
All of the Windows instructions assume that the default drive is C:\\. If this differs to your actual drive letter, then replace C with the correct drive letter when reading the instructions.
**A note of caution**: As Windows 7 and Windows 8 are officially unsupported by Microsoft, some maintainers are unwilling to maintain the Windows 7/8 instructions. Thus, these instructions may break in the future with fixes taking longer than fixes to the Windows 10/11 instructions.
## Windows 10/11 (WSL1)
WSL1 is the preferred terminal to build **pokeemerald**. The following instructions will explain how to install WSL1 (referred to interchangeably as WSL).
- If WSL (Debian or Ubuntu) is **not installed**, then go to [Installing WSL1](#Installing-WSL1).
- Otherwise, if WSL is installed, but it **hasn't previously been set up for another decompilation project**, then go to [Setting up WSL1](#Setting-up-WSL1).
- Otherwise, **open WSL** and go to [Choosing where to store pokeemerald (WSL1)](#Choosing-where-to-store-pokeemerald-WSL1).
### Installing WSL1
1. Open [Windows Powershell **as Administrator**](https://i.imgur.com/QKmVbP9.png), and run the following commands (Right Click or Shift+Insert is paste in the Powershell).
```powershell
wsl --install -d Ubuntu --enable-wsl1
```
2. Once the process finishes, restart your machine.
3. Open Windows Powershell **as Administrator** again (after restarting), and run the following command to configure Ubuntu to use WSL1.
```powershell
wsl --set-version Ubuntu 1
```
<details>
<summary><i>Note...</i></summary>
> WSL may open automatically after restarting, but you can ignore it for now.
</details>
### Setting up WSL1
Some tips before proceeding:
- In WSL, Copy and Paste is either done via
- **right-click** (selection + right click to Copy, right click with no selection to Paste)
- **Ctrl+Shift+C/Ctrl+Shift+V** (enabled by right-clicking the title bar, going to Properties, then checking the checkbox next to "Use Ctrl+Shift+C/V as Copy/Paste").
- Some of the commands that you'll run will ask for your WSL password and/or confirmation to perform the stated action. This is to be expected, just enter your WSL password and/or the yes action when necessary.
1. Open **Ubuntu** (e.g. using Search).
2. WSL/Ubuntu will set up its own installation when it runs for the first time. Once WSL/Ubuntu finishes installing, it will ask for a username and password (to be input in).
<details>
<summary><i>Note...</i></summary>
> When typing in the password, there will be no visible response, but the terminal will still read in input.
</details>
3. Update WSL/Ubuntu before continuing. Do this by running the following command. These commands will likely take a long time to finish:
```bash
sudo apt update && sudo apt upgrade
```
> Note: If the repository you plan to build has an **[older revision of the INSTALL.md](https://github.com/pret/pokeemerald/blob/571c598/INSTALL.md)**, then follow the [legacy WSL1 instructions](docs/legacy_WSL1_INSTALL.md) from here.
4. Certain packages are required to build pokeemerald. Install these packages by running the following command:
```bash
sudo apt install build-essential binutils-arm-none-eabi git libpng-dev
```
<details>
<summary><i>Note...</i></summary>
> If the above command does not work, try the above command but replacing `apt` with `apt-get`.
</details>
### Choosing where to store pokeemerald (WSL1)
WSL has its own file system that's not natively accessible from Windows, but Windows files *are* accessible from WSL. So you're going to want to store pokeemerald within Windows.
For example, say you want to store pokeemerald (and agbcc) in **C:\Users\\_\<user>_\Desktop\decomps**. First, ensure that the folder already exists. Then, enter this command to **change directory** to said folder, where *\<user>* is your **Windows** username:
```bash
cd /mnt/c/Users/<user>/Desktop/decomps
```
<details>
<summary><i>Notes...</i></summary>
> Note 1: The Windows C:\ drive is called /mnt/c/ in WSL.
> Note 2: If the path has spaces, then the path must be wrapped with quotations, e.g. `cd "/mnt/c/users/<user>/Desktop/decomp folder"`.
> Note 3: Windows path names are case-insensitive so adhering to capitalization isn't needed
</details>
If this works, then proceed to [Installation](#installation).
Otherwise, ask for help on Discord or IRC (see [README.md](README.md)), or continue reading below for [Windows instructions using msys2](#windows-msys2).
## Windows (msys2)
- If devkitARM is **not installed**, then go to [Installing devkitARM](#installing-devkitarm).
- If devkitARM is installed, but msys2 **hasn't previously been set up for another decompilation project**, then go to [Setting up msys2](#setting-up-msys2).
- Otherwise, **open msys2** and go to [Choosing where to store pokeemerald (msys2)](#choosing-where-to-store-pokeemerald-msys2).
### Installing devkitARM
1. Download the devkitPro installer [here](https://github.com/devkitPro/installer/releases).
2. Run the devkitPro installer. In the "Choose Components" screen, uncheck everything except GBA Development unless if you plan to install other devkitPro components for other purposes. Keep the install location as C:\devkitPro and leave the Start Menu option unchanged.
### Setting up msys2
Note that in msys2, Copy is Ctrl+Insert and Paste is Shift+Insert.
1. Open msys2 at C:\devkitPro\msys2\msys2_shell.bat.
2. Certain packages are required to build pokeemerald. Install these by running the following two commands:
```bash
pacman -Sy msys2-keyring
pacman -S make gcc zlib-devel git
```
<details>
<summary><i>Note...</i></summary>
> The commands will ask for confirmation, just enter the yes action when prompted.
</details>
3. Download [libpng](https://sourceforge.net/projects/libpng/files/libpng16/1.6.37/libpng-1.6.37.tar.xz/download).
4. Change directory to where libpng was downloaded. By default, msys2 will start in the current user's profile folder, located at **C:\Users\\&#8288;_\<user>_**, where *\<user>* is your Windows username. In most cases, libpng should be saved within a subfolder of the profile folder. For example, if libpng was saved to **C:\Users\\_\<user>_\Downloads** (the Downloads location for most users), enter this command:
```bash
cd Downloads
```
<details>
<summary><i>Notes...</i></summary>
> Note 1: While not shown, msys uses forward slashes `/` instead of backwards slashes `\` as the directory separator.
> Note 2: If the path has spaces, then the path must be wrapped with quotations, e.g. `cd "Downloads/My Downloads"`.
> Note 3: Windows path names are case-insensitive so adhering to capitalization isnt needed.
> Note 4: If libpng was saved elsewhere, you will need to specify the full path to where libpng was downloaded, e.g. `cd c:/devkitpro/msys2` if it was saved there.
</details>
5. Run the following commands to uncompress and install libpng.
```bash
tar xf libpng-1.6.37.tar.xz
cd libpng-1.6.37
./configure --prefix=/usr
make check
make install
```
6. Then finally, run the following command to change back to the user profile folder.
```bash
cd
```
### Choosing where to store pokeemerald (msys2)
At this point, you can choose a folder to store pokeemerald into. If you're okay with storing pokeemerald in the user profile folder, then proceed to [Installation](#installation). Otherwise, you'll need to account for where pokeemerald is stored when changing directory to the pokeemerald folder.
For example, if you want to store pokeemerald (and agbcc) in **C:\Users\\_\<user>_\Desktop\decomps** (where *\<user>* is your **Windows** username), enter this command:
```bash
cd Desktop/decomps
```
If this works, then proceed to [Installation](#installation).
Otherwise, ask for help on Discord or IRC (see [README.md](README.md)), or continue reading below for [Windows instructions using Cygwin](#windows-cygwin).
## Windows (Cygwin)
1. If devkitARM is **not installed**, then follow the instructions used to [install devkitARM](#installing-devkitarm) for the msys2 setup before continuing. *Remember to not continue following the msys2 instructions by mistake!*
2.
- If Cygwin is **not installed**, or does not have all of the required packages installed, then go to [Installing Cygwin](#installing-cygwin).
- If Cygwin is installed, but **is not configured to work with devkitARM**, then go to [Configuring devkitARM for Cygwin](#configuring-devkitarm-for-cygwin).
- Otherwise, **open Cygwin** and go to [Choosing where to store pokeemerald (Cygwin)](#choosing-where-to-store-pokeemerald-cygwin)
### Installing Cygwin
1. Download [Cygwin](https://cygwin.com/install.html): setup-x86_64.exe for 64-bit Windows, setup-x86.exe for 32-bit.
2. Run the Cygwin setup. Within the Cygwin setup, leave the default settings until the "Choose A Download Site" screen.
3. At "Choose a Download Site", select any mirror within the Available Download Sites.
4. At "Select Packages", set the view to "Full" (top left) and search for the following packages:
- `make`
- `git`
- `gcc-core`
- `gcc-g++`
- `libpng-devel`
To quickly find these, use the search bar and type the name of each package. Ensure that the selected package name is the **exact** same as the one you're trying to download, e.g. `cmake` is **NOT** the same as `make`.
5. For each package, double click on the text that says "**Skip**" next to each package to select the most recent version to install. If the text says anything other than "**Skip**", (e.g. Keep or a version number), then the package is or will be installed and you don't need to do anything.
6. Once all required packages have been selected, finish the installation.
### Configuring devkitARM for Cygwin
Note that in Cygwin, Copy is Ctrl+Insert and Paste is Shift+Insert.
1. Open **Cygwin**.
2. Run the following commands to configure devkitPro to work with Cygwin.
```bash
export DEVKITPRO=/cygdrive/c/devkitpro
echo export DEVKITPRO=$DEVKITPRO >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitARM
echo export DEVKITARM=$DEVKITARM >> ~/.bashrc
```
<details>
<summary><i>Note...</i></summary>
> Replace the drive letter c with the actual drive letter if it is not c.
</details>
### Choosing where to store pokeemerald (Cygwin)
Cygwin has its own file system that's within Windows, at **C:\cygwin64\home\\_\<user>_**. If you don't want to store pokeemerald there, you'll need to account for where pokeemerald is stored when **changing directory** to the pokeemerald folder.
For example, if you want to store pokeemerald (and agbcc) in **C:\Users\\_\<user>_\Desktop\decomps**, enter this command, where *\<user>* is your **Windows** username:
```bash
cd c:/Users/<user>/Desktop/decomps
```
Note that the directory **must exist** in Windows. If you want to store pokeemerald in a dedicated folder that doesn't exist (e.g. the example provided above), then create the folder (e.g. using Windows Explorer) before executing the `cd` command.
<details>
<summary><i>Notes...</i></summary>
> Note 1: If the path has spaces, then the path must be wrapped with quotations, e.g. `cd "c:/users/<user>/Desktop/decomp folder"`.
> Note 2: Windows path names are case-insensitive so adhering to capitalization isn't needed
</details>
If this works, then proceed to [Installation](#installation). Otherwise, ask for help on Discord or IRC (see [README.md](README.md)).
## macOS
1. If the Xcode Command Line Tools are not installed, download the tools [here](https://developer.apple.com/xcode/resources/), open your Terminal, and run the following command:
```bash
xcode-select --install
```
2. - If libpng is **not installed**, then go to [Installing libpng (macOS)](#installing-libpng-macos).
- If devkitARM is **not installed**, then go to [Installing devkitARM (macOS)](#installing-devkitarm-macos).
- Otherwise, **open the Terminal** and go to [Choosing where to store pokeemerald (macOS)](#choosing-where-to-store-pokeemerald-macos)
### Installing libpng (macOS)
<details>
<summary><i>Note for advanced users...</i></summary>
> This guide installs libpng via Homebrew as it is the easiest method, however advanced users can install libpng through other means if they so desire.
</details>
1. Open the Terminal.
2. If Homebrew is not installed, then install [Homebrew](https://brew.sh/) by following the instructions on the website.
3. Run the following command to install libpng.
```bash
brew install libpng
```
libpng is now installed.
Continue to [Installing devkitARM (macOS)](#installing-devkitarm-macos) if **devkitARM is not installed**, otherwise, go to [Choosing where to store pokeemerald (macOS)](#choosing-where-to-store-pokeemerald-macos).
### Installing devkitARM (macOS)
1. Download the `devkitpro-pacman-installer.pkg` package from [here](https://github.com/devkitPro/pacman/releases).
2. Open the package to install devkitPro pacman.
3. In the Terminal, run the following commands to install devkitARM:
```bash
sudo dkp-pacman -Sy
sudo dkp-pacman -S gba-dev
sudo dkp-pacman -S devkitarm-rules
```
The command with gba-dev will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
4. After the tools are installed, devkitARM must now be made accessible from anywhere by the system. To do so, run the following commands:
```bash
export DEVKITPRO=/opt/devkitpro
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitARM
echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc
echo "if [ -f ~/.bashrc ]; then . ~/.bashrc; fi" >> ~/.bash_profile
```
### Choosing where to store pokeemerald (macOS)
At this point, you can choose a folder to store pokeemerald into. If you're okay with storing pokeemerald in the user folder, then proceed to [Installation](#installation). Otherwise, you'll need to account for where pokeemerald is stored when changing directory to the pokeemerald folder.
For example, if you want to store pokeemerald (and agbcc) in **~/Desktop/decomps**, enter this command to **change directory** to the desired folder:
```bash
cd Desktop/decomps
```
Note that the directory **must exist** in the folder system. If you want to store pokeemerald in a dedicated folder that doesn't exist (e.g. the example provided above), then create the folder (e.g. using Finder) before executing the `cd` command.
<details>
<summary><i>Note..</i>.</summary>
> Note: If the path has spaces, then the path must be wrapped with quotations, e.g. `cd "Desktop/decomp folder"`
</details>
If this works, then proceed to [Installation](#installation). Otherwise, ask for help on Discord or IRC (see [README.md](README.md)).
## Linux
Open Terminal and enter the following commands, depending on which distro you're using.
### Debian/Ubuntu-based distributions
Run the following command to install the necessary packages:
```bash
sudo apt install build-essential binutils-arm-none-eabi git libpng-dev
```
Then proceed to [Choosing where to store pokeemerald (Linux)](#choosing-where-to-store-pokeemerald-linux).
<details>
<summary><i>Note for legacy repos...</i></summary>
> If the repository you plan to build has an **[older revision of the INSTALL.md](https://github.com/pret/pokeemerald/blob/571c598/INSTALL.md)**,
> then you will have to install devkitARM. Install all the above packages except binutils-arm-none-eabi, and follow the instructions to
> [install devkitARM on Debian/Ubuntu-based distributions](#installing-devkitarm-on-debianubuntu-based-distributions).
</details>
### Arch Linux
Run this command as root to install the necessary packages:
```bash
pacman -S base-devel arm-none-eabi-binutils git libpng
```
Then proceed to [Choosing where to store pokeemerald (Linux)](#choosing-where-to-store-pokeemerald-linux).
<details>
<summary><i>Note for legacy repos...</i></summary>
> If the repository you plan to build has an **[older revision of the INSTALL.md](https://github.com/pret/pokeemerald/blob/571c598/INSTALL.md)**,
> then you will have to install devkitARM. Install all the above packages except binutils-arm-none-eabi, and follow the instructions to
> [install devkitARM on Arch Linux](#installing-devkitarm-on-arch-linux).
</details>
### NixOS
Run the following command to start an interactive shell with the necessary packages:
```bash
nix-shell -p pkgsCross.arm-embedded.stdenv.cc git pkg-config libpng
```
Then proceed to [Choosing where to store pokeemerald (Linux)](#choosing-where-to-store-pokeemerald-linux).
### Other distributions
_(Specific instructions for other distributions would be greatly appreciated!)_
1. Try to find the required software in its repositories:
- `gcc`
- `g++`
- `make`
- `git`
- `libpng-dev`
2. Follow the instructions [here](https://devkitpro.org/wiki/devkitPro_pacman) to install devkitPro pacman. As a reminder, the goal is to configure an existing pacman installation to recognize devkitPro's repositories.
3. Once devkitPro pacman is configured, run the following commands:
```bash
sudo pacman -Sy
sudo pacman -S gba-dev
```
The last command will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
### Choosing where to store pokeemerald (Linux)
At this point, you can choose a folder to store pokeemerald (and agbcc) into. If so, you'll have to account for the modified folder path when changing directory to the pokeemerald folder.
If this works, then proceed to [Installation](#installation). Otherwise, ask for help on Discord or IRC (see [README.md](README.md)).
## Installation
<details>
<summary><i>Note for Windows users...</i></summary>
> Consider adding an exception for the `pokeemerald` and/or `decomps` folder in Windows Security using
> [these instructions](https://support.microsoft.com/help/4028485). This prevents Microsoft Defender from
> scanning them which might improve performance while building.
</details>
1. If pokeemerald is not already downloaded (some users may prefer to download pokeemerald via a git client like GitHub Desktop), run:
```bash
git clone https://github.com/pret/pokeemerald
```
<details>
<summary><i>Note for WSL1...</i></summary>
> If you get an error stating `fatal: could not set 'core.filemode' to 'false'`, then run the following commands:
> ```bash
> cd
> sudo umount /mnt/c
> sudo mount -t drvfs C: /mnt/c -o metadata,noatime
> cd <folder where pokeemerald is to be stored>
> ```
> Where *\<folder where pokeemerald is to be stored>* is the path of the folder [where you chose to store pokeemerald](#Choosing-where-to-store-pokeemerald-WSL1). Then run the `git clone` command again.
</details>
2. Install agbcc into pokeemerald. The commands to run depend on certain conditions. **You should only follow one of the listed instructions**:
- If agbcc has **not been built before** in the folder where you chose to store pokeemerald, run the following commands to build and install it into pokeemerald:
```bash
git clone https://github.com/pret/agbcc
cd agbcc
./build.sh
./install.sh ../pokeemerald
```
- **Otherwise**, if agbcc has been built before (e.g. if the git clone above fails), but was **last built on a different terminal** than the one currently used (only relevant to Windows, e.g. switching from msys2 to WSL1), then run the following commands to build and install it into pokeemerald:
```bash
cd agbcc
git clean -fX
./build.sh
./install.sh ../pokeemerald
```
- **Otherwise**, if agbcc has been built before on the same terminal, run the following commands to install agbcc into pokeemerald:
```bash
cd agbcc
./install.sh ../pokeemerald
```
<details>
<summary><i>Note...</i></summary>
> If building agbcc or pokeemerald results in an error, try deleting the agbcc folder and re-installing agbcc as if it has not been built before.
</details>
3. Once agbcc is installed, change directory back to the base directory where pokeemerald and agbcc are stored:
```bash
cd ..
```
Now you're ready to [build **pokeemerald**](#build-pokeemerald)
## Build pokeemerald
If you aren't in the pokeemerald directory already, then **change directory** to the pokeemerald folder:
```bash
cd pokeemerald
```
To build **pokeemerald.gba** (Note: to speed up builds, see [Parallel builds](#parallel-builds)):
```bash
make
```
If it has built successfully you will have the output file **pokeemerald.gba** in your project folder.
<details>
<summary>Note for Windows...</summary>
> If you switched terminals since the last build (e.g. from msys2 to WSL1), you must run `make clean-tools` once before any subsequent `make` commands.
</details>
# Building guidance
## Parallel builds
See [the GNU docs](https://www.gnu.org/software/make/manual/html_node/Parallel.html) and [this Stack Exchange thread](https://unix.stackexchange.com/questions/208568) for more information.
To speed up building, first get the value of `nproc` by running the following command:
```bash
nproc
```
Builds can then be sped up by running the following command:
```bash
make -j<output of nproc>
```
Replace `<output of nproc>` with the number that the `nproc` command returned.
`nproc` is not available on macOS. The alternative is `sysctl -n hw.ncpu` ([relevant Stack Overflow thread](https://stackoverflow.com/questions/1715580)).
## Compare ROM to the original
For contributing, or if you'd simply like to verify that your ROM is identical to the original game, run:
```bash
make compare
```
If it matches, you will see the following at the end of the output:
```bash
pokeemerald.gba: OK
```
If there are any changes from the original game, you will instead see:
```bash
pokeemerald.gba: FAILED
shasum: WARNING: 1 computed checksum did NOT match
```
## devkitARM's C compiler
This project supports the `arm-none-eabi-gcc` compiler included with devkitARM. If devkitARM (a.k.a. gba-dev) has already been installed as part of the platform-specific instructions, simply run:
```bash
make modern
```
Otherwise, follow the instructions below to install devkitARM.
### Installing devkitARM on WSL1
1. `gdebi-core` must be installed beforehand in order to install devkitPro pacman (which facilitates the installation of devkitARM). Install this with the following command:
```bash
sudo apt install gdebi-core
```
<details>
<summary><i>Note...</i></summary>
> If the above command does not work, try the above command but replacing `apt` with `apt-get`.
</details>
2. Once `gdebi-core` is done installing, download the devkitPro pacman package [here](https://github.com/devkitPro/pacman/releases). The file to download is `devkitpro-pacman.amd64.deb`.
3. Change directory to where the package was downloaded. For example, if the package file was saved to **C:\Users\\_\<user>_\Downloads** (the Downloads location for most users), enter this command, where *\<user> is your **Windows** username:
```bash
cd /mnt/c/Users/<user>/Downloads
```
4. Once the directory has been changed to the folder containing the devkitPro pacman package, run the following commands to install devkitARM.
```bash
sudo gdebi devkitpro-pacman.amd64.deb
sudo dkp-pacman -Sy
sudo dkp-pacman -S gba-dev
```
The last command will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
<details>
<summary><i>Note...</i></summary>
> Note: `devkitpro-pacman.amd64.deb` is the expected filename of the devkitPro package downloaded (for the first command). If the downloaded package filename differs, then use that filename instead.
</details>
5. Run the following command to set devkitPro related environment variables (alternatively, close and re-open WSL):
```bash
source /etc/profile.d/devkit-env.sh
```
devkitARM is now installed.
### Installing devkitARM on Debian/Ubuntu-based distributions
1. If `gdebi-core` is not installed, run the following command:
```bash
sudo apt install gdebi-core
```
2. Download the devkitPro pacman package [here](https://github.com/devkitPro/pacman/releases). The file to download is `devkitpro-pacman.amd64.deb`.
3. Change directory to where the package was downloaded. Then, run the following commands to install devkitARM:
```bash
sudo gdebi devkitpro-pacman.amd64.deb
sudo dkp-pacman -Sy
sudo dkp-pacman -S gba-dev
```
The last command will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
> Note: `devkitpro-pacman.amd64.deb` is the expected filename of the devkitPro package downloaded (for the first command). If the downloaded package filename differs, then use that filename instead.
4. Run the following command to set devkitPro related environment variables (alternatively, close and re-open the Terminal):
```bash
source /etc/profile.d/devkit-env.sh
```
devkitARM is now installed.
### Installing devkitARM on Arch Linux
1. Follow [devkitPro's instructions](https://devkitpro.org/wiki/devkitPro_pacman#Customising_Existing_Pacman_Install) to configure `pacman` to download devkitPro packages.
2. Install `gba-dev`: run the following command as root.
```console
pacman -S gba-dev
```
This will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
3. Run the following command to set devkitPro related environment variables (alternatively, close and re-open the Terminal):
```bash
source /etc/profile.d/devkit-env.sh
```
devkitARM is now installed.
### Other toolchains
To build using a toolchain other than devkitARM, override the `TOOLCHAIN` environment variable with the path to your toolchain, which must contain the subdirectory `bin`.
```bash
make TOOLCHAIN="/path/to/toolchain/here"
```
The following is an example:
```bash
make TOOLCHAIN="/usr/local/arm-none-eabi"
```
To compile the `modern` target with this toolchain, the subdirectories `lib`, `include`, and `arm-none-eabi` must also be present.
### Building with debug info under a modern toolchain
To build **pokeemerald.elf** with debug symbols under a modern toolchain:
```bash
make modern DINFO=1
```
Note that this is not necessary for a non-modern build since those are built with debug symbols by default.
# Useful additional tools
* [porymap](https://github.com/huderlem/porymap) for viewing and editing maps
* [poryscript](https://github.com/huderlem/poryscript) for scripting ([VS Code extension](https://marketplace.visualstudio.com/items?itemName=karathan.poryscript))
* [Tilemap Studio](https://github.com/Rangi42/tilemap-studio) for viewing and editing tilemaps
+396
View File
@@ -0,0 +1,396 @@
# GBA rom header
TITLE := POKEMON EMER
GAME_CODE := BPEE
MAKER_CODE := 01
REVISION := 0
MODERN ?= 0
KEEP_TEMPS ?= 0
# `File name`.gba ('_modern' will be appended to the modern builds)
FILE_NAME := pokeemerald
BUILD_DIR := build
# Builds the ROM using a modern compiler
MODERN ?= 0
# Compares the ROM to a checksum of the original - only makes sense using when non-modern
COMPARE ?= 0
ifeq (modern,$(MAKECMDGOALS))
MODERN := 1
endif
ifeq (compare,$(MAKECMDGOALS))
COMPARE := 1
endif
# Default make rule
all: rom
# Toolchain selection
TOOLCHAIN := $(DEVKITARM)
# don't use dkP's base_tools anymore
# because the redefinition of $(CC) conflicts
# with when we want to use $(CC) to preprocess files
# thus, manually create the variables for the bin
# files, or use arm-none-eabi binaries on the system
# if dkP is not installed on this system
ifneq (,$(TOOLCHAIN))
ifneq ($(wildcard $(TOOLCHAIN)/bin),)
export PATH := $(TOOLCHAIN)/bin:$(PATH)
endif
endif
PREFIX := arm-none-eabi-
OBJCOPY := $(PREFIX)objcopy
OBJDUMP := $(PREFIX)objdump
AS := $(PREFIX)as
LD := $(PREFIX)ld
EXE :=
ifeq ($(OS),Windows_NT)
EXE := .exe
endif
# use arm-none-eabi-cpp for macOS
# as macOS's default compiler is clang
# and clang's preprocessor will warn on \u
# when preprocessing asm files, expecting a unicode literal
# we can't unconditionally use arm-none-eabi-cpp
# as installations which install binutils-arm-none-eabi
# don't come with it
ifneq ($(MODERN),1)
ifeq ($(shell uname -s),Darwin)
CPP := $(PREFIX)cpp
else
CPP := $(CC) -E
endif
else
CPP := $(PREFIX)cpp
endif
ROM_NAME := $(FILE_NAME).gba
OBJ_DIR_NAME := $(BUILD_DIR)/emerald
MODERN_ROM_NAME := $(FILE_NAME)_modern.gba
MODERN_OBJ_DIR_NAME := $(BUILD_DIR)/modern
ELF_NAME := $(ROM_NAME:.gba=.elf)
MAP_NAME := $(ROM_NAME:.gba=.map)
MODERN_ELF_NAME := $(MODERN_ROM_NAME:.gba=.elf)
MODERN_MAP_NAME := $(MODERN_ROM_NAME:.gba=.map)
# Pick our active variables
ifeq ($(MODERN),0)
ROM := $(ROM_NAME)
OBJ_DIR := $(OBJ_DIR_NAME)
else
ROM := $(MODERN_ROM_NAME)
OBJ_DIR := $(MODERN_OBJ_DIR_NAME)
endif
ELF := $(ROM:.gba=.elf)
MAP := $(ROM:.gba=.map)
SYM := $(ROM:.gba=.sym)
# Commonly used directories
C_SUBDIR = src
ASM_SUBDIR = asm
DATA_SRC_SUBDIR = src/data
DATA_ASM_SUBDIR = data
SONG_SUBDIR = sound/songs
MID_SUBDIR = sound/songs/midi
C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR)
ASM_BUILDDIR = $(OBJ_DIR)/$(ASM_SUBDIR)
DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR)
SONG_BUILDDIR = $(OBJ_DIR)/$(SONG_SUBDIR)
MID_BUILDDIR = $(OBJ_DIR)/$(MID_SUBDIR)
SHELL := bash -o pipefail
# Set flags for tools
ASFLAGS := -mcpu=arm7tdmi --defsym MODERN=$(MODERN)
INCLUDE_DIRS := include
INCLUDE_CPP_ARGS := $(INCLUDE_DIRS:%=-iquote %)
INCLUDE_SCANINC_ARGS := $(INCLUDE_DIRS:%=-I %)
O_LEVEL ?= 2
CPPFLAGS := $(INCLUDE_CPP_ARGS) -Wno-trigraphs -DMODERN=$(MODERN)
ifeq ($(MODERN),0)
CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef -std=gnu89
CC1 := tools/agbcc/bin/agbcc$(EXE)
override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O$(O_LEVEL) -fhex-asm -g
LIBPATH := -L ../../tools/agbcc/lib
LIB := $(LIBPATH) -lgcc -lc -L../../libagbsyscall -lagbsyscall
else
# Note: The makefile must be set up to not call these if modern == 0
MODERNCC := $(PREFIX)gcc
PATH_MODERNCC := PATH="$(PATH)" $(MODERNCC)
CC1 := $(shell $(PATH_MODERNCC) --print-prog-name=cc1) -quiet
override CFLAGS += -mthumb -mthumb-interwork -O$(O_LEVEL) -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast
LIBPATH := -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libc.a))"
LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall
endif
# Enable debug info if set
ifeq ($(DINFO),1)
override CFLAGS += -g
endif
# Variable filled out in other make files
AUTO_GEN_TARGETS :=
include make_tools.mk
# Tool executables
GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE)
AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE)
MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE)
SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE)
PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE)
RAMSCRGEN := $(TOOLS_DIR)/ramscrgen/ramscrgen$(EXE)
FIX := $(TOOLS_DIR)/gbafix/gbafix$(EXE)
MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE)
JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE)
PERL := perl
SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c
MAKEFLAGS += --no-print-directory
# Clear the default suffixes
.SUFFIXES:
# Don't delete intermediate files
.SECONDARY:
# Delete files that weren't built properly
.DELETE_ON_ERROR:
RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern generated clean-generated
.PHONY: all rom modern compare
.PHONY: $(RULES_NO_SCAN)
infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line))))
# Check if we need to scan dependencies based on the chosen rule OR user preference
NODEP ?= 0
# Check if we need to pre-build tools and generate assets based on the chosen rule.
SETUP_PREREQS ?= 1
# Disable dependency scanning for rules that don't need it.
ifneq (,$(MAKECMDGOALS))
ifeq (,$(filter-out $(RULES_NO_SCAN),$(MAKECMDGOALS)))
NODEP := 1
SETUP_PREREQS := 0
endif
endif
.SHELLSTATUS ?= 0
ifeq ($(SETUP_PREREQS),1)
# If set on: Default target or a rule requiring a scan
# Forcibly execute `make tools` since we need them for what we are doing.
$(foreach line, $(shell $(MAKE) -f make_tools.mk | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line))))
ifneq ($(.SHELLSTATUS),0)
$(error Errors occurred while building tools. See error messages above for more details)
endif
# Oh and also generate mapjson sources before we use `SCANINC`.
$(foreach line, $(shell $(MAKE) generated | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line))))
ifneq ($(.SHELLSTATUS),0)
$(error Errors occurred while generating map-related sources. See error messages above for more details)
endif
endif
# Collect sources
C_SRCS_IN := $(wildcard $(C_SUBDIR)/*.c $(C_SUBDIR)/*/*.c $(C_SUBDIR)/*/*/*.c)
C_SRCS := $(foreach src,$(C_SRCS_IN),$(if $(findstring .inc.c,$(src)),,$(src)))
C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS))
C_ASM_SRCS := $(wildcard $(C_SUBDIR)/*.s $(C_SUBDIR)/*/*.s $(C_SUBDIR)/*/*/*.s)
C_ASM_OBJS := $(patsubst $(C_SUBDIR)/%.s,$(C_BUILDDIR)/%.o,$(C_ASM_SRCS))
ASM_SRCS := $(wildcard $(ASM_SUBDIR)/*.s)
ASM_OBJS := $(patsubst $(ASM_SUBDIR)/%.s,$(ASM_BUILDDIR)/%.o,$(ASM_SRCS))
# get all the data/*.s files EXCEPT the ones with specific rules
REGULAR_DATA_ASM_SRCS := $(filter-out $(DATA_ASM_SUBDIR)/maps.s $(DATA_ASM_SUBDIR)/map_events.s, $(wildcard $(DATA_ASM_SUBDIR)/*.s))
DATA_ASM_SRCS := $(wildcard $(DATA_ASM_SUBDIR)/*.s)
DATA_ASM_OBJS := $(patsubst $(DATA_ASM_SUBDIR)/%.s,$(DATA_ASM_BUILDDIR)/%.o,$(DATA_ASM_SRCS))
SONG_SRCS := $(wildcard $(SONG_SUBDIR)/*.s)
SONG_OBJS := $(patsubst $(SONG_SUBDIR)/%.s,$(SONG_BUILDDIR)/%.o,$(SONG_SRCS))
MID_SRCS := $(wildcard $(MID_SUBDIR)/*.mid)
MID_OBJS := $(patsubst $(MID_SUBDIR)/%.mid,$(MID_BUILDDIR)/%.o,$(MID_SRCS))
OBJS := $(C_OBJS) $(C_ASM_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) $(SONG_OBJS) $(MID_OBJS)
OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(OBJS))
SUBDIRS := $(sort $(dir $(OBJS)))
$(shell mkdir -p $(SUBDIRS))
# Pretend rules that are actually flags defer to `make all`
modern: all
compare: all
# Other rules
rom: $(ROM)
ifeq ($(COMPARE),1)
@$(SHA1) rom.sha1
endif
syms: $(SYM)
clean: tidy clean-tools clean-generated clean-assets
@$(MAKE) clean -C libagbsyscall
clean-assets:
rm -f $(MID_SUBDIR)/*.s
rm -f $(DATA_ASM_SUBDIR)/layouts/layouts.inc $(DATA_ASM_SUBDIR)/layouts/layouts_table.inc
rm -f $(DATA_ASM_SUBDIR)/maps/connections.inc $(DATA_ASM_SUBDIR)/maps/events.inc $(DATA_ASM_SUBDIR)/maps/groups.inc $(DATA_ASM_SUBDIR)/maps/headers.inc
find sound -iname '*.bin' -exec rm {} +
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} +
find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} +
tidy: tidynonmodern tidymodern
tidynonmodern:
rm -f $(ROM_NAME) $(ELF_NAME) $(MAP_NAME)
rm -rf $(OBJ_DIR_NAME)
tidymodern:
rm -f $(MODERN_ROM_NAME) $(MODERN_ELF_NAME) $(MODERN_MAP_NAME)
rm -rf $(MODERN_OBJ_DIR_NAME)
# Other rules
include graphics_file_rules.mk
include map_data_rules.mk
include spritesheet_rules.mk
include json_data_rules.mk
include audio_rules.mk
# NOTE: Tools must have been built prior (FIXME)
# so you can't really call this rule directly
generated: $(AUTO_GEN_TARGETS)
@: # Silence the "Nothing to be done for `generated'" message, which some people were confusing for an error.
%.s: ;
%.png: ;
%.pal: ;
%.aif: ;
%.1bpp: %.png ; $(GFX) $< $@
%.4bpp: %.png ; $(GFX) $< $@
%.8bpp: %.png ; $(GFX) $< $@
%.gbapal: %.pal ; $(GFX) $< $@
%.gbapal: %.png ; $(GFX) $< $@
%.lz: % ; $(GFX) $< $@
%.rl: % ; $(GFX) $< $@
clean-generated:
@rm -f $(AUTO_GEN_TARGETS)
@echo "rm -f <AUTO_GEN_TARGETS>"
ifeq ($(MODERN),0)
$(C_BUILDDIR)/libc.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE)
$(C_BUILDDIR)/libc.o: CFLAGS := -O2
$(C_BUILDDIR)/siirtc.o: CFLAGS := -mthumb-interwork
$(C_BUILDDIR)/agb_flash.o: CFLAGS := -O -mthumb-interwork
$(C_BUILDDIR)/agb_flash_1m.o: CFLAGS := -O -mthumb-interwork
$(C_BUILDDIR)/agb_flash_mx.o: CFLAGS := -O -mthumb-interwork
$(C_BUILDDIR)/m4a.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE)
$(C_BUILDDIR)/record_mixing.o: CFLAGS += -ffreestanding
$(C_BUILDDIR)/librfu_intr.o: CC1 := $(TOOLS_DIR)/agbcc/bin/agbcc_arm$(EXE)
$(C_BUILDDIR)/librfu_intr.o: CFLAGS := -O2 -mthumb-interwork -quiet
else
$(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast
$(C_BUILDDIR)/berry_crush.o: override CFLAGS += -Wno-address-of-packed-member
endif
# Dependency rules (for the *.c & *.s sources to .o files)
# Have to be explicit or else missing files won't be reported.
# As a side effect, they're evaluated immediately instead of when the rule is invoked.
# It doesn't look like $(shell) can be deferred so there might not be a better way (Icedude_907: there is soon).
$(C_BUILDDIR)/%.o: $(C_SUBDIR)/%.c
ifneq ($(KEEP_TEMPS),1)
@echo "$(CC1) <flags> -o $@ $<"
@$(CPP) $(CPPFLAGS) $< | $(PREPROC) -i $< charmap.txt | $(CC1) $(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $(AS) $(ASFLAGS) -o $@ -
else
@$(CPP) $(CPPFLAGS) $< -o $(C_BUILDDIR)/$*.i
@$(PREPROC) $(C_BUILDDIR)/$*.i charmap.txt | $(CC1) $(CFLAGS) -o $(C_BUILDDIR)/$*.s
@echo -e ".text\n\t.align\t2, 0\n" >> $(C_BUILDDIR)/$*.s
$(AS) $(ASFLAGS) -o $@ $(C_BUILDDIR)/$*.s
endif
$(C_BUILDDIR)/%.d: $(C_SUBDIR)/%.c
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $<
ifneq ($(NODEP),1)
-include $(addprefix $(OBJ_DIR)/,$(C_SRCS:.c=.d))
endif
$(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s
$(AS) $(ASFLAGS) -o $@ $<
$(ASM_BUILDDIR)/%.d: $(ASM_SUBDIR)/%.s
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I "" $<
ifneq ($(NODEP),1)
-include $(addprefix $(OBJ_DIR)/,$(ASM_SRCS:.s=.d))
endif
$(C_BUILDDIR)/%.o: $(C_SUBDIR)/%.s
$(PREPROC) $< charmap.txt | $(CPP) $(INCLUDE_SCANINC_ARGS) - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@
$(C_BUILDDIR)/%.d: $(C_SUBDIR)/%.s
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I "" $<
ifneq ($(NODEP),1)
-include $(addprefix $(OBJ_DIR)/,$(C_ASM_SRCS:.s=.d))
endif
$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s
$(PREPROC) $< charmap.txt | $(CPP) $(INCLUDE_SCANINC_ARGS) - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@
$(DATA_ASM_BUILDDIR)/%.d: $(DATA_ASM_SUBDIR)/%.s
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I "" $<
ifneq ($(NODEP),1)
-include $(addprefix $(OBJ_DIR)/,$(REGULAR_DATA_ASM_SRCS:.s=.d))
endif
$(OBJ_DIR)/sym_bss.ld: sym_bss.txt
$(RAMSCRGEN) .bss $< ENGLISH > $@
$(OBJ_DIR)/sym_common.ld: sym_common.txt $(C_OBJS) $(wildcard common_syms/*.txt)
$(RAMSCRGEN) COMMON $< ENGLISH -c $(C_BUILDDIR),common_syms > $@
$(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt
$(RAMSCRGEN) ewram_data $< ENGLISH > $@
# Linker script
ifeq ($(MODERN),0)
LD_SCRIPT := ld_script.ld
LD_SCRIPT_DEPS := $(OBJ_DIR)/sym_bss.ld $(OBJ_DIR)/sym_common.ld $(OBJ_DIR)/sym_ewram.ld
else
LD_SCRIPT := ld_script_modern.ld
LD_SCRIPT_DEPS :=
endif
# Final rules
libagbsyscall:
@$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=$(MODERN)
# Elf from object files
LDFLAGS = -Map ../../$(MAP)
$(ELF): $(LD_SCRIPT) $(LD_SCRIPT_DEPS) $(OBJS) libagbsyscall
@cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ../../$< --print-memory-usage -o ../../$@ $(OBJS_REL) $(LIB) | cat
@echo "cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ../../$< --print-memory-usage -o ../../$@ <objs> <libs> | cat"
$(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent
# Builds the rom from the elf file
$(ROM): $(ELF)
$(OBJCOPY) -O binary $< $@
$(FIX) $@ -p --silent
# Symbol file (`make syms`)
$(SYM): $(ELF)
$(OBJDUMP) -t $< | sort -u | grep -E "^0[2389]" | $(PERL) -p -e 's/^(\w{8}) (\w).{6} \S+\t(\w{8}) (\S+)$$/\1 \2 \3 \4/g' > $@
+11
View File
@@ -0,0 +1,11 @@
# Pokémon Emerald
This is a decompilation of Pokémon Emerald.
It builds the following ROM:
* [**pokeemerald.gba**](https://datomatic.no-intro.org/index.php?page=show_record&s=23&n=1961) `sha1: f3ae088181bf583e55daf962a92bb46f4f1d07b7`
To set up the repository, see [INSTALL.md](INSTALL.md).
For contacts and other pret projects, see [pret.github.io](https://pret.github.io/).
+16
View File
@@ -0,0 +1,16 @@
.include "asm/macros/asm.inc"
.include "asm/macros/function.inc"
.include "asm/macros/movement.inc"
.include "asm/macros/map.inc"
.include "asm/macros/field_effect_script.inc"
.include "asm/macros/trainer_hill.inc"
.include "asm/macros/battle_tent.inc"
.include "asm/macros/battle_frontier/apprentice.inc"
.include "asm/macros/battle_frontier/battle_arena.inc"
.include "asm/macros/battle_frontier/battle_dome.inc"
.include "asm/macros/battle_frontier/battle_factory.inc"
.include "asm/macros/battle_frontier/battle_palace.inc"
.include "asm/macros/battle_frontier/battle_pike.inc"
.include "asm/macros/battle_frontier/battle_pyramid.inc"
.include "asm/macros/battle_frontier/battle_tower.inc"
.include "asm/macros/battle_frontier/frontier_util.inc"
+12
View File
@@ -0,0 +1,12 @@
.macro inc x:req
.set \x, \x + 1
.endm
.macro enum_start x=0
.set __enum__, \x
.endm
.macro enum constant:req
.equiv \constant, __enum__
inc __enum__
.endm
+619
View File
@@ -0,0 +1,619 @@
.macro if_random_less_than param0:req, param1:req
.byte 0x0
.byte \param0
.4byte \param1
.endm
.macro if_random_greater_than param0:req, param1:req
.byte 0x1
.byte \param0
.4byte \param1
.endm
.macro if_random_equal param0:req, param1:req
.byte 0x2
.byte \param0
.4byte \param1
.endm
.macro if_random_not_equal param0:req, param1:req
.byte 0x3
.byte \param0
.4byte \param1
.endm
.macro score param0:req
.byte 0x4
.byte \param0
.endm
.macro if_hp_less_than battler:req, param1:req, param2:req
.byte 0x5
.byte \battler
.byte \param1
.4byte \param2
.endm
.macro if_hp_more_than battler:req, param1:req, param2:req
.byte 0x6
.byte \battler
.byte \param1
.4byte \param2
.endm
.macro if_hp_equal battler:req, param1:req, param2:req
.byte 0x7
.byte \battler
.byte \param1
.4byte \param2
.endm
.macro if_hp_not_equal battler:req, param1:req, param2:req
.byte 0x8
.byte \battler
.byte \param1
.4byte \param2
.endm
.macro if_status battler:req, status1:req, param2:req
.byte 0x9
.byte \battler
.4byte \status1
.4byte \param2
.endm
.macro if_not_status battler:req, status1:req, param2:req
.byte 0xa
.byte \battler
.4byte \status1
.4byte \param2
.endm
.macro if_status2 battler:req, status2:req, param2:req
.byte 0xb
.byte \battler
.4byte \status2
.4byte \param2
.endm
.macro if_not_status2 battler:req, status2:req, param2:req
.byte 0xc
.byte \battler
.4byte \status2
.4byte \param2
.endm
.macro if_status3 battler:req, status3:req, param2:req
.byte 0xd
.byte \battler
.4byte \status3
.4byte \param2
.endm
.macro if_not_status3 battler:req, status3:req, param2:req
.byte 0xe
.byte \battler
.4byte \status3
.4byte \param2
.endm
.macro if_side_affecting battler:req, sidestatus:req, param2:req
.byte 0xf
.byte \battler
.4byte \sidestatus
.4byte \param2
.endm
.macro if_not_side_affecting battler:req, sidestatus:req, param2:req
.byte 0x10
.byte \battler
.4byte \sidestatus
.4byte \param2
.endm
.macro if_less_than param0:req, param1:req
.byte 0x11
.byte \param0
.4byte \param1
.endm
.macro if_more_than param0:req, param1:req
.byte 0x12
.byte \param0
.4byte \param1
.endm
.macro if_equal param0:req, param1:req
.byte 0x13
.byte \param0
.4byte \param1
.endm
.macro if_not_equal param0:req, param1:req
.byte 0x14
.byte \param0
.4byte \param1
.endm
.macro if_less_than_ptr param0:req, param1:req
.byte 0x15
.4byte \param0
.4byte \param1
.endm
.macro if_more_than_ptr param0:req, param1:req
.byte 0x16
.4byte \param0
.4byte \param1
.endm
.macro if_equal_ptr param0:req, param1:req
.byte 0x17
.4byte \param0
.4byte \param1
.endm
.macro if_not_equal_ptr param0:req, param1:req
.byte 0x18
.4byte \param0
.4byte \param1
.endm
.macro if_move param0:req, param1:req
.byte 0x19
.2byte \param0
.4byte \param1
.endm
.macro if_not_move param0:req, param1:req
.byte 0x1a
.2byte \param0
.4byte \param1
.endm
.macro if_in_bytes param0:req, param1:req
.byte 0x1b
.4byte \param0
.4byte \param1
.endm
.macro if_not_in_bytes param0:req, param1:req
.byte 0x1c
.4byte \param0
.4byte \param1
.endm
.macro if_in_hwords param0:req, param1:req
.byte 0x1d
.4byte \param0
.4byte \param1
.endm
.macro if_not_in_hwords param0:req, param1:req
.byte 0x1e
.4byte \param0
.4byte \param1
.endm
.macro if_user_has_attacking_move param0:req
.byte 0x1f
.4byte \param0
.endm
.macro if_user_has_no_attacking_moves param0:req
.byte 0x20
.4byte \param0
.endm
.macro get_turn_count
.byte 0x21
.endm
.macro get_type param0:req
.byte 0x22
.byte \param0
.endm
.macro get_considered_move_power
.byte 0x23
.endm
.macro get_how_powerful_move_is
.byte 0x24
.endm
.macro get_last_used_bank_move battler:req
.byte 0x25
.byte \battler
.endm
.macro if_equal_ param0:req, param1:req
.byte 0x26
.byte \param0
.4byte \param1
.endm
.macro if_not_equal_ param0:req, param1:req
.byte 0x27
.byte \param0
.4byte \param1
.endm
.macro if_user_goes param0:req, param1:req
.byte 0x28
.byte \param0
.4byte \param1
.endm
.macro if_user_doesnt_go param0:req, param1:req
.byte 0x29
.byte \param0
.4byte \param1
.endm
.macro nop_2A
.byte 0x2a
.endm
.macro nop_2B
.byte 0x2b
.endm
.macro count_usable_party_mons battler:req
.byte 0x2c
.byte \battler
.endm
.macro get_considered_move
.byte 0x2d
.endm
.macro get_considered_move_effect
.byte 0x2e
.endm
.macro get_ability battler:req
.byte 0x2f
.byte \battler
.endm
.macro get_highest_type_effectiveness
.byte 0x30
.endm
.macro if_type_effectiveness param0:req, param1:req
.byte 0x31
.byte \param0
.4byte \param1
.endm
.macro nop_32
.byte 0x32
.endm
.macro nop_33
.byte 0x33
.endm
.macro if_status_in_party battler:req, status1:req, param2:req
.byte 0x34
.byte \battler
.4byte \status1
.4byte \param2
.endm
.macro if_status_not_in_party battler:req, status1:req, param2:req
.byte 0x35
.byte \battler
.4byte \status1
.4byte \param2
.endm
.macro get_weather
.byte 0x36
.endm
.macro if_effect param0:req, param1:req
.byte 0x37
.byte \param0
.4byte \param1
.endm
.macro if_not_effect param0:req, param1:req
.byte 0x38
.byte \param0
.4byte \param1
.endm
.macro if_stat_level_less_than battler:req, stat:req, param2:req, param3:req
.byte 0x39
.byte \battler
.byte \stat
.byte \param2
.4byte \param3
.endm
.macro if_stat_level_more_than battler:req, stat:req, param2:req, param3:req
.byte 0x3a
.byte \battler
.byte \stat
.byte \param2
.4byte \param3
.endm
.macro if_stat_level_equal battler:req, stat:req, param2:req, param3:req
.byte 0x3b
.byte \battler
.byte \stat
.byte \param2
.4byte \param3
.endm
.macro if_stat_level_not_equal battler:req, stat:req, param2:req, param3:req
.byte 0x3c
.byte \battler
.byte \stat
.byte \param2
.4byte \param3
.endm
.macro if_can_faint param0:req
.byte 0x3d
.4byte \param0
.endm
.macro if_cant_faint param0:req
.byte 0x3e
.4byte \param0
.endm
.macro if_has_move battler:req, param1:req, param2:req
.byte 0x3f
.byte \battler
.2byte \param1
.4byte \param2
.endm
.macro if_doesnt_have_move battler:req, param1:req, param2:req
.byte 0x40
.byte \battler
.2byte \param1
.4byte \param2
.endm
.macro if_has_move_with_effect battler:req, param1:req, param2:req
.byte 0x41
.byte \battler
.byte \param1
.4byte \param2
.endm
.macro if_doesnt_have_move_with_effect battler:req, param1:req, param2:req
.byte 0x42
.byte \battler
.byte \param1
.4byte \param2
.endm
.macro if_any_move_disabled_or_encored battler:req, param1:req, param2:req
.byte 0x43
.byte \battler
.byte \param1
.4byte \param2
.endm
.macro if_curr_move_disabled_or_encored param0:req, param1:req
.byte 0x44
.byte \param0
.4byte \param1
.endm
.macro flee
.byte 0x45
.endm
.macro if_random_safari_flee param0:req
.byte 0x46
.4byte \param0
.endm
.macro watch
.byte 0x47
.endm
.macro get_hold_effect battler:req
.byte 0x48
.byte \battler
.endm
.macro get_gender battler:req
.byte 0x49
.byte \battler
.endm
.macro is_first_turn_for battler:req
.byte 0x4a
.byte \battler
.endm
.macro get_stockpile_count battler:req
.byte 0x4b
.byte \battler
.endm
.macro is_double_battle
.byte 0x4c
.endm
.macro get_used_held_item battler:req
.byte 0x4d
.byte \battler
.endm
.macro get_move_type_from_result
.byte 0x4e
.endm
.macro get_move_power_from_result
.byte 0x4f
.endm
.macro get_move_effect_from_result
.byte 0x50
.endm
.macro get_protect_count battler:req
.byte 0x51
.byte \battler
.endm
.macro nop_52
.byte 0x52
.endm
.macro nop_53
.byte 0x53
.endm
.macro nop_54
.byte 0x54
.endm
.macro nop_55
.byte 0x55
.endm
.macro nop_56
.byte 0x56
.endm
.macro nop_57
.byte 0x57
.endm
.macro call param0:req
.byte 0x58
.4byte \param0
.endm
.macro goto param0:req
.byte 0x59
.4byte \param0
.endm
.macro end
.byte 0x5a
.endm
.macro if_level_cond param0:req, param1:req
.byte 0x5b
.byte \param0
.4byte \param1
.endm
.macro if_target_taunted param0:req
.byte 0x5c
.4byte \param0
.endm
.macro if_target_not_taunted param0:req
.byte 0x5d
.4byte \param0
.endm
.macro if_target_is_ally param0:req
.byte 0x5e
.4byte \param0
.endm
.macro is_of_type battler:req, type:req
.byte 0x5f
.byte \battler
.byte \type
.endm
.macro check_ability battler:req, ability:req
.byte 0x60
.byte \battler
.byte \ability
.endm
.macro if_flash_fired battler:req, param1:req
.byte 0x61
.byte \battler
.4byte \param1
.endm
.macro if_holds_item battler:req, param1:req, param2:req
.byte 0x62
.byte \battler
.2byte \param1
.4byte \param2
.endm
@ useful script macros
.macro get_curr_move_type
get_type AI_TYPE_MOVE
.endm
.macro get_user_type1
get_type AI_TYPE1_USER
.endm
.macro get_user_type2
get_type AI_TYPE2_USER
.endm
.macro get_target_type1
get_type AI_TYPE1_TARGET
.endm
.macro get_target_type2
get_type AI_TYPE2_TARGET
.endm
.macro if_ability battler:req, ability:req, ptr:req
check_ability \battler, \ability
if_equal 1, \ptr
.endm
.macro if_no_ability battler:req, ability:req, ptr:req
check_ability \battler, \ability
if_equal 0, \ptr
.endm
.macro if_type battler:req, type:req, ptr:req
is_of_type \battler, \type
if_equal 1, \ptr
.endm
.macro if_no_type battler:req, type:req, ptr:req
is_of_type \battler, \type
if_equal 0, \ptr
.endm
.macro if_target_faster ptr:req
if_user_goes 1, \ptr
.endm
.macro if_user_faster ptr:req
if_user_goes 0, \ptr
.endm
.macro if_double_battle ptr:req
is_double_battle
if_equal 1, \ptr
.endm
.macro if_not_double_battle ptr:req
is_double_battle
if_equal 0, \ptr
.endm
.macro if_any_move_disabled battler:req, ptr:req
if_any_move_disabled_or_encored \battler, 0, \ptr
.endm
.macro if_any_move_encored battler:req, ptr:req
if_any_move_disabled_or_encored \battler, 1, \ptr
.endm
+285
View File
@@ -0,0 +1,285 @@
@ commands
.macro loadspritegfx tag:req
.byte 0x0
.2byte \tag
.endm
.macro unloadspritegfx tag:req
.byte 0x1
.2byte \tag
.endm
.macro createsprite template:req, anim_battler:req, subpriority_offset:req, argv:vararg
.byte 0x02
.4byte \template
.if \anim_battler == ANIM_TARGET
.byte ANIMSPRITE_IS_TARGET | (\subpriority_offset & 0x7F)
.else
.byte (\subpriority_offset & 0x7F)
.endif
.byte (.Lsprite_\@_2 - .Lsprite_\@_1) / 2
.Lsprite_\@_1:
.2byte \argv
.Lsprite_\@_2:
.endm
.macro createvisualtask addr:req, priority:req, argv:vararg
.byte 0x03
.4byte \addr
.byte \priority
.byte (.Lcreatetask_\@_2 - .Lcreatetask_\@_1) / 2
.Lcreatetask_\@_1:
.2byte \argv
.Lcreatetask_\@_2:
.endm
.macro delay frames:req
.byte 0x4
.byte \frames
.endm
.macro waitforvisualfinish
.byte 0x5
.endm
.macro nop
.byte 0x6
.endm
.macro nop2
.byte 0x7
.endm
.macro end
.byte 0x8
.endm
.macro playse se:req
.byte 0x9
.2byte \se
.endm
.macro monbg battler:req
.byte 0xa
.byte \battler
.endm
.macro clearmonbg battler:req
.byte 0xb
.byte \battler
.endm
.macro setalpha eva:req, evb:req
.byte 0x0C
.2byte ((\evb) << 8) | (\eva)
.endm
.macro blendoff
.byte 0xd
.endm
.macro call ptr:req
.byte 0xe
.4byte \ptr
.endm
.macro return
.byte 0xf
.endm
.macro setarg argId:req, value:req
.byte 0x10
.byte \argId
.2byte \value
.endm
.macro choosetwoturnanim ptr1:req, ptr2:req
.byte 0x11
.4byte \ptr1
.4byte \ptr2
.endm
.macro jumpifmoveturn value:req, ptr:req
.byte 0x12
.byte \value
.4byte \ptr
.endm
.macro goto ptr:req
.byte 0x13
.4byte \ptr
.endm
.macro fadetobg bg:req
.byte 0x14
.byte \bg
.endm
.macro restorebg
.byte 0x15
.endm
.macro waitbgfadeout
.byte 0x16
.endm
.macro waitbgfadein
.byte 0x17
.endm
.macro changebg bg:req
.byte 0x18
.byte \bg
.endm
.macro playsewithpan se:req, pan:req
.byte 0x19
.2byte \se
.byte \pan
.endm
.macro setpan pan:req
.byte 0x1a
.byte \pan
.endm
.macro panse se:req, currentPan:req, targetPan:req, incrementPan:req, delay:req
.byte 0x1b
.2byte \se
.byte \currentPan
.byte \targetPan
.byte \incrementPan
.byte \delay
.endm
.macro loopsewithpan se:req, pan:req, wait:req, times:req
.byte 0x1c
.2byte \se
.byte \pan
.byte \wait
.byte \times
.endm
.macro waitplaysewithpan se:req, pan:req, wait:req
.byte 0x1d
.2byte \se
.byte \pan
.byte \wait
.endm
.macro setbldcnt bldcnt:req
.byte 0x1e
.2byte \bldcnt
.endm
.macro createsoundtask addr:req, argv:vararg
.byte 0x1F
.4byte \addr
.byte (.Lcreatetask_1F_\@_2 - .Lcreatetask_1F_\@_1) / 2
.Lcreatetask_1F_\@_1:
.2byte \argv
.Lcreatetask_1F_\@_2:
.endm
.macro waitsound
.byte 0x20
.endm
.macro jumpargeq argId:req, value:req, ptr:req
.byte 0x21
.byte \argId
.2byte \value
.4byte \ptr
.endm
.macro monbg_static battler:req
.byte 0x22
.byte \battler
.endm
.macro clearmonbg_static battler:req
.byte 0x23
.byte \battler
.endm
.macro jumpifcontest ptr:req
.byte 0x24
.4byte \ptr
.endm
.macro fadetobgfromset bgOpponent:req, bgPlayer:req, bgContest:req
.byte 0x25
.byte \bgOpponent
.byte \bgPlayer
.byte \bgContest
.endm
.macro panse_adjustnone se:req, currentPan:req, targetPan:req, incrementPan:req, delay:req
.byte 0x26
.2byte \se
.byte \currentPan
.byte \targetPan
.byte \incrementPan
.byte \delay
.endm
.macro panse_adjustall se:req, currentPan:req, targetPan:req, incrementPan:req, delay:req
.byte 0x27
.2byte \se
.byte \currentPan
.byte \targetPan
.byte \incrementPan
.byte \delay
.endm
.macro splitbgprio battler:req
.byte 0x28
.byte \battler
.endm
.macro splitbgprio_all
.byte 0x29
.endm
.macro splitbgprio_foes battler:req
.byte 0x2a
.byte \battler
.endm
.macro invisible battler:req
.byte 0x2b
.byte \battler
.endm
.macro visible battler:req
.byte 0x2c
.byte \battler
.endm
.macro teamattack_moveback battler:req
.byte 0x2d
.byte \battler
.endm
.macro teamattack_movefwd battler:req
.byte 0x2e
.byte \battler
.endm
.macro stopsound
.byte 0x2f
.endm
@ useful macros
.macro jumpreteq value:req, ptr:req
jumpargeq ARG_RET_ID, \value, \ptr
.endm
.macro jumprettrue ptr:req
jumpreteq TRUE, \ptr
.endm
.macro jumpretfalse ptr:req
jumpreteq FALSE, \ptr
.endm
+162
View File
@@ -0,0 +1,162 @@
@ TRUE if the player has talked to the Apprentice and answered their level mode question
.macro apprentice_gavelvlmode
setvar VAR_0x8004, APPRENTICE_FUNC_GAVE_LVLMODE
special CallApprenticeFunction
.endm
@ Set the level mode the Apprentice should battle in
.macro apprentice_setlvlmode lvlmode:req
setvar VAR_0x8004, APPRENTICE_FUNC_SET_LVLMODE
setorcopyvar VAR_0x8005, \lvlmode
addvar VAR_0x8005, 1 @ Apprentice lvl mode is +1 from regular lvl mode value
special CallApprenticeFunction
.endm
@ Question was answered, increment the number of questions answered
.macro apprentice_answeredquestion
setvar VAR_0x8004, APPRENTICE_FUNC_ANSWERED_QUESTION
special CallApprenticeFunction
.endm
@ Show the response selection box to answer the Apprentice question. Menus are defined as APPRENTICE_ASK_*
.macro apprentice_menu which:req
setvar VAR_0x8004, APPRENTICE_FUNC_MENU
setvar VAR_0x8005, \which
special CallApprenticeFunction
waitstate
.endm
@ Shuffle and set the Apprentice party mons to pick between from their list of possible party species
.macro apprentice_shufflespecies
setvar VAR_0x8004, APPRENTICE_FUNC_SHUFFLE_SPECIES
special CallApprenticeFunction
.endm
@ Randomize the question data (e.g. moves to pick between) and shuffle the order to ask them in
.macro apprentice_randomizequestions
setvar VAR_0x8004, APPRENTICE_FUNC_RANDOMIZE_QUESTIONS
special CallApprenticeFunction
.endm
@ Print the APPRENTICE_MSG_* text for the current Apprentice
.macro apprentice_msg waitbuttonpress:req, which:req
setvar VAR_0x8004, APPRENTICE_FUNC_PRINT_MSG
setvar VAR_0x8005, \waitbuttonpress
setvar VAR_0x8006, \which
special CallApprenticeFunction
waitstate
.endm
@ Clear the data for the current Player Apprentice
.macro apprentice_reset
setvar VAR_0x8004, APPRENTICE_FUNC_RESET
special CallApprenticeFunction
.endm
@ Always returns TRUE. No side effect. May have been for debug or dummied for some other reason
.macro apprentice_shouldcheckgone
setvar VAR_0x8004, APPRENTICE_FUNC_CHECK_GONE
special CallApprenticeFunction
.endm
@ Return the APPRENTICE_QUESTION_* value for the current question to ask
.macro apprentice_getquestion
setvar VAR_0x8004, APPRENTICE_FUNC_GET_QUESTION
special CallApprenticeFunction
.endm
@ Get the number of mons that have been chosen for the Apprentice's party so far
.macro apprentice_getnumpartymons
setvar VAR_0x8004, APPRENTICE_FUNC_GET_NUM_PARTY_MONS
special CallApprenticeFunction
.endm
@ Set the Apprentice party mon at the given slot. VAR_0x8005 is used implicitly as which of the 2 mons was selected
.macro apprentice_setpartymon slot:req
copyvar VAR_0x8006, \slot
setvar VAR_0x8004, APPRENTICE_FUNC_SET_PARTY_MON
special CallApprenticeFunction
.endm
@ Allocate and set up data to track about the question
.macro apprentice_initquestion which:req
setvar VAR_0x8004, APPRENTICE_FUNC_INIT_QUESTION_DATA
setvar VAR_0x8005, \which
special CallApprenticeFunction
.endm
@ Free allocated question data
.macro apprentice_freequestion
setvar VAR_0x8004, APPRENTICE_FUNC_FREE_QUESTION_DATA
special CallApprenticeFunction
.endm
@ Buffer some APPRENTICE_BUFF_* string to the given stringvar (0 for STR_VAR_1, 1 for STR_VAR_2, 2 for STR_VAR_3)
.macro apprentice_buff stringvar:req, tobuff:req
setvar VAR_0x8004, APPRENTICE_FUNC_BUFFER_STRING
.if \stringvar == STR_VAR_1
setvar VAR_0x8005, 0
.elseif \stringvar == STR_VAR_2
setvar VAR_0x8005, 1
.elseif \stringvar == STR_VAR_3
setvar VAR_0x8005, 2
.else
setvar VAR_0x8005, \stringvar
.endif
.if \tobuff >= VARS_START
copyvar VAR_0x8006, \tobuff
.else
setvar VAR_0x8006, \tobuff
.endif
special CallApprenticeFunction
.endm
@ Set which move to use that the player chose (implicitly VAR_0x8005)
.macro apprentice_setmove
setvar VAR_0x8004, APPRENTICE_FUNC_SET_MOVE
special CallApprenticeFunction
.endm
@ Set which mon the Apprentice should lead with
.macro apprentice_setleadmon monId:req
copyvar VAR_0x8005, \monId
setvar VAR_0x8004, APPRENTICE_FUNC_SET_LEAD_MON
special CallApprenticeFunction
.endm
@ Open the Bag Menu for the player to choose an item to recommend as a held item
.macro apprentice_openbag
setvar VAR_0x8004, APPRENTICE_FUNC_OPEN_BAG
special CallApprenticeFunction
waitstate
.endm
@ Try and set the recommended held item. FALSE if the item has been recommended before, as Battle Frontier forbids using the same held item for multiple party mons
.macro apprentice_trysetitem
setvar VAR_0x8004, APPRENTICE_FUNC_TRY_SET_HELD_ITEM
special CallApprenticeFunction
.endm
@ Save the current Player Apprentice to the saveblock to make room for a new Apprentice
.macro apprentice_save
setvar VAR_0x8004, APPRENTICE_FUNC_SAVE
special CallApprenticeFunction
.endm
@ Set the object event gfx for the Apprentice based on their trainer class
.macro apprentice_setgfx
setvar VAR_0x8004, APPRENTICE_FUNC_SET_GFX
special CallApprenticeFunction
.endm
@ Always returns TRUE. No side effect. May have been for debug or dummied for some other reason
.macro apprentice_shouldleave
setvar VAR_0x8004, APPRENTICE_FUNC_SHOULD_LEAVE
special CallApprenticeFunction
.endm
@ Shift the other saved Apprentices over to make room for saving a new Apprentice
.macro apprentice_shiftsaved
setvar VAR_0x8004, APPRENTICE_FUNC_SHIFT_SAVED
special CallApprenticeFunction
.endm
@@ -0,0 +1,49 @@
@ Initialize the Battle Arena challenge
.macro arena_init
setvar VAR_0x8004, BATTLE_ARENA_FUNC_INIT
special CallBattleArenaFunction
.endm
@ Unused. Get the value of some ARENA_DATA_*. See GetArenaData for the data types that can be retrieved
.macro arena_get data:req
setvar VAR_0x8004, BATTLE_ARENA_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallBattleArenaFunction
.endm
@ Set some ARENA_DATA_* to val. See SetArenaData for the data types that can be set
.macro arena_set data:req, val:req
setvar VAR_0x8004, BATTLE_ARENA_FUNC_SET_DATA
setvar VAR_0x8005, \data
.if \val >= VARS_START
copyvar VAR_0x8006, \val
.else
setvar VAR_0x8006, \val
.endif
special CallBattleArenaFunction
.endm
@ Save the game and set the challenge status
.macro arena_save challengeStatus:req
setvar VAR_0x8004, BATTLE_ARENA_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallBattleArenaFunction
.endm
@ Unused. Set the prize item to give from one of two lists of possible prizes, depending on streak.
.macro arena_setprize
setvar VAR_0x8004, BATTLE_ARENA_FUNC_SET_PRIZE
special CallBattleArenaFunction
.endm
@ Unused. Give the set prize item to the player. TRUE if room in Bag for prize, FALSE otherwise
.macro arena_giveprize
setvar VAR_0x8004, BATTLE_ARENA_FUNC_GIVE_PRIZE
special CallBattleArenaFunction
.endm
@ Buffer the opponents name to STR_VAR_1
.macro arena_gettrainername
setvar VAR_0x8004, BATTLE_ARENA_FUNC_GET_TRAINER_NAME
special CallBattleArenaFunction
.endm
+144
View File
@@ -0,0 +1,144 @@
@ Initialize the Battle Dome challenge
.macro dome_init
setvar VAR_0x8004, BATTLE_DOME_FUNC_INIT
special CallBattleDomeFunction
.endm
@ Get the value of some DOME_DATA_*. See GetDomeData for the data types that can be retrieved
.macro dome_get data:req
setvar VAR_0x8004, BATTLE_DOME_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallBattleDomeFunction
.endm
@ Set some DOME_DATA_* to val. See SetDomeData for the data types that can be set
.macro dome_set data:req, val=0xFFFF
setvar VAR_0x8004, BATTLE_DOME_FUNC_SET_DATA
setvar VAR_0x8005, \data
.if \val != 0xFFFF
setvar VAR_0x8006, \val
.endif
special CallBattleDomeFunction
.endm
@ Buffer the name of the current round to gStringVar1
.macro dome_getroundtext
setvar VAR_0x8004, BATTLE_DOME_FUNC_GET_ROUND_TEXT
special CallBattleDomeFunction
.endm
@ Buffer the name of the opponent to gStringVar2 and the name of the round to gStringVar1
.macro dome_getopponentname
setvar VAR_0x8004, BATTLE_DOME_FUNC_GET_OPPONENT_NAME
special CallBattleDomeFunction
.endm
@ Choose which of the opponents mons to use in battle and load them into the enemy party
.macro dome_initopponentparty
setvar VAR_0x8004, BATTLE_DOME_FUNC_INIT_OPPONENT_PARTY
special CallBattleDomeFunction
.endm
@ Show the page that gives information on the next opponent
.macro dome_showopponentinfo
setvar VAR_0x8004, BATTLE_DOME_FUNC_SHOW_OPPONENT_INFO
special CallBattleDomeFunction
.endm
@ Displays the tourney tree for the current tourney
.macro dome_showtourneytree
setvar VAR_0x8004, BATTLE_DOME_FUNC_SHOW_TOURNEY_TREE
special CallBattleDomeFunction
.endm
@ Displays the tourney tree for the results of the previous tourney. Before the player enters their first tourney this is a random tourney generated by dome_initresultstree
.macro dome_showprevtourneytree
setvar VAR_0x8004, BATTLE_DOME_FUNC_SHOW_PREV_TOURNEY_TREE
special CallBattleDomeFunction
.endm
@ Sets gTrainerBattleOpponent_A to the trainer ID of the next opponent
.macro dome_setopponent
setvar VAR_0x8004, BATTLE_DOME_FUNC_SET_OPPONENT_ID
special CallBattleDomeFunction
.endm
@ Set the object event gfx id for the opponent
.macro dome_setopponentgfx
setvar VAR_0x8004, BATTLE_DOME_FUNC_SET_OPPONENT_GFX
special CallBattleDomeFunction
.endm
@ A non-interactive version of the tourney tree shown when a round is completed
.macro dome_showstatictourneytree
setvar VAR_0x8004, BATTLE_DOME_FUNC_SHOW_STATIC_TOURNEY_TREE
special CallBattleDomeFunction
.endm
@ Decides the winners of NPC vs NPC matches, and eliminates either the player or their opponent depending on the playerStatus (DOME_PLAYER_*)
.macro dome_resolvewinners playerStatus:req
setvar VAR_0x8004, BATTLE_DOME_FUNC_RESOLVE_WINNERS
setvar VAR_0x8005, \playerStatus
special CallBattleDomeFunction
.endm
@ Save the game and set the challenge status
.macro dome_save challengeStatus:req
setvar VAR_0x8004, BATTLE_DOME_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallBattleDomeFunction
.endm
@ Unused. Increment the win streaks for the current challenge by one
.macro dome_incrementstreaks
setvar VAR_0x8004, BATTLE_DOME_FUNC_INCREMENT_STREAK
special CallBattleDomeFunction
.endm
@ Sets the facility trainer/mon set pointers
.macro dome_settrainers
setvar VAR_0x8004, BATTLE_DOME_FUNC_SET_TRAINERS
special CallBattleDomeFunction
.endm
@ If any moves were copied using Sketch during the challenge then restore them to Sketch
.macro dome_resetsketch
setvar VAR_0x8004, BATTLE_DOME_FUNC_RESET_SKETCH
special CallBattleDomeFunction
.endm
@ Reset the held items of the mons that just battled to what they were prior to battling
.macro dome_restorehelditems
setvar VAR_0x8004, BATTLE_DOME_FUNC_RESTORE_HELD_ITEMS
special CallBattleDomeFunction
.endm
@ Reduce the players party to the selected mons, used to reduce down to the 2 selected for battle
.macro dome_reduceparty
setvar VAR_0x8004, BATTLE_DOME_FUNC_REDUCE_PARTY
special CallBattleDomeFunction
.endm
@ Compares the initial tournament ranking (seed) of the player to opponent A. Returns 1 if the player's seed is better, 2 if the opponent's seed is better.
.macro dome_compareseeds
setvar VAR_0x8004, BATTLE_DOME_FUNC_COMPARE_SEEDS
special CallBattleDomeFunction
.endm
@ Buffer the name of the winner for the last Dome challenge to STR_VAR_1
.macro dome_getwinnersname
setvar VAR_0x8004, BATTLE_DOME_FUNC_GET_WINNER_NAME
special CallBattleDomeFunction
.endm
@ Performs a random tourney to initialize the results board before the player has entered a challenge
.macro dome_initresultstree
setvar VAR_0x8004, BATTLE_DOME_FUNC_INIT_RESULTS_TREE
special CallBattleDomeFunction
.endm
@ Generates the tourney trainers and their parties, and seeds them in the tourney tree
.macro dome_inittrainers
setvar VAR_0x8004, BATTLE_DOME_FUNC_INIT_TRAINERS
special CallBattleDomeFunction
.endm
@@ -0,0 +1,101 @@
@ Initialize the Battle Factory challenge
.macro factory_init
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_INIT
special CallBattleFactoryFunction
.endm
@ Get the value of some FACTORY_DATA_*. See GetBattleFactoryData for the data types that can be retrieved
.macro factory_get data:req
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallBattleFactoryFunction
.endm
@ Set some FACTORY_DATA_* to val. See SetBattleFactoryData for the data types that can be set
.macro factory_set data:req, val=0xFFFF
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_DATA
setvar VAR_0x8005, \data
.if \val == 0xFFFF
@ argument not provided
.elseif \val >= VARS_START
copyvar VAR_0x8006, \val
.else
setvar VAR_0x8006, \val
.endif
special CallBattleFactoryFunction
.endm
@ Save the game and set the challenge status
.macro factory_save challengeStatus:req
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallBattleFactoryFunction
.endm
@ Select the initial rental mons for the challenge
.macro factory_rentmons
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SELECT_RENT_MONS
special CallBattleFactoryFunction
.endm
@ Select a mon to swap for from the previously defeated team
.macro factory_swapmons
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SWAP_RENT_MONS
special CallBattleFactoryFunction
.endm
@ Allows FACTORY_DATA_WIN_STREAK_SWAPS to be incremented once
.macro factory_setswapped
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_SWAPPED
special CallBattleFactoryFunction
.endm
@ Update gEnemyParty with the next set of rental mons
.macro factory_setopponentmons
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_OPPONENT_MONS
special CallBattleFactoryFunction
.endm
@ Populate gPlayerParty and gEnemyParty with the rental mons. Only needed when resuming a challenge, otherwise only factory_setopponentmons and factory_rentmons/factory_swapmons are needed
.macro factory_setparties arg:req
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_PARTIES
setvar VAR_0x8005, \arg
special CallBattleFactoryFunction
.endm
@ Set the object event gfx for the opponent trainer
.macro factory_setopponentgfx
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_OPPONENT_GFX
special CallBattleFactoryFunction
.endm
@ Generate the mons for the opponents team
.macro factory_generateopponentmons
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GENERATE_OPPONENT_MONS
special CallBattleFactoryFunction
.endm
@ Generate the random 6 mons to choose from for the initial rental
.macro factory_generaterentalmons
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GENERATE_RENTAL_MONS
special CallBattleFactoryFunction
.endm
@ Return the pokemon type most common in the opponents team, or NUMBER_OF_MON_TYPES if there is no standout type
.macro factory_getopponentmontype
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GET_OPPONENT_MON_TYPE
special CallBattleFactoryFunction
.endm
@ Return the FACTORY_STYLE_* dependent on what types of moves the opponents team has, or FACTORY_NUM_STYLES if multiple styles tie for the same amount of moves
.macro factory_getopponentstyle
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GET_OPPONENT_STYLE
special CallBattleFactoryFunction
.endm
@ Restore the held items for the players party to what they were pre-battle
.macro factory_resethelditems
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_RESET_HELD_ITEMS
special CallBattleFactoryFunction
.endm
@@ -0,0 +1,63 @@
@ Initialize the Battle Palace challenge
.macro palace_init
setvar VAR_0x8004, BATTLE_PALACE_FUNC_INIT
special CallBattlePalaceFunction
.endm
@ Get the value of some PALACE_DATA_*. See GetPalaceData for the data types that can be retrieved
.macro palace_get data:req
setvar VAR_0x8004, BATTLE_PALACE_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallBattlePalaceFunction
.endm
@ Set some PALACE_DATA_* to val. See SetPalaceData for the data types that can be set
.macro palace_set data:req, val:req
setvar VAR_0x8004, BATTLE_PALACE_FUNC_SET_DATA
setvar VAR_0x8005, \data
setvar VAR_0x8006, \val
special CallBattlePalaceFunction
.endm
@ Get the id of the comment to be made while being led through the corridor
.macro palace_getcomment
setvar VAR_0x8004, BATTLE_PALACE_FUNC_GET_COMMENT_ID
special CallBattlePalaceFunction
.endm
@ Unused. Choose and set the opponent gfx id. The equivalent macro from Battle Tower is used instead
.macro palace_setopponent
setvar VAR_0x8004, BATTLE_PALACE_FUNC_SET_OPPONENT
special CallBattlePalaceFunction
.endm
@ Buffer the opponents intro speech to gStringVar4. Also used by Battle Arena and Factory
.macro palace_getopponentintro
setvar VAR_0x8004, BATTLE_PALACE_FUNC_GET_OPPONENT_INTRO
special CallBattlePalaceFunction
.endm
@ Increments the current win streak by 1
.macro palace_incrementstreak
setvar VAR_0x8004, BATTLE_PALACE_FUNC_INCREMENT_STREAK
special CallBattlePalaceFunction
.endm
@ Save the game and set the challenge status
.macro palace_save challengeStatus:req
setvar VAR_0x8004, BATTLE_PALACE_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallBattlePalaceFunction
.endm
@ Unused. Set the prize item to give from one of two lists of possible prizes, depending on streak.
.macro palace_setprize
setvar VAR_0x8004, BATTLE_PALACE_FUNC_SET_PRIZE
special CallBattleArenaFunction
.endm
@ Unused. Give the set prize item to the player. TRUE if room in Bag for prize, FALSE otherwise
.macro palace_giveprize
setvar VAR_0x8004, BATTLE_PALACE_FUNC_GIVE_PRIZE
special CallBattleArenaFunction
.endm
+171
View File
@@ -0,0 +1,171 @@
@ Set sRoomType to the next PIKE_ROOM_* id
.macro pike_setnextroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_TYPE
special CallBattlePikeFunction
.endm
@ Get the value of some PIKE_DATA_*. See GetBattlePikeData for the data types that can be retrieved
.macro pike_get data:req
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallBattlePikeFunction
.endm
@ Set some PIKE_DATA_* to val. See SetBattlePikeData for the data types that can be set
.macro pike_set data:req, val:req
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_DATA
setvar VAR_0x8005, \data
.if \val >= VARS_START
copyvar VAR_0x8006, \val
.else
setvar VAR_0x8006, \val
.endif
special CallBattlePikeFunction
.endm
@ TRUE if the next room is the last (15th) room, FALSE otherwise
.macro pike_isfinalroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_FINAL_ROOM
special CallBattlePikeFunction
.endm
@ Set the object event gfx for the room being entered
.macro pike_setroomobjects
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_OBJECTS
special CallBattlePikeFunction
.endm
@ Get the current room type (sRoomType)
.macro pike_getroomtype
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE
special CallBattlePikeFunction
.endm
@ Sets a bool that's never read
.macro pike_inwildmonroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_IN_WILD_MON_ROOM
special CallBattlePikeFunction
.endm
@ Clears a bool that's never read
.macro pike_exitwildmonroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_CLEAR_IN_WILD_MON_ROOM
special CallBattlePikeFunction
.endm
@ Save the game and set the challenge status
.macro pike_save challengeStatus:req
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallBattlePikeFunction
.endm
@ Returns the PIKE_STATUS_* to be afflicted for the status room
.macro pike_getstatus
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS
special CallBattlePikeFunction
.endm
@ Returns the PIKE_STATUSMON_* that attacks the player for the status room
.macro pike_getstatusmon
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON
special CallBattlePikeFunction
.endm
@ Randomly heals either one or two party mons and returns the number of mons healed
.macro pike_healonetwomons
setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS
special CallBattlePikeFunction
.endm
@ Buffers a message for the lone NPC in the NPC room to gStringVar4
.macro pike_getnpcmsg
setvar VAR_0x8004, BATTLE_PIKE_FUNC_BUFFER_NPC_MSG
special CallBattlePikeFunction
.endm
@ Flashes the screen 3 times for when the Dusclops/Kirlia attacks the player
.macro pike_flashscreen
setvar VAR_0x8004, BATTLE_PIKE_FUNC_STATUS_SCREEN_FLASH
special CallBattlePikeFunction
.endm
@ TRUE if the player is currently in a Battle Pike challenge map
.macro pike_inchallenge
setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_IN
special CallBattlePikeFunction
.endm
@ Set which room to give a hint about. TRUE if its the Pike Queens room next
.macro pike_sethintroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HINT_ROOM
special CallBattlePikeFunction
.endm
@ Get PIKE_ROOM_(LEFT/CENTER/RIGHT) for which room to give a hint about
.macro pike_gethintroomid
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID
special CallBattlePikeFunction
.endm
@ Get the PIKE_HINT_* to give about the next room
.macro pike_gethint
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE_HINT
special CallBattlePikeFunction
.endm
@ Reset the frontier trainer ids for the start of the challenge
.macro pike_cleartrainerids
setvar VAR_0x8004, BATTLE_PIKE_FUNC_CLEAR_TRAINER_IDS
special CallBattlePikeFunction
.endm
@ Buffer the opponents battle intro speech to gStringVar4. \trainer 0 for Trainer A, 1 for Trainer B
.macro pike_gettrainerintro trainer:req
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_TRAINER_INTRO
setvar VAR_0x8005, \trainer
special CallBattlePikeFunction
.endm
@ Get the status of the Pike Queen (Not ready, Silver/Gold streak before symbols, Silver/Gold streak after symbols)
.macro pike_getbrainstatus
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_QUEEN_FIGHT_TYPE
special CallBattlePikeFunction
.endm
@ Heal 0-2 party mons depending on which room was chosen for the Pike Queen battle. Return the number healed
.macro pike_prequeenheal
setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_MONS_BEFORE_QUEEN
special CallBattlePikeFunction
.endm
@ When \set is TRUE, prevent healing rooms from appearing (for 1st room or when party is full health). \set FALSE to re-enable healing rooms
.macro pike_nohealing set:req
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HEAL_ROOMS_DISABLED
setvar VAR_0x8005, \set
special CallBattlePikeFunction
.endm
@ TRUE if the party is full health (full HP, PP, and no status), FALSE otherwise
.macro pike_ispartyfullhealth
setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_PARTY_FULL_HEALTH
special CallBattlePikeFunction
.endm
@ Save the party held items in pikeHeldItemsBackup
.macro pike_savehelditems
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SAVE_HELD_ITEMS
special CallBattlePikeFunction
.endm
@ Restore the party held items from pikeHeldItemsBackup
.macro pike_resethelditems
setvar VAR_0x8004, BATTLE_PIKE_FUNC_RESET_HELD_ITEMS
special CallBattlePikeFunction
.endm
@ Initialize the Battle Pike challenge
.macro pike_init
setvar VAR_0x8004, BATTLE_PIKE_FUNC_INIT
special CallBattlePikeFunction
.endm
@@ -0,0 +1,104 @@
@ Initialize the Battle Pyramid challenge
.macro pyramid_init
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT
special CallBattlePyramidFunction
.endm
@ Get the value of some PYRAMID_DATA_*. See GetBattlePyramidData for the data types that can be retrieved
.macro pyramid_get data:req
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallBattlePyramidFunction
.endm
@ Set some PYRAMID_DATA_* to val. See SetBattlePyramidData for the data types that can be set
.macro pyramid_set data:req, val:req
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_DATA
setvar VAR_0x8005, \data
setvar VAR_0x8006, \val
special CallBattlePyramidFunction
.endm
@ Save the game and set the challenge status
.macro pyramid_save challengeStatus:req
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallBattlePyramidFunction
.endm
@ Set the prize item to give from one of two lists of possible prizes, depending on streak.
.macro pyramid_setprize
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_PRIZE
special CallBattlePyramidFunction
.endm
@ Unused. Give the set prize item to the player. TRUE if room in Bag for prize, FALSE otherwise
.macro pyramid_giveprize
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_GIVE_PRIZE
special CallBattlePyramidFunction
.endm
@ Set the random values for the floor (used to determine object positions, e.g.), and clear trainer flags
.macro pyramid_seedfloor
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SEED_FLOOR
special CallBattlePyramidFunction
.endm
@ Set the item to pick up depending on the random seed and quantity (always 1) to the arguments for STD_FIND_ITEM
.macro pyramid_setitem
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_ITEM
special CallBattlePyramidFunction
.endm
@ Hide the picked-up item (technically it moves the item far offscreen)
.macro pyramid_hideitem
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_HIDE_ITEM
special CallBattlePyramidFunction
.endm
@ Set the facility trainers to gBattleFrontierTrainers
.macro pyramid_settrainers
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_TRAINERS
special CallBattlePyramidFunction
.endm
@ Show the post-battle hint text
.macro pyramid_showhint
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SHOW_HINT_TEXT
special CallBattlePyramidFunction
.endm
@ VAR_RESULT is 1 if player is on a Pyramid floor, 2 if on the Pyramid peak, 0 otherwise
.macro pyramid_getlocation
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_CURRENT_LOCATION
special CallBattlePyramidFunction
.endm
@ Update the light around the player. 2 different modes, for setting or incrementing light. See PYRAMID_LIGHT_*
.macro pyramid_updatelight radius:req, mode:req, sound=0xFFFF
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_UPDATE_LIGHT
setvar VAR_0x8005, \radius
setvar VAR_0x8006, \mode
.if \sound != 0xFFFF
setvar VAR_0x8007, \sound
.endif
special CallBattlePyramidFunction
.endm
@ Reset the held items to what they were at the start of the challenge
.macro pyramid_clearhelditems
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_CLEAR_HELD_ITEMS
special CallBattlePyramidFunction
.endm
@ Set the palette depending on current floor number
.macro pyramid_setfloorpal
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_FLOOR_PALETTE
special CallBattlePyramidFunction
.endm
@ Reset sketched moves and update the party order in the saveblock
.macro pyramid_resetparty
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_RESTORE_PARTY
special CallBattlePyramidFunction
.endm
@@ -0,0 +1,91 @@
@ Initialize the Battle Tower challenge
.macro tower_init
setvar VAR_0x8004, BATTLE_TOWER_FUNC_INIT
special CallBattleTowerFunc
.endm
@ Get the value of some TOWER_DATA_*. See GetTowerData for the data types that can be retrieved
.macro tower_get data:req
setvar VAR_0x8004, BATTLE_TOWER_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallBattleTowerFunc
.endm
@ Set some TOWER_DATA_* to val. See SetTowerData for the data types that can be set
.macro tower_set data:req, val=0xFFFF
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SET_DATA
setvar VAR_0x8005, \data
.if \val != 0xFFFF
setvar VAR_0x8006, \val
.endif
special CallBattleTowerFunc
.endm
@ Choose and set the gfx for the next opponent. Also used by Battle Tents
.macro tower_setopponent
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SET_OPPONENT
special CallBattleTowerFunc
.endm
@ Increments the battle number and returns the new one. Also clears E-Reader trainer if defeated, and saves the current win streak
.macro tower_setbattlewon
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SET_BATTLE_WON
special CallBattleTowerFunc
.endm
@ Try to award ribbons for completing 56th straight Battle Tower win. VAR_RESULT is TRUE if ribbons were awarded.
.macro tower_giveribbons
setvar VAR_0x8004, BATTLE_TOWER_FUNC_GIVE_RIBBONS
special CallBattleTowerFunc
.endm
@ Save the game and set the challenge status
.macro tower_save challengeStatus:req
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallBattleTowerFunc
.endm
@ Buffer the opponent's easy chat intro speech to STR_VAR_4
.macro tower_getopponentintro opponent:req
setvar VAR_0x8004, BATTLE_TOWER_FUNC_GET_OPPONENT_INTRO
setvar VAR_0x8005, \opponent
special CallBattleTowerFunc
.endm
@ Load the parties, gfx, and other data (like Apprentice id) for the multi partner candidates
.macro tower_loadpartners
setvar VAR_0x8004, BATTLE_TOWER_FUNC_LOAD_PARTNERS
special CallBattleTowerFunc
.endm
@ Print message from potential multi partner. msgId is any PARTNER_MSGID_*
.macro tower_dopartnermsg msgId:req
setvar VAR_0x8004, BATTLE_TOWER_FUNC_PARTNER_MSG
setvar VAR_0x8005, \msgId
special CallBattleTowerFunc
.endm
@ Receives/loads the opponent data for a link multi challenge. Returns 6 when finished, and finishes immediately if not doing a link multi battle.
.macro tower_loadlinkopponents
setvar VAR_0x8004, BATTLE_TOWER_FUNC_LOAD_LINK_OPPONENTS
special CallBattleTowerFunc
.endm
@ Attempts to close link connection. Used when finishing a link multi challenge.
.macro tower_closelink
setvar VAR_0x8004, BATTLE_TOWER_FUNC_TRY_CLOSE_LINK
special CallBattleTowerFunc
.endm
@ Set VAR_OBJ_GFX_ID_E to the gfx id of the selected multi partner
.macro tower_setpartnergfx
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SET_PARTNER_GFX
special CallBattleTowerFunc
.endm
@ Set the data used for the post-challenge Battle Tower interview
.macro tower_setinterviewdata
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SET_INTERVIEW_DATA
special CallBattleTowerFunc
.endm
@@ -0,0 +1,159 @@
@ Get the status (CHALLENGE_STATUS_*) of the current challenge and store the result in VAR_TEMP_CHALLENGE_STATUS
.macro frontier_getstatus
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_STATUS
special CallFrontierUtilFunc
.endm
@ Get the value of some FRONTIER_DATA_*. See GetFrontierData for the data types that can be retrieved
.macro frontier_get data:req
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_DATA
setvar VAR_0x8005, \data
special CallFrontierUtilFunc
.endm
@ Set the value of some FRONTIER_DATA_*. Some data types do not need a val argument because the value is set directly from somewhere else. See SetFrontierData for the data types that can be set
.macro frontier_set data:req, val=0xFFFF
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_DATA
setvar VAR_0x8005, \data
.if \val == 0xFFFF
@ no value provided
.elseif \val >= VARS_START
copyvar VAR_0x8006, \val
.else
setvar VAR_0x8006, \val
.endif
special CallFrontierUtilFunc
.endm
@ Load the selected mons into gSelectedOrderFromParty and reduce the players party to these mons
.macro frontier_setpartyorder partySize:req
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_PARTY_ORDER
setvar VAR_0x8005, \partySize
special CallFrontierUtilFunc
.endm
@ Performs a soft reset
.macro frontier_reset
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
.endm
@ Loads gBattleFrontierTrainers into gFacilityTrainers
.macro frontier_settrainers
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_TRAINERS
special CallFrontierUtilFunc
.endm
@ Sets the selected party mons in the saveblock
.macro frontier_saveparty
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SAVE_PARTY
special CallFrontierUtilFunc
.endm
@ Shows the results window for the given facility and mode. Facilities with only 1 mode dont provide the mode argument
.macro frontier_results facility:req, mode=0xFF
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, \facility
.if \mode != 0xFF
setvar VAR_0x8006, \mode
.endif
special CallFrontierUtilFunc
.endm
@ Checks if the Battle Frontier TV special should air, and if so attempts to set it up
.macro frontier_checkairshow
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_CHECK_AIR_TV_SHOW
special CallFrontierUtilFunc
.endm
@ Get the status of the Frontier Brain (Not ready, Silver/Gold streak before symbols, Silver/Gold streak after symbols)
.macro frontier_getbrainstatus
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_BRAIN_STATUS
special CallFrontierUtilFunc
.endm
@ TRUE if the opponent is a Frontier Brain, FALSE otherwise
.macro frontier_isbrain
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_BRAIN
special CallFrontierUtilFunc
.endm
@ Awards battle points depending on the current challenge
.macro frontier_givepoints
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_BATTLE_POINTS
special CallFrontierUtilFunc
.endm
@ Returns 0-2 for the number of facility symbols the player has
.macro frontier_getsymbols
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
.endm
@ Awards a frontier symbol depending on the current challenge
.macro frontier_givesymbol
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
.endm
@ TRUE if the given battleType is set in gBattleTypeFlags, FALSE otherwise
.macro frontier_isbattletype battleType:req
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_CHECK_BATTLE_TYPE
setvar VAR_0x8005, \battleType
special CallFrontierUtilFunc
.endm
@ TRUE if there are insufficient eligible party mons to participate in the challenge, and buffers caught ineligible species to STR_VAR_1. FALSE otherwise. The return value is stored in VAR_0x8004 instead, and the current level mode is expected to be in VAR_RESULT
.macro frontier_checkineligible
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_CHECK_INELIGIBLE
special CallFrontierUtilFunc
.endm
@ Validates the visiting E-Reader trainer. 0 if valid, 1 if not
.macro frontier_checkvisittrainer
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_CHECK_VISIT_TRAINER
special CallFrontierUtilFunc
.endm
@ Increments the current win streak by 1
.macro frontier_incrementstreak
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_INCREMENT_STREAK
special CallFrontierUtilFunc
.endm
@ Resets the party held items to what they were upon entering the challenge
.macro frontier_restorehelditems
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESTORE_HELD_ITEMS
special CallFrontierUtilFunc
.endm
@ Move the recorded battle to save data
.macro frontier_savebattle
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SAVE_BATTLE
special CallFrontierUtilFunc
.endm
@ Buffer the name of gTrainerBattleOpponent_A in STR_VAR_1 (0) or STR_VAR_2 (1)
.macro frontier_gettrainername stringVar:req
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_BUFFER_TRAINER_NAME
.if \stringVar == STR_VAR_1
setvar VAR_0x8005, 0
.elseif \stringVar == STR_VAR_2
setvar VAR_0x8005, 1
.else
setvar VAR_0x8005, \stringVar
.endif
special CallFrontierUtilFunc
.endm
@ If any moves were copied using Sketch during the challenge then restore them to Sketch
.macro frontier_resetsketch
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESET_SKETCH_MOVES
special CallFrontierUtilFunc
.endm
@ Set the object event gfx of the Frontier Brain for the current facility
.macro frontier_setbrainobj
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_BRAIN_OBJECT
special CallFrontierUtilFunc
.endm
File diff suppressed because it is too large Load Diff
+167
View File
@@ -0,0 +1,167 @@
@ Verdanturf Tent
@ Initialize the Verdanturf Battle Tent challenge
.macro verdanturftent_init
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_INIT
special CallVerdanturfTentFunction
.endm
@ Get the current prize item id
.macro verdanturftent_getprize
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_GET_PRIZE
special CallVerdanturfTentFunction
.endm
@ Unused. Set the prize item to be given
.macro verdanturftent_setprize unusedArg:req, itemId:req
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_SET_PRIZE
setvar VAR_0x8005, \unusedArg
setvar VAR_0x8006, \itemId
special CallVerdanturfTentFunction
.endm
@ Unused. Set the opponent trainer and gfx. SetNextBattleTentOpponent is used through tower_setopponent instead
.macro verdanturftent_setopponentgfx
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_SET_OPPONENT_GFX
special CallVerdanturfTentFunction
.endm
@ Buffers the opponents intro speech to STR_VAR_4. Despite being a Verdanturf Tent function, it serves the same purpose for all 3 tents.
.macro battletent_getopponentintro
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_GET_OPPONENT_INTRO
special CallVerdanturfTentFunction
.endm
@ Save the game and set the challenge status
.macro verdanturftent_save challengeStatus:req
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallVerdanturfTentFunction
.endm
@ Set the prize item as randomly selected from a list. Randomness unnecessary, as the list is only 1 item
.macro verdanturftent_setrandomprize
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_SET_RANDOM_PRIZE
special CallVerdanturfTentFunction
.endm
@ Give the current prize item. FALSE if no room for prize
.macro verdanturftent_giveprize
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_GIVE_PRIZE
special CallVerdanturfTentFunction
.endm
@ Fallarbor Tent
@ Initialize the Fallarbor Battle Tent challenge
.macro fallarbortent_init
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_INIT
special CallFallarborTentFunction
.endm
@ Get the current prize item id
.macro fallarbortent_getprize
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_GET_PRIZE
special CallFallarborTentFunction
.endm
@ Unused. Set the prize item to be given
.macro fallarbortent_setprize unusedArg:req, itemId:req
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_SET_PRIZE
setvar VAR_0x8005, \unusedArg
setvar VAR_0x8006, \itemId
special CallFallarborTentFunction
.endm
@ Save the game and set the challenge status
.macro fallarbortent_save challengeStatus:req
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallFallarborTentFunction
.endm
@ Set the prize item as randomly selected from a list. Randomness unnecessary, as the list is only 1 item
.macro fallarbortent_setrandomprize
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_SET_RANDOM_PRIZE
special CallFallarborTentFunction
.endm
@ Give the current prize item. FALSE if no room for prize
.macro fallarbortent_giveprize
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_GIVE_PRIZE
special CallFallarborTentFunction
.endm
@ Buffer the opponent trainers name to STR_VAR_1
.macro fallarbortent_getopponentname
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_GET_OPPONENT_NAME
special CallFallarborTentFunction
.endm
@ Slateport Tent
@ Initialize the Slateport Battle Tent challenge
.macro slateporttent_init
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_INIT
special CallSlateportTentFunction
.endm
@ Get the current prize item id
.macro slateporttent_getprize
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_GET_PRIZE
special CallSlateportTentFunction
.endm
@ Unused. Set the prize item to be given
.macro slateporttent_setprize unusedArg:req, itemId:req
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_SET_PRIZE
setvar VAR_0x8005, \unusedArg
setvar VAR_0x8006, \itemId
special CallSlateportTentFunction
.endm
@ Save the game and set the challenge status
.macro slateporttent_save challengeStatus:req
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallSlateportTentFunction
.endm
@ Set the prize item as randomly selected from a list. Randomness unnecessary, as the list is only 1 item
.macro slateporttent_setrandomprize
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_SET_RANDOM_PRIZE
special CallSlateportTentFunction
.endm
@ Give the current prize item. FALSE if no room for prize
.macro slateporttent_giveprize
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_GIVE_PRIZE
special CallSlateportTentFunction
.endm
@ Slateport Tent's version of factory_rentmons
.macro slateporttent_rentmons
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_SELECT_RENT_MONS
special CallSlateportTentFunction
.endm
@ Slateport Tent's version of factory_swapmons
.macro slateporttent_swapmons
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_SWAP_RENT_MONS
special CallSlateportTentFunction
.endm
@ Slateport Tent's version of factory_generateopponentmons
.macro slateporttent_generateopponentmons
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_GENERATE_OPPONENT_MONS
special CallSlateportTentFunction
.endm
@ Slateport Tent's version of factory_generaterentalmons
.macro slateporttent_generaterentalmons
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_GENERATE_RENTAL_MONS
special CallSlateportTentFunction
.endm
+871
View File
@@ -0,0 +1,871 @@
@ A large number of the Contest AI commands go unused, so their corresponding macros in this file are similarly unused
@ Add a positive/negative value to the score of the move being evaluated.
.macro score score:req
.byte 0x00
.byte \score
.endm
.macro get_appeal_num
.byte 0x01
.endm
.macro if_appeal_num_less_than num:req, destination:req
.byte 0x02
.byte \num
.4byte \destination
.endm
.macro if_appeal_num_more_than num:req, destination:req
.byte 0x03
.byte \num
.4byte \destination
.endm
.macro if_appeal_num_eq num:req, destination:req
.byte 0x04
.byte \num
.4byte \destination
.endm
.macro if_appeal_num_not_eq num:req, destination:req
.byte 0x05
.byte \num
.4byte \destination
.endm
.macro if_last_appeal destination:req
if_appeal_num_eq CONTEST_LAST_APPEAL, \destination
.endm
.macro if_not_last_appeal destination:req
if_appeal_num_not_eq CONTEST_LAST_APPEAL, \destination
.endm
@ audience excitement
.macro get_excitement
.byte 0x06
.endm
.macro if_excitement_less_than num:req, destination:req
.byte 0x07
.byte \num
.4byte \destination
.endm
.macro if_excitement_more_than num:req, destination:req
.byte 0x08
.byte \num
.4byte \destination
.endm
.macro if_excitement_eq num:req, destination:req
.byte 0x09
.byte \num
.4byte \destination
.endm
.macro if_excitement_not_eq num:req, destination:req
.byte 0x0A
.byte \num
.4byte \destination
.endm
@ the order that the user goes in the current appeal
.macro get_user_order
.byte 0x0B
.endm
.macro if_user_order_less_than num:req, destination:req
.byte 0x0C
.byte \num
.4byte \destination
.endm
.macro if_user_order_more_than num:req, destination:req
.byte 0x0D
.byte \num
.4byte \destination
.endm
.macro if_user_order_eq num:req, destination:req
.byte 0x0E
.byte \num
.4byte \destination
.endm
.macro if_user_order_not_eq num:req, destination:req
.byte 0x0F
.byte \num
.4byte \destination
.endm
@ user condition
.macro get_user_condition
.byte 0x10
.endm
.macro if_user_condition_less_than num:req, destination:req
.byte 0x11
.byte \num
.4byte \destination
.endm
.macro if_user_condition_more_than num:req, destination:req
.byte 0x12
.byte \num
.4byte \destination
.endm
.macro if_user_condition_eq num:req, destination:req
.byte 0x13
.byte \num
.4byte \destination
.endm
.macro if_user_condition_not_eq num:req, destination:req
.byte 0x14
.byte \num
.4byte \destination
.endm
@ appeal points
.macro get_point_total
.byte 0x15
.endm
.macro if_points_less_than num:req, destination:req
.byte 0x16
.2byte \num
.4byte \destination
.endm
.macro if_points_more_than num:req, destination:req
.byte 0x17
.2byte \num
.4byte \destination
.endm
.macro if_points_eq num:req, destination:req
.byte 0x18
.2byte \num
.4byte \destination
.endm
.macro if_points_not_eq num:req, destination:req
.byte 0x19
.2byte \num
.4byte \destination
.endm
@ preliminary (pre-appeal) judging points
.macro get_preliminary_points
.byte 0x1A
.endm
.macro if_preliminary_points_less_than num:req, destination:req
.byte 0x1B
.2byte \num
.4byte \destination
.endm
.macro if_preliminary_points_more_than num:req, destination:req
.byte 0x1C
.2byte \num
.4byte \destination
.endm
.macro if_preliminary_points_eq num:req, destination:req
.byte 0x1D
.2byte \num
.4byte \destination
.endm
.macro if_preliminary_points_not_eq num:req, destination:req
.byte 0x1E
.2byte \num
.4byte \destination
.endm
@ contest type
.macro get_contest_type
.byte 0x1F
.endm
.macro if_contest_type_eq type:req, destination:req
.byte 0x20
.byte \type
.4byte \destination
.endm
.macro if_contest_type_not_eq type:req, destination:req
.byte 0x21
.byte \type
.4byte \destination
.endm
@ move excitement (change in excitement due to move)
.macro get_move_excitement
.byte 0x22
.endm
.macro if_move_excitement_less_than num:req, destination:req
.byte 0x23
.byte \num
.4byte \destination
.endm
.macro if_move_excitement_more_than num:req, destination:req
.byte 0x24
.byte \num
.4byte \destination
.endm
.macro if_move_excitement_eq num:req, destination:req
.byte 0x25
.byte \num
.4byte \destination
.endm
.macro if_move_excitement_not_eq num:req, destination:req
.byte 0x26
.byte \num
.4byte \destination
.endm
@ move effect
.macro get_effect
.byte 0x27
.endm
.macro if_effect_eq effect:req, destination:req
.byte 0x28
.byte \effect
.4byte \destination
.endm
.macro if_effect_not_eq effect:req, destination:req
.byte 0x29
.byte \effect
.4byte \destination
.endm
@ move effect type
.macro get_effect_type
.byte 0x2A
.endm
.macro if_effect_type_eq type:req, destination:req
.byte 0x2B
.byte \type
.4byte \destination
.endm
.macro if_effect_type_not_eq type:req, destination:req
.byte 0x2C
.byte \type
.4byte \destination
.endm
@ whether the current move is the most appealing in the user's moveset
.macro check_most_appealing_move
.byte 0x2D
.endm
.macro if_most_appealing_move destination:req
.byte 0x2E
.4byte \destination
.endm
@ whether the current move is the most jamming in the user's moveset
.macro check_most_jamming_move
.byte 0x2F
.endm
.macro if_most_jamming_move destination:req
.byte 0x30
.4bye \destination
.endm
@ number of hearts the current move's appeal would provide
.macro get_num_move_hearts
.byte 0x31
.endm
.macro if_num_move_hearts_less_than num:req, destination:req
.byte 0x32
.byte \num
.4byte \destination
.endm
.macro if_num_move_hearts_more_than num:req, destination:req
.byte 0x33
.byte \num
.4byte \destination
.endm
.macro if_num_move_hearts_eq num:req, destination:req
.byte 0x34
.byte \num
.4byte \destination
.endm
.macro if_num_move_hearts_not_eq num:req, destination:req
.byte 0x35
.byte \num
.4byte \destination
.endm
@ number of hearts the current move's jam would remove
.macro get_num_move_jam_hearts
.byte 0x36
.endm
.macro if_num_move_jam_hearts_less_than num:req, destination:req
.byte 0x37
.byte \num
.4byte \destination
.endm
.macro if_num_move_jam_hearts_more_than num:req, destination:req
.byte 0x38
.byte \num
.4byte \destination
.endm
.macro if_num_move_jam_hearts_eq num:req, destination:req
.byte 0x39
.byte \num
.4byte \destination
.endm
.macro if_num_move_jam_hearts_not_eq num:req, destination:req
.byte 0x3A
.byte \num
.4byte \destination
.endm
@ number of times current move has been used
.macro get_move_used_count
.byte 0x3B
.endm
.macro if_move_used_count_less_than num:req, destination:req
.byte 0x3C
.byte \num
.4byte \destination
.endm
.macro if_move_used_count_more_than num:req, destination:req
.byte 0x3D
.byte \num
.4byte \destination
.endm
.macro if_move_used_count_eq num:req, destination:req
.byte 0x3E
.byte \num
.4byte \destination
.endm
.macro if_move_used_count_not_eq num:req, destination:req
.byte 0x3F
.byte \num
.4byte \destination
.endm
@ whether the current move is a combo starter (with another move in the moveset)
.macro check_combo_starter
.byte 0x40
.endm
.macro if_combo_starter destination:req
.byte 0x41
.4byte \destination
.endm
.macro if_not_combo_starter destination:req
.byte 0x42
.4byte \destination
.endm
@ whether the current move is a combo finisher (with another move in the moveset)
.macro check_combo_finisher
.byte 0x43
.endm
.macro if_combo_finisher destination:req
.byte 0x44
.4byte \destination
.endm
.macro if_not_combo_finisher destination:req
.byte 0x45
.4byte \destination
.endm
@ whether the current move would finish a combo
.macro check_would_finish_combo
.byte 0x46
.endm
.macro if_would_finish_combo destination:req
.byte 0x47
.4byte \destination
.endm
.macro if_would_not_finish_combo destination:req
.byte 0x48
.4byte \destination
.endm
@ condition of mon (indexed by order)
.macro get_condition mon:req
.byte 0x49
.byte \mon
.endm
.macro if_condition_less_than mon:req, num:req destination:req
.byte 0x4A
.byte \mon
.byte \num
.4byte \destination
.endm
.macro if_condition_more_than mon:req, num:req, destination:req
.byte 0x4B
.byte \mon
.byte \num
.4byte \destination
.endm
.macro if_condition_eq mon:req, num:req, destination:req
.byte 0x4C
.byte \mon
.byte \num
.4byte \destination
.endm
.macro if_condition_not_eq mon:req, num:req, destination:req
.byte 0x4D
.byte \mon
.byte \num
.4byte \destination
.endm
@ whether the mon used a combo starter move
@ Even though this value is always 1 or 0 (i.e. TRUE/FALSE),
@ there are less-than and greater-than comparison operations for some reason.
.macro get_used_combo_starter mon:req
.byte 0x4E
.byte \mon
.endm
.macro if_used_combo_starter_less_than mon:req, num:req, destination:req
.byte 0x4F
.byte \mon
.byte \num
.4byte \destination
.endm
.macro if_used_combo_starter_more_than mon:req, num:req, destination:req
.byte 0x50
.byte \mon
.byte \num
.4byte \destination
.endm
.macro if_used_combo_starter_eq mon:req, num:req, destination:req
.byte 0x51
.byte \mon
.byte \num
.4byte \destination
.endm
.macro if_used_combo_starter_not_eq mon:req, num:req, destination:req
.byte 0x52
.byte \mon
.byte \num
.4byte \destination
.endm
.macro if_used_combo_starter mon:req, destination:req
if_used_combo_starter_eq \mon, TRUE, \destination
.endm
.macro if_not_used_combo_starter mon:req, destination:req
if_used_combo_starter_eq \mon, FALSE, \destination
.endm
@ whether the mon can make an appeal
.macro check_can_participate mon:req
.byte 0x53
.byte \mon
.endm
.macro if_can_participate mon:req, destination:req
.byte 0x54
.byte \mon
.4byte \destination
.endm
.macro if_cannot_participate mon:req, destination:req
.byte 0x55
.byte \mon
.4byte \destination
.endm
@ whether the mon just completed a combo
.macro get_completed_combo mon:req
.byte 0x56
.byte \mon
.4byte \destination
.endm
.macro if_completed_combo mon:req, destination:req
.byte 0x57
.byte \mon
.4byte \destination
.endm
.macro if_not_completed_combo mon:req destination:req
.byte 0x58
.byte \mon
.4byte \destination
.endm
@ comparing appeal points to another mon
.macro get_points_diff mon:req
.byte 0x59
.byte \mon
.endm
.macro if_points_more_than_mon mon:req, destination:req
.byte 0x5A
.byte \mon
.4byte \destination
.endm
.macro if_points_less_than_mon mon:req, destination:req
.byte 0x5B
.byte \mon
.4byte \destination
.endm
.macro if_points_eq_mon mon:req, destination:req
.byte 0x5C
.byte \mon
.4byte \destination
.endm
.macro if_points_not_eq_mon mon:req, destination:req
.byte 0x5D
.byte \mon
.4byte \destination
.endm
@ comparing preliminary judging points to another mon
.macro get_preliminary_points_diff mon:req
.byte 0x5E
.byte \mon
.endm
.macro if_preliminary_points_more_than_mon mon:req, destination:req
.byte 0x5F
.byte \mon
.4byte \destination
.endm
.macro if_preliminary_points_less_than_mon mon:req, destination:req
.byte 0x60
.byte \mon
.4byte \destination
.endm
.macro if_preliminary_points_eq_mon mon:req, destination:req
.byte 0x61
.byte \mon
.4byte \destination
.endm
.macro if_preliminary_points_not_eq_mon mon:req, destination:req
.byte 0x62
.byte \mon
.4byte \destination
.endm
@ checking move history for move effect
.macro get_used_moves_effect mon:req, round:req
.byte 0x63
.byte \mon
.byte \round
.endm
.macro if_used_moves_effect_less_than mon:req, round:req, effect:req, destination:req
.byte 0x64
.byte \mon
.byte \round
.byte \effect
.4byte \destination
.endm
.macro if_used_moves_effect_more_than mon:req, round:req, effect:req, destination:req
.byte 0x65
.byte \mon
.byte \round
.byte \effect
.4byte \destination
.endm
.macro if_used_moves_effect_eq mon:req, round:req, effect:req, destination:req
.byte 0x66
.byte \mon
.byte \round
.byte \effect
.4byte \destination
.endm
.macro if_used_moves_effect_not_eq mon:req, round:req, effect:req, destination:req
.byte 0x67
.byte \mon
.byte \round
.byte \effect
.4byte \destination
.endm
@ checking move history for excitement
.macro get_used_moves_excitement mon:req, round:req
.byte 0x68
.byte \mon
.byte \round
.endm
.macro if_used_moves_excitement_less_than mon:req, round:req, num:req, destination:req
.byte 0x69
.byte \mon
.byte \round
.byte \num
.4byte \destination
.endm
.macro if_used_moves_excitement_more_than mon:req, round:req, num:req, destination:req
.byte 0x6A
.byte \mon
.byte \round
.byte \num
.4byte \destination
.endm
.macro if_used_moves_excitement_eq mon:req, round:req, num:req, destination:req
.byte 0x6B
.byte \mon
.byte \round
.byte \num
.4byte \destination
.endm
.macro if_used_moves_excitement_not_eq mon:req, round:req, num:req, destination:req
.byte 0x6C
.byte \mon
.byte \round
.byte \num
.4byte \destination
.endm
@ checking move history for effect type
.macro get_used_moves_effect_type mon:req, round:req
.byte 0x6D
.byte \mon
.byte \round
.endm
.macro if_used_moves_effect_type_eq mon:req, round:req, type:req, destination:req
.byte 0x6E
.byte \mon
.byte \round
.byte \type
.4byte \destination
.endm
.macro if_used_moves_effect_type_not_eq mon:req, round:req, type:req, destination:req
.byte 0x6F
.byte \mon
.byte \round
.byte \type
.4byte \destination
.endm
@ generic commands
.macro save_result varId:req
.byte 0x70
.byte \varId
.endm
.macro setvar varId:req, num:req
.byte 0x71
.byte \varId
.2byte \num
.endm
.macro add varId:req, num:req
.byte 0x72
.byte \varId
.2byte \num
.endm
.macro addvar varId1:req, varId2:req
.byte 0x73
.byte \varId1
.byte \varId2
.endm
@ Duplicate of above
.macro addvar_duplicate varId1:req, varId2:req
.byte 0x74
.byte \varId1
.byte \varId2
.endm
.macro if_less_than varId:req, num:req, destination:req
.byte 0x75
.byte \varId
.2byte \num
.4byte \destination
.endm
.macro if_greater_than varId:req, num:req, destination:req
.byte 0x76
.byte \varId
.2byte \num
.4byte \destination
.endm
.macro if_eq varId:req, num:req, destination:req
.byte 0x77
.byte \varId
.2byte \num
.4byte \destination
.endm
.macro if_not_eq varId:req, num:req, destination:req
.byte 0x78
.byte \varId
.2byte \num
.4byte \destination
.endm
.macro if_less_than_var varId1:req, varId2:req, destination:req
.byte 0x79
.byte \varId1
.byte \varId2
.4byte \destination
.endm
.macro if_greater_than_var varId1:req, varId2:req, destination:req
.byte 0x7A
.byte \varId1
.byte \varId2
.4byte \destination
.endm
.macro if_eq_var varId1:req, varId2:req, destination:req
.byte 0x7B
.byte \varId1
.byte \varId2
.4byte \destination
.endm
.macro if_not_eq_var varId1:req, varId2:req, destination:req
.byte 0x7C
.byte \varId1
.byte \varId2
.4byte \destination
.endm
@ NOTE: The random commands are broken (see ContestAICmd_if_random_less_than)
.macro if_random_less_than num:req, destination:req
.byte 0x7D
.byte \num
.4byte \destination
.endm
.macro if_random_greater_than num:req, destination:req
.byte 0x7E
.byte \num
.4byte \destination
.endm
.macro goto destination:req
.byte 0x7F
.4byte \destination
.endm
.macro call destination:req
.byte 0x80
.4byte \destination
.endm
.macro end
.byte 0x81
.endm
.macro check_user_has_exciting_move
.byte 0x82
.endm
.macro if_user_has_exciting_move destination:req
.byte 0x83
.4byte \destination
.endm
.macro if_user_doesnt_have_exciting_move destination:req
.byte 0x84
.4byte \destination
.endm
@ This is used incorrectly to check for an effect; see ContestAICmd_check_user_has_move
.macro check_user_has_move move:req
.byte 0x85
.2byte \move
.endm
.macro if_user_has_move move:req, destination:req
.byte 0x86
.2byte \move
.4byte \destination
.endm
.macro if_user_doesnt_have_move move:req, destination:req
.byte 0x87
.2byte \move
.4byte \destination
.endm
+1954
View File
File diff suppressed because it is too large Load Diff
+44
View File
@@ -0,0 +1,44 @@
@ The first .byte argument of each macro below is an index into gFieldEffectScriptFuncs
.macro field_eff_loadtiles address:req
.byte 0
.4byte \address
.endm
.macro field_eff_loadfadedpal address:req
.byte 1
.4byte \address
.endm
.macro field_eff_loadpal address:req
.byte 2
.4byte \address
.endm
.macro field_eff_callnative address:req
.byte 3
.4byte \address
.endm
.macro field_eff_end
.byte 4
.endm
.macro field_eff_loadgfx_callnative tiles_address:req, palette_address:req, function_address:req
.byte 5
.4byte \tiles_address
.4byte \palette_address
.4byte \function_address
.endm
.macro field_eff_loadtiles_callnative tiles_address:req, function_address:req
.byte 6
.4byte \tiles_address
.4byte \function_address
.endm
.macro field_eff_loadfadedpal_callnative palette_address:req, function_address:req
.byte 7
.4byte \palette_address
.4byte \function_address
.endm
+29
View File
@@ -0,0 +1,29 @@
.macro arm_func_start name:req
.align 2, 0
.global \name
.arm
.type \name, %function
.endm
.macro arm_func_end name:req
.size \name, .-\name
.endm
.macro thumb_func_start name:req
.align 2, 0
.global \name
.thumb
.thumb_func
.type \name, %function
.endm
.macro non_word_aligned_thumb_func_start name:req
.global \name
.thumb
.thumb_func
.type \name, %function
.endm
.macro thumb_func_end name:req
.size \name, .-\name
.endm
+13
View File
@@ -0,0 +1,13 @@
.macro song label:req, music_player:req, unknown:req
.4byte \label
.2byte \music_player
.2byte \unknown
.endm
.macro music_player info_struct:req, track_struct:req, num_tracks:req, unknown:req
.4byte \info_struct
.4byte \track_struct
.byte \num_tracks
.space 1 @ Padding
.2byte \unknown
.endm
+156
View File
@@ -0,0 +1,156 @@
@ Most of the macros in this file are for arranging map event data, and are output by mapjson using data from each map's JSON file.
@ Takes a MAP constant and outputs the map group and map number as separate bytes
.macro map map_id:req
.byte \map_id >> 8 @ map group
.byte \map_id & 0xFF @ map num
.endm
@ Defines a map script. 'type' is any MAP_SCRIPT_* constant (see include/constants/map_scripts.h)
.macro map_script type:req, script:req
.byte \type
.4byte \script
.endm
@ Defines an entry in a map script table (for either ON_WARP_INTO_MAP_TABLE or ON_FRAME_TABLE)
.macro map_script_2 var:req, compare:req, script:req
.2byte \var
.2byte \compare
.4byte \script
.endm
@ Defines an object event template for map data, to be used by a normal object. Mirrors the struct layout of ObjectEventTemplate in include/global.fieldmap.h
.macro object_event index:req, gfx:req, x:req, y:req, elevation:req, movement_type:req, x_radius:req, y_radius:req, trainer_type:req, sight_radius_tree_etc:req, script:req, event_flag:req
.byte \index
.byte \gfx
.byte OBJ_KIND_NORMAL
.space 1 @ Padding
.2byte \x, \y
.byte \elevation
.byte \movement_type
.byte ((\y_radius << 4) | \x_radius)
.space 1 @ Padding
.2byte \trainer_type
.2byte \sight_radius_tree_etc
.4byte \script
.2byte \event_flag
.space 2 @ Padding
inc _num_npcs
.endm
@ Defines an object event template for map data, to be used by a clone object. Mirrors the struct layout of ObjectEventTemplate in include/global.fieldmap.h
@ NOTE: The handling for this type of event does not exist in Emerald by default; it is exclusive to FRLG.
.macro clone_event index:req, gfx:req, x:req, y:req, target_local_id:req, target_map_id:req
.byte \index
.byte \gfx
.byte OBJ_KIND_CLONE
.space 1 @ Padding
.2byte \x, \y
.byte \target_local_id
.space 3 @ Padding
.2byte \target_map_id & 0xFF @ map num
.2byte \target_map_id >> 8 @ map group
.space 8 @ Padding
inc _num_npcs
.endm
@ Defines a warp event for map data. Mirrors the struct layout of WarpEvent in include/global.fieldmap.h
.macro warp_def x:req, y:req, elevation:req, warpId:req, map_id:req
.2byte \x, \y
.byte \elevation
.byte \warpId
.byte \map_id & 0xFF @ map num
.byte \map_id >> 8 @ map group
inc _num_warps
.endm
@ Defines a coord event for map data. Mirrors the struct layout of CoordEvent in include/global.fieldmap.h
.macro coord_event x:req, y:req, elevation:req, var:req, varValue:req, script:req
.2byte \x, \y
.byte \elevation
.space 1 @ Padding
.2byte \var
.2byte \varValue
.space 2 @ Padding
.4byte \script
inc _num_traps
.endm
@ Defines a weather coord event for map data. Any coord event is treated as a weather coord event if its script is NULL
.macro coord_weather_event x:req, y:req, elevation:req, weather:req
coord_event \x, \y, \elevation, \weather, 0, NULL
.endm
@ Defines a generic background event for map data. Mirrors the struct layout of BgEvent in include/global.fieldmap.h
@ 'kind' is any BG_EVENT_* constant (see include/constants/event_bg.h).
@ 'arg6' and 'arg7' are used differently depending on the bg event type. See macros below
.macro bg_event x:req, y:req, elevation:req, kind:req, arg6:req, arg7
.2byte \x, \y
.byte \elevation
.byte \kind
.space 2 @ Padding
.if \kind != BG_EVENT_HIDDEN_ITEM
.4byte \arg6
.else
.2byte \arg6
.2byte \arg7
.endif
inc _num_signs
.endm
@ Defines a background sign event for map data. 'facing_dir' is any of the BG_EVENT_PLAYER_FACING_* constants (see include/constants/event_bg.h)
.macro bg_sign_event x:req, y:req, elevation:req, facing_dir:req, script:req
bg_event \x, \y, \elevation, \facing_dir, \script
.endm
@ Defines a background hidden item event for map data
.macro bg_hidden_item_event x:req, y:req, elevation:req, item:req, flag:req
bg_event \x, \y, \elevation, BG_EVENT_HIDDEN_ITEM, \item, ((\flag) - FLAG_HIDDEN_ITEMS_START)
.endm
@ Defines a background secret base event for map data
.macro bg_secret_base_event x:req, y:req, elevation:req, secret_base_id:req
bg_event \x, \y, \elevation, BG_EVENT_SECRET_BASE, \secret_base_id
.endm
@ Defines the table of event data for a map. Mirrors the struct layout of MapEvents in include/global.fieldmap.h
.macro map_events npcs:req, warps:req, traps:req, signs:req
.byte _num_npcs, _num_warps, _num_traps, _num_signs
.4byte \npcs, \warps, \traps, \signs
reset_map_events
.endm
@ Resets the event counters used to track how many events a map has. Run when the events table is created by map_events
.macro reset_map_events
.set _num_npcs, 0
.set _num_warps, 0
.set _num_traps, 0
.set _num_signs, 0
.endm
@ Initialize the event counters for the first map
reset_map_events
@ Directions for connecting maps
@ The map.json files will only have e.g. "down" as direction data, and this will be appended to "connection_" by the connection macro
.equiv connection_down, CONNECTION_SOUTH
.equiv connection_up, CONNECTION_NORTH
.equiv connection_left, CONNECTION_WEST
.equiv connection_right, CONNECTION_EAST
.equiv connection_dive, CONNECTION_DIVE
.equiv connection_emerge, CONNECTION_EMERGE
@ Defines a map connection. Mirrors the struct layout of MapConnection in include/global.fieldmap.h
.macro connection direction:req, offset:req, map:req
.byte connection_\direction
.space 3 @ Padding
.4byte \offset
map \map
.space 2 @ Padding
.endm
@ Defines the flags for a map header. Mirrors the layout of the bitfield in struct MapHeader in include/global.fieldmap.h
.macro map_header_flags allow_cycling:req, allow_escaping:req, allow_running:req, show_map_name:req
.byte ((\show_map_name & 1) << 3) | ((\allow_running & 1) << 2) | ((\allow_escaping & 1) << 1) | \allow_cycling
.endm
+166
View File
@@ -0,0 +1,166 @@
.macro create_movement_action name:req, value:req
.macro \name
.byte \value
.endm
.endm
create_movement_action face_down, MOVEMENT_ACTION_FACE_DOWN
create_movement_action face_up, MOVEMENT_ACTION_FACE_UP
create_movement_action face_left, MOVEMENT_ACTION_FACE_LEFT
create_movement_action face_right, MOVEMENT_ACTION_FACE_RIGHT
create_movement_action walk_slow_down, MOVEMENT_ACTION_WALK_SLOW_DOWN
create_movement_action walk_slow_up, MOVEMENT_ACTION_WALK_SLOW_UP
create_movement_action walk_slow_left, MOVEMENT_ACTION_WALK_SLOW_LEFT
create_movement_action walk_slow_right, MOVEMENT_ACTION_WALK_SLOW_RIGHT
create_movement_action walk_down, MOVEMENT_ACTION_WALK_NORMAL_DOWN
create_movement_action walk_up, MOVEMENT_ACTION_WALK_NORMAL_UP
create_movement_action walk_left, MOVEMENT_ACTION_WALK_NORMAL_LEFT
create_movement_action walk_right, MOVEMENT_ACTION_WALK_NORMAL_RIGHT
create_movement_action jump_2_down, MOVEMENT_ACTION_JUMP_2_DOWN
create_movement_action jump_2_up, MOVEMENT_ACTION_JUMP_2_UP
create_movement_action jump_2_left, MOVEMENT_ACTION_JUMP_2_LEFT
create_movement_action jump_2_right, MOVEMENT_ACTION_JUMP_2_RIGHT
create_movement_action delay_1, MOVEMENT_ACTION_DELAY_1
create_movement_action delay_2, MOVEMENT_ACTION_DELAY_2
create_movement_action delay_4, MOVEMENT_ACTION_DELAY_4
create_movement_action delay_8, MOVEMENT_ACTION_DELAY_8
create_movement_action delay_16, MOVEMENT_ACTION_DELAY_16
create_movement_action walk_fast_down, MOVEMENT_ACTION_WALK_FAST_DOWN
create_movement_action walk_fast_up, MOVEMENT_ACTION_WALK_FAST_UP
create_movement_action walk_fast_left, MOVEMENT_ACTION_WALK_FAST_LEFT
create_movement_action walk_fast_right, MOVEMENT_ACTION_WALK_FAST_RIGHT
create_movement_action walk_in_place_slow_down, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_DOWN
create_movement_action walk_in_place_slow_up, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_UP
create_movement_action walk_in_place_slow_left, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_LEFT
create_movement_action walk_in_place_slow_right, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_RIGHT
create_movement_action walk_in_place_down, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_DOWN
create_movement_action walk_in_place_up, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_UP
create_movement_action walk_in_place_left, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_LEFT
create_movement_action walk_in_place_right, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_RIGHT
create_movement_action walk_in_place_fast_down, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_DOWN
create_movement_action walk_in_place_fast_up, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_UP
create_movement_action walk_in_place_fast_left, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_LEFT
create_movement_action walk_in_place_fast_right, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_RIGHT
create_movement_action walk_in_place_faster_down, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_DOWN
create_movement_action walk_in_place_faster_up, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_UP
create_movement_action walk_in_place_faster_left, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_LEFT
create_movement_action walk_in_place_faster_right, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_RIGHT
create_movement_action ride_water_current_down, MOVEMENT_ACTION_RIDE_WATER_CURRENT_DOWN
create_movement_action ride_water_current_up, MOVEMENT_ACTION_RIDE_WATER_CURRENT_UP
create_movement_action ride_water_current_left, MOVEMENT_ACTION_RIDE_WATER_CURRENT_LEFT
create_movement_action ride_water_current_right, MOVEMENT_ACTION_RIDE_WATER_CURRENT_RIGHT
create_movement_action walk_faster_down, MOVEMENT_ACTION_WALK_FASTER_DOWN
create_movement_action walk_faster_up, MOVEMENT_ACTION_WALK_FASTER_UP
create_movement_action walk_faster_left, MOVEMENT_ACTION_WALK_FASTER_LEFT
create_movement_action walk_faster_right, MOVEMENT_ACTION_WALK_FASTER_RIGHT
create_movement_action slide_down, MOVEMENT_ACTION_SLIDE_DOWN
create_movement_action slide_up, MOVEMENT_ACTION_SLIDE_UP
create_movement_action slide_left, MOVEMENT_ACTION_SLIDE_LEFT
create_movement_action slide_right, MOVEMENT_ACTION_SLIDE_RIGHT
create_movement_action player_run_down, MOVEMENT_ACTION_PLAYER_RUN_DOWN
create_movement_action player_run_up, MOVEMENT_ACTION_PLAYER_RUN_UP
create_movement_action player_run_left, MOVEMENT_ACTION_PLAYER_RUN_LEFT
create_movement_action player_run_right, MOVEMENT_ACTION_PLAYER_RUN_RIGHT
create_movement_action start_anim_in_direction, MOVEMENT_ACTION_START_ANIM_IN_DIRECTION
create_movement_action jump_special_down, MOVEMENT_ACTION_JUMP_SPECIAL_DOWN
create_movement_action jump_special_up, MOVEMENT_ACTION_JUMP_SPECIAL_UP
create_movement_action jump_special_left, MOVEMENT_ACTION_JUMP_SPECIAL_LEFT
create_movement_action jump_special_right, MOVEMENT_ACTION_JUMP_SPECIAL_RIGHT
create_movement_action face_player, MOVEMENT_ACTION_FACE_PLAYER
create_movement_action face_away_player, MOVEMENT_ACTION_FACE_AWAY_PLAYER
create_movement_action lock_facing_direction, MOVEMENT_ACTION_LOCK_FACING_DIRECTION
create_movement_action unlock_facing_direction, MOVEMENT_ACTION_UNLOCK_FACING_DIRECTION
create_movement_action jump_down, MOVEMENT_ACTION_JUMP_DOWN
create_movement_action jump_up, MOVEMENT_ACTION_JUMP_UP
create_movement_action jump_left, MOVEMENT_ACTION_JUMP_LEFT
create_movement_action jump_right, MOVEMENT_ACTION_JUMP_RIGHT
create_movement_action jump_in_place_down, MOVEMENT_ACTION_JUMP_IN_PLACE_DOWN
create_movement_action jump_in_place_up, MOVEMENT_ACTION_JUMP_IN_PLACE_UP
create_movement_action jump_in_place_left, MOVEMENT_ACTION_JUMP_IN_PLACE_LEFT
create_movement_action jump_in_place_right, MOVEMENT_ACTION_JUMP_IN_PLACE_RIGHT
create_movement_action jump_in_place_down_up, MOVEMENT_ACTION_JUMP_IN_PLACE_DOWN_UP
create_movement_action jump_in_place_up_down, MOVEMENT_ACTION_JUMP_IN_PLACE_UP_DOWN
create_movement_action jump_in_place_left_right, MOVEMENT_ACTION_JUMP_IN_PLACE_LEFT_RIGHT
create_movement_action jump_in_place_right_left, MOVEMENT_ACTION_JUMP_IN_PLACE_RIGHT_LEFT
create_movement_action face_original_direction, MOVEMENT_ACTION_FACE_ORIGINAL_DIRECTION
create_movement_action nurse_joy_bow, MOVEMENT_ACTION_NURSE_JOY_BOW_DOWN
create_movement_action enable_jump_landing_ground_effect, MOVEMENT_ACTION_ENABLE_JUMP_LANDING_GROUND_EFFECT
create_movement_action disable_jump_landing_ground_effect, MOVEMENT_ACTION_DISABLE_JUMP_LANDING_GROUND_EFFECT
create_movement_action disable_anim, MOVEMENT_ACTION_DISABLE_ANIMATION
create_movement_action restore_anim, MOVEMENT_ACTION_RESTORE_ANIMATION
create_movement_action set_invisible, MOVEMENT_ACTION_SET_INVISIBLE
create_movement_action set_visible, MOVEMENT_ACTION_SET_VISIBLE
create_movement_action emote_exclamation_mark, MOVEMENT_ACTION_EMOTE_EXCLAMATION_MARK
create_movement_action emote_question_mark, MOVEMENT_ACTION_EMOTE_QUESTION_MARK
create_movement_action emote_heart, MOVEMENT_ACTION_EMOTE_HEART
create_movement_action reveal_trainer, MOVEMENT_ACTION_REVEAL_TRAINER
create_movement_action rock_smash_break, MOVEMENT_ACTION_ROCK_SMASH_BREAK
create_movement_action cut_tree, MOVEMENT_ACTION_CUT_TREE
create_movement_action set_fixed_priority, MOVEMENT_ACTION_SET_FIXED_PRIORITY
create_movement_action clear_fixed_priority, MOVEMENT_ACTION_CLEAR_FIXED_PRIORITY
create_movement_action init_affine_anim, MOVEMENT_ACTION_INIT_AFFINE_ANIM
create_movement_action clear_affine_anim, MOVEMENT_ACTION_CLEAR_AFFINE_ANIM
create_movement_action hide_reflection, MOVEMENT_ACTION_HIDE_REFLECTION
create_movement_action show_reflection, MOVEMENT_ACTION_SHOW_REFLECTION
create_movement_action walk_down_start_affine, MOVEMENT_ACTION_WALK_DOWN_START_AFFINE
create_movement_action walk_down_affine, MOVEMENT_ACTION_WALK_DOWN_AFFINE
create_movement_action acro_wheelie_face_down, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_DOWN
create_movement_action acro_wheelie_face_up, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_UP
create_movement_action acro_wheelie_face_left, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_LEFT
create_movement_action acro_wheelie_face_right, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_RIGHT
create_movement_action acro_pop_wheelie_down, MOVEMENT_ACTION_ACRO_POP_WHEELIE_DOWN
create_movement_action acro_pop_wheelie_up, MOVEMENT_ACTION_ACRO_POP_WHEELIE_UP
create_movement_action acro_pop_wheelie_left, MOVEMENT_ACTION_ACRO_POP_WHEELIE_LEFT
create_movement_action acro_pop_wheelie_right, MOVEMENT_ACTION_ACRO_POP_WHEELIE_RIGHT
create_movement_action acro_end_wheelie_face_down, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_DOWN
create_movement_action acro_end_wheelie_face_up, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_UP
create_movement_action acro_end_wheelie_face_left, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_LEFT
create_movement_action acro_end_wheelie_face_right, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_RIGHT
create_movement_action acro_wheelie_hop_face_down, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_DOWN
create_movement_action acro_wheelie_hop_face_up, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_UP
create_movement_action acro_wheelie_hop_face_left, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_LEFT
create_movement_action acro_wheelie_hop_face_right, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_RIGHT
create_movement_action acro_wheelie_hop_down, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_DOWN
create_movement_action acro_wheelie_hop_up, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_UP
create_movement_action acro_wheelie_hop_left, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_LEFT
create_movement_action acro_wheelie_hop_right, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_RIGHT
create_movement_action acro_wheelie_jump_down, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_DOWN
create_movement_action acro_wheelie_jump_up, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_UP
create_movement_action acro_wheelie_jump_left, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_LEFT
create_movement_action acro_wheelie_jump_right, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_RIGHT
create_movement_action acro_wheelie_in_place_down, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_DOWN
create_movement_action acro_wheelie_in_place_up, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_UP
create_movement_action acro_wheelie_in_place_left, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_LEFT
create_movement_action acro_wheelie_in_place_right, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_RIGHT
create_movement_action acro_pop_wheelie_move_down, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_DOWN
create_movement_action acro_pop_wheelie_move_up, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_UP
create_movement_action acro_pop_wheelie_move_left, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_LEFT
create_movement_action acro_pop_wheelie_move_right, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_RIGHT
create_movement_action acro_wheelie_move_down, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_DOWN
create_movement_action acro_wheelie_move_up, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_UP
create_movement_action acro_wheelie_move_left, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_LEFT
create_movement_action acro_wheelie_move_right, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_RIGHT
create_movement_action acro_end_wheelie_move_down, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_DOWN
create_movement_action acro_end_wheelie_move_up, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_UP
create_movement_action acro_end_wheelie_move_left, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_LEFT
create_movement_action acro_end_wheelie_move_right, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_RIGHT
create_movement_action walk_diag_northwest, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_UP_LEFT
create_movement_action walk_diag_northeast, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_UP_RIGHT
create_movement_action walk_diag_southwest, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_DOWN_LEFT
create_movement_action walk_diag_southeast, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_DOWN_RIGHT
create_movement_action walk_slow_diag_northwest, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_UP_LEFT
create_movement_action walk_slow_diag_northeast, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_UP_RIGHT
create_movement_action walk_slow_diag_southwest, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_DOWN_LEFT
create_movement_action walk_slow_diag_southeast, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_DOWN_RIGHT
create_movement_action lock_anim, MOVEMENT_ACTION_LOCK_ANIM
create_movement_action unlock_anim, MOVEMENT_ACTION_UNLOCK_ANIM
create_movement_action walk_left_affine, MOVEMENT_ACTION_WALK_LEFT_AFFINE
create_movement_action walk_right_affine, MOVEMENT_ACTION_WALK_RIGHT_AFFINE
create_movement_action levitate, MOVEMENT_ACTION_LEVITATE
create_movement_action stop_levitate, MOVEMENT_ACTION_STOP_LEVITATE
create_movement_action destroy_extra_task, MOVEMENT_ACTION_STOP_LEVITATE_AT_TOP
create_movement_action figure_8, MOVEMENT_ACTION_FIGURE_8
create_movement_action fly_up, MOVEMENT_ACTION_FLY_UP
create_movement_action fly_down, MOVEMENT_ACTION_FLY_DOWN
create_movement_action step_end, MOVEMENT_ACTION_STEP_END
+152
View File
@@ -0,0 +1,152 @@
.macro voice_directsound base_midi_key:req, pan:req, sample_data_pointer:req, attack:req, decay:req, sustain:req, release:req
.byte 0
_voice_directsound \base_midi_key, \pan, \sample_data_pointer, \attack, \decay, \sustain, \release
.endm
.macro voice_directsound_no_resample base_midi_key:req, pan:req, sample_data_pointer:req, attack:req, decay:req, sustain:req, release:req
.byte 8
_voice_directsound \base_midi_key, \pan, \sample_data_pointer, \attack, \decay, \sustain, \release
.endm
.macro voice_directsound_alt base_midi_key:req, pan:req, sample_data_pointer:req, attack:req, decay:req, sustain:req, release:req
.byte 16
_voice_directsound \base_midi_key, \pan, \sample_data_pointer, \attack, \decay, \sustain, \release
.endm
.macro _voice_directsound base_midi_key:req, pan:req, sample_data_pointer:req, attack:req, decay:req, sustain:req, release:req
.byte \base_midi_key
.byte 0
.if \pan != 0
.byte (0x80 | \pan)
.else
.byte 0
.endif
.4byte \sample_data_pointer
.byte \attack
.byte \decay
.byte \sustain
.byte \release
.endm
.macro voice_square_1 base_midi_key:req, pan:req, sweep:req, duty_cycle:req, attack:req, decay:req, sustain:req, release:req
_voice_square_1 1, \base_midi_key, \pan, \sweep, \duty_cycle, \attack, \decay, \sustain, \release
.endm
.macro voice_square_1_alt base_midi_key:req, pan:req, sweep:req, duty_cycle:req, attack:req, decay:req, sustain:req, release:req
_voice_square_1 9, \base_midi_key, \pan, \sweep, \duty_cycle, \attack, \decay, \sustain, \release
.endm
.macro _voice_square_1 type:req, base_midi_key:req, pan:req, sweep:req, duty_cycle:req, attack:req, decay:req, sustain:req, release:req
.byte \type
.byte \base_midi_key
.if \pan != 0
.byte (0x80 | \pan)
.else
.byte 0
.endif
.byte \sweep
.byte (\duty_cycle & 0x3)
.byte 0, 0, 0
.byte (\attack & 0x7)
.byte (\decay & 0x7)
.byte (\sustain & 0xF)
.byte (\release & 0x7)
.endm
.macro voice_square_2 base_midi_key:req, pan:req, duty_cycle:req, attack:req, decay:req, sustain:req, release:req
_voice_square_2 2, \base_midi_key, \pan, \duty_cycle, \attack, \decay, \sustain, \release
.endm
.macro voice_square_2_alt base_midi_key:req, pan:req, duty_cycle:req, attack:req, decay:req, sustain:req, release:req
_voice_square_2 10, \base_midi_key, \pan, \duty_cycle, \attack, \decay, \sustain, \release
.endm
.macro _voice_square_2 type:req, base_midi_key:req, pan:req, duty_cycle:req, attack:req, decay:req, sustain:req, release:req
.byte \type
.byte \base_midi_key
.if \pan != 0
.byte (0x80 | \pan)
.else
.byte 0
.endif
.byte 0
.byte (\duty_cycle & 0x3)
.byte 0, 0, 0
.byte (\attack & 0x7)
.byte (\decay & 0x7)
.byte (\sustain & 0xF)
.byte (\release & 0x7)
.endm
.macro voice_programmable_wave base_midi_key:req, pan:req, wave_samples_pointer:req, attack:req, decay:req, sustain:req, release:req
_voice_programmable_wave 3, \base_midi_key, \pan, \wave_samples_pointer, \attack, \decay, \sustain, \release
.endm
.macro voice_programmable_wave_alt base_midi_key:req, pan:req, wave_samples_pointer:req, attack:req, decay:req, sustain:req, release:req
_voice_programmable_wave 11, \base_midi_key, \pan, \wave_samples_pointer, \attack, \decay, \sustain, \release
.endm
.macro _voice_programmable_wave type:req, base_midi_key:req, pan:req, wave_samples_pointer:req, attack:req, decay:req, sustain:req, release:req
.byte \type
.byte \base_midi_key
.if \pan != 0
.byte (0x80 | \pan)
.else
.byte 0
.endif
.byte 0
.4byte \wave_samples_pointer
.byte (\attack & 0x7)
.byte (\decay & 0x7)
.byte (\sustain & 0xF)
.byte (\release & 0x7)
.endm
.macro voice_noise base_midi_key:req, pan:req, period:req, attack:req, decay:req, sustain:req, release:req
_voice_noise 4, \base_midi_key, \pan, \period, \attack, \decay, \sustain, \release
.endm
.macro voice_noise_alt base_midi_key:req, pan:req, period:req, attack:req, decay:req, sustain:req, release:req
_voice_noise 12, \base_midi_key, \pan, \period, \attack, \decay, \sustain, \release
.endm
.macro _voice_noise type:req, base_midi_key:req, pan:req, period:req, attack:req, decay:req, sustain:req, release:req
.byte \type
.byte \base_midi_key
.if \pan != 0
.byte (0x80 | \pan)
.else
.byte 0
.endif
.byte 0
.byte (\period & 0x1)
.byte 0, 0, 0
.byte (\attack & 0x7)
.byte (\decay & 0x7)
.byte (\sustain & 0xF)
.byte (\release & 0x7)
.endm
.macro voice_keysplit voice_group_pointer:req, keysplit_table_pointer:req
.byte 0x40, 0, 0, 0
.4byte \voice_group_pointer
.4byte \keysplit_table_pointer
.endm
.macro voice_keysplit_all voice_group_pointer:req
.byte 0x80, 0, 0, 0
.4byte \voice_group_pointer
.4byte 0
.endm
.macro cry sample:req
.byte 0x20, 60, 0, 0
.4byte \sample
.byte 0xff, 0, 0xff, 0
.endm
.macro cry_reverse sample:req
.byte 0x30, 60, 0, 0
.4byte \sample
.byte 0xff, 0, 0xff, 0
.endm
+108
View File
@@ -0,0 +1,108 @@
@ Initialize the Trainer Hill challenge and start the timer
.macro trainerhill_start
setvar VAR_0x8004, TRAINER_HILL_FUNC_START
special CallTrainerHillFunction
.endm
@ 0 if not spoken to yet, 1 if spoken to but not received prize, 2 if received prize
.macro trainerhill_getownerstate
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_OWNER_STATE
special CallTrainerHillFunction
.endm
@ Try to give prize. 0 if given successfully, 1 if no room for prize, 2 if giving prize should be skipped
.macro trainerhill_giveprize
setvar VAR_0x8004, TRAINER_HILL_FUNC_GIVE_PRIZE
special CallTrainerHillFunction
.endm
@ Check the final challenge time. 0 if new record, 1 if not, 2 if time has already been checked
.macro trainerhill_finaltime
setvar VAR_0x8004, TRAINER_HILL_FUNC_CHECK_FINAL_TIME
special CallTrainerHillFunction
.endm
@ Resume the timer. Wont resume if owner has been spoken to or max time has been reached
.macro trainerhill_resumetimer
setvar VAR_0x8004, TRAINER_HILL_FUNC_RESUME_TIMER
special CallTrainerHillFunction
.endm
@ Set player lost the challenge (trainerHill.hasLost) to TRUE
.macro trainerhill_lost
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_LOST
special CallTrainerHillFunction
.endm
@ Get the current challenge status (TRAINER_HILL_PLAYER_STATUS_*)
.macro trainerhill_getstatus
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_CHALLENGE_STATUS
special CallTrainerHillFunction
.endm
@ Buffer the current timer to string vars (mins to STR_VAR_1, secs to STR_VAR_2, fraction of sec to STR_VAR_3)
.macro trainerhill_gettime
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_CHALLENGE_TIME
special CallTrainerHillFunction
.endm
@ FALSE if fewer than all 4 floors used, TRUE otherwise. Only FALSE in JP-exclusive modes
.macro trainerhill_allfloorsused
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_ALL_FLOORS_USED
special CallTrainerHillFunction
.endm
@ Unknown, dummied. E-Reader association is assumed. Only side effect is setting VAR_RESULT to 0.
.macro trainerhill_getusingereader
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_IN_EREADER_MODE
special CallTrainerHillFunction
.endm
@ TRUE if currently in a Trainer Hill challenge
.macro trainerhill_inchallenge
setvar VAR_0x8004, TRAINER_HILL_FUNC_IN_CHALLENGE
special CallTrainerHillFunction
.endm
@ Show the post battle text for the spoken to Trainer Hill trainer
.macro trainerhill_postbattletext
setvar VAR_0x8004, TRAINER_HILL_FUNC_POST_BATTLE_TEXT
special CallTrainerHillFunction
.endm
@ Set all Trainer Hill trainers defeated
.macro trainerhill_settrainerflags
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_ALL_TRAINER_FLAGS
special CallTrainerHillFunction
.endm
@ TRUE if the game has been saved for the challenge, FALSE otherwise
.macro trainerhill_getsaved
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_GAME_SAVED
special CallTrainerHillFunction
.endm
@ Set that the game has been saved for the challenge
.macro trainerhill_setsaved
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_GAME_SAVED
special CallTrainerHillFunction
.endm
@ Clear that the game has been saved for the challenge
.macro trainerhill_clearsaved
setvar VAR_0x8004, TRAINER_HILL_FUNC_CLEAR_GAME_SAVED
special CallTrainerHillFunction
.endm
@ FALSE if the Trainer Hill challenge was lost, TRUE otherwise
.macro trainerhill_getwon
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_WON
special CallTrainerHillFunction
.endm
@ Set the challenge mode to HILL_MODE_* (Normal, Variety, Unique, or Expert)
.macro trainerhill_setmode mode:req
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_MODE
copyvar VAR_0x8005, \mode
special CallTrainerHillFunction
.endm
+116
View File
@@ -0,0 +1,116 @@
Param
(
[Parameter(Position = 0)]
[string]$Start,
[Parameter(Position = 1)]
[string]$Offset,
[Parameter()]
[string[]]$DiffTool
)
$ErrorActionPreference = "Stop"
$offset_default_value = "0x100"
$diff_tool_default_value = "diff"
$help = "
$($args[0]) [OPTIONS] Start [Offset]
Performs a diff on the assembly of a function in a rom. 'Start' is the start
location of the function, and 'Offset' is the number of bytes to disassemble.
The assembly is saved to *.dump files.
'Offset' is optional, and defaults to $offset_default_value. If this value is
very large (0x10000+), objdump may hang / freeze.
Requirements:
- A clean copy of the rom named 'baserom.gba'.
- $$ENV:DEVKITARM to point to the installation of devkitpro. By default, it is
installed to 'C:\devkitpro\devkitARM'.
Options:
-DiffTool <tool> The tool to use for diffing. Defaults to '$diff_tool_default_value'. For VSCode,
you can use -DiffTool 'code --diff'. (Quotes are necessary around 'code --diff')
"
if ((-not (Test-Path variable:Start)) -or [string]::IsNullOrWhiteSpace($Start))
{
Write-Host $help
exit
}
if (-not (Test-Path variable:DiffTool) -or [string]::IsNullOrWhiteSpace($DiffTool))
{
$DiffTool = $diff_tool_default_value
}
if (-not (Test-Path variable:Offset) -or [string]::IsNullOrWhiteSpace($Offset))
{
$Offset = $offset_default_value
}
if (-Not (Test-Path env:DEVKITARM))
{
Write-Host "ENV:DEVKITARM variable not set."
Write-Host $help
exit
}
if (-Not (Test-Path $env:DEVKITARM))
{
Write-Host "DEVKITARM path '$env:DEVKITARM' does not exist."
Write-Host $help
exit
}
if (-Not (Test-Path ".\pokeemerald.gba"))
{
Write-Host "File 'pokeemerald.gba' not found."
Write-Host $help
exit
}
if (-Not (Test-Path ".\baserom.gba"))
{
Write-Host "File 'baserom.gba' not found."
}
try
{
$start_num = [System.Convert]::ToUInt64($Start, 16)
}
catch
{
Write-Host "Error parsing '$start_num' as a hex number."
Write-Host $help
exit
}
try
{
$offset_num = [System.Convert]::ToUInt64($Offset, 16)
}
catch
{
Write-Host "Error parsing '$offset_num' as a hex number."
Write-Host $help
exit
}
if ($start_num -gt 0x1000000)
{
Write-Host "Warning: Start address is larger than the ROM file. Hint: ignore the leading number in the address."
}
$end_str = [System.Convert]::ToString($start_num + $offset_num, 16)
$end_str = "0x$end_str"
$start_str = "0x$Start"
Write-Host "$start_str - $end_str"
$objdump = Join-Path -Path $env:DEVKITARM -ChildPath "arm-none-eabi\bin\objdump.exe"
&$objdump -D -bbinary -marmv4t -Mforce-thumb --start-address="$start_str" --stop-address="$end_str" .\baserom.gba > .\baserom.dump
&$objdump -D -bbinary -marmv4t -Mforce-thumb --start-address="$start_str" --stop-address="$end_str" .\pokeemerald.gba > .\pokeemerald.dump
Invoke-Expression "$DiffTool .\baserom.dump .\pokeemerald.dump"
Executable
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
if [[ -d "$DEVKITARM/bin/" ]]; then
OBJDUMP_BIN="$DEVKITARM/bin/arm-none-eabi-objdump"
else
OBJDUMP_BIN="arm-none-eabi-objdump"
fi
OBJDUMP="$OBJDUMP_BIN -D -bbinary -marmv4t -Mforce-thumb"
if [ $(($1)) -ge $((0x8000000)) ]; then
OPTIONS="--adjust-vma=0x8000000 --start-address=$(($1)) --stop-address=$(($1 + $2))"
else
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
fi
$OBJDUMP $OPTIONS baserom.gba > baserom.dump
$OBJDUMP $OPTIONS pokeemerald.gba > pokeemerald.dump
diff -u baserom.dump pokeemerald.dump
+45
View File
@@ -0,0 +1,45 @@
# This file contains rules for making assemblies for most music in the game.
CRY_SUBDIR := sound/direct_sound_samples/cries
MID_ASM_DIR := $(MID_SUBDIR)
CRY_BIN_DIR := $(CRY_SUBDIR)
SOUND_BIN_DIR := sound
SPECIAL_OUTDIRS := $(MID_ASM_DIR) $(CRY_BIN_DIR)
SPECIAL_OUTDIRS += $(SOUND_BIN_DIR) $(SOUND_BIN_DIR)/direct_sound_samples/phonemes $(SOUND_BIN_DIR)/direct_sound_samples/cries
$(shell mkdir -p $(SPECIAL_OUTDIRS) )
# Assembly song compilation
$(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s
$(AS) $(ASFLAGS) -I sound -o $@ $<
$(MID_BUILDDIR)/%.o: $(MID_ASM_DIR)/%.s
$(AS) $(ASFLAGS) -I sound -o $@ $<
# Compressed cries
$(CRY_BIN_DIR)/%.bin: $(CRY_SUBDIR)/%.aif
$(AIF) $< $@ --compress
# Uncompressed sounds
$(SOUND_BIN_DIR)/%.bin: sound/%.aif
$(AIF) $< $@
# For each line in midi.cfg, we do some trickery to convert it into a make rule for the `.mid` file described on the line
# Data following the colon in said file corresponds to arguments passed into mid2agb
MID_CFG_PATH := $(MID_SUBDIR)/midi.cfg
# $1: Source path no extension, $2 Options
define MID_RULE
$(MID_ASM_DIR)/$1.s: $(MID_SUBDIR)/$1.mid $(MID_CFG_PATH)
$(MID) $$< $$@ $2
endef
# source path, remaining text (options)
define MID_EXPANSION
$(eval $(call MID_RULE,$(basename $(patsubst %:,%,$(word 1,$1))),$(wordlist 2,999,$1)))
endef
$(foreach line,$(shell cat $(MID_CFG_PATH) | sed "s/ /__SPACE__/g"),$(call MID_EXPANSION,$(subst __SPACE__, ,$(line))))
# Warn users building without a .cfg - build will fail at link time
$(MID_ASM_DIR)/%.s: $(MID_SUBDIR)/%.mid
$(warning $< does not have an associated entry in midi.cfg! It cannot be built)
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
echo "This script is deprecated. Next time, run \"make tools\" instead."
for dname in tools/*; do
if [ -f ${dname}/Makefile ]; then
make -C ${dname} CXX=${1:-g++} --no-print-directory
fi
done
+1089
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
.include "constants/gba_constants.inc"
.include "constants/global.inc"
.include "constants/tms_hms.inc"
+518
View File
@@ -0,0 +1,518 @@
#ifndef GUARD_CONSTANTS_GBA_CONSTANTS_INC
#define GUARD_CONSTANTS_GBA_CONSTANTS_INC
.set PSR_USR_MODE, 0x00000010
.set PSR_FIQ_MODE, 0x00000011
.set PSR_IRQ_MODE, 0x00000012
.set PSR_SVC_MODE, 0x00000013
.set PSR_ABT_MODE, 0x00000017
.set PSR_UND_MODE, 0x0000001b
.set PSR_SYS_MODE, 0x0000001f
.set PSR_MODE_MASK, 0x0000001f
.set PSR_T_BIT, 0x00000020
.set PSR_F_BIT, 0x00000040
.set PSR_I_BIT, 0x00000080
.set EWRAM_START, 0x02000000
.set EWRAM_END, EWRAM_START + 0x40000
.set IWRAM_START, 0x03000000
.set IWRAM_END, IWRAM_START + 0x8000
.set PLTT, 0x5000000
.set BG_PLTT, PLTT
.set OBJ_PLTT, PLTT + 0x200
.set VRAM, 0x6000000
.set BG_VRAM, VRAM
.set OBJ_VRAM0, VRAM + 0x10000 @ text-mode BG
.set OBJ_VRAM1, VRAM + 0x14000 @ bitmap-mode BG
.set OAM, 0x7000000
.set SOUND_INFO_PTR, 0x3007FF0
.set INTR_CHECK, 0x3007FF8
.set INTR_VECTOR, 0x3007FFC
.set INTR_FLAG_VBLANK, 1 << 0
.set INTR_FLAG_HBLANK, 1 << 1
.set INTR_FLAG_VCOUNT, 1 << 2
.set INTR_FLAG_TIMER0, 1 << 3
.set INTR_FLAG_TIMER1, 1 << 4
.set INTR_FLAG_TIMER2, 1 << 5
.set INTR_FLAG_TIMER3, 1 << 6
.set INTR_FLAG_SERIAL, 1 << 7
.set INTR_FLAG_DMA0, 1 << 8
.set INTR_FLAG_DMA1, 1 << 9
.set INTR_FLAG_DMA2, 1 << 10
.set INTR_FLAG_DMA3, 1 << 11
.set INTR_FLAG_KEYPAD, 1 << 12
.set INTR_FLAG_GAMEPAK, 1 << 13
.set VCOUNT_VBLANK, 160
.set TOTAL_SCANLINES, 228
.set REG_BASE, 0x4000000 @ I/O register base address
@ I/O register offsets
.set OFFSET_REG_DISPCNT, 0x0
.set OFFSET_REG_DISPSTAT, 0x4
.set OFFSET_REG_VCOUNT, 0x6
.set OFFSET_REG_BG0CNT, 0x8
.set OFFSET_REG_BG1CNT, 0xa
.set OFFSET_REG_BG2CNT, 0xc
.set OFFSET_REG_BG3CNT, 0xe
.set OFFSET_REG_BG0HOFS, 0x10
.set OFFSET_REG_BG0VOFS, 0x12
.set OFFSET_REG_BG1HOFS, 0x14
.set OFFSET_REG_BG1VOFS, 0x16
.set OFFSET_REG_BG2HOFS, 0x18
.set OFFSET_REG_BG2VOFS, 0x1a
.set OFFSET_REG_BG3HOFS, 0x1c
.set OFFSET_REG_BG3VOFS, 0x1e
.set OFFSET_REG_BG2PA, 0x20
.set OFFSET_REG_BG2PB, 0x22
.set OFFSET_REG_BG2PC, 0x24
.set OFFSET_REG_BG2PD, 0x26
.set OFFSET_REG_BG2X_L, 0x28
.set OFFSET_REG_BG2X_H, 0x2a
.set OFFSET_REG_BG2Y_L, 0x2c
.set OFFSET_REG_BG2Y_H, 0x2e
.set OFFSET_REG_BG3PA, 0x30
.set OFFSET_REG_BG3PB, 0x32
.set OFFSET_REG_BG3PC, 0x34
.set OFFSET_REG_BG3PD, 0x36
.set OFFSET_REG_BG3X_L, 0x38
.set OFFSET_REG_BG3X_H, 0x3a
.set OFFSET_REG_BG3Y_L, 0x3c
.set OFFSET_REG_BG3Y_H, 0x3e
.set OFFSET_REG_WIN0H, 0x40
.set OFFSET_REG_WIN1H, 0x42
.set OFFSET_REG_WIN0V, 0x44
.set OFFSET_REG_WIN1V, 0x46
.set OFFSET_REG_WININ, 0x48
.set OFFSET_REG_WINOUT, 0x4a
.set OFFSET_REG_MOSAIC, 0x4c
.set OFFSET_REG_BLDCNT, 0x50
.set OFFSET_REG_BLDALPHA, 0x52
.set OFFSET_REG_BLDY, 0x54
.set OFFSET_REG_SOUND1CNT, 0x60
.set OFFSET_REG_SOUND1CNT_L, 0x60
.set OFFSET_REG_NR10, 0x60
.set OFFSET_REG_SOUND1CNT_H, 0x62
.set OFFSET_REG_NR11, 0x62
.set OFFSET_REG_NR12, 0x63
.set OFFSET_REG_SOUND1CNT_X, 0x64
.set OFFSET_REG_NR13, 0x64
.set OFFSET_REG_NR14, 0x65
.set OFFSET_REG_SOUND2CNT, 0x68
.set OFFSET_REG_SOUND2CNT_L, 0x68
.set OFFSET_REG_NR21, 0x68
.set OFFSET_REG_NR22, 0x69
.set OFFSET_REG_SOUND2CNT_H, 0x6c
.set OFFSET_REG_NR23, 0x6c
.set OFFSET_REG_NR24, 0x6d
.set OFFSET_REG_SOUND3CNT, 0x70
.set OFFSET_REG_SOUND3CNT_L, 0x70
.set OFFSET_REG_NR30, 0x70
.set OFFSET_REG_SOUND3CNT_H, 0x72
.set OFFSET_REG_NR31, 0x72
.set OFFSET_REG_NR32, 0x73
.set OFFSET_REG_SOUND3CNT_X, 0x74
.set OFFSET_REG_NR33, 0x74
.set OFFSET_REG_NR34, 0x75
.set OFFSET_REG_SOUND4CNT, 0x78
.set OFFSET_REG_SOUND4CNT_L, 0x78
.set OFFSET_REG_NR41, 0x78
.set OFFSET_REG_NR42, 0x79
.set OFFSET_REG_SOUND4CNT_H, 0x7c
.set OFFSET_REG_NR43, 0x7c
.set OFFSET_REG_NR44, 0x7d
.set OFFSET_REG_SOUNDCNT, 0x80
.set OFFSET_REG_SOUNDCNT_L, 0x80
.set OFFSET_REG_NR50, 0x80
.set OFFSET_REG_NR51, 0x81
.set OFFSET_REG_SOUNDCNT_H, 0x82
.set OFFSET_REG_SOUNDCNT_X, 0x84
.set OFFSET_REG_NR52, 0x84
.set OFFSET_REG_SOUNDBIAS, 0x88
.set OFFSET_REG_WAVE_RAM, 0x90
.set OFFSET_REG_WAVE_RAM0, 0x90
.set OFFSET_REG_WAVE_RAM0_L, 0x90
.set OFFSET_REG_WAVE_RAM0_H, 0x92
.set OFFSET_REG_WAVE_RAM1, 0x94
.set OFFSET_REG_WAVE_RAM1_L, 0x94
.set OFFSET_REG_WAVE_RAM1_H, 0x96
.set OFFSET_REG_WAVE_RAM2, 0x98
.set OFFSET_REG_WAVE_RAM2_L, 0x98
.set OFFSET_REG_WAVE_RAM2_H, 0x9a
.set OFFSET_REG_WAVE_RAM3, 0x9c
.set OFFSET_REG_WAVE_RAM3_L, 0x9c
.set OFFSET_REG_WAVE_RAM3_H, 0x9e
.set OFFSET_REG_FIFO, 0xa0
.set OFFSET_REG_FIFO_A, 0xa0
.set OFFSET_REG_FIFO_A_L, 0xa0
.set OFFSET_REG_FIFO_A_H, 0xa2
.set OFFSET_REG_FIFO_B, 0xa4
.set OFFSET_REG_FIFO_B_L, 0xa4
.set OFFSET_REG_FIFO_B_H, 0xa6
.set OFFSET_REG_DMA0, 0xb0
.set OFFSET_REG_DMA0SAD, 0xb0
.set OFFSET_REG_DMA0SAD_L, 0xb0
.set OFFSET_REG_DMA0SAD_H, 0xb2
.set OFFSET_REG_DMA0DAD, 0xb4
.set OFFSET_REG_DMA0DAD_L, 0xb4
.set OFFSET_REG_DMA0DAD_H, 0xb6
.set OFFSET_REG_DMA0CNT, 0xb8
.set OFFSET_REG_DMA0CNT_L, 0xb8
.set OFFSET_REG_DMA0CNT_H, 0xba
.set OFFSET_REG_DMA1, 0xbc
.set OFFSET_REG_DMA1SAD, 0xbc
.set OFFSET_REG_DMA1SAD_L, 0xbc
.set OFFSET_REG_DMA1SAD_H, 0xbe
.set OFFSET_REG_DMA1DAD, 0xc0
.set OFFSET_REG_DMA1DAD_L, 0xc0
.set OFFSET_REG_DMA1DAD_H, 0xc2
.set OFFSET_REG_DMA1CNT, 0xc4
.set OFFSET_REG_DMA1CNT_L, 0xc4
.set OFFSET_REG_DMA1CNT_H, 0xc6
.set OFFSET_REG_DMA2, 0xc8
.set OFFSET_REG_DMA2SAD, 0xc8
.set OFFSET_REG_DMA2SAD_L, 0xc8
.set OFFSET_REG_DMA2SAD_H, 0xca
.set OFFSET_REG_DMA2DAD, 0xcc
.set OFFSET_REG_DMA2DAD_L, 0xcc
.set OFFSET_REG_DMA2DAD_H, 0xce
.set OFFSET_REG_DMA2CNT, 0xd0
.set OFFSET_REG_DMA2CNT_L, 0xd0
.set OFFSET_REG_DMA2CNT_H, 0xd2
.set OFFSET_REG_DMA3, 0xd4
.set OFFSET_REG_DMA3SAD, 0xd4
.set OFFSET_REG_DMA3SAD_L, 0xd4
.set OFFSET_REG_DMA3SAD_H, 0xd6
.set OFFSET_REG_DMA3DAD, 0xd8
.set OFFSET_REG_DMA3DAD_L, 0xd8
.set OFFSET_REG_DMA3DAD_H, 0xda
.set OFFSET_REG_DMA3CNT, 0xdc
.set OFFSET_REG_DMA3CNT_L, 0xdc
.set OFFSET_REG_DMA3CNT_H, 0xde
.set OFFSET_REG_TM0CNT, 0x100
.set OFFSET_REG_TM0CNT_L, 0x100
.set OFFSET_REG_TM0CNT_H, 0x102
.set OFFSET_REG_TM1CNT, 0x104
.set OFFSET_REG_TM1CNT_L, 0x104
.set OFFSET_REG_TM1CNT_H, 0x106
.set OFFSET_REG_TM2CNT, 0x108
.set OFFSET_REG_TM2CNT_L, 0x108
.set OFFSET_REG_TM2CNT_H, 0x10a
.set OFFSET_REG_TM3CNT, 0x10c
.set OFFSET_REG_TM3CNT_L, 0x10c
.set OFFSET_REG_TM3CNT_H, 0x10e
.set OFFSET_REG_SIOCNT, 0x128
.set OFFSET_REG_SIODATA8, 0x12a
.set OFFSET_REG_SIODATA32, 0x120
.set OFFSET_REG_SIOMLT_SEND, 0x12a
.set OFFSET_REG_SIOMLT_RECV, 0x120
.set OFFSET_REG_SIOMULTI0, 0x120
.set OFFSET_REG_SIOMULTI1, 0x122
.set OFFSET_REG_SIOMULTI2, 0x124
.set OFFSET_REG_SIOMULTI3, 0x126
.set OFFSET_REG_KEYINPUT, 0x130
.set OFFSET_REG_KEYCNT, 0x132
.set OFFSET_REG_RCNT, 0x134
.set OFFSET_REG_JOYCNT, 0x140
.set OFFSET_REG_JOYSTAT, 0x158
.set OFFSET_REG_JOY_RECV, 0x150
.set OFFSET_REG_JOY_RECV_L, 0x150
.set OFFSET_REG_JOY_RECV_H, 0x152
.set OFFSET_REG_JOY_TRANS, 0x154
.set OFFSET_REG_JOY_TRANS_L, 0x154
.set OFFSET_REG_JOY_TRANS_H, 0x156
.set OFFSET_REG_IME, 0x208
.set OFFSET_REG_IE, 0x200
.set OFFSET_REG_IF, 0x202
.set OFFSET_REG_WAITCNT, 0x204
@ I/O register addresses
.set REG_DISPCNT, REG_BASE + OFFSET_REG_DISPCNT
.set REG_DISPSTAT, REG_BASE + OFFSET_REG_DISPSTAT
.set REG_VCOUNT, REG_BASE + OFFSET_REG_VCOUNT
.set REG_BG0CNT, REG_BASE + OFFSET_REG_BG0CNT
.set REG_BG1CNT, REG_BASE + OFFSET_REG_BG1CNT
.set REG_BG2CNT, REG_BASE + OFFSET_REG_BG2CNT
.set REG_BG3CNT, REG_BASE + OFFSET_REG_BG3CNT
.set REG_BG0HOFS, REG_BASE + OFFSET_REG_BG0HOFS
.set REG_BG0VOFS, REG_BASE + OFFSET_REG_BG0VOFS
.set REG_BG1HOFS, REG_BASE + OFFSET_REG_BG1HOFS
.set REG_BG1VOFS, REG_BASE + OFFSET_REG_BG1VOFS
.set REG_BG2HOFS, REG_BASE + OFFSET_REG_BG2HOFS
.set REG_BG2VOFS, REG_BASE + OFFSET_REG_BG2VOFS
.set REG_BG3HOFS, REG_BASE + OFFSET_REG_BG3HOFS
.set REG_BG3VOFS, REG_BASE + OFFSET_REG_BG3VOFS
.set REG_BG2PA, REG_BASE + OFFSET_REG_BG2PA
.set REG_BG2PB, REG_BASE + OFFSET_REG_BG2PB
.set REG_BG2PC, REG_BASE + OFFSET_REG_BG2PC
.set REG_BG2PD, REG_BASE + OFFSET_REG_BG2PD
.set REG_BG2X_L, REG_BASE + OFFSET_REG_BG2X_L
.set REG_BG2X_H, REG_BASE + OFFSET_REG_BG2X_H
.set REG_BG2Y_L, REG_BASE + OFFSET_REG_BG2Y_L
.set REG_BG2Y_H, REG_BASE + OFFSET_REG_BG2Y_H
.set REG_BG3PA, REG_BASE + OFFSET_REG_BG3PA
.set REG_BG3PB, REG_BASE + OFFSET_REG_BG3PB
.set REG_BG3PC, REG_BASE + OFFSET_REG_BG3PC
.set REG_BG3PD, REG_BASE + OFFSET_REG_BG3PD
.set REG_BG3X_L, REG_BASE + OFFSET_REG_BG3X_L
.set REG_BG3X_H, REG_BASE + OFFSET_REG_BG3X_H
.set REG_BG3Y_L, REG_BASE + OFFSET_REG_BG3Y_L
.set REG_BG3Y_H, REG_BASE + OFFSET_REG_BG3Y_H
.set REG_WIN0H, REG_BASE + OFFSET_REG_WIN0H
.set REG_WIN1H, REG_BASE + OFFSET_REG_WIN1H
.set REG_WIN0V, REG_BASE + OFFSET_REG_WIN0V
.set REG_WIN1V, REG_BASE + OFFSET_REG_WIN1V
.set REG_WININ, REG_BASE + OFFSET_REG_WININ
.set REG_WINOUT, REG_BASE + OFFSET_REG_WINOUT
.set REG_MOSAIC, REG_BASE + OFFSET_REG_MOSAIC
.set REG_BLDCNT, REG_BASE + OFFSET_REG_BLDCNT
.set REG_BLDALPHA, REG_BASE + OFFSET_REG_BLDALPHA
.set REG_BLDY, REG_BASE + OFFSET_REG_BLDY
.set REG_SOUND1CNT, REG_BASE + OFFSET_REG_SOUND1CNT
.set REG_SOUND1CNT_L, REG_BASE + OFFSET_REG_SOUND1CNT_L
.set REG_NR10, REG_BASE + OFFSET_REG_NR10
.set REG_SOUND1CNT_H, REG_BASE + OFFSET_REG_SOUND1CNT_H
.set REG_NR11, REG_BASE + OFFSET_REG_NR11
.set REG_NR12, REG_BASE + OFFSET_REG_NR12
.set REG_SOUND1CNT_X, REG_BASE + OFFSET_REG_SOUND1CNT_X
.set REG_NR13, REG_BASE + OFFSET_REG_NR13
.set REG_NR14, REG_BASE + OFFSET_REG_NR14
.set REG_SOUND2CNT, REG_BASE + OFFSET_REG_SOUND2CNT
.set REG_SOUND2CNT_L, REG_BASE + OFFSET_REG_SOUND2CNT_L
.set REG_NR21, REG_BASE + OFFSET_REG_NR21
.set REG_NR22, REG_BASE + OFFSET_REG_NR22
.set REG_SOUND2CNT_H, REG_BASE + OFFSET_REG_SOUND2CNT_H
.set REG_NR23, REG_BASE + OFFSET_REG_NR23
.set REG_NR24, REG_BASE + OFFSET_REG_NR24
.set REG_SOUND3CNT, REG_BASE + OFFSET_REG_SOUND3CNT
.set REG_SOUND3CNT_L, REG_BASE + OFFSET_REG_SOUND3CNT_L
.set REG_NR30, REG_BASE + OFFSET_REG_NR30
.set REG_SOUND3CNT_H, REG_BASE + OFFSET_REG_SOUND3CNT_H
.set REG_NR31, REG_BASE + OFFSET_REG_NR31
.set REG_NR32, REG_BASE + OFFSET_REG_NR32
.set REG_SOUND3CNT_X, REG_BASE + OFFSET_REG_SOUND3CNT_X
.set REG_NR33, REG_BASE + OFFSET_REG_NR33
.set REG_NR34, REG_BASE + OFFSET_REG_NR34
.set REG_SOUND4CNT, REG_BASE + OFFSET_REG_SOUND4CNT
.set REG_SOUND4CNT_L, REG_BASE + OFFSET_REG_SOUND4CNT_L
.set REG_NR41, REG_BASE + OFFSET_REG_NR41
.set REG_NR42, REG_BASE + OFFSET_REG_NR42
.set REG_SOUND4CNT_H, REG_BASE + OFFSET_REG_SOUND4CNT_H
.set REG_NR43, REG_BASE + OFFSET_REG_NR43
.set REG_NR44, REG_BASE + OFFSET_REG_NR44
.set REG_SOUNDCNT, REG_BASE + OFFSET_REG_SOUNDCNT
.set REG_SOUNDCNT_L, REG_BASE + OFFSET_REG_SOUNDCNT_L
.set REG_NR50, REG_BASE + OFFSET_REG_NR50
.set REG_NR51, REG_BASE + OFFSET_REG_NR51
.set REG_SOUNDCNT_H, REG_BASE + OFFSET_REG_SOUNDCNT_H
.set REG_SOUNDCNT_X, REG_BASE + OFFSET_REG_SOUNDCNT_X
.set REG_NR52, REG_BASE + OFFSET_REG_NR52
.set REG_SOUNDBIAS, REG_BASE + OFFSET_REG_SOUNDBIAS
.set REG_WAVE_RAM, REG_BASE + OFFSET_REG_WAVE_RAM
.set REG_WAVE_RAM0, REG_BASE + OFFSET_REG_WAVE_RAM0
.set REG_WAVE_RAM0_L, REG_BASE + OFFSET_REG_WAVE_RAM0_L
.set REG_WAVE_RAM0_H, REG_BASE + OFFSET_REG_WAVE_RAM0_H
.set REG_WAVE_RAM1, REG_BASE + OFFSET_REG_WAVE_RAM1
.set REG_WAVE_RAM1_L, REG_BASE + OFFSET_REG_WAVE_RAM1_L
.set REG_WAVE_RAM1_H, REG_BASE + OFFSET_REG_WAVE_RAM1_H
.set REG_WAVE_RAM2, REG_BASE + OFFSET_REG_WAVE_RAM2
.set REG_WAVE_RAM2_L, REG_BASE + OFFSET_REG_WAVE_RAM2_L
.set REG_WAVE_RAM2_H, REG_BASE + OFFSET_REG_WAVE_RAM2_H
.set REG_WAVE_RAM3, REG_BASE + OFFSET_REG_WAVE_RAM3
.set REG_WAVE_RAM3_L, REG_BASE + OFFSET_REG_WAVE_RAM3_L
.set REG_WAVE_RAM3_H, REG_BASE + OFFSET_REG_WAVE_RAM3_H
.set REG_FIFO, REG_BASE + OFFSET_REG_FIFO
.set REG_FIFO_A, REG_BASE + OFFSET_REG_FIFO_A
.set REG_FIFO_A_L, REG_BASE + OFFSET_REG_FIFO_A_L
.set REG_FIFO_A_H, REG_BASE + OFFSET_REG_FIFO_A_H
.set REG_FIFO_B, REG_BASE + OFFSET_REG_FIFO_B
.set REG_FIFO_B_L, REG_BASE + OFFSET_REG_FIFO_B_L
.set REG_FIFO_B_H, REG_BASE + OFFSET_REG_FIFO_B_H
.set REG_DMA0, REG_BASE + OFFSET_REG_DMA0
.set REG_DMA0SAD, REG_BASE + OFFSET_REG_DMA0SAD
.set REG_DMA0SAD_L, REG_BASE + OFFSET_REG_DMA0SAD_L
.set REG_DMA0SAD_H, REG_BASE + OFFSET_REG_DMA0SAD_H
.set REG_DMA0DAD, REG_BASE + OFFSET_REG_DMA0DAD
.set REG_DMA0DAD_L, REG_BASE + OFFSET_REG_DMA0DAD_L
.set REG_DMA0DAD_H, REG_BASE + OFFSET_REG_DMA0DAD_H
.set REG_DMA0CNT, REG_BASE + OFFSET_REG_DMA0CNT
.set REG_DMA0CNT_L, REG_BASE + OFFSET_REG_DMA0CNT_L
.set REG_DMA0CNT_H, REG_BASE + OFFSET_REG_DMA0CNT_H
.set REG_DMA1, REG_BASE + OFFSET_REG_DMA1
.set REG_DMA1SAD, REG_BASE + OFFSET_REG_DMA1SAD
.set REG_DMA1SAD_L, REG_BASE + OFFSET_REG_DMA1SAD_L
.set REG_DMA1SAD_H, REG_BASE + OFFSET_REG_DMA1SAD_H
.set REG_DMA1DAD, REG_BASE + OFFSET_REG_DMA1DAD
.set REG_DMA1DAD_L, REG_BASE + OFFSET_REG_DMA1DAD_L
.set REG_DMA1DAD_H, REG_BASE + OFFSET_REG_DMA1DAD_H
.set REG_DMA1CNT, REG_BASE + OFFSET_REG_DMA1CNT
.set REG_DMA1CNT_L, REG_BASE + OFFSET_REG_DMA1CNT_L
.set REG_DMA1CNT_H, REG_BASE + OFFSET_REG_DMA1CNT_H
.set REG_DMA2, REG_BASE + OFFSET_REG_DMA2
.set REG_DMA2SAD, REG_BASE + OFFSET_REG_DMA2SAD
.set REG_DMA2SAD_L, REG_BASE + OFFSET_REG_DMA2SAD_L
.set REG_DMA2SAD_H, REG_BASE + OFFSET_REG_DMA2SAD_H
.set REG_DMA2DAD, REG_BASE + OFFSET_REG_DMA2DAD
.set REG_DMA2DAD_L, REG_BASE + OFFSET_REG_DMA2DAD_L
.set REG_DMA2DAD_H, REG_BASE + OFFSET_REG_DMA2DAD_H
.set REG_DMA2CNT, REG_BASE + OFFSET_REG_DMA2CNT
.set REG_DMA2CNT_L, REG_BASE + OFFSET_REG_DMA2CNT_L
.set REG_DMA2CNT_H, REG_BASE + OFFSET_REG_DMA2CNT_H
.set REG_DMA3, REG_BASE + OFFSET_REG_DMA3
.set REG_DMA3SAD, REG_BASE + OFFSET_REG_DMA3SAD
.set REG_DMA3SAD_L, REG_BASE + OFFSET_REG_DMA3SAD_L
.set REG_DMA3SAD_H, REG_BASE + OFFSET_REG_DMA3SAD_H
.set REG_DMA3DAD, REG_BASE + OFFSET_REG_DMA3DAD
.set REG_DMA3DAD_L, REG_BASE + OFFSET_REG_DMA3DAD_L
.set REG_DMA3DAD_H, REG_BASE + OFFSET_REG_DMA3DAD_H
.set REG_DMA3CNT, REG_BASE + OFFSET_REG_DMA3CNT
.set REG_DMA3CNT_L, REG_BASE + OFFSET_REG_DMA3CNT_L
.set REG_DMA3CNT_H, REG_BASE + OFFSET_REG_DMA3CNT_H
.set REG_TM0CNT, REG_BASE + OFFSET_REG_TM0CNT
.set REG_TM0CNT_L, REG_BASE + OFFSET_REG_TM0CNT_L
.set REG_TM0CNT_H, REG_BASE + OFFSET_REG_TM0CNT_H
.set REG_TM1CNT, REG_BASE + OFFSET_REG_TM1CNT
.set REG_TM1CNT_L, REG_BASE + OFFSET_REG_TM1CNT_L
.set REG_TM1CNT_H, REG_BASE + OFFSET_REG_TM1CNT_H
.set REG_TM2CNT, REG_BASE + OFFSET_REG_TM2CNT
.set REG_TM2CNT_L, REG_BASE + OFFSET_REG_TM2CNT_L
.set REG_TM2CNT_H, REG_BASE + OFFSET_REG_TM2CNT_H
.set REG_TM3CNT, REG_BASE + OFFSET_REG_TM3CNT
.set REG_TM3CNT_L, REG_BASE + OFFSET_REG_TM3CNT_L
.set REG_TM3CNT_H, REG_BASE + OFFSET_REG_TM3CNT_H
.set REG_SIOCNT, REG_BASE + OFFSET_REG_SIOCNT
.set REG_SIODATA8, REG_BASE + OFFSET_REG_SIODATA8
.set REG_SIODATA32, REG_BASE + OFFSET_REG_SIODATA32
.set REG_SIOMLT_SEND, REG_BASE + OFFSET_REG_SIOMLT_SEND
.set REG_SIOMLT_RECV, REG_BASE + OFFSET_REG_SIOMLT_RECV
.set REG_SIOMULTI0, REG_BASE + OFFSET_REG_SIOMULTI0
.set REG_SIOMULTI1, REG_BASE + OFFSET_REG_SIOMULTI1
.set REG_SIOMULTI2, REG_BASE + OFFSET_REG_SIOMULTI2
.set REG_SIOMULTI3, REG_BASE + OFFSET_REG_SIOMULTI3
.set REG_KEYINPUT, REG_BASE + OFFSET_REG_KEYINPUT
.set REG_KEYCNT, REG_BASE + OFFSET_REG_KEYCNT
.set REG_RCNT, REG_BASE + OFFSET_REG_RCNT
.set REG_JOYCNT, REG_BASE + OFFSET_REG_JOYCNT
.set REG_JOYSTAT, REG_BASE + OFFSET_REG_JOYSTAT
.set REG_JOY_RECV, REG_BASE + OFFSET_REG_JOY_RECV
.set REG_JOY_RECV_L, REG_BASE + OFFSET_REG_JOY_RECV_L
.set REG_JOY_RECV_H, REG_BASE + OFFSET_REG_JOY_RECV_H
.set REG_JOY_TRANS, REG_BASE + OFFSET_REG_JOY_TRANS
.set REG_JOY_TRANS_L, REG_BASE + OFFSET_REG_JOY_TRANS_L
.set REG_JOY_TRANS_H, REG_BASE + OFFSET_REG_JOY_TRANS_H
.set REG_IME, REG_BASE + OFFSET_REG_IME
.set REG_IE, REG_BASE + OFFSET_REG_IE
.set REG_IF, REG_BASE + OFFSET_REG_IF
.set REG_WAITCNT, REG_BASE + OFFSET_REG_WAITCNT
@ DMA register constants
.set DMA_DEST_INC, 0x0000
.set DMA_DEST_DEC, 0x0020
.set DMA_DEST_FIXED, 0x0040
.set DMA_DEST_RELOAD, 0x0060
.set DMA_SRC_INC, 0x0000
.set DMA_SRC_DEC, 0x0080
.set DMA_SRC_FIXED, 0x0100
.set DMA_REPEAT, 0x0200
.set DMA_16BIT, 0x0000
.set DMA_32BIT, 0x0400
.set DMA_DREQ_ON, 0x0800
.set DMA_START_NOW, 0x0000
.set DMA_START_VBLANK, 0x1000
.set DMA_START_HBLANK, 0x2000
.set DMA_START_SPECIAL, 0x3000
.set DMA_INTR_ENABLE, 0x4000
.set DMA_ENABLE, 0x8000
@ OAM attribute constants
.set OAM_OBJ_NORMAL, 0x00000000
.set OAM_OBJ_BLEND, 0x00000400
.set OAM_OBJ_WINDOW, 0x00000800
.set OAM_AFFINE_NONE, 0x00000000
.set OAM_AFFINE_NORMAL_SIZE, 0x00000100
.set OAM_OBJ_DISABLED, 0x00000200
.set OAM_AFFINE_DOUBLE_SIZE, 0x00000300
.set OAM_MOSAIC_OFF, 0x00000000
.set OAM_MOSAIC_ON, 0x00001000
.set OAM_4BPP, 0x00000000
.set OAM_8BPP, 0x00002000
.set OAM_H_FLIP, 0x10000000
.set OAM_V_FLIP, 0x20000000
.set OAM_SQUARE, 0x00000000
.set OAM_H_RECTANGLE, 0x00004000
.set OAM_V_RECTANGLE, 0x00008000
.set OAM_SIZE_0, 0x00000000
.set OAM_SIZE_1, 0x40000000
.set OAM_SIZE_2, 0x80000000
.set OAM_SIZE_3, 0xc0000000
.set OAM_SIZE_8x8, OAM_SIZE_0 | OAM_SQUARE
.set OAM_SIZE_16x16, OAM_SIZE_1 | OAM_SQUARE
.set OAM_SIZE_32x32, OAM_SIZE_2 | OAM_SQUARE
.set OAM_SIZE_64x64, OAM_SIZE_3 | OAM_SQUARE
.set OAM_SIZE_16x8, OAM_SIZE_0 | OAM_H_RECTANGLE
.set OAM_SIZE_32x8, OAM_SIZE_1 | OAM_H_RECTANGLE
.set OAM_SIZE_32x16, OAM_SIZE_2 | OAM_H_RECTANGLE
.set OAM_SIZE_64x32, OAM_SIZE_3 | OAM_H_RECTANGLE
.set OAM_SIZE_8x16, OAM_SIZE_0 | OAM_V_RECTANGLE
.set OAM_SIZE_8x32, OAM_SIZE_1 | OAM_V_RECTANGLE
.set OAM_SIZE_16x32, OAM_SIZE_2 | OAM_V_RECTANGLE
.set OAM_SIZE_32x64, OAM_SIZE_3 | OAM_V_RECTANGLE
@ BLDCNT
.set BLDCNT_TGT1_BG0, 1 << 0
.set BLDCNT_TGT1_BG1, 1 << 1
.set BLDCNT_TGT1_BG2, 1 << 2
.set BLDCNT_TGT1_BG3, 1 << 3
.set BLDCNT_TGT1_OBJ, 1 << 4
.set BLDCNT_TGT1_BD, 1 << 5
.set BLDCNT_TGT1_ALL, BLDCNT_TGT1_BG0 | BLDCNT_TGT1_BG1 | BLDCNT_TGT1_BG2 | BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD
.set BLDCNT_EFFECT_NONE, 0 << 6
.set BLDCNT_EFFECT_BLEND, 1 << 6
.set BLDCNT_EFFECT_LIGHTEN, 2 << 6
.set BLDCNT_EFFECT_DARKEN, 3 << 6
.set BLDCNT_TGT2_BG0, 1 << 8
.set BLDCNT_TGT2_BG1, 1 << 9
.set BLDCNT_TGT2_BG2, 1 << 10
.set BLDCNT_TGT2_BG3, 1 << 11
.set BLDCNT_TGT2_OBJ, 1 << 12
.set BLDCNT_TGT2_BD, 1 << 13
.set BLDCNT_TGT2_ALL, BLDCNT_TGT2_BG0 | BLDCNT_TGT2_BG1 | BLDCNT_TGT2_BG2 | BLDCNT_TGT2_BG3 | BLDCNT_TGT2_OBJ | BLDCNT_TGT2_BD
#endif @ GUARD_CONSTANTS_GBA_CONSTANTS_INC
+27
View File
@@ -0,0 +1,27 @@
#ifndef GUARD_CONSTANTS_GLOBAL_INC
#define GUARD_CONSTANTS_GLOBAL_INC
.set TRUE, 1
.set FALSE, 0
.set NULL, 0
.set SPRITE_SIZE_8x8, (OAM_SIZE_0 >> 28) | (OAM_SQUARE >> 14)
.set SPRITE_SIZE_16x16, (OAM_SIZE_1 >> 28) | (OAM_SQUARE >> 14)
.set SPRITE_SIZE_32x32, (OAM_SIZE_2 >> 28) | (OAM_SQUARE >> 14)
.set SPRITE_SIZE_64x64, (OAM_SIZE_3 >> 28) | (OAM_SQUARE >> 14)
.set SPRITE_SIZE_16x8, (OAM_SIZE_0 >> 28) | (OAM_H_RECTANGLE >> 14)
.set SPRITE_SIZE_32x8, (OAM_SIZE_1 >> 28) | (OAM_H_RECTANGLE >> 14)
.set SPRITE_SIZE_32x16, (OAM_SIZE_2 >> 28) | (OAM_H_RECTANGLE >> 14)
.set SPRITE_SIZE_64x32, (OAM_SIZE_3 >> 28) | (OAM_H_RECTANGLE >> 14)
.set SPRITE_SIZE_8x16, (OAM_SIZE_0 >> 28) | (OAM_V_RECTANGLE >> 14)
.set SPRITE_SIZE_8x32, (OAM_SIZE_1 >> 28) | (OAM_V_RECTANGLE >> 14)
.set SPRITE_SIZE_16x32, (OAM_SIZE_2 >> 28) | (OAM_V_RECTANGLE >> 14)
.set SPRITE_SIZE_32x64, (OAM_SIZE_3 >> 28) | (OAM_V_RECTANGLE >> 14)
.set OBJ_IMAGE_ANIM_H_FLIP, 1 << 6
.set OBJ_IMAGE_ANIM_V_FLIP, 1 << 7
#endif @ GUARD_CONSTANTS_GLOBAL_INC
+257
View File
@@ -0,0 +1,257 @@
#ifndef GUARD_CONSTANTS_M4A_CONSTANTS_INC
#define GUARD_CONSTANTS_M4A_CONSTANTS_INC
.equiv ID_NUMBER, 0x68736d53
.equiv PCM_DMA_BUF_SIZE, 1584
.equiv MAX_DIRECTSOUND_CHANNELS, 12
.equiv C_V, 0x40
.equiv TONEDATA_TYPE_CGB, 0x07
.equiv TONEDATA_TYPE_FIX, 0x08
.equiv TONEDATA_TYPE_REV, 0x10
.equiv TONEDATA_TYPE_CMP, 0x20
.equiv TONEDATA_TYPE_SPL, 0x40 @ key split
.equiv TONEDATA_TYPE_RHY, 0x80 @ rhythm
.equiv TONEDATA_P_S_PAN, 0xc0
.equiv SOUND_CHANNEL_SF_START, 0x80
.equiv SOUND_CHANNEL_SF_STOP, 0x40
.equiv SOUND_CHANNEL_SF_SPECIAL, 0x20
.equiv SOUND_CHANNEL_SF_LOOP, 0x10
.equiv SOUND_CHANNEL_SF_IEC, 0x04
.equiv SOUND_CHANNEL_SF_ENV, 0x03
.equiv SOUND_CHANNEL_SF_ENV_ATTACK, 0x03
.equiv SOUND_CHANNEL_SF_ENV_DECAY, 0x02
.equiv SOUND_CHANNEL_SF_ENV_SUSTAIN, 0x01
.equiv SOUND_CHANNEL_SF_ENV_RELEASE, 0x00
.equiv SOUND_CHANNEL_SF_ON, (SOUND_CHANNEL_SF_START | SOUND_CHANNEL_SF_STOP | SOUND_CHANNEL_SF_IEC | SOUND_CHANNEL_SF_ENV)
.equiv CGB_CHANNEL_MO_PIT, 0x02
.equiv CGB_CHANNEL_MO_VOL, 0x01
.equiv WAVE_DATA_FLAG_LOOP, 0xC0
.equiv MPT_FLG_VOLSET, 0x01
.equiv MPT_FLG_VOLCHG, 0x03
.equiv MPT_FLG_PITSET, 0x04
.equiv MPT_FLG_PITCHG, 0x0C
.equiv MPT_FLG_START, 0x40
.equiv MPT_FLG_EXIST, 0x80
.macro struct_begin
.struct 0
.endm
.macro struct_field name, size
\name:
.struct \name + \size
.endm
struct_begin
struct_field o_WaveData_type, 2
struct_field o_WaveData_d1, 1
struct_field o_WaveData_flags, 1
struct_field o_WaveData_freq, 4
struct_field o_WaveData_loopStart, 4
struct_field o_WaveData_size, 4
struct_field o_WaveData_data, 0
struct_field WaveData_size, 0
struct_begin
struct_field o_ToneData_type, 1
struct_field o_ToneData_key, 1
struct_field o_ToneData_length, 1
struct_field o_ToneData_pan_sweep, 1
struct_field o_ToneData_wav, 4
struct_field o_ToneData_attack, 1
struct_field o_ToneData_decay, 1
struct_field o_ToneData_sustain, 1
struct_field o_ToneData_release, 1
struct_field ToneData_size, 0
struct_begin
struct_field o_SoundInfo_ident, 4
struct_field o_SoundInfo_pcmDmaCounter, 1
struct_field o_SoundInfo_reverb, 1
struct_field o_SoundInfo_maxChans, 1
struct_field o_SoundInfo_masterVolume, 1
struct_field o_SoundInfo_freq, 1
struct_field o_SoundInfo_mode, 1
struct_field o_SoundInfo_c15, 1
struct_field o_SoundInfo_pcmDmaPeriod, 1
struct_field o_SoundInfo_maxLines, 1
struct_field o_SoundInfo_gap, 3
struct_field o_SoundInfo_pcmSamplesPerVBlank, 4
struct_field o_SoundInfo_pcmFreq, 4
struct_field o_SoundInfo_divFreq, 4
struct_field o_SoundInfo_cgbChans, 4
struct_field o_SoundInfo_MPlayMainHead, 4
struct_field o_SoundInfo_musicPlayerHead, 4
struct_field o_SoundInfo_CgbSound, 4
struct_field o_SoundInfo_CgbOscOff, 4
struct_field o_SoundInfo_MidiKeyToCgbFreq, 4
struct_field o_SoundInfo_MPlayJumpTable, 4
struct_field o_SoundInfo_plynote, 4
struct_field o_SoundInfo_ExtVolPit, 4
struct_field o_SoundInfo_gap2, 16
struct_field o_SoundInfo_chans, MAX_DIRECTSOUND_CHANNELS * 64
struct_field o_SoundInfo_pcmBuffer, PCM_DMA_BUF_SIZE * 2
struct_field SoundInfo_size, 0
struct_begin
struct_field o_SoundChannel_statusFlags, 1
struct_field o_SoundChannel_type, 1
struct_field o_SoundChannel_rightVolume, 1
struct_field o_SoundChannel_leftVolume, 1
struct_field o_SoundChannel_attack, 1
struct_field o_SoundChannel_decay, 1
struct_field o_SoundChannel_sustain, 1
struct_field o_SoundChannel_release, 1
struct_field o_SoundChannel_key, 1
struct_field o_SoundChannel_envelopeVolume, 1
struct_field o_SoundChannel_envelopeVolumeRight, 1
struct_field o_SoundChannel_envelopeVolumeLeft, 1
struct_field o_SoundChannel_pseudoEchoVolume, 1
struct_field o_SoundChannel_pseudoEchoLength, 1
struct_field o_SoundChannel_dummy1, 1
struct_field o_SoundChannel_dummy2, 1
struct_field o_SoundChannel_gateTime, 1
struct_field o_SoundChannel_midiKey, 1
struct_field o_SoundChannel_velocity, 1
struct_field o_SoundChannel_priority, 1
struct_field o_SoundChannel_rhythmPan, 1
struct_field o_SoundChannel_dummy3, 3
struct_field o_SoundChannel_count, 4
struct_field o_SoundChannel_fw, 4
struct_field o_SoundChannel_frequency, 4
struct_field o_SoundChannel_wav, 4
struct_field o_SoundChannel_currentPointer, 4
struct_field o_SoundChannel_track, 4
struct_field o_SoundChannel_prevChannelPointer, 4
struct_field o_SoundChannel_nextChannelPointer, 4
struct_field o_SoundChannel_dummy4, 4
struct_field o_SoundChannel_xpi, 2
struct_field o_SoundChannel_xpc, 2
struct_field SoundChannel_size, 0
struct_begin
struct_field o_MusicPlayerTrack_flags, 1
struct_field o_MusicPlayerTrack_wait, 1
struct_field o_MusicPlayerTrack_patternLevel, 1
struct_field o_MusicPlayerTrack_repN, 1
struct_field o_MusicPlayerTrack_gateTime, 1
struct_field o_MusicPlayerTrack_key, 1
struct_field o_MusicPlayerTrack_velocity, 1
struct_field o_MusicPlayerTrack_runningStatus, 1
struct_field o_MusicPlayerTrack_keyM, 1
struct_field o_MusicPlayerTrack_pitM, 1
struct_field o_MusicPlayerTrack_keyShift, 1
struct_field o_MusicPlayerTrack_keyShiftX, 1
struct_field o_MusicPlayerTrack_tune, 1
struct_field o_MusicPlayerTrack_pitX, 1
struct_field o_MusicPlayerTrack_bend, 1
struct_field o_MusicPlayerTrack_bendRange, 1
struct_field o_MusicPlayerTrack_volMR, 1
struct_field o_MusicPlayerTrack_volML, 1
struct_field o_MusicPlayerTrack_vol, 1
struct_field o_MusicPlayerTrack_volX, 1
struct_field o_MusicPlayerTrack_pan, 1
struct_field o_MusicPlayerTrack_panX, 1
struct_field o_MusicPlayerTrack_modM, 1
struct_field o_MusicPlayerTrack_mod, 1
struct_field o_MusicPlayerTrack_modT, 1
struct_field o_MusicPlayerTrack_lfoSpeed, 1
struct_field o_MusicPlayerTrack_lfoSpeedC, 1
struct_field o_MusicPlayerTrack_lfoDelay, 1
struct_field o_MusicPlayerTrack_lfoDelayC, 1
struct_field o_MusicPlayerTrack_priority, 1
struct_field o_MusicPlayerTrack_pseudoEchoVolume, 1
struct_field o_MusicPlayerTrack_pseudoEchoLength, 1
struct_field o_MusicPlayerTrack_chan, 4
struct_field o_MusicPlayerTrack_ToneData_type, 1
struct_field o_MusicPlayerTrack_ToneData_key, 1
struct_field o_MusicPlayerTrack_ToneData_length, 1
struct_field o_MusicPlayerTrack_ToneData_pan_sweep, 1
struct_field o_MusicPlayerTrack_ToneData_wav, 4
struct_field o_MusicPlayerTrack_ToneData_attack, 1
struct_field o_MusicPlayerTrack_ToneData_decay, 1
struct_field o_MusicPlayerTrack_ToneData_sustain, 1
struct_field o_MusicPlayerTrack_ToneData_release, 1
struct_field o_MusicPlayerTrack_gap, 10
struct_field o_MusicPlayerTrack_unk_3A, 2
struct_field o_MusicPlayerTrack_unk_3C, 4
struct_field o_MusicPlayerTrack_cmdPtr, 4
struct_field o_MusicPlayerTrack_patternStack, 12
struct_field MusicPlayerTrack_size, 0
.equiv o_MusicPlayerTrack_ToneData_keySplitTable, o_MusicPlayerTrack_ToneData_attack
struct_begin
struct_field o_MusicPlayerInfo_songHeader, 4
struct_field o_MusicPlayerInfo_status, 4
struct_field o_MusicPlayerInfo_trackCount, 1
struct_field o_MusicPlayerInfo_priority, 1
struct_field o_MusicPlayerInfo_cmd, 1
struct_field o_MusicPlayerInfo_unk_B, 1
struct_field o_MusicPlayerInfo_clock, 4
struct_field o_MusicPlayerInfo_gap, 8
struct_field o_MusicPlayerInfo_memAccArea, 4
struct_field o_MusicPlayerInfo_tempoD, 2
struct_field o_MusicPlayerInfo_tempoU, 2
struct_field o_MusicPlayerInfo_tempoI, 2
struct_field o_MusicPlayerInfo_tempoC, 2
struct_field o_MusicPlayerInfo_fadeOI, 2
struct_field o_MusicPlayerInfo_fadeOC, 2
struct_field o_MusicPlayerInfo_fadeOV, 2
struct_field o_MusicPlayerInfo_padding, 2
struct_field o_MusicPlayerInfo_tracks, 4
struct_field o_MusicPlayerInfo_tone, 4
struct_field o_MusicPlayerInfo_ident, 4
struct_field o_MusicPlayerInfo_func, 4
struct_field o_MusicPlayerInfo_intp, 4
struct_field MusicPlayerInfo_size, 0
struct_begin
struct_field o_CgbChannel_statusFlags, 1
struct_field o_CgbChannel_type, 1
struct_field o_CgbChannel_rightVolume, 1
struct_field o_CgbChannel_leftVolume, 1
struct_field o_CgbChannel_attack, 1
struct_field o_CgbChannel_decay, 1
struct_field o_CgbChannel_sustain, 1
struct_field o_CgbChannel_release, 1
struct_field o_CgbChannel_key, 1
struct_field o_CgbChannel_envelopeVolume, 1
struct_field o_CgbChannel_envelopeGoal, 1
struct_field o_CgbChannel_envelopeCounter, 1
struct_field o_CgbChannel_pseudoEchoVolume, 1
struct_field o_CgbChannel_pseudoEchoLength, 1
struct_field o_CgbChannel_dummy1, 1
struct_field o_CgbChannel_dummy2, 1
struct_field o_CgbChannel_gateTime, 1
struct_field o_CgbChannel_midiKey, 1
struct_field o_CgbChannel_velocity, 1
struct_field o_CgbChannel_priority, 1
struct_field o_CgbChannel_rhythmPan, 1
struct_field o_CgbChannel_dummy3, 3
struct_field o_CgbChannel_dummy5, 1
struct_field o_CgbChannel_sustainGoal, 1
struct_field o_CgbChannel_n4, 1
struct_field o_CgbChannel_pan, 1
struct_field o_CgbChannel_panMask, 1
struct_field o_CgbChannel_modify, 1
struct_field o_CgbChannel_length, 1
struct_field o_CgbChannel_sweep, 1
struct_field o_CgbChannel_frequency, 4
struct_field o_CgbChannel_wavePointer, 4
struct_field o_CgbChannel_currentPointer, 4
struct_field o_CgbChannel_track, 4
struct_field o_CgbChannel_prevChannelPointer, 4
struct_field o_CgbChannel_nextChannelPointer, 4
struct_field o_CgbChannel_dummy4, 8
struct_field CgbChannel_size, 0
#endif @ GUARD_CONSTANTS_M4A_CONSTANTS_INC
+22
View File
@@ -0,0 +1,22 @@
#ifndef GUARD_CONSTANTS_TMS_HMS_INC
#define GUARD_CONSTANTS_TMS_HMS_INC
#include "constants/tms_hms.h"
/* Expands to:
* enum_start ITEM_TM01
* enum ITEM_TM_FOCUS_PUNCH
* ...
* enum_start ITEM_HM01
* enum ITEM_HM_CUT
* ... */
#define EQUIV_TM(id) enum ITEM_TM_ ## id;
#define EQUIV_HM(id) enum ITEM_HM_ ## id;
enum_start ITEM_TM01
FOREACH_TM(EQUIV_TM)
enum_start ITEM_HM01
FOREACH_HM(EQUIV_HM)
#undef EQUIV_TM
#undef EQUIV_HM
#endif @ GUARD_CONSTANTS_TMS_HMS_INC
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+202
View File
@@ -0,0 +1,202 @@
#include "constants/battle.h"
#include "constants/battle_script_commands.h"
#include "constants/battle_anim.h"
#include "constants/battle_string_ids.h"
#include "constants/items.h"
#include "constants/songs.h"
#include "constants/game_stat.h"
.include "asm/macros.inc"
.include "asm/macros/battle_script.inc"
.include "constants/constants.inc"
.section script_data, "aw", %progbits
.align 2
gBattlescriptsForBallThrow::
.4byte BattleScript_BallThrow @ ITEM_NONE
.4byte BattleScript_BallThrow @ ITEM_MASTER_BALL
.4byte BattleScript_BallThrow @ ITEM_ULTRA_BALL
.4byte BattleScript_BallThrow @ ITEM_GREAT_BALL
.4byte BattleScript_BallThrow @ ITEM_POKE_BALL
.4byte BattleScript_SafariBallThrow @ ITEM_SAFARI_BALL
.4byte BattleScript_BallThrow @ ITEM_NET_BALL
.4byte BattleScript_BallThrow @ ITEM_DIVE_BALL
.4byte BattleScript_BallThrow @ ITEM_NEST_BALL
.4byte BattleScript_BallThrow @ ITEM_REPEAT_BALL
.4byte BattleScript_BallThrow @ ITEM_TIMER_BALL
.4byte BattleScript_BallThrow @ ITEM_LUXURY_BALL
.4byte BattleScript_BallThrow @ ITEM_PREMIER_BALL
.align 2
gBattlescriptsForUsingItem::
.4byte BattleScript_PlayerUsesItem
.4byte BattleScript_OpponentUsesHealItem @ AI_ITEM_FULL_RESTORE
.4byte BattleScript_OpponentUsesHealItem @ AI_ITEM_HEAL_HP
.4byte BattleScript_OpponentUsesStatusCureItem @ AI_ITEM_CURE_CONDITION
.4byte BattleScript_OpponentUsesXItem @ AI_ITEM_X_STAT
.4byte BattleScript_OpponentUsesGuardSpec @ AI_ITEM_GUARD_SPEC
.align 2
gBattlescriptsForRunningByItem::
.4byte BattleScript_RunByUsingItem
.align 2
gBattlescriptsForSafariActions::
.4byte BattleScript_ActionWatchesCarefully
.4byte BattleScript_ActionGetNear
.4byte BattleScript_ActionThrowPokeblock
.4byte BattleScript_ActionWallyThrow
BattleScript_BallThrow::
jumpifword CMP_COMMON_BITS, gBattleTypeFlags, BATTLE_TYPE_WALLY_TUTORIAL, BattleScript_BallThrowByWally
printstring STRINGID_PLAYERUSEDITEM
handleballthrow
BattleScript_BallThrowByWally::
printstring STRINGID_WALLYUSEDITEM
handleballthrow
BattleScript_SafariBallThrow::
printstring STRINGID_PLAYERUSEDITEM
updatestatusicon BS_ATTACKER
handleballthrow
BattleScript_SuccessBallThrow::
jumpifhalfword CMP_EQUAL, gLastUsedItem, ITEM_SAFARI_BALL, BattleScript_PrintCaughtMonInfo
incrementgamestat GAME_STAT_POKEMON_CAPTURES
BattleScript_PrintCaughtMonInfo::
printstring STRINGID_GOTCHAPKMNCAUGHTPLAYER
trysetcaughtmondexflags BattleScript_TryNicknameCaughtMon
printstring STRINGID_PKMNDATAADDEDTODEX
waitstate
setbyte gBattleCommunication, 0
displaydexinfo
BattleScript_TryNicknameCaughtMon::
printstring STRINGID_GIVENICKNAMECAPTURED
waitstate
setbyte gBattleCommunication, 0
trygivecaughtmonnick BattleScript_GiveCaughtMonEnd
givecaughtmon
printfromtable gCaughtMonStringIds
waitmessage B_WAIT_TIME_LONG
goto BattleScript_SuccessBallThrowEnd
BattleScript_GiveCaughtMonEnd::
givecaughtmon
BattleScript_SuccessBallThrowEnd::
setbyte gBattleOutcome, B_OUTCOME_CAUGHT
finishturn
BattleScript_WallyBallThrow::
printstring STRINGID_GOTCHAPKMNCAUGHTWALLY
setbyte gBattleOutcome, B_OUTCOME_CAUGHT
finishturn
BattleScript_ShakeBallThrow::
printfromtable gBallEscapeStringIds
waitmessage B_WAIT_TIME_LONG
jumpifword CMP_NO_COMMON_BITS, gBattleTypeFlags, BATTLE_TYPE_SAFARI, BattleScript_ShakeBallThrowEnd
jumpifbyte CMP_NOT_EQUAL, gNumSafariBalls, 0, BattleScript_ShakeBallThrowEnd
printstring STRINGID_OUTOFSAFARIBALLS
waitmessage B_WAIT_TIME_LONG
setbyte gBattleOutcome, B_OUTCOME_NO_SAFARI_BALLS
BattleScript_ShakeBallThrowEnd::
finishaction
BattleScript_TrainerBallBlock::
waitmessage B_WAIT_TIME_LONG
printstring STRINGID_TRAINERBLOCKEDBALL
waitmessage B_WAIT_TIME_LONG
printstring STRINGID_DONTBEATHIEF
waitmessage B_WAIT_TIME_LONG
finishaction
BattleScript_PlayerUsesItem::
moveendcase MOVEEND_MIRROR_MOVE
end
BattleScript_OpponentUsesHealItem::
printstring STRINGID_EMPTYSTRING3
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage B_WAIT_TIME_LONG
useitemonopponent
orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE
healthbarupdate BS_ATTACKER
datahpupdate BS_ATTACKER
printstring STRINGID_PKMNSITEMRESTOREDHEALTH
waitmessage B_WAIT_TIME_LONG
updatestatusicon BS_ATTACKER
moveendcase MOVEEND_MIRROR_MOVE
finishaction
BattleScript_OpponentUsesStatusCureItem::
printstring STRINGID_EMPTYSTRING3
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gTrainerItemCuredStatusStringIds
waitmessage B_WAIT_TIME_LONG
updatestatusicon BS_ATTACKER
moveendcase MOVEEND_MIRROR_MOVE
finishaction
BattleScript_OpponentUsesXItem::
printstring STRINGID_EMPTYSTRING3
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG
moveendcase MOVEEND_MIRROR_MOVE
finishaction
BattleScript_OpponentUsesGuardSpec::
printstring STRINGID_EMPTYSTRING3
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gMistUsedStringIds
waitmessage B_WAIT_TIME_LONG
moveendcase MOVEEND_MIRROR_MOVE
finishaction
BattleScript_RunByUsingItem::
playse SE_FLEE
setbyte gBattleOutcome, B_OUTCOME_RAN
finishturn
BattleScript_ActionWatchesCarefully:
printstring STRINGID_PKMNWATCHINGCAREFULLY
waitmessage B_WAIT_TIME_LONG
end2
BattleScript_ActionGetNear:
printfromtable gSafariGetNearStringIds
waitmessage B_WAIT_TIME_LONG
end2
BattleScript_ActionThrowPokeblock:
printstring STRINGID_THREWPOKEBLOCKATPKMN
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_POKEBLOCK_THROW, NULL
printfromtable gSafariPokeblockResultStringIds
waitmessage B_WAIT_TIME_LONG
end2
BattleScript_ActionWallyThrow:
printstring STRINGID_RETURNMON
waitmessage B_WAIT_TIME_LONG
returnatktoball
waitstate
trainerslidein BS_TARGET
waitstate
printstring STRINGID_YOUTHROWABALLNOWRIGHT
waitmessage B_WAIT_TIME_LONG
end2
+920
View File
@@ -0,0 +1,920 @@
#include "config.h"
#include "constants/global.h"
#include "constants/contest.h"
.include "asm/macros.inc"
.include "asm/macros/contest_ai_script.inc"
.include "constants/constants.inc"
.section script_data, "aw", %progbits
enum_start
enum MON_1
enum MON_2
enum MON_3
enum MON_4
.align 2
gContestAI_ScriptsTable::
.4byte AI_CheckBadMove @ CONTEST_AI_CHECK_BAD_MOVE
.4byte AI_CheckCombo @ CONTEST_AI_CHECK_COMBO
.4byte AI_CheckBoring @ CONTEST_AI_CHECK_BORING
.4byte AI_CheckExcitement @ CONTEST_AI_CHECK_EXCITEMENT
.4byte AI_CheckOrder @ CONTEST_AI_CHECK_ORDER
.4byte AI_CheckGoodMove @ CONTEST_AI_CHECK_GOOD_MOVE
.4byte AI_Erratic @ CONTEST_AI_ERRATIC
.4byte AI_Nothing @ CONTEST_AI_DUMMY_1
.4byte AI_Nothing @ CONTEST_AI_DUMMY_2
.4byte AI_Nothing @ CONTEST_AI_DUMMY_3
.4byte AI_Nothing @ CONTEST_AI_DUMMY_4
.4byte AI_Nothing @ CONTEST_AI_DUMMY_5
.4byte AI_Nothing @ CONTEST_AI_DUMMY_6
.4byte AI_Nothing @ CONTEST_AI_DUMMY_7
.4byte AI_Nothing @ CONTEST_AI_DUMMY_8
.4byte AI_Nothing @ CONTEST_AI_DUMMY_9
.4byte AI_Nothing @ CONTEST_AI_DUMMY_10
.4byte AI_Nothing @ CONTEST_AI_DUMMY_11
.4byte AI_Nothing @ CONTEST_AI_DUMMY_12
.4byte AI_Nothing @ CONTEST_AI_DUMMY_13
.4byte AI_Nothing @ CONTEST_AI_DUMMY_14
.4byte AI_Nothing @ CONTEST_AI_DUMMY_15
.4byte AI_Nothing @ CONTEST_AI_DUMMY_16
.4byte AI_Nothing @ CONTEST_AI_DUMMY_17
.4byte AI_Nothing @ CONTEST_AI_DUMMY_18
.4byte AI_Nothing @ CONTEST_AI_DUMMY_19
.4byte AI_Nothing @ CONTEST_AI_DUMMY_20
.4byte AI_Nothing @ CONTEST_AI_DUMMY_21
.4byte AI_Nothing @ CONTEST_AI_DUMMY_22
.4byte AI_Nothing @ CONTEST_AI_DUMMY_23
.4byte AI_Nothing @ CONTEST_AI_DUMMY_24
.4byte AI_Nothing @ CONTEST_AI_DUMMY_25
@ Unused. Encourages improving condition on the 1st appeal, or startling mons if the users turn is later
AI_CheckTiming:
if_appeal_num_not_eq 0, AI_CheckTiming_SkipCondition
if_effect_not_eq CONTEST_EFFECT_IMPROVE_CONDITION_PREVENT_NERVOUSNESS, AI_CheckTiming_SkipCondition
score +10
AI_CheckTiming_SkipCondition:
call AI_CheckTiming_TryStartle
end
AI_CheckTiming_TryStartle:
if_user_order_more_than MON_2, AI_CheckTiming_End
if_effect_type_not_eq CONTEST_EFFECT_TYPE_STARTLE_MON, AI_CheckTiming_End
if_effect_type_not_eq CONTEST_EFFECT_TYPE_STARTLE_MONS, AI_CheckTiming_End
score +10
AI_CheckTiming_End:
end
@ Unused, doesnt make much sense
@ Encourages using an avoid being startled move
@ The various appeal and turn checks are pointless, it will always encourage these moves
AI_AvoidStartle:
if_appeal_num_eq 0, AI_AvoidStartle_1stAppeal
if_appeal_num_eq 1, AI_AvoidStartle_2ndAppeal
if_appeal_num_eq 2, AI_AvoidStartle_3rdAppeal
if_appeal_num_eq 3, AI_AvoidStartle_4thAppeal
if_last_appeal AI_AvoidStartle_LastAppeal
end
AI_AvoidStartle_1stAppeal:
if_user_order_not_eq MON_1, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_2, AI_AvoidStartle_EncourageIfAvoidMove2
if_user_order_not_eq MON_3, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_4, AI_AvoidStartle_EncourageIfAvoidMove
end
AI_AvoidStartle_EncourageIfAvoidMove:
if_effect_type_eq CONTEST_EFFECT_TYPE_AVOID_STARTLE, AI_AvoidStartle_Encourage
end
AI_AvoidStartle_EncourageIfAvoidMove2:
if_effect_type_eq CONTEST_EFFECT_TYPE_AVOID_STARTLE, AI_AvoidStartle_Encourage
end
AI_AvoidStartle_EncourageIfAvoidMove3:
if_effect_type_eq CONTEST_EFFECT_TYPE_AVOID_STARTLE, AI_AvoidStartle_Encourage
end
AI_AvoidStartle_2ndAppeal:
if_user_order_not_eq MON_1, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_2, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_3, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_4, AI_AvoidStartle_EncourageIfAvoidMove
end
AI_AvoidStartle_3rdAppeal:
if_user_order_not_eq MON_1, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_2, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_3, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_4, AI_AvoidStartle_EncourageIfAvoidMove
end
AI_AvoidStartle_4thAppeal:
if_user_order_not_eq MON_1, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_2, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_3, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_4, AI_AvoidStartle_EncourageIfAvoidMove
end
AI_AvoidStartle_LastAppeal:
if_user_order_not_eq MON_1, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_2, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_3, AI_AvoidStartle_EncourageIfAvoidMove
if_user_order_not_eq MON_4, AI_AvoidStartle_EncourageIfAvoidMove
end
AI_AvoidStartle_Encourage:
score +10
end
AI_AvoidStartle_End:
end
@ Unused
AI_PreferMostAppealingMove:
if_most_appealing_move AI_PreferMostAppealingMove_Encourage
end
AI_PreferMostAppealingMove_Encourage:
score +10
end
@ Discourages using the same move multiple times if it would get boring
AI_CheckBoring:
if_effect_eq CONTEST_EFFECT_REPETITION_NOT_BORING, AI_CheckBoring_NotBoring
if_move_used_count_eq 1, AI_CheckBoring_1stRepeat
if_move_used_count_eq 2, AI_CheckBoring_2ndRepeat
if_move_used_count_eq 3, AI_CheckBoring_3rdRepeat
if_move_used_count_eq 4, AI_CheckBoring_4thRepeat
@ No repeats
end
AI_CheckBoring_1stRepeat:
score -5
end
AI_CheckBoring_2ndRepeat:
score -15
end
AI_CheckBoring_3rdRepeat:
score -20
end
AI_CheckBoring_4thRepeat:
score -25
end
AI_CheckBoring_NotBoring:
end
@ Strongly encourages using an exciting move if user is in a position to receive the max excitement bonus
@ Encourages using exciting moves in general
@ If the user doesnt have a good exciting move to use, then encourage lowering excitement to prevent
@ opponents from benefitting from the excitement
AI_CheckExcitement:
if_move_excitement_less_than 0, AI_CheckExcitement_Negative
if_move_excitement_eq 0, AI_CheckExcitement_Neutral
if_move_excitement_eq 1, AI_CheckExcitement_Positive
end
AI_CheckExcitement_Negative:
if_excitement_eq 4, AI_CheckExcitement_Negative_1AwayFromMax
if_excitement_eq 3, AI_CheckExcitement_Negative_2AwayFromMax
if_user_has_exciting_move AI_CheckExcitement_End
score +15
end
AI_CheckExcitement_Negative_1AwayFromMax:
if_user_order_not_eq MON_1, AI_CheckExcitement_Negative_1AwayFromMax_Not1stUp
if_random_less_than 51, AI_CheckExcitement_End
score +20
end
AI_CheckExcitement_Negative_1AwayFromMax_Not1stUp:
if_random_less_than 127, AI_CheckExcitement_End
score -10
end
AI_CheckExcitement_Negative_2AwayFromMax:
if_user_order_not_eq MON_1, AI_CheckExcitement_Negative_2AwayFromMax_Not1stUp
if_last_appeal AI_CheckExcitement_Negative_2AwayFromMax_LastAppeal
if_random_less_than 51, AI_CheckExcitement_End
score +10
end
AI_CheckExcitement_Negative_2AwayFromMax_LastAppeal:
score +15
end
AI_CheckExcitement_Negative_2AwayFromMax_Not1stUp:
if_random_less_than 127, AI_CheckExcitement_End
score +10
end
AI_CheckExcitement_Neutral:
if_random_less_than 127, AI_CheckExcitement_End
score +10
end
AI_CheckExcitement_Positive:
if_move_used_count_more_than 0, AI_CheckExcitement_Positive_Repeat
if_user_order_not_eq MON_1, AI_CheckExcitement_Positive_Not1stUpForMax
if_excitement_not_eq 4, AI_CheckExcitement_Positive_Not1stUpForMax
score +30
end
AI_CheckExcitement_Positive_Not1stUpForMax:
if_random_less_than 100, AI_CheckExcitement_End
score +10
end
AI_CheckExcitement_Positive_Repeat:
if_effect_not_eq CONTEST_EFFECT_REPETITION_NOT_BORING, AI_CheckExcitement_End
if_user_order_not_eq MON_1, AI_CheckExcitement_Positive_Not1stUpForMax
if_excitement_not_eq 4, AI_CheckExcitement_Positive_Not1stUpForMax
score +30
end
AI_CheckExcitement_End:
end
@ Strongly encourages using a move if it would finish a combo
@ Encourages using a move if it would start a combo, esp if the user goes earlier
@ Discourages starting a combo in the last round
@ Discourages using a combo finisher when its combo starter hasnt been used yet
AI_CheckCombo:
if_would_finish_combo AI_CheckCombo_WouldFinish
call AI_CheckCombo_CheckStarter
call AI_CheckCombo_CheckFinisherWithoutStarter
end
AI_CheckCombo_CheckStarter:
if_move_used_count_not_eq 0, AI_CheckCombo_End
if_not_combo_starter AI_CheckCombo_End
if_user_order_eq MON_1, AI_CheckCombo_Starter1stUp
if_user_order_eq MON_2, AI_CheckCombo_Starter2ndUp
if_user_order_eq MON_3, AI_CheckCombo_Starter3rdUp
if_user_order_eq MON_4, AI_CheckCombo_StarterLast
end
AI_CheckCombo_CheckFinisherWithoutStarter:
if_not_combo_finisher AI_CheckCombo_End
score -10
end
AI_CheckCombo_WouldFinish:
score +25
end
AI_CheckCombo_Starter1stUp:
if_last_appeal AI_CheckCombo_StarterOnLastAppeal
if_random_less_than 150, AI_CheckCombo_End
score +10
end
AI_CheckCombo_Starter2ndUp:
if_last_appeal AI_CheckCombo_StarterOnLastAppeal
if_random_less_than 125, AI_CheckCombo_End
score +10
end
AI_CheckCombo_Starter3rdUp:
if_last_appeal AI_CheckCombo_StarterOnLastAppeal
if_random_less_than 50, AI_CheckCombo_End
score +10
end
AI_CheckCombo_StarterLast:
if_last_appeal AI_CheckCombo_StarterOnLastAppeal
score +10
end
AI_CheckCombo_StarterOnLastAppeal:
if_random_less_than 125, AI_CheckCombo_End
score -15
end
AI_CheckCombo_End:
end
@ Checks if move should be encouraged based on its effect
AI_CheckGoodMove:
if_effect_eq CONTEST_EFFECT_BETTER_WITH_GOOD_CONDITION, AI_CGM_BetterWithGoodCondition
if_effect_eq CONTEST_EFFECT_NEXT_APPEAL_EARLIER, AI_CGM_NextAppealEarlier
if_effect_eq CONTEST_EFFECT_NEXT_APPEAL_LATER, AI_CGM_NextAppealLater
if_effect_eq CONTEST_EFFECT_REPETITION_NOT_BORING, AI_CGM_RepetitionNotBoring
if_effect_eq CONTEST_EFFECT_IMPROVE_CONDITION_PREVENT_NERVOUSNESS, AI_CGM_ImproveCondition
if_effect_eq CONTEST_EFFECT_DONT_EXCITE_AUDIENCE, AI_CGM_DontExciteAudience
if_effect_eq CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONES, AI_CGM_AppealAsGoodAsPrevOnes
if_effect_eq CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONE, AI_CGM_AppealAsGoodAsPrevOne
if_effect_eq CONTEST_EFFECT_BETTER_WHEN_AUDIENCE_EXCITED, AI_CGM_BetterWhenAudienceExcited
if_effect_eq CONTEST_EFFECT_WORSEN_CONDITION_OF_PREV_MONS, AI_CGM_WorsenConditionOfPrevMons
if_effect_eq CONTEST_EFFECT_SHIFT_JUDGE_ATTENTION, AI_CGM_TargetMonWithJudgesAttention
if_effect_eq CONTEST_EFFECT_STARTLE_MON_WITH_JUDGES_ATTENTION, AI_CGM_TargetMonWithJudgesAttention
if_effect_eq CONTEST_EFFECT_MAKE_FOLLOWING_MONS_NERVOUS, AI_CGM_MakeFollowingMonsNervous
if_effect_eq CONTEST_EFFECT_JAMS_OTHERS_BUT_MISS_ONE_TURN, AI_CGM_JamsOthersButMissOneTurn
end
AI_CGM_BetterWithGoodCondition:
if_user_condition_eq 3, AI_CGM_BetterWithGoodCondition_3
if_user_condition_eq 2, AI_CGM_BetterWithGoodCondition_2
if_user_condition_eq 1, AI_CGM_BetterWithGoodCondition_1
if_user_condition_eq 0, AI_CGM_BetterWithGoodCondition_0
end
AI_CGM_BetterWithGoodCondition_3:
score +20
end
AI_CGM_BetterWithGoodCondition_2:
if_random_less_than 125, AI_CGM_End
score +15
end
AI_CGM_BetterWithGoodCondition_1:
if_random_less_than 125, AI_CGM_End
score +5
end
AI_CGM_BetterWithGoodCondition_0:
score -20
end
AI_CGM_NextAppealEarlier:
if_user_doesnt_have_move CONTEST_EFFECT_BETTER_IF_FIRST, AI_CGM_End
if_random_less_than 50, AI_CGM_End
score +20
end
AI_CGM_NextAppealLater:
if_user_doesnt_have_move CONTEST_EFFECT_BETTER_IF_LAST, AI_CGM_End
if_random_less_than 50, AI_CGM_End
score +20
end
AI_CGM_RepetitionNotBoring:
if_user_order_not_eq MON_4, AI_CGM_End
if_random_less_than 50, AI_CGM_End
score +15
end
AI_CGM_Unused:
if_last_appeal AI_CGM_Unused_LastAppeal
if_random_less_than 220, AI_CGM_Unused_Discourage
score +10
end
AI_CGM_Unused_LastAppeal:
if_random_less_than 20, AI_CGM_End
score +15
end
AI_CGM_Unused_Discourage:
score -20
end
@ Enourages improving condition, esp if user has moves better with good condition or on 1st appeal
@ Discourages improving condition if at max condition, or if last appeal
AI_CGM_ImproveCondition:
if_user_doesnt_have_move CONTEST_EFFECT_BETTER_WITH_GOOD_CONDITION, AI_CGM_ImproveCondition_CheckAppealNum
if_user_condition_eq 3, AI_CGM_ImproveCondition_AtMax
if_random_less_than 50, AI_CGM_End
score +15
end
AI_CGM_ImproveCondition_AtMax:
score -10
end
AI_CGM_ImproveCondition_CheckAppealNum:
if_last_appeal AI_CGM_ImproveCondition_LastAppeal
if_appeal_num_eq 0, AI_CGM_ImproveCondition_FirstAppeal
if_move_used_count_eq 1, AI_CGM_End
if_random_less_than 125, AI_CGM_End
score +10
end
AI_CGM_ImproveCondition_FirstAppeal:
if_random_less_than 100, AI_CGM_End
score +10
end
AI_CGM_ImproveCondition_LastAppeal:
score -10
end
@ Encourage stopping audience excitement early in the appeal, or last appeal if no better options
AI_CGM_DontExciteAudience:
if_move_used_count_eq 1, AI_CGM_End
if_user_order_eq MON_1, AI_CGM_DontExciteAudience_EarlyTurn
if_user_order_eq MON_2, AI_CGM_DontExciteAudience_EarlyTurn
if_not_last_appeal AI_CGM_End
if_user_has_exciting_move AI_CGM_End
if_excitement_less_than 1, AI_CGM_End
score +10
end
AI_CGM_DontExciteAudience_EarlyTurn:
if_random_less_than 127, AI_CGM_End
score +10
end
@ Encourages move the later the user goes
AI_CGM_AppealAsGoodAsPrevOnes:
if_user_order_eq MON_2, AI_CGM_AppealAsGoodAsPrevOnes_2ndUp
if_user_order_eq MON_3, AI_CGM_AppealAsGoodAsPrevOnes_3rdUp
if_user_order_eq MON_4, AI_CGM_AppealAsGoodAsPrevOnes_Last
end
AI_CGM_AppealAsGoodAsPrevOnes_2ndUp:
score +5
end
AI_CGM_AppealAsGoodAsPrevOnes_3rdUp:
score +15
end
AI_CGM_AppealAsGoodAsPrevOnes_Last:
score +20
end
@ Encourages move more for each opponent who will have a turn before the user
AI_CGM_AppealAsGoodAsPrevOne:
if_user_order_eq MON_1, AI_CGM_AppealAsGoodAsPrevOne_1stUp
if_user_order_eq MON_2, AI_CGM_AppealAsGoodAsPrevOne_2ndUp
if_user_order_eq MON_3, AI_CGM_AppealAsGoodAsPrevOne_3rdUp
if_user_order_eq MON_4, AI_CGM_AppealAsGoodAsPrevOne_Last
end
AI_CGM_AppealAsGoodAsPrevOne_1stUp:
score -10
end
AI_CGM_AppealAsGoodAsPrevOne_2ndUp:
if_cannot_participate MON_1, AI_CGM_End
score +5
end
AI_CGM_AppealAsGoodAsPrevOne_3rdUp:
if_cannot_participate MON_1, AI_CGM_AppealAsGoodAsPrevOne_3rdUp_CheckMon2
score +5
goto AI_CGM_AppealAsGoodAsPrevOne_3rdUp_CheckMon2
end
AI_CGM_AppealAsGoodAsPrevOne_3rdUp_CheckMon2:
if_cannot_participate MON_2, AI_CGM_End
score +5
end
AI_CGM_AppealAsGoodAsPrevOne_Last:
if_cannot_participate MON_1, AI_CGM_AppealAsGoodAsPrevOne_Last_CheckMon2
score +5
goto AI_CGM_AppealAsGoodAsPrevOne_Last_CheckMon2
end
AI_CGM_AppealAsGoodAsPrevOne_Last_CheckMon2:
if_cannot_participate MON_2, AI_CGM_AppealAsGoodAsPrevOne_Last_CheckMon3
score +5
goto AI_CGM_AppealAsGoodAsPrevOne_Last_CheckMon3
end
AI_CGM_AppealAsGoodAsPrevOne_Last_CheckMon3:
if_cannot_participate MON_3, AI_CGM_End
score +5
end
@ Encourage move if audience is close to full exictement and user goes first
@ See bug note, only does this on 1st appeal (when it will never happen)
AI_CGM_BetterWhenAudienceExcited:
if_user_order_eq MON_1, AI_CGM_BetterWhenAudienceExcited_1stUp
if_user_order_more_than MON_1, AI_CGM_BetterWhenAudienceExcited_Not1stUp
end
AI_CGM_BetterWhenAudienceExcited_1stUp:
@ BUG: Should be if_appeal_num_eq 0
@ 1st up on 1st appeal excitement will always be 0
#ifdef BUGFIX
if_appeal_num_eq 0, AI_CGM_BetterWhenAudienceExcited_1stAppeal
#else
if_appeal_num_not_eq 0, AI_CGM_BetterWhenAudienceExcited_1stAppeal
#endif
if_excitement_eq 4, AI_CGM_BetterWhenAudienceExcited_1AwayFromMax
if_excitement_eq 3, AI_CGM_BetterWhenAudienceExcited_2AwayFromMax
end
AI_CGM_BetterWhenAudienceExcited_1stAppeal:
if_random_less_than 125, AI_CGM_End
score -15
end
AI_CGM_BetterWhenAudienceExcited_1AwayFromMax:
if_random_less_than 125, AI_CGM_End
score +20
end
AI_CGM_BetterWhenAudienceExcited_2AwayFromMax:
if_random_less_than 125, AI_CGM_End
score +15
end
AI_CGM_BetterWhenAudienceExcited_Not1stUp:
if_random_less_than 178, AI_CGM_End
score +10
end
@ Encourage move more for each condition star the prev mons have
AI_CGM_WorsenConditionOfPrevMons:
if_user_order_eq MON_1, AI_CGM_End
goto AI_CGM_WorsenConditionOfPrevMons_CheckMon1
end
AI_CGM_WorsenConditionOfPrevMons_CheckMon1:
if_cannot_participate MON_1, AI_CGM_WorsenConditionOfPrevMons_TryCheckMon2
if_condition_eq MON_1, 0, AI_CGM_WorsenConditionOfPrevMons_TryCheckMon2
if_condition_eq MON_1, 1, AI_CGM_WorsenConditionOfPrevMons_Mon1Has1Star
if_condition_eq MON_1, 2, AI_CGM_WorsenConditionOfPrevMons_Mon1Has2Stars
if_condition_eq MON_1, 3, AI_CGM_WorsenConditionOfPrevMons_Mon1Has3Stars
end
AI_CGM_WorsenConditionOfPrevMons_Mon1Has1Star:
if_random_less_than 125, AI_CGM_WorsenConditionOfPrevMons_CheckMon2
score +5
if_user_order_more_than MON_2, AI_CGM_WorsenConditionOfPrevMons_CheckMon2
end
AI_CGM_WorsenConditionOfPrevMons_Mon1Has2Stars:
if_random_less_than 125, AI_CGM_WorsenConditionOfPrevMons_CheckMon2
score +10
if_user_order_more_than MON_2, AI_CGM_WorsenConditionOfPrevMons_CheckMon2
end
AI_CGM_WorsenConditionOfPrevMons_Mon1Has3Stars:
if_random_less_than 125, AI_CGM_WorsenConditionOfPrevMons_CheckMon2
score +15
if_user_order_more_than MON_2, AI_CGM_WorsenConditionOfPrevMons_CheckMon2
end
AI_CGM_WorsenConditionOfPrevMons_TryCheckMon2:
if_user_order_more_than MON_2, AI_CGM_WorsenConditionOfPrevMons_CheckMon2
end
AI_CGM_WorsenConditionOfPrevMons_CheckMon2:
if_cannot_participate MON_2, AI_CGM_WorsenConditionOfPrevMons_TryCheckMon3
if_condition_eq MON_2, 0, AI_CGM_WorsenConditionOfPrevMons_TryCheckMon3
if_condition_eq MON_2, 1, AI_CGM_WorsenConditionOfPrevMons_Mon2Has1Star
if_condition_eq MON_2, 2, AI_CGM_WorsenConditionOfPrevMons_Mon2Has2Stars
if_condition_eq MON_2, 3, AI_CGM_WorsenConditionOfPrevMons_Mon2Has3Stars
end
AI_CGM_WorsenConditionOfPrevMons_Mon2Has1Star:
if_random_less_than 125, AI_CGM_WorsenConditionOfPrevMons_CheckMon3
score +5
if_user_order_more_than MON_3, AI_CGM_WorsenConditionOfPrevMons_CheckMon3
end
AI_CGM_WorsenConditionOfPrevMons_Mon2Has2Stars:
if_random_less_than 125, AI_CGM_WorsenConditionOfPrevMons_CheckMon3
score +10
if_user_order_more_than MON_3, AI_CGM_WorsenConditionOfPrevMons_CheckMon3
end
AI_CGM_WorsenConditionOfPrevMons_Mon2Has3Stars:
if_random_less_than 125, AI_CGM_WorsenConditionOfPrevMons_CheckMon3
score +15
if_user_order_more_than MON_3, AI_CGM_WorsenConditionOfPrevMons_CheckMon3
end
AI_CGM_WorsenConditionOfPrevMons_TryCheckMon3:
if_user_order_more_than MON_3, AI_CGM_WorsenConditionOfPrevMons_CheckMon3
end
AI_CGM_WorsenConditionOfPrevMons_CheckMon3:
if_cannot_participate MON_3, AI_CGM_WorsenConditionOfPrevMons_end
if_condition_eq MON_3, 0, AI_CGM_WorsenConditionOfPrevMons_end
if_condition_eq MON_3, 1, AI_CGM_WorsenConditionOfPrevMons_Mon3Has1Star
if_condition_eq MON_3, 2, AI_CGM_WorsenConditionOfPrevMons_Mon3Has2Stars
if_condition_eq MON_3, 3, AI_CGM_WorsenConditionOfPrevMons_Mon3Has3Stars
end
AI_CGM_WorsenConditionOfPrevMons_Mon3Has1Star:
if_random_less_than 125, AI_CGM_End
score +5
end
AI_CGM_WorsenConditionOfPrevMons_Mon3Has2Stars:
if_random_less_than 125, AI_CGM_End
score +10
end
AI_CGM_WorsenConditionOfPrevMons_Mon3Has3Stars:
if_random_less_than 125, AI_CGM_End
score +15
end
AI_CGM_WorsenConditionOfPrevMons_end:
end
@ Encourage if a prev mon has started a combo, esp if they havent completed it yet
@ BUG: Incorrectly uses if_used_combo_starter below, instead of if_not_used_combo_starter
@ As a result it encourages move if a prev mon has not begun a combo
AI_CGM_TargetMonWithJudgesAttention:
if_user_order_eq MON_1, AI_CGM_End
goto AI_CGM_TargetMonWithJudgesAttention_CheckMon1
end
AI_CGM_TargetMonWithJudgesAttention_CheckMon1:
if_cannot_participate MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
#ifdef BUGFIX
if_not_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
#else
if_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
#endif
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
score +2
if_not_completed_combo MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
score +8
end
AI_CGM_TargetMonWithJudgesAttention_CheckMon2:
if_user_order_eq MON_2, AI_CGM_End
if_cannot_participate MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
#ifdef BUGFIX
if_not_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
#else
if_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
#endif
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
score +2
if_not_completed_combo MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
score +8
end
AI_CGM_TargetMonWithJudgesAttention_CheckMon3:
if_user_order_eq MON_3, AI_CGM_End
if_cannot_participate MON_3, AI_CGM_End
#ifdef BUGFIX
if_not_used_combo_starter MON_3, AI_CGM_End
#else
if_used_combo_starter MON_3, AI_CGM_End
#endif
if_random_less_than 125, AI_CGM_End
score +2
if_not_completed_combo MON_3, AI_CGM_End
score +8
end
@ Encourage making mons nervous that have started a combo and can appeal after the user
AI_CGM_MakeFollowingMonsNervous:
if_user_order_eq MON_4, AI_CGM_End
goto AI_CGM_MakeFollowingMonsNervous_CheckMon4
end
AI_CGM_MakeFollowingMonsNervous_CheckMon4:
if_cannot_participate MON_4, AI_CGM_MakeFollowingMonsNervous_CheckMon3
if_not_used_combo_starter MON_4, AI_CGM_MakeFollowingMonsNervous_CheckMon3
score +5
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
score +5
end
AI_CGM_MakeFollowingMonsNervous_CheckMon3:
if_user_order_eq MON_3, AI_CGM_End
if_cannot_participate MON_3, AI_CGM_MakeFollowingMonsNervous_CheckMon2
if_not_used_combo_starter MON_3, AI_CGM_MakeFollowingMonsNervous_CheckMon2
score +5
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
score +5
end
AI_CGM_MakeFollowingMonsNervous_CheckMon2:
if_user_order_eq MON_2, AI_CGM_End
if_cannot_participate MON_2, AI_CGM_End
if_not_used_combo_starter MON_2, AI_CGM_End
score +5
if_random_less_than 125, AI_CGM_End
score +5
end
@ Encourages move if users turn is later, or if its the last appeal
AI_CGM_JamsOthersButMissOneTurn:
if_last_appeal AI_CGM_JamsOthersButMissOneTurn_LastAppeal
goto AI_CGM_JamsOthersButMissOneTurn_TurnOrder
end
AI_CGM_JamsOthersButMissOneTurn_LastAppeal:
score +5
goto AI_CGM_JamsOthersButMissOneTurn_TurnOrder
end
AI_CGM_JamsOthersButMissOneTurn_TurnOrder:
if_user_order_eq MON_1, AI_CGM_JamsOthersButMissOneTurn_1stUp
if_user_order_eq MON_2, AI_CGM_JamsOthersButMissOneTurn_2ndUp
if_user_order_eq MON_3, AI_CGM_JamsOthersButMissOneTurn_3rdUp
if_user_order_eq MON_4, AI_CGM_JamsOthersButMissOneTurn_Last
end
AI_CGM_JamsOthersButMissOneTurn_1stUp:
score -15
end
AI_CGM_JamsOthersButMissOneTurn_2ndUp:
if_random_less_than 125, AI_CGM_End
score -10
end
AI_CGM_JamsOthersButMissOneTurn_3rdUp:
if_random_less_than 125, AI_CGM_End
score +5
end
AI_CGM_JamsOthersButMissOneTurn_Last:
if_random_less_than 125, AI_CGM_End
score +15
end
AI_CGM_End:
end
@ Randomly encourage moves in Cute, Smart, and Tough contests.
AI_Erratic:
if_contest_type_eq CONTEST_CATEGORY_CUTE, AI_Erratic_CuteSmartTough
if_contest_type_eq CONTEST_CATEGORY_SMART, AI_Erratic_CuteSmartTough
if_contest_type_eq CONTEST_CATEGORY_TOUGH, AI_Erratic_CuteSmartTough
end
AI_Erratic_CuteSmartTough:
if_random_less_than 125, AI_Erratic_End
score +10
end
AI_Erratic_End:
end
@ Checks if move should be discouraged based on its effect
AI_CheckBadMove:
if_effect_eq CONTEST_EFFECT_STARTLE_FRONT_MON, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_STARTLE_PREV_MON, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_BADLY_STARTLE_FRONT_MON, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_STARTLE_PREV_MON_2, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONE, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_BETTER_IF_SAME_TYPE, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_BETTER_IF_DIFF_TYPE, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_AFFECTED_BY_PREV_APPEAL, AI_CBM_DependsOnPrevMon
if_effect_eq CONTEST_EFFECT_SLIGHTLY_STARTLE_PREV_MONS, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_PREV_MONS, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_BADLY_STARTLE_PREV_MONS, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_PREV_MONS_2, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_MON_WITH_JUDGES_ATTENTION, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_SHIFT_JUDGE_ATTENTION, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_JAMS_OTHERS_BUT_MISS_ONE_TURN, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_MONS_SAME_TYPE_APPEAL, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_BADLY_STARTLE_MONS_WITH_GOOD_APPEALS, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_MONS_COOL_APPEAL, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_MONS_BEAUTY_APPEAL, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_MONS_CUTE_APPEAL, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_MONS_SMART_APPEAL, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_STARTLE_MONS_TOUGH_APPEAL, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_BADLY_STARTLES_MONS_IN_GOOD_CONDITION, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_WORSEN_CONDITION_OF_PREV_MONS, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONES, AI_CBM_DependsOnPrevMons
if_effect_eq CONTEST_EFFECT_MAKE_FOLLOWING_MON_NERVOUS, AI_CBM_DependsOnNextMon
if_effect_eq CONTEST_EFFECT_MAKE_FOLLOWING_MONS_NERVOUS, AI_CBM_DependsOnNextMons
if_effect_eq CONTEST_EFFECT_DONT_EXCITE_AUDIENCE, AI_CBM_DependsOnNextMons
if_effect_eq CONTEST_EFFECT_IMPROVE_CONDITION_PREVENT_NERVOUSNESS, AI_CBM_ImproveCondition
if_effect_eq CONTEST_EFFECT_AVOID_STARTLE_ONCE, AI_CBM_AvoidStartle
if_effect_eq CONTEST_EFFECT_AVOID_STARTLE, AI_CBM_AvoidStartle
if_effect_eq CONTEST_EFFECT_AVOID_STARTLE_SLIGHTLY, AI_CBM_AvoidStartle
if_effect_eq CONTEST_EFFECT_GREAT_APPEAL_BUT_NO_MORE_MOVES, AI_CBM_NoMoreMoves
end
@ If previous mon is skipping turn (or user is first), discourage move
AI_CBM_DependsOnPrevMon:
if_user_order_eq MON_1, AI_CBM_DependsOnPrevMon_1stUp
if_user_order_eq MON_2, AI_CBM_DependsOnPrevMon_2ndUp
if_user_order_eq MON_3, AI_CBM_DependsOnPrevMon_3rdUp
if_user_order_eq MON_4, AI_CBM_DependsOnPrevMon_Last
end
AI_CBM_DependsOnPrevMon_1stUp:
score -10
end
AI_CBM_DependsOnPrevMon_2ndUp:
if_can_participate MON_1, AI_CBM_End
score -10
end
AI_CBM_DependsOnPrevMon_3rdUp:
if_can_participate MON_2, AI_CBM_End
score -10
end
AI_CBM_DependsOnPrevMon_Last:
if_can_participate MON_3, AI_CBM_End
score -10
end
@ If previous mons are all skipping turns (or user is first), discourage move
AI_CBM_DependsOnPrevMons:
if_user_order_eq MON_1, AI_CBM_DependsOnPrevMons_1stUp
if_user_order_eq MON_2, AI_CBM_DependsOnPrevMons_2ndUp
if_user_order_eq MON_3, AI_CBM_DependsOnPrevMons_3rdUp
if_user_order_eq MON_4, AI_CBM_DependsOnPrevMons_Last
end
AI_CBM_DependsOnPrevMons_1stUp:
score -20
end
AI_CBM_DependsOnPrevMons_2ndUp:
if_can_participate MON_1, AI_CBM_End
score -15
end
AI_CBM_DependsOnPrevMons_3rdUp:
if_can_participate MON_1, AI_CBM_End
if_can_participate MON_2, AI_CBM_End
score -15
end
AI_CBM_DependsOnPrevMons_Last:
if_can_participate MON_1, AI_CBM_End
if_can_participate MON_2, AI_CBM_End
if_can_participate MON_3, AI_CBM_End
score -15
end
@ If next mon is skipping turn (or user is last), discourage move
AI_CBM_DependsOnNextMon:
if_user_order_eq MON_1, AI_CBM_DependsOnNextMon_1stUp
if_user_order_eq MON_2, AI_CBM_DependsOnNextMon_2ndUp
if_user_order_eq MON_3, AI_CBM_DependsOnNextMon_3rdUp
score -10
end
AI_CBM_DependsOnNextMon_1stUp:
if_can_participate MON_2, AI_CBM_End
score -10
end
AI_CBM_DependsOnNextMon_2ndUp:
if_can_participate MON_3, AI_CBM_End
score -10
end
AI_CBM_DependsOnNextMon_3rdUp:
if_can_participate MON_4, AI_CBM_End
score -10
end
@ If next mons are all skipping turns (or user is last), discourage move
AI_CBM_DependsOnNextMons:
if_user_order_eq MON_1, AI_CBM_DependsOnNextMons_1stUp
if_user_order_eq MON_2, AI_CBM_DependsOnNextMons_2ndUp
if_user_order_eq MON_3, AI_CBM_DependsOnNextMons_3rdUp
score -10
end
AI_CBM_DependsOnNextMons_1stUp:
if_can_participate MON_2, AI_CBM_End
if_can_participate MON_3, AI_CBM_End
if_can_participate MON_4, AI_CBM_End
score -10
end
AI_CBM_DependsOnNextMons_2ndUp:
if_can_participate MON_3, AI_CBM_End
if_can_participate MON_4, AI_CBM_End
score -10
end
AI_CBM_DependsOnNextMons_3rdUp:
if_can_participate MON_4, AI_CBM_End
score -10
end
@ If at max condition, discourage move
AI_CBM_ImproveCondition:
if_user_condition_less_than 3, AI_CBM_End
score -20
end
@ If there are no upcoming mons who can make an appeal (or if user is last), discourage move
@ Identical to AI_CBM_DependsOnNextMons
AI_CBM_AvoidStartle:
if_user_order_eq MON_1, AI_CBM_AvoidStartle_1stUp
if_user_order_eq MON_2, AI_CBM_AvoidStartle_2ndUp
if_user_order_eq MON_3, AI_CBM_AvoidStartle_3rdUp
score -10
end
AI_CBM_AvoidStartle_1stUp:
if_can_participate MON_2, AI_CBM_End
if_can_participate MON_3, AI_CBM_End
if_can_participate MON_4, AI_CBM_End
score -10
end
AI_CBM_AvoidStartle_2ndUp:
if_can_participate MON_3, AI_CBM_End
if_can_participate MON_4, AI_CBM_End
score -10
end
AI_CBM_AvoidStartle_3rdUp:
if_can_participate MON_4, AI_CBM_End
score -10
end
@ Very good if its the last appeal, otherwise discourage move
AI_CBM_NoMoreMoves:
if_appeal_num_eq 0, AI_CBM_NoMoreMoves_1stAppeal
if_appeal_num_eq 1, AI_CBM_NoMoreMoves_2ndAppeal
if_appeal_num_eq 2, AI_CBM_NoMoreMoves_3rdAppeal
if_appeal_num_eq 3, AI_CBM_NoMoreMoves_4thAppeal
if_last_appeal AI_CBM_NoMoreMoves_LastAppeal
end
AI_CBM_NoMoreMoves_1stAppeal:
if_random_less_than 20, AI_CBM_End
score -15
end
AI_CBM_NoMoreMoves_2ndAppeal:
if_random_less_than 40, AI_CBM_End
score -15
end
AI_CBM_NoMoreMoves_3rdAppeal:
if_random_less_than 60, AI_CBM_End
score -15
end
AI_CBM_NoMoreMoves_4thAppeal:
if_random_less_than 80, AI_CBM_End
score -15
end
AI_CBM_NoMoreMoves_LastAppeal:
if_random_less_than 20, AI_CBM_End
score +20
end
AI_CBM_End:
end
@ Encourages/discourages move affected by the move order
@ e.g. use BETTER_IF_FIRST moves if user is first, dont use AVOID_STARTLE moves if last
AI_CheckOrder:
if_user_order_eq MON_1, AI_CheckOrder_1stUp
if_user_order_eq MON_2, AI_CheckOrder_2ndUp
if_user_order_eq MON_3, AI_CheckOrder_3rdUp
if_user_order_eq MON_4, AI_CheckOrder_Last
end
AI_CheckOrder_1stUp:
if_effect_eq CONTEST_EFFECT_BETTER_IF_FIRST, AI_CheckOrder_1stUp_Encourage
if_effect_eq CONTEST_EFFECT_BETTER_WHEN_LATER, AI_CheckOrder_1stUp_Discourage
if_effect_type_eq CONTEST_EFFECT_TYPE_AVOID_STARTLE, AI_CheckOrder_1stUp_RandomEncourage
end
AI_CheckOrder_1stUp_Encourage:
score +15
end
AI_CheckOrder_1stUp_Discourage:
score -15
end
AI_CheckOrder_1stUp_RandomEncourage:
if_random_less_than 100, AI_CBM_End
score +10
end
AI_CheckOrder_2ndUp:
if_effect_eq CONTEST_EFFECT_BETTER_WHEN_LATER, AI_CheckOrder_2ndUp_Discourage
if_effect_type_eq CONTEST_EFFECT_TYPE_AVOID_STARTLE, AI_CheckOrder_2ndUp_RandomEncourage
end
AI_CheckOrder_2ndUp_Discourage:
score -5
end
AI_CheckOrder_2ndUp_RandomEncourage:
if_random_less_than 125, AI_CBM_End
score +10
end
AI_CheckOrder_3rdUp:
if_effect_eq CONTEST_EFFECT_BETTER_WHEN_LATER, AI_CheckOrder_3rdUp_Encourage
if_effect_eq CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONES, AI_CheckOrder_3rdUp_Encourage
if_effect_eq CONTEST_EFFECT_USER_MORE_EASILY_STARTLED, AI_CheckOrder_3rdUp_Encourage
end
AI_CheckOrder_3rdUp_Encourage:
score +5
end
AI_CheckOrder_Last:
if_effect_eq CONTEST_EFFECT_BETTER_WHEN_LATER, AI_CheckOrder_Last_StronglyEncourage
if_effect_eq CONTEST_EFFECT_BETTER_IF_LAST, AI_CheckOrder_Last_StronglyEncourage
if_effect_eq CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONES, AI_CheckOrder_Last_StronglyEncourage
if_effect_eq CONTEST_EFFECT_USER_MORE_EASILY_STARTLED, AI_CheckOrder_Last_StronglyEncourage
if_effect_eq CONTEST_EFFECT_JAMS_OTHERS_BUT_MISS_ONE_TURN, AI_CheckOrder_Last_Encourage
if_effect_type_eq CONTEST_EFFECT_TYPE_AVOID_STARTLE, AI_CheckOrder_Last_Discourage
if_effect_type_eq CONTEST_EFFECT_TYPE_STARTLE_MONS, AI_CheckOrder_Last_RandomEncourage
end
AI_CheckOrder_Last_StronglyEncourage:
score +15
end
AI_CheckOrder_Last_Discourage:
score -10
end
AI_CheckOrder_Last_RandomEncourage:
if_random_less_than 125, AI_CBM_End
score +10
end
AI_CheckOrder_Last_Encourage:
score +5
end
AI_Nothing:
end
+1059
View File
File diff suppressed because it is too large Load Diff
+345
View File
@@ -0,0 +1,345 @@
.include "asm/macros.inc"
.include "constants/constants.inc"
.section script_data, "aw", %progbits
.align 2
gFieldEffectScriptPointers::
.4byte gFieldEffectScript_ExclamationMarkIcon1 @ FLDEFF_EXCLAMATION_MARK_ICON
.4byte gFieldEffectScript_UseCutOnTallGrass @ FLDEFF_USE_CUT_ON_GRASS
.4byte gFieldEffectScript_UseCutOnTree @ FLDEFF_USE_CUT_ON_TREE
.4byte gFieldEffectScript_Shadow @ FLDEFF_SHADOW
.4byte gFieldEffectScript_TallGrass @ FLDEFF_TALL_GRASS
.4byte gFieldEffectScript_Ripple @ FLDEFF_RIPPLE
.4byte gFieldEffectScript_FieldMoveShowMon @ FLDEFF_FIELD_MOVE_SHOW_MON
.4byte gFieldEffectScript_Ash @ FLDEFF_ASH
.4byte gFieldEffectScript_SurfBlob @ FLDEFF_SURF_BLOB
.4byte gFieldEffectScript_UseSurf @ FLDEFF_USE_SURF
.4byte gFieldEffectScript_GroundImpactDust @ FLDEFF_DUST
.4byte gFieldEffectScript_UseSecretPowerCave @ FLDEFF_USE_SECRET_POWER_CAVE
.4byte gFieldEffectScript_JumpTallGrass @ FLDEFF_JUMP_TALL_GRASS
.4byte gFieldEffectScript_SandFootprints @ FLDEFF_SAND_FOOTPRINTS
.4byte gFieldEffectScript_JumpBigSplash @ FLDEFF_JUMP_BIG_SPLASH
.4byte gFieldEffectScript_Splash @ FLDEFF_SPLASH
.4byte gFieldEffectScript_JumpSmallSplash @ FLDEFF_JUMP_SMALL_SPLASH
.4byte gFieldEffectScript_LongGrass @ FLDEFF_LONG_GRASS
.4byte gFieldEffectScript_JumpLongGrass @ FLDEFF_JUMP_LONG_GRASS
.4byte gFieldEffectScript_UnusedGrass @ FLDEFF_UNUSED_GRASS
.4byte gFieldEffectScript_UnusedGrass2 @ FLDEFF_UNUSED_GRASS_2
.4byte gFieldEffectScript_UnusedSand @ FLDEFF_UNUSED_SAND
.4byte gFieldEffectScript_WaterSurfacing @ FLDEFF_WATER_SURFACING
.4byte gFieldEffectScript_BerryTreeGrowthSparkle @ FLDEFF_BERRY_TREE_GROWTH_SPARKLE
.4byte gFieldEffectScript_DeepSandFootprints @ FLDEFF_DEEP_SAND_FOOTPRINTS
.4byte gFieldEffectScript_PokeCenterHeal @ FLDEFF_POKECENTER_HEAL
.4byte gFieldEffectScript_UseSecretPowerTree @ FLDEFF_USE_SECRET_POWER_TREE
.4byte gFieldEffectScript_UseSecretPowerShrub @ FLDEFF_USE_SECRET_POWER_SHRUB
.4byte gFieldEffectScript_TreeDisguise @ FLDEFF_TREE_DISGUISE
.4byte gFieldEffectScript_MountainDisguise @ FLDEFF_MOUNTAIN_DISGUISE
.4byte gFieldEffectScript_NPCUseFly @ FLDEFF_NPCFLY_OUT
.4byte gFieldEffectScript_UseFly @ FLDEFF_USE_FLY
.4byte gFieldEffectScript_FlyIn @ FLDEFF_FLY_IN
.4byte gFieldEffectScript_QuestionMarkIcon @ FLDEFF_QUESTION_MARK_ICON
.4byte gFieldEffectScript_FeetInFlowingWater @ FLDEFF_FEET_IN_FLOWING_WATER
.4byte gFieldEffectScript_BikeTireTracks @ FLDEFF_BIKE_TIRE_TRACKS
.4byte gFieldEffectScript_SandDisguisePlaceholder @ FLDEFF_SAND_DISGUISE
.4byte gFieldEffectScript_UseRockSmash @ FLDEFF_USE_ROCK_SMASH
.4byte gFieldEffectScript_UseDig @ FLDEFF_USE_DIG
.4byte gFieldEffectScript_SandPile @ FLDEFF_SAND_PILE
.4byte gFieldEffectScript_UseStrength @ FLDEFF_USE_STRENGTH
.4byte gFieldEffectScript_ShortGrass @ FLDEFF_SHORT_GRASS
.4byte gFieldEffectScript_HotSpringsWater @ FLDEFF_HOT_SPRINGS_WATER
.4byte gFieldEffectScript_UseWaterfall @ FLDEFF_USE_WATERFALL
.4byte gFieldEffectScript_UseDive @ FLDEFF_USE_DIVE
.4byte gFieldEffectScript_PokeballTrail @ FLDEFF_POKEBALL_TRAIL
.4byte gFieldEffectScript_HeartIcon @ FLDEFF_HEART_ICON
.4byte gFieldEffectScript_Nop47 @ FLDEFF_NOP_47
.4byte gFieldEffectScript_Nop48 @ FLDEFF_NOP_48
.4byte gFieldEffectScript_AshPuff @ FLDEFF_ASH_PUFF
.4byte gFieldEffectScript_AshLaunch @ FLDEFF_ASH_LAUNCH
.4byte gFieldEffectScript_SweetScent @ FLDEFF_SWEET_SCENT
.4byte gFieldEffectScript_SandPillar @ FLDEFF_SAND_PILLAR
.4byte gFieldEffectScript_Bubbles @ FLDEFF_BUBBLES
.4byte gFieldEffectScript_Sparkle @ FLDEFF_SPARKLE
.4byte gFieldEffectScript_ShowSecretPowerCave @ FLDEFF_SECRET_POWER_CAVE
.4byte gFieldEffectScript_ShowSecretPowerTree @ FLDEFF_SECRET_POWER_TREE
.4byte gFieldEffectScript_ShowSecretPowerShrub @ FLDEFF_SECRET_POWER_SHRUB
.4byte gFieldEffectScript_ShowCutGrass @ FLDEFF_CUT_GRASS
.4byte gFieldEffectScript_FieldMoveShowMonInit @ FLDEFF_FIELD_MOVE_SHOW_MON_INIT
.4byte gFieldEffectScript_UsePuzzleEffect @ FLDEFF_USE_TOMB_PUZZLE_EFFECT
.4byte gFieldEffectScript_SecretBaseBootPC @ FLDEFF_PCTURN_ON
.4byte gFieldEffectScript_HallOfFameRecord @ FLDEFF_HALL_OF_FAME_RECORD
.4byte gFieldEffectScript_UseTeleport @ FLDEFF_USE_TELEPORT
.4byte gFieldEffectScript_RayquazaSpotlight @ FLDEFF_RAYQUAZA_SPOTLIGHT
.4byte gFieldEffectScript_DestroyDeoxysRock @ FLDEFF_DESTROY_DEOXYS_ROCK
.4byte gFieldEffectScript_MoveDeoxysRock @ FLDEFF_MOVE_DEOXYS_ROCK
gFieldEffectScript_ExclamationMarkIcon1::
field_eff_callnative FldEff_ExclamationMarkIcon
field_eff_end
gFieldEffectScript_UseCutOnTallGrass::
field_eff_callnative FldEff_UseCutOnGrass
field_eff_end
gFieldEffectScript_UseCutOnTree::
field_eff_callnative FldEff_UseCutOnTree
field_eff_end
gFieldEffectScript_Shadow::
field_eff_callnative FldEff_Shadow
field_eff_end
gFieldEffectScript_TallGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_TallGrass
field_eff_end
gFieldEffectScript_Ripple::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Ripple
field_eff_end
gFieldEffectScript_FieldMoveShowMon::
field_eff_callnative FldEff_FieldMoveShowMon
field_eff_end
gFieldEffectScript_Ash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Ash
field_eff_end
gFieldEffectScript_SurfBlob::
field_eff_callnative FldEff_SurfBlob
field_eff_end
gFieldEffectScript_UseSurf::
field_eff_callnative FldEff_UseSurf
field_eff_end
gFieldEffectScript_GroundImpactDust::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Dust
field_eff_end
gFieldEffectScript_UseSecretPowerCave::
field_eff_callnative FldEff_UseSecretPowerCave
field_eff_end
gFieldEffectScript_JumpTallGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_JumpTallGrass
field_eff_end
gFieldEffectScript_SandFootprints::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_SandFootprints
field_eff_end
gFieldEffectScript_JumpBigSplash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_JumpBigSplash
field_eff_end
gFieldEffectScript_Splash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Splash
field_eff_end
gFieldEffectScript_JumpSmallSplash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_JumpSmallSplash
field_eff_end
gFieldEffectScript_LongGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_LongGrass
field_eff_end
gFieldEffectScript_JumpLongGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_JumpLongGrass
field_eff_end
gFieldEffectScript_UnusedGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_UnusedGrass
field_eff_end
gFieldEffectScript_UnusedGrass2::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_UnusedGrass2
field_eff_end
gFieldEffectScript_UnusedSand::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_UnusedSand
field_eff_end
gFieldEffectScript_WaterSurfacing::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_WaterSurfacing
field_eff_end
gFieldEffectScript_BerryTreeGrowthSparkle::
field_eff_callnative FldEff_BerryTreeGrowthSparkle
field_eff_end
gFieldEffectScript_DeepSandFootprints::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_DeepSandFootprints
field_eff_end
gFieldEffectScript_PokeCenterHeal::
field_eff_loadfadedpal gSpritePalette_PokeballGlow
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_PokecenterHeal
field_eff_end
gFieldEffectScript_UseSecretPowerTree::
field_eff_callnative FldEff_UseSecretPowerTree
field_eff_end
gFieldEffectScript_UseSecretPowerShrub::
field_eff_callnative FldEff_UseSecretPowerShrub
field_eff_end
gFieldEffectScript_TreeDisguise::
field_eff_callnative ShowTreeDisguiseFieldEffect
field_eff_end
gFieldEffectScript_MountainDisguise::
field_eff_callnative ShowMountainDisguiseFieldEffect
field_eff_end
gFieldEffectScript_NPCUseFly::
field_eff_callnative FldEff_NPCFlyOut
field_eff_end
gFieldEffectScript_UseFly::
field_eff_callnative FldEff_UseFly
field_eff_end
gFieldEffectScript_FlyIn::
field_eff_callnative FldEff_FlyIn
field_eff_end
gFieldEffectScript_QuestionMarkIcon::
field_eff_callnative FldEff_QuestionMarkIcon
field_eff_end
gFieldEffectScript_FeetInFlowingWater::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_FeetInFlowingWater
field_eff_end
gFieldEffectScript_BikeTireTracks::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_BikeTireTracks
field_eff_end
gFieldEffectScript_SandDisguisePlaceholder::
field_eff_callnative ShowSandDisguiseFieldEffect
field_eff_end
gFieldEffectScript_UseRockSmash::
field_eff_callnative FldEff_UseRockSmash
field_eff_end
gFieldEffectScript_UseStrength::
field_eff_callnative FldEff_UseStrength
field_eff_end
gFieldEffectScript_UseDig::
field_eff_callnative FldEff_UseDig
field_eff_end
gFieldEffectScript_SandPile::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_SandPile
field_eff_end
gFieldEffectScript_ShortGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_ShortGrass
field_eff_end
gFieldEffectScript_HotSpringsWater::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_HotSpringsWater
field_eff_end
gFieldEffectScript_UseWaterfall::
field_eff_callnative FldEff_UseWaterfall
field_eff_end
gFieldEffectScript_UseDive::
field_eff_callnative FldEff_UseDive
field_eff_end
gFieldEffectScript_PokeballTrail::
field_eff_loadpal gSpritePalette_Pokeball
field_eff_callnative FldEff_PokeballTrail
field_eff_end
gFieldEffectScript_HeartIcon::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_HeartIcon
field_eff_end
gFieldEffectScript_Nop47::
field_eff_callnative FldEff_Nop47
field_eff_end
gFieldEffectScript_Nop48::
field_eff_callnative FldEff_Nop48
field_eff_end
gFieldEffectScript_AshPuff::
field_eff_loadfadedpal_callnative gSpritePalette_Ash, FldEff_AshPuff
field_eff_end
gFieldEffectScript_AshLaunch::
field_eff_loadfadedpal_callnative gSpritePalette_Ash, FldEff_AshLaunch
field_eff_end
gFieldEffectScript_SweetScent::
field_eff_callnative FldEff_SweetScent
field_eff_end
gFieldEffectScript_SandPillar::
field_eff_loadfadedpal_callnative gSpritePalette_SandPillar, FldEff_SandPillar
field_eff_end
gFieldEffectScript_Bubbles::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Bubbles
field_eff_end
gFieldEffectScript_Sparkle::
field_eff_loadfadedpal_callnative gSpritePalette_SmallSparkle, FldEff_Sparkle
field_eff_end
gFieldEffectScript_ShowSecretPowerCave::
field_eff_loadfadedpal_callnative gSpritePalette_SecretPower_Cave, FldEff_SecretPowerCave
field_eff_end
gFieldEffectScript_ShowSecretPowerTree::
field_eff_loadfadedpal_callnative gSpritePalette_SecretPower_Plant, FldEff_SecretPowerTree
field_eff_end
gFieldEffectScript_ShowSecretPowerShrub::
field_eff_loadfadedpal_callnative gSpritePalette_SecretPower_Plant, FldEff_SecretPowerShrub
field_eff_end
gFieldEffectScript_ShowCutGrass::
field_eff_loadfadedpal_callnative gSpritePalette_CutGrass, FldEff_CutGrass
field_eff_end
gFieldEffectScript_FieldMoveShowMonInit::
field_eff_callnative FldEff_FieldMoveShowMonInit
field_eff_end
gFieldEffectScript_UsePuzzleEffect::
field_eff_callnative FldEff_UsePuzzleEffect
field_eff_end
gFieldEffectScript_SecretBaseBootPC::
field_eff_callnative FldEff_SecretBasePCTurnOn
field_eff_end
gFieldEffectScript_HallOfFameRecord::
field_eff_loadfadedpal gSpritePalette_PokeballGlow
field_eff_loadfadedpal_callnative gSpritePalette_HofMonitor, FldEff_HallOfFameRecord
field_eff_end
gFieldEffectScript_UseTeleport::
field_eff_callnative FldEff_UseTeleport
field_eff_end
gFieldEffectScript_RayquazaSpotlight::
field_eff_callnative FldEff_RayquazaSpotlight
field_eff_end
gFieldEffectScript_DestroyDeoxysRock::
field_eff_callnative FldEff_DestroyDeoxysRock
field_eff_end
gFieldEffectScript_MoveDeoxysRock::
field_eff_callnative FldEff_MoveDeoxysRock
field_eff_end
+2
View File
@@ -0,0 +1,2 @@
layouts.inc
layouts_table.inc
@@ -0,0 +1 @@

Binary file not shown.
@@ -0,0 +1 @@

@@ -0,0 +1,3 @@
    22222
2 662222222
2 6222222222222222226201222220111122222012222201111222220122222011112222201222220111122262%#&2222%$"#&2222-+6.2222-2,*+6.262222222222222222222222222222222222
@@ -0,0 +1 @@

@@ -0,0 +1 @@
!!011112!!011)011112)0112011112201122%#$"&22%#$22-+6,*2.22-+6,22222222222222222222222226222222222222262220111111122222011111112
@@ -0,0 +1 @@
pppp
+1
View File
@@ -0,0 +1 @@
(((`(`(((((b`(((((((((((`(''`(eif(b`((¡(((((((`('/`(((((b`('¡(¡(ef(`(/'hiiiiij`(''¡('¡((((`(*/ÉÉÉÃÄÅ`(//¡(/¡((((`(È* ]]]ËÌ2Íhiiiiiiii(((`(((33È*2*2¾2*2¿2ÉÉÉÉÉÉÉÉef(hiiiiif(2(2ei ÌÍÌÍÌÍÌÍ(((ÉÉÉÃÄů0Ï0ÃijÉÉÉÉÉÉÉÉ((( ]]]ËÌ2ͯ0Ï0ËÌ2Í]]]]]]]](((33*2*2Ⱦ2*2¿2*2Ⱦ2*2¿2È*2*2*2*2*2*2*2((((È((È(2(2(2(2È(2(2(2È(2È(2(2(2(2iiiiiiiiiiiif(2(2eiiiiiiiÉÉÉÉÉÉÉÉÉÉÉɯ0Ï0ÉÉÉÉÉÉÉËËËËËËËËËËËË ¯0Ï0 ËËËËËËËÊÊÊÊÊÊÊÊÊÊÊÊ Î2Ï2 ÊÊÊÊÊÊÊžžžžžžžžžžžž4žž4žžžžžžžžžžžžžžžžžžžžžžžžžžžžžž£žžžžžžžžžžžžžžžžžžžžžž½¾¾¾¾¾¾¾£žžžžžžžžžžžžžžpppppppp½¾¾¾¾¾¾¾¾¾¾¾¾¾¾
@@ -0,0 +1 @@

@@ -0,0 +1 @@
 ¨  ©¨ ±°°±±°2222222222222­622422222242222220111111122¬6­6201111111222220111111122222%#$"#$"#&22‰-36,*36,*+6.22Vš2222222222GVx2222222222
@@ -0,0 +1 @@

@@ -0,0 +1 @@
6''''c'''''76'''''¯'''''76'''''c'''''7>////—6ž/////?>/////·2ž/////GF/////—6ž/////?>h;2;2;2;2;2;2;2;2;2;2;2?>:2;2;2665;2™6š6;2;2;2;2ON:2;2;2;2;2;2;2g2;2;2™6š6;2?>=28282828282a282828282ª6?>«682a2^6_682b 6¢682828282;2;2<28282b6828282828282 6¢682?>=282V6W68282828282a28282?>=28282`2828282828282828282?>=282828282`282828282828282?>«682^6_6828282828282`282?>=2`2828282828282828282a282?>«682V6W682828282b6828282a2?>=28282828282828282828282?>=2828282828282828282828282?>=282^6_6828282a282828282ª6?6''''''''''''76'''''''''''''76'''''''''''''7>////////////?>/////////////?>/////////////?>:2g2;2;2;2;25;2;2;2;2;2?>:2;2;2;2;2;2;2;2;2;2;2;2;2?>:2;2;2g2;2;2;2;2;2;2™6š6;2?>=282828282a2828282V6W682?>=28282828282`2828282b682ª6?>«682828282V6W6828282 6¢682?>=28282828282828282^6_682?>=28282a2`28282828282828282?>=282828282^6_68282a2828282?>«682`2828282828282828282?>=2V6W682828282828282828282?>=28282828282828282828282ª6?>=282828282d2e282828282ª6?>=2^6_6828282d2e2828282a282?>=2`282b68282d2e282828282a2?
@@ -0,0 +1 @@

@@ -0,0 +1 @@
6'''''''7>///////?>:2;2;2;2;2;2;2?>=282a282828282?>=2`28282828282?>=282828282a282?>=2828282828282?>=28282d2e282b?
@@ -0,0 +1 @@

@@ -0,0 +1 @@
6@kc''7>Hs—6ž//?>PQ:2;2;2;2;2?>XY=282828282?>2;2<28282a282?>=2828282828282?>=282b82a28282?>=2828282828282?=26'''=2'''7>///=2///?>:2;2;2<2;2;2;2?>=2828282828282?>=2VW82a28282?>=2^_a2828282?>=2828282828282?>=28282d2e28282?
@@ -0,0 +1 @@

@@ -0,0 +1 @@
6@AB''''76@AB'CDE7>HIJ////?>HIJ/KLM?>PQ:2;2;2;2;2GFPQ:2;2;2TU?>XY=282VWª6ONXY=28282\]?>:2;2<282^_82;2;2;2;2f28282;2;2?>=2828282828282?>=28282828282ª6?>«6828282828282?>«682828282`282?>=28282d2e282b?>=28282d2e28282?
@@ -0,0 +1 @@

@@ -0,0 +1 @@
6''c''76@kc''7>//—6ž//?>Hs—6ž//?>:2;2;2;2;2;2;2?>PQ:2;2;2;2;2?>=2828282828282?>XY=2828282ª6?>«682828282a282?>:2;2<282828282?>=2828282828282?>=2828282`28282?>=2b8282828282?>«6828282828282?>=2828282a28282?>=2828282828282?=26@AB'''E76'''=2CDE7>HIJ////?>///=2KLM?>PQ:2;2;2;2;2GF:2;2;2<2;2TU?>XY=282`28282ON=282828282\]?>:2;2<2b828282;2;2<282828282;2;2?>=2828282828282?>=2VW828282ª6?>=2a28282828282?>=2^_82828282?>«68282d2e28282?>=28282d2e28282?
@@ -0,0 +1 @@

@@ -0,0 +1 @@
6@kŻmE@kc''@kŻmE7>Hsť·2žuMHsť—6ž//Hsť·2žuM?>PQ:2;2;2TUPQ:2;2;2;2;2PQ:2;2;2TU?>XY=28282\]XY=28282a282XY=2a282\]?>:2;2<2a282;2;2:2;2<2828282Ş6:2;2<28282;2;2?>=2VW828282Ş6=2€82=28282a2828282?>=2^_82`28282=2pVp82=2`2828282b82?>«6828282828282=2VGV82=28282828282Ş6?
@@ -0,0 +1 @@

@@ -0,0 +1 @@
мнлнлнмнувтжтжужо2о2о2о2о2о2п2я2о2Ь2р2с2и2и2о2о2Ь2и2и2и2и2и2и2о2Ь2и2и2и2р2с2и2о2З2и2и2и2и2и2и2п2В2О2и2й2к2и2Ы2о2
@@ -0,0 +1 @@

@@ -0,0 +1 @@
ΜΞΨΩΪΞΝΞΜΞΝΞΜΞΜΞΝΞΝΞΜΤΦΫά2έΦΥΦΤΦΥΧΤΧΤΦΥΧΥΦΤΟ2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Π2Ρ2Ο2Ο2Ο2ψ2Ι22Σ2Ι2Ρ2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2ψ2Ι2Ι2Ι2Ι2Ι2Ο2Ο2Ο2Ο2Ο2Ο2Π2Ρ2Ο2Ο2Ο2Ο2Ο2Ο2ψ2Ι2Ι2Ι2Ι2Ι2Ι2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2χ2ο2Ι2Ι2Ι2Ι22Π2Ρ2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Ο2Π2Ρ2χ2ο2Ι2Ι2Ι2Ι2
+1
View File
@@ -0,0 +1 @@

+1
View File
@@ -0,0 +1 @@
f222f222ff6662222226662222226662f2222222222222######"f22222222#######"2222222 !B!B!B!B!B!B"P22222222BBBBBBP22˜2™2™2š2222222fP222BBBBBB22˜2¡2¡2¡2¢22222ffPf2BBBBBB22 2¡2¡2¡2¡2š2222222222BBBBB22 2¡2¡2¡2¡2¢2222222222222¨2¡2¡2¡2¡2¢222f2222222222222222f22¨2©2©2©2ª22222Pf22222222222222222P2222222222f22222222222222222####"22222222222222222 ##################"22222222666666222222226666662222222 #666666###"2<22#XYZ##
+1
View File
@@ -0,0 +1 @@

Binary file not shown.
+1
View File
@@ -0,0 +1 @@

+55
View File
@@ -0,0 +1,55 @@
STSTÃÄÅ [\21$#![\0!21!!ËÌ2Í"
cd:292)2)2)2cd82)2:292)2)2Æ2)2Ç2)2'

!!! k2l2¡2(2(2(2(2k2l2¡2(2(2(2(2(2(2(2(2(27

2)2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2)2

'//¡2(2(2]iiiiiiiiii^™2(2(2(2(2(2

/'/¡2(2(2`q1q1q1q1q1q1q1q1q1q1¤¡2(2(2(2(2(2

'/±2©2(2(2`q1p1p1p1p1p1p1p1p1q1¤¡2(2(2(2(2(2

/±2©2(2(2(2hiiiiiiiiii¬¡2(2(2(2(2

)2©2(2(2(2(2*2*2*2*2*2*2*2*2*2*2*2*2©2(2(2(2(2'

)2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2/

)2(2(2]iiiiiif(2(2eiiiiii^™2(2'

)2(2(2`t||||||¯0Ï0||||||¤¡2(2/

)2(2(2`us¤¡2(2*2

)2(2(2`upppppppppppps¤¡2(2(2

Š2ƒ2(2`upppppppppppps¤¡2(2(2

ˆ¡2ªuppppppppppppsy¡2(2(2

¡2*­BBBBtppppprBBBBB*©2(2(2

)2*2©2((BBBBuypppxsBBBBB((22ƒ2

)2(2(2t|||}ppp{||||™2ˆ

)2(2(2`u˜pppšs¤¡2

)2(2(2`upppppppppppps¤¡2*2*2

Š2ƒ2(2`upppppppppppps¤¡2(2(2

ˆ¡2`upppppppppppps¤¡22ƒ2

¡2ªuppppppppppppsy¡2ˆ

)2*2©2*­BBBBBtppprBBBBBB*©2

)2(2(2((BBBBBuypxsB(B(B(B(B(B((2*2*2

mmmmmmmmougsnmmmmmmmmm

qqqqqqqqu¿ÈÉʾsqqqqqqqqq
¿llllllll¿lllll¾lllllllll¾
+1
View File
@@ -0,0 +1 @@

+83
View File
@@ -0,0 +1,83 @@
àààÃÄÅààÃÄÅààààààà³´µààààààààààà 01!ËÌ2Í
11ËÌ2Í!ØÙØÙ
!!»¼2½!!

ØÙ!!!ØÙØÙ
àÃÄÅST8292)2Æ2)2Ç2
9292Æ2)2Ç2)2ÚÛÚÛ
')2Æ2)2Ç2)2'

ÚÛ)2)2)2ÚÛÚÛ

!ËÌ2Í[\ )2(2(2(2(2(2
)2(2(2(2(2(2ÜÝ7ÚÛ
/¡2(2(2(2(2/

ÜÝ7¡2(2ß2ÜÝ7ÚÛ

)2Æ2)2Ç2cd2)2(2(2(2(2(2
)2(2(2(2(2ß2*2*2ÜÝ7
)2ß2(2(2(2ß2(2

)2*2©2(2(2*2*2ÜÝ7

)2(2(2(2k2l2¡2(2(2(2(2(2(2  2Y2Y2Y2Y2Y2Y2Y2Y2Y2  2Y2Y2Y2Y2Y2Y2 
)2ß2(2(2ß2(2(2ß2(2

)2(2(2(22A2B2222(2(2(2ààÕÔÕàààààààà+,-.
iiiiiii^

)2(2(2(2IJ222(2(2(2
ãã$#$!!!
0013456

`®2§2§2§2§2§2§2¦

)2(2(2(2222A2B22(2(2(2
êêæ3ó7ô7æõCæ66
828292;<=>

hiiiiiii¬

)2(2(2(2222IJ(2(2(2
3€3å3Ã7Å7åýCå3å3å3
)263(2CDEF

)2ß2(2(2ß2(2(2ß2(2

)2(2(2(2222222(2(2(2
3€3å3û3ü3åúå3ß2å3
)2(2(2KLMN

iiiiiii^
  2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2 î3í3í3í3í3í3í3í3í3í3 )2(2(2(2UV)2

`®2§2§2§2§2§2§2¦
ààààààààààààààààààààààà)2ß2(2(2(2(2(2

hiiiiiii¬

!!!!!!!!!!!!! !!!!!!!!!!  2Y2Y2Y2Y2Y2Y2 
)2ß2(2(2ß2(2(2ß2(2

)2)2)2)2)2)2)2)2)2)2)2)2)22)222222222à3ààààààà
iiiiiii^

)2(2ß2(2(2(2(2(2(2(2(2(2(2(2(2é3  22ñá7 !!!!!!!

`®2§2§2§2§2§2§2¦

iiiiiiiiiiiii^è22ùèD322222)2)2

hiiiiiii¬

`®2§2§2§2§2§2§2§2§2§2§2§2§2¦222222222222222(2(2

)2ß2(2(2ß2(2(2ß2(2

`¯2O1O1O1O1O1O1O1O1O1O1O1O1¤2A2B2222A2B2é3é322222(2(2
  2Y2Y2Y2Y2Y2Y2Y2Y2 
hiiiiiiiiiiiii¬2IJ222IJèè22222(2ß2
ààààààààà
)2*2ß2*2*2*2*2*2*2*2*2*2*2*2*2222222222222222(2(2
 !!!!!!!!!   2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2 àààààààààààààààààààààààààààààààà !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
+1
View File
@@ -0,0 +1 @@

+51
View File
@@ -0,0 +1,51 @@
ST³´µ³´µ+,-.+,-.222 [\01»¼2½
!!»¼2½3456!!3456!!!
à³´µàcd8292Æ2)2Ç2
)2)2Æ2)2Ç2;<=>)2)2;<=>)2)2)2

!»¼2½!
k2l2¡2(2(2(2(2
)2(2(2(2(2CDEF¡2(2CDEF¡2(2(2

)2Æ2)2Ç2)2
)2(2(2(2(2(2(2
)2(2(2(2(2KLMN¡2(2KLMN¡2(2(2

)2(2(2(2(2
)2(2(22A2B22
)2(2(2(2(2(2UV¡2(2(2(2UV¡2(2(2(2

)2(2(2
)2(2(22IJ
)2(22ƒ2(2(2*2*2©2(2(2(2*2*2©2(2(2(2

)2//(2
)2(2(22222
)2(2ˆ¡2(22ƒ2(2(22ƒ2(22ƒ2(2(2(2

)277/ß2
)2ß2(22222
)2(2¡20ˆ¡2(2ˆ2ˆ¡2ß2(2
  2Y2Y2Y2Y2  2Y2Y2Y2Y2Y2Y2 )2(2*2*2©282¡2(2:2¡2(2(2
àààààààààààà)2(2(2(2(2(2*2*2©2(2*2*2©2*2*2©2(2(2

!!!!! 012!!!!
)2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2

)2)2)2)2)228292:2)2)2)2)2
)2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2 
)2(2(2(2(2(2(2(2(2(2(2ß2(2 )2(2(2ß2(2(2(2'2Y2Y2Y2Y2Y2Y2Y2Y2
)2(2(2(2(2(2(2(2(2(2(2(2(2)2(2(2(2(2(2'/àààààààà

Žiiiiiiiiiiif )2(2(2(2(2(2/// !!!!!!!!

iiiiiii^2)2)2)2)2)2)2)2)2

VVVVVVVVpppš¦¡2(2(2(2(2(2(2ß2(2

GGGGGGGVVVVVVVVpppppy¡2(2(2(2(2

GGGGGGGGGGGGGGVVVVVp*2©2(2(2(2(2''//

GGGGGGGGGGGGGGGGGGVp™2(2(2(2(2//)2ß2
 GGGGGGGGGGGGGGGGGGVp¦Œ2Y2Y2Y2Y2 2 2 2Y2 GGGGGGGGGGGGGGGGGGVpbàààààààà Žiiiiiiiiiiiiiiiiiiiiij !!!!!!!! 
@@ -0,0 +1 @@

Binary file not shown.
@@ -0,0 +1 @@

@@ -0,0 +1,95 @@
ÃÄÅÃÄÅààààààààà 01!ËÌ2Í
01ËÌ2Í!!!!!!!Ø3Ù3Ø3Ù3

ØÙ!!!ØÙØÙ
àÃÄÅSTÃÄÅST8292)2Æ2)2Ç2
8292Æ2)2Ç2)2)2)2)2)2)2)2Ü7Ý7Ú7Û7//

ÚÛ)2)2)2ÚÛÚÛ

!ËÌ2Í[\01!!
ËÌ2Í[\
)2(2(2(2(2(2
)2(2(2(2(22A2B222(2(2*2*2Ü7Ý777

ÜÝ7¡2(2ß2ÜÝ7ÚÛ

)2Æ2)2Ç2cd8292)2)2
'Æ2)2Ç2cd
)2(2(2(2(2(2
)2(2(2(2(22IJ2(2(2(2(2*2*2*2*2

)2*2©2(2(2*2*2ÜÝ7

)2(2(2(2k2l2(2ß2(2(2
/¡2(2(2k2l2
)2(2(2(2ß2(2
)2(2(2(2(222222(2(2(2ß2(2(2(2(2

)2ß2(2(2ß2(2(2ß2(2

)2(2(2(2(2(2(2(2(2(2
'¡2(2(2(2(2
)22A2B222  2Y2Y2Y2Y2Y2Y2Y2Y22Y2Y2Y2Y2Y2Y2Y2Y2 
âmmmmmmmo

)2(2(2(2(2(2(2ß2(2(2
/6¡2(2(2(2(2
)22IJ2ààÕÔÕàààààààààààà
vq0q0q0q0q0q0q0w
  2Y2Y2Y2Y2Y2Y2Y2Y2Y2 )2©2ß2(2(2(2
)222222
ãã$#$!!
001!Ø3Ù3Ø3Ù3

~yyyyyyy
àààààààààà)2(2(2(2(2(2
)2(2(2(2(2(2
ê7ê7æ3óôæ3õ
828292)2ÜÝÚÛ

)2ß2(2(2ß2(2(2ß2(2
 !!!!!!!!!!  2Y2Y2Y2Y2Y2  2Y2Y2Y2Y2Y2 3€3å3ÃÅåýCå3å3
)2(2(2(2*2*2ÜÝ

âmmmmmmmo
+,-.àààààààà3€3å3û3ü3å3úå3ß2
)2(2ß2(2(2ß2*2*2

vq0q0q0q0q0q0q0w

345601
0011!! î3í3í3í3í3í3í3í3í3  2Y2Y2Y2Y2Y2Y2Y2 
~yyyyyyy

;<=>8292
82829292)2)2ààààààààààààààààà
)2ß2(2(2ß2(2(2ß2(2

CDEF)2…2
)2(2ß2(2(2(2 !!!!!!!!! !!!!!!!!

âmmmmmmmo

KLMN)2(2
)2(2(2(2(2(22)2)2)2)2)2)2)2)2)22)2)2)2)2)2)2)2)2

vq0q0q0q0q0q0q0w

)2UV)2ß2(2  2Y2Y2Y2Y2Y2Y2Y2Y22é3222222222222(2(2

~yyyyyyy

)2)2)2)2(2(2àààààààààá  2A2B222@2B2é3é32(2(2

)2ß2(2(2ß2(2(2ß2(2

)2(2(2(2Ø3Ù3
!!!!!!!!! è2IJ22HJèè2(2(2
  2Y2Y2Y2Y2Y2Y2Y2Y2 
)2(2Ø3Ù3ÜÝ
)2)2)2)2)2)2)2)2)222222222222222(2ß2
ààààààààà
Ø3Ù3Ú7Û7(2(2
)2(2ß2(2(2(2(2(2(2(22222222222222(2(2
 !!!!!!!!!  ç7ï7ç7ï7çï  2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2 ààààààààààààààààààààààààààààààà !!!!!! !!!!!!!!!!!!!!!!!!!!!!!!! 
@@ -0,0 +1 @@

@@ -0,0 +1,49 @@
ST³´µ³´µ|}~|}~ [\01»¼2½
!!»¼2½3456!!3456!!!
à³´µàcd8292Æ2)2Ç2
)2)2Æ2)2Ç2;<=>)2)2;<=>)2)2)2

»¼2½! k2l2¡2(2(2(2(2
)2(2(2(2(2CDEF(2(2CDEF¡2(2(2

'Æ2)2Ç2)22)2(2(2(2(2(2(2
)2(2(2(2(2KLMN(2(2KLMN¡2ß2(2

/(2(2(2(22A2B222(2(2(2
)22ƒ2(2(2(2UV¡2(2(2(2UV¡2(2(2(2

/(2(2(2(22IJ2(2(2(2
)2ˆ2¡2(2(2(2(2(2(2(2*2*2©2(2(2(2

)2(2(2(2(222222(2(2(2
)2:2¡2(2(2(2(2(2(22ƒ2(22ƒ2(2(2

)2(2(2(2(222222(2(2(2
)2*2*2©2(2(2(2(2(2(2(2ˆ2ˆ¡2(2
  2Y22Y2Y2Y2Y2Y2Y2Y2Y2Y2Y2  2Y2Y2Y2Y2Y2Y2Y22(2(2:2¡2(2
àààààààààààààààààààà(2(2*2*2©2*2*2©2(2

01
!!!!!!!!!!
!!!!!!!! (2(2(2(2(2(2(2(2(2

8292
)2)2)2)2)2)2)2)2)2)2 )2)2)2)2)2)2)2)22(2(2(2(2(22Y2Y2Y2 
)2(2
)2(2(2(2(2(2(2(2ß2(2)2(2ß2(2(2(2(2(2(2(2(2(2(2(2ààà
)2ß2
)2(2(2(2(2(2(2(2(2(2 Žiiiiiiiiiiii^ !!!

)2(2
)2(2(2(2piiiif2€¦2)2)2)2

)2(2 )2(2(2(2`˜pppppVVVVVVb¡2(2ß2(2

)2(2)2(2(2(2`ppppppVVVVVGGGGGVb¡2(2(2(2

)2(2 )2(2(2(2xpppVVVGGGGGGGGGGVb¡2(2(2(2

)2(22)2(2(2(2*2pVVGGGGGGGGGGGGGVb¡2(2(2(2

)2(2(2(2(2(2(2VGGGGGGGGGGGGGGGVb¡2(2(2(2
  2Y2Y2Y2Y2Y22`VGGGGGGGGGGGGGGGVb{3(2(2(2 àààààà`VGGGGGGGGGGGGGGGVbààà !!!!!! hiiiiiiiiiiiiiiiiiiij !!! 
+1
View File
@@ -0,0 +1 @@

+1
View File
@@ -0,0 +1 @@
666666666666666666666666666666666666666666666666666666666666666666?262666666262666666262666666262666666226666662266666626U266666622262226666662226222666666 6 6 6"22U22  6 6 6666666666"22222 666666666666"222 6666666666662<2666666666666 6XYZ 6666666666666 6 6 6 6 6 6 6666666666666 6 6 6 6 6 6 6 6 6666666666666666666666666666
+1
View File
@@ -0,0 +1 @@

+1
View File
@@ -0,0 +1 @@
22222666666666666666666666666666666666666222226666666666666666666666666666666666666222266'6622226'666666662222666666622222266222222266662222'226666666'2222222222222222266662222 6 6"2662222  B B"222222222266662222662U222 "222222222666622226622222222222222 BB"2222222266662222 6 6"222222  B B B B B B B B B BBB B B B B B B"222266662222 2 6"22222   6 6 6 6"BBBBBBBBBBBB"22266662222U2222   6"B"2266662222U222266B2266662222U222266B2266662222222266B222222222222266662222'2222'66B22  6 6 6 6"2222266662222222  6 6 6B2  " ""2222666622222  6 6666BB B B B B B BU"222666622222  6 6 6 6 6BBBBBBBBBBU    6 6 6 66622222  B B B B BBBB             6 6 6 6 6"6622222BBBBBBBB     "   " " " "6622222BUBBUUU662222222222BBUBBUUU6622222BBBBBBU        662222222222BBBBBBUBBBBBBBB6666666662222222222BBBBBBBUB         2222222222BBBBBBBBB        22222BBBBBBBBB22266666  2222222222BBBBBBBBB226     62222222222BUBBBBBB2226     2222 6 6"2222BBBBBBBB'       6    2222 6"62222BBBBBBBBB  "     62222 2" 6" 6"222BUBBBBBBBBU6666622222U6222BBBBBBBBUBBBBBBBBB62222U6U222BBBBBB66666622226622  B B2222222BBBBBB662222U622BB22BB2226U22226622BBBBBBB22BB2226666662222U22B22BB22266666622222222B22222B       66666622222222B22222B'        66666622222222U2222U6        6666662222222222222266U6        66666622222222222222'U66U66222222222222222666622222222222222222666622222222U222222222666666622222<22222222222226666666666666666666662222 XYZ             6666666666666666666662222                      6666666666666666662222  6  6  6  6  6  6   6                       666622222666666666666666666666666666666666666666662222266666666666666666666666666666666666666666
@@ -0,0 +1 @@

+1
View File
@@ -0,0 +1 @@
hijjjkllmjjjoOpqrrrstturrrwWxyzzz{||}zzz_22L2M22„2„2…2M2N22†2‡ŚŠ2U2T2U2U2b2c2U2U2V2U2ŚŠ2U2`2U2U2d2e2U2U2a2U2ŚŠ2U2T2U2U2f2g2U2U2V2U2‰2U2\2]2]2]2]2]2]2^2U2Ž2Ź!2!2
@@ -0,0 +1 @@


Some files were not shown because too many files have changed in this diff Show More