Commit graph

2392 commits

Author SHA1 Message Date
Rangi
2f43a41100 Use a battle_anim macro for move animations' special effects and subanimations
Move animations' sound IDs are off by one from move IDs.
2020-07-16 21:45:30 -04:00
Rangi
0db7ee08ff Use a macro for BattleTransition_DoubleCircle data 2020-07-16 20:11:00 -04:00
Rangi
7bcb4b19c7 Un-deduplicate gfx/intro_credits/gengar.png's tiles 2020-07-16 19:56:52 -04:00
Rangi
cd71ae03af Separate move/battle animation data from move data (to do: further identify animation data labels+constants) 2020-07-16 19:50:48 -04:00
Rangi
d44c7c305c
Merge pull request #277 from Rangi42/master
Miscellaneous constant and label updates
2020-07-16 17:00:57 -04:00
Rangi
7306c1dc2d Define constants for audio commands 2020-07-16 13:25:02 -04:00
Rangi
84abdb0237 $ec = "▷" 2020-07-16 12:48:42 -04:00
Rangi
76b882d952 Reformat map scripts' coordinate and movement data
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-16 12:32:19 -04:00
Rangi
594c58a289 Revise some map scripts, mostly for getting items 2020-07-16 11:19:05 -04:00
Rangi
58f1089370 Define constants for default trainer DVs 2020-07-16 09:40:30 -04:00
Rangi
8c83ebe966 Define constants for in-game trades 2020-07-16 09:32:09 -04:00
Rangi
b9a113a9f4
Merge pull request #276 from TheFakeMateo/master
Deobfuscate exit warps on indoor maps
2020-07-16 08:19:51 -04:00
Rangi
d3a01f777d
Merge pull request #275 from Rangi42/master
Disassemble the BLUEMONS.GB debug ROM
2020-07-16 08:19:11 -04:00
TheFakeMateo
4ecff22f71 Deobfuscate exit warps on indoor maps 2020-07-15 18:12:58 -05:00
Rangi
4b4ad9894e Disassemble the BLUEMONS.GB debug ROM 2020-07-15 13:35:39 -04:00
Rangi
87f24a885d
Merge pull request #274 from Rangi42/master
Indent comments that describe data table macro formats
2020-07-15 13:23:22 -04:00
Rangi
254f26bf6b Align constant comments as a column 2020-07-15 12:45:17 -04:00
Rangi
15bcd88228 Indent comments that describe data table macro formats 2020-07-15 12:39:50 -04:00
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