Commit graph

2374 commits

Author SHA1 Message Date
Rangi
e18e5d50b5
Merge pull request #273 from Rangi42/master
Clean up some data, using macros for multiline list entries
2020-07-15 12:26:16 -04:00
Rangi
93d0697f37 Don't compare strings with ==; use STRCMP 2020-07-14 16:07:23 -04:00
Rangi
5c0f33cb53 Use a 'trainer' macro for trainers in scripts/ 2020-07-14 15:53:25 -04:00
Rangi
be326c6565 Factor out spinner tiles from RocketHideoutB2F since they're also used by ViridianGym, and to make their data and code more accessible 2020-07-14 15:14:32 -04:00
Rangi
fcb573f4ac Use a macro for warp tile IDs, like other tile behaviors 2020-07-14 14:33:16 -04:00
Rangi
eb1ca5813b Define cries with a mon_cry macro 2020-07-14 14:20:38 -04:00
Rangi
f37cf959c9 Clean up some data, using macros for multiline list entries 2020-07-14 13:32:09 -04:00
Rangi
aa97e196dd
Merge pull request #269 from Rangi42/master
Remove enum; add const_skip and const_next
2020-07-11 15:47:19 -04:00
Rangi
3e572b6f48 Use const_skip and const_next macros for brevity 2020-07-09 14:51:48 -04:00
Rangi
676a35f76f Eliminate enum: use const instead, with case-by-case parallel const implementations 2020-07-09 12:43:26 -04:00
Rangi
54d76dec38
Merge pull request #268 from Rangi42/master
Factor out MapBadgeFlags and EscapeRopeTilesets data tables
2020-07-08 10:59:12 -04:00
Rangi
a49ca6ef41 Factor out MapBadgeFlags and EscapeRopeTilesets data tables 2020-07-08 10:31:44 -04:00
Rangi
c7e3aed0b8 Get all unnamed symbols with make DEBUG=1 2020-07-07 21:10:13 -04:00
Rangi
9571c550b6
Merge pull request #263 from Rangi42/master
Syncing style with pokecrystal
2020-07-07 19:48:22 -04:00
Rangi
bbf2f51a02 Move all code out of home.asm into home/
This results in 64 home/*.asm files, comparable to pokecrystal's 57.
2020-07-07 19:43:11 -04:00
Rangi
51ac538c25 Identify SPRITESTATEDATA2_ORIGFACINGDIRECTION 2020-07-07 16:57:51 -04:00
Rangi
4a7d1513f3 Use 'tile' and 'tiles' macros 2020-07-07 16:21:26 -04:00
Rangi
b945988a0a Names for more SECTIONs 2020-07-07 14:45:24 -04:00
Rangi
1e593d8f8c Remove c1x*/c2x* comments, use struct offset constants 2020-07-07 14:15:39 -04:00
Rangi
13129459f1 Sync coordinate macros with pokecrystal 2020-07-07 11:30:10 -04:00
Rangi
45ed05decf Use HIGH() and LOW() 2020-07-07 11:10:29 -04:00
Rangi
bbc257476f PSYCHIC -> PSYCHIC_TYPE (PSYCHIC is ambiguous with PSYCHIC_M) 2020-07-07 10:54:05 -04:00
Rangi
06db7ec55b callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfar 2020-07-06 21:18:22 -04:00
Rangi
77ed5f3820 Use ASCII quotes in comments 2020-07-06 21:15:12 -04:00
Rangi
dd08b8dd6b Use labels for HRAM and VRAM 2020-07-06 21:13:17 -04:00
Rangi
453bb5c38e Use STARTER[123] constants in TitleMons 2020-07-06 20:35:59 -04:00
Rangi
f113361952 Use DEX_* constants for StarterDex 2020-07-06 19:50:36 -04:00
Rangi
772fcc7588 Specify the ldh instruction, don't turn ld into ldh 2020-07-06 19:03:05 -04:00
Rangi
c480632d54
Merge pull request #262 from Rangi42/master
Miscellaneous
2020-07-06 13:47:59 -04:00
Rangi
9c2be80bf3 text_linkpromptbutton -> text_waitbutton
Fixes #260
2020-07-06 12:40:36 -04:00
Rangi
8a79315635 Capitalize rgbds control structures (EQU/EQUS, IF/ELIF/ELSE/ENDC, REPT/ENDR, MACRO/ENDM, etc) 2020-07-06 12:28:31 -04:00
Rangi
d08eb86233 Automatically list all TM##_MOVE and HM##_MOVE values 2020-07-06 12:22:20 -04:00
Rangi
122d715484
Merge pull request #261 from Rangi42/master
Port pokecrystal's base data and tmhm structure
2020-07-06 11:52:24 -04:00
Rangi
43e0e40d5a Avoid repeating the NUM_TMS value 2020-07-06 11:28:51 -04:00
Rangi
6ad4c26a03 Align tmhm learnsets in rows of 5 2020-07-06 11:19:53 -04:00
Rangi
25a3e67b94 add_tm and add_hm define TM##_MOVE and HM##_MOVE constants, to avoid repeating the move names twice 2020-07-06 09:32:55 -04:00
Rangi
405889193e TM/HM constants named after moves 2020-07-05 22:52:27 -04:00
Rangi
66ebe56adc Port pokecrystal's base data and tmhm structure
To do: TM/HM constants named after moves
2020-07-05 21:59:32 -04:00
Rangi
c57c93d2b2
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
2020-07-05 19:58:21 -04:00
Rangi
5fe8aab344 db $f6 == script_cable_club_receptionist 2020-07-05 19:55:03 -04:00
Rangi
95014444bc Remove user system-specific files from .gitignore 2020-07-05 19:44:00 -04:00
Rangi
550cfb58cf gfx/overworld/spinners.png, like gfx/battle/balls.png, is 4x1 not 2x2 2020-07-05 19:13:54 -04:00
Rangi
89a41f4bdf Sync README.md with pokegold and pokecrystal, and use binary SHA-1 ROM hashes 2020-07-05 19:06:56 -04:00
Rangi
034801b6af Sync .gitignore with pokegold and pokecrystal 2020-07-05 19:00:31 -04:00
Rangi
1db2e7b5b4 Fix Japanese charmap: large "オ" is $84, small "ォ" is $F4 2020-07-05 18:56:24 -04:00
Rangi
2b2ed54bbf Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow 2020-07-05 17:51:29 -04:00
Rangi
7ab43f4d17 Port _RemovePokemon documentation from pokeyellow 2020-07-05 16:41:45 -04:00
Rangi
b0aa4cb14a Port two HRAM labels from pokeyellow 2020-07-05 16:35:06 -04:00
Rangi
a77999f7f1 Logical spacing in data/sgb/sgb_palettes.asm 2020-07-05 16:15:01 -04:00
Rangi
6137f5accb Port and improve hidden_object macro from pokeyellow 2020-07-05 15:57:07 -04:00