Commit Graph

4671 Commits

Author SHA1 Message Date
Rangi 6ca82e5c86 Eliminate enum: use const instead, with case-by-case parallel const implementations 2020-07-08 15:30:23 -04:00
Rangi 9e4a00af45 Get all unnamed symbols with make DEBUG=1 2020-07-07 21:09:05 -04:00
Rangi 43a9295789 add_tm, add_hm, and add_mt define TM##_MOVE, HM##_MOVE, and MT##_MOVE constants, to avoid repeating the move names in tmhm_moves.asm 2020-07-06 16:53:05 -04:00
Rangi ddf1163a21 Define SERIAL_PREAMBLE_LENGTH 2020-07-06 15:49:01 -04:00
Rangi b3bd682366 text_linkpromptbutton -> text_waitbutton
Removes support for text_waitbutton as a legacy alias for text_promptbutton.
2020-07-06 12:55:31 -04:00
Rangi 6cdcde8b49 Sync README.md with pokered and pokegold 2020-07-05 19:07:27 -04:00
Rangi 7d93b9cb09 Sync .gitignore with pokered and pokegold 2020-07-05 19:00:57 -04:00
Rangi 7eef66af3f Use MAX_NEUTRAL_DAMAGE in BattleCommand_DamageCalc
Also make .gitignore consistent with pokered
2020-07-05 15:12:53 -04:00
Rangi f5ac9b0eb7 SCGB_PARTY_MENU_HP_PALS -> SCGB_PARTY_MENU_HP_BARS, and SCGB_RAM -> SCGB_DEFAULT 2020-07-04 16:18:16 -04:00
Rangi 26d764de5d Use STRCMP, not ==, to compare multi-character strings 2020-07-02 11:46:30 -04:00
Rangi fce6243b43 Identify more labels, and use the jumptable macro when possible 2020-07-01 13:13:49 -04:00
Rangi e171c84c29 Identify more labels and constants 2020-06-29 19:35:47 -04:00
Rangi f2efda1f68 Identify more unnamed labels 2020-06-29 12:25:58 -04:00
Rangi 022f9e6af1 Reformat gfx/trade/game_boy.png and fix tools/gfx --preserve 2020-06-28 19:56:06 -04:00
Rangi a0e8e5ac5b
Merge pull request #737 from aaaaaa123456789/master
Fix an uninitialized read bug in lzcomp
2020-06-28 04:26:51 -04:00
aaaaaa123456789 5e99f9390a Fix lzcomp flags after fixing uninitialized read bug 2020-06-28 05:23:09 -03:00
aaaaaa123456789 267352c4d8 Update lzcomp 2020-06-28 05:20:05 -03:00
Rangi 73d20afd15 Use pokepret account for committing to symbols branch 2020-06-22 17:25:42 -04:00
Rangi 61847b3596 Identify some more labels 2020-06-22 16:30:13 -04:00
Rangi e0d07fba3f Sync PokeFluteTerminator with pokegold 2020-06-21 19:01:54 -04:00
Rangi c3c18dd196 Comment more ROM labels as unreferenced
(Some unreferenced labels are above code which is still used via fallthrough!)
2020-06-21 18:33:31 -04:00
Rangi 91774f206e Replace "Unreferenced" labels with "; unreferenced" comments 2020-06-21 16:27:43 -04:00
Rangi 98af69691d Remove some more raw addresses 2020-06-21 12:21:47 -04:00
Rangi 9433b5a752 Remove RAM address comments 2020-06-20 23:03:40 -04:00
Rangi 273324e787 pushd/popd are bash-only 2020-06-20 22:44:01 -04:00
Rangi fcaaf45da5 Travis should upload .sym files to the symbols branch 2020-06-20 22:39:45 -04:00
Rangi ac0025064f Identify some more Unknown labels 2020-06-20 18:52:26 -04:00
Rangi cbd43001ce sound_duty became duty_cycle_pattern 2020-06-19 22:25:19 -04:00
Rangi ed3bcf6fa2 Harmonize engine/menus with pokegold 2020-06-18 10:11:12 -04:00
Rangi 50e182e831 Harmonize engine/overworld with pokegold 2020-06-17 22:12:04 -04:00
Rangi cc460a17b0 Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)
To do: engine/{menus, overworld}
2020-06-17 17:03:38 -04:00
Rangi be93ab33a7 Harmonize engine/{phone, pokedex, pokegear, printer, rtc, tilesets} with pokegold
To do: engine/{menus, movie, overworld, pokemon}
2020-06-17 11:29:00 -04:00
Rangi 8019db3ea9 Harmonize engine/{gfx, items, link, math} with pokegold 2020-06-17 10:39:17 -04:00
Rangi f2550fc3c2 ReplaceKrisSprite -> UpdatePlayerSprite 2020-06-16 19:38:00 -04:00
Rangi f76dabedcc Harmonize engine/{battle, battle_anims, events, games} with pokegold 2020-06-16 19:32:36 -04:00
Rangi c552390a15 Harmonize home/ with pokegold 2020-06-16 15:49:32 -04:00
Rangi 7b2515d1e4 [in progress] Harmonize more constant and data files with pokegold 2020-06-16 14:32:57 -04:00
Rangi 2354c41a96 crystal_intro.asm -> intro.asm 2020-06-16 11:44:03 -04:00
Rangi b9f2b93c17 Harmonize some more symbols with pokegold 2020-06-16 11:28:52 -04:00
Rangi 4342ced31f Identify wObjectPriorities 2020-06-15 23:28:24 -04:00
Rangi bb0264e619
Merge pull request #730 from Caverns4/patch-1
wWildMonPP is 4 bytes, not one byte.
2020-06-15 13:04:38 -04:00
Rangi 1185c1b610 Mention pokecrystal in tools/unnamed.py output 2020-06-15 11:58:17 -04:00
Rangi e3f07b9612 Undo incorrect comment 2020-06-15 10:26:10 -04:00
Rangi ffbca4d5f3 Adding 0 is pointless in CheckMimicUsed 2020-06-15 08:43:40 -04:00
Rangi 401aa383e2 make DEBUG=1 logs all symbols in the .map and .sym files 2020-06-14 21:52:33 -04:00
Caverns4 ea5a79ffe1
wWildMonPP is 4 bytes, not one byte.
The comments after were labeled with inaccurate address until NEXTU.
2020-06-14 19:47:49 -04:00
Rangi 75035a71a5 Label some mobile addresses, and revise some comments 2020-06-13 18:48:26 -04:00
Rangi 0d683ea0c7 Remove redundant tile graphics file, reuse others 2020-06-11 10:55:32 -04:00
Rangi 0cf0a5b9b4
Merge pull request #729 from Rangi42/master
Treat std scripts like specials and predefs
2020-06-11 10:17:12 -04:00
Rangi 60c71add58 Define pokeanim setup commands like std scripts, predefs, and specials
No need for a macro workaround in rgbds 0.4.0
2020-06-10 17:15:53 -04:00