Commit Graph

613 Commits

Author SHA1 Message Date
Rangi
d2ffdbf7ea Update battle anim bg function comments, and identify more unnamed labels 2020-10-06 18:09:25 -04:00
Rangi
5838d479a2 Identify battle bg effects functions and constants 2020-10-06 16:18:05 -04:00
Rangi
8b766163e3 Identify some unnamed labels 2020-10-06 13:49:55 -04:00
Rangi
10151dd4eb Identify some more unnamed labels 2020-10-05 20:09:52 -04:00
Rangi
8871f4b611 Identify more unnamed labels 2020-10-05 16:15:47 -04:00
Rangi
054e6088f9 Identify some more unnamed labels 2020-10-05 12:02:48 -04:00
Rangi
3745ba9f9e Identify more unnamed labels 2020-10-04 22:34:55 -04:00
Rangi
d634097c58 tools/unnamed.py -r . -l N prints up to N unnamed symbols next to their filenames 2020-10-04 21:03:31 -04:00
Rangi
e128fbeadb Identify some more unnamed labels 2020-10-04 20:10:31 -04:00
Rangi
8443840f97 Identify SGB blk/pal packets 2020-10-04 18:32:28 -04:00
Rangi
734524ad42 Identify movement labels in map scripts 2020-10-04 18:15:31 -04:00
Rangi
4289216de1 Identify anim object constants 2020-10-04 15:34:31 -04:00
Rangi
ec88087f30 Identify battle animation functions 2020-10-03 22:17:19 -04:00
Rangi
12e12dff81 Use EGG_LEVEL for Togepi egg 2020-09-27 12:31:38 -04:00
Rangi
59272ffd6e Fix whitespace alignment of comments 2020-09-27 12:31:07 -04:00
Rangi
5f5812869f Remove animation-related constants from pokecrystal 2020-09-27 12:30:21 -04:00
Rangi
8f25488ab1 rgbds has moved from rednex to gbdev 2020-09-15 08:36:21 -04:00
Rangi
a09e14c1fc wHallOfFameCount is one byte 2020-09-12 13:12:33 -04:00
Rangi
aedf8a8655 Pan Docs: "When sending three or more data sets, data is continued in further packet(s). Unused bytes at the end of the last packet should be set to zero." 2020-09-01 12:24:08 -04:00
Rangi
f90f4bc62a Remove wKickCounter and wPresentPower aliases for wBattleAnimParam 2020-08-29 20:36:00 -04:00
Rangi
8d8229d2aa Merge pull request #62 from mid-kid/master
Better document splash screen
2020-08-27 12:13:46 -04:00
mid-kid
aa04a13578 GS_INTRO_STAR/SPARKLE -> GS_GAMEFREAK_LOGO_STAR/SPARKLE
These two sprite animations are related to the Game Freak Logo splash
screen, not the actual intro.
2020-08-27 15:17:53 +02:00
mid-kid
3cea84b6f6 Modify macros/wram.asm to match recent renames 2020-08-27 14:52:09 +02:00
mid-kid
0a1eb668d0 Fix some constants surrounding sprite animations
Also commented the use of the field surrounding the struct
initialization functions.

SPRITEANIMSTRUCT_0C -> SPRITEANIMSTRUCT_VAR1
SPRITEANIMSTRUCT_0D -> SPRITEANIMSTRUCT_VAR2
SPRITEANIMSTRUCT_0E -> SPRITEANIMSTRUCT_VAR3
SPRITEANIMSTRUCT_0F -> SPRITEANIMSTRUCT_VAR4

BATTLEANIMSTRUCT_01 -> BATTLEANIMSTRUCT_OAMFLAGS
BATTLEANIMSTRUCT_ANON_JT_INDEX -> BATTLEANIMSTRUCT_JUMPTABLE_INDEX
BATTLEANIMSTRUCT_0F -> BATTLEANIMSTRUCT_VAR1
BATTLEANIMSTRUCT_10 -> BATTLEANIMSTRUCT_VAR2
2020-08-27 14:51:59 +02:00
mid-kid
a7c294371c Port splash screen documentation changes from Crystal
Since the splash screen is wildly different, a lot of the docs don't
really apply here.
2020-08-27 14:40:18 +02:00
mid-kid
17feb556f2 Split engine/movie/intro.asm into itself and splash.asm 2020-08-27 14:15:41 +02:00
mid-kid
d21975be2d Move all splash screen files to gfx/splash 2020-08-27 14:14:14 +02:00
Rangi
d4cc975447 wBattleScriptFlags is one byte 2020-08-21 16:03:17 -04:00
Rangi
3a4ebf6e5f Merge pull request #61 from mid-kid/master
Linkcable and the Mystery of Mew
2020-08-19 10:19:45 -04:00
mid-kid
c44da8221f Document weird code involving link trades of mew and celebi
This piece of code is frankly rather confusing, as it seemingly doesn't
serve much of a purpose. Documenting it here for future reference.
2020-08-19 15:59:49 +02:00
Rangi
34ad9498ea Merge pull request #60 from mid-kid/master
Rub a dub dub, thanks for the grub
2020-08-18 16:35:16 -04:00
mid-kid
4ea75afd56 Add wTitleScreenSelectedOption constants 2020-08-18 22:28:22 +02:00
Rangi
5882c99f9d Enable compatibility with upcoming RGBASM version
This is additionally required, because an `elif`'s condition is evaluated even
when it's about to be skipped over, and this `"\2"` will become an error
2020-08-18 10:22:03 -04:00
Rangi
5a4d689bb9 "<NULL>" -> 0, for 'and a' 2020-08-17 16:28:55 -04:00
Rangi
2f5f496e11 Use ISCONST for future rgbds lexer compatibility 2020-08-17 13:02:39 -04:00
Rangi
2556704a43 Consistent constants for radio data table sizes (could still be better) 2020-08-13 13:47:57 -04:00
Rangi
7d8a73220c Factor out gfx/pack/pack_menu.tilemap 2020-08-12 21:02:08 -04:00
Rangi
6ae9d02813 'make clean' reuses 'make tidy' commands 2020-08-11 14:14:35 -04:00
Rangi
2b003eca72 Identify some time-related data 2020-08-11 14:13:04 -04:00
mid-kid
a51c15a7ef Remove a verifiably false comment
wSpriteAnimCount starts at 0, keeps incrementing and never decrements.
When it reaches $ff, the next value is 1.

Its purpose is unknown, as this value is used nowhere else.
2020-08-05 17:34:49 +02:00
mid-kid
f1075b1a9d d is the multiplier for Sprites_Sine 2020-08-05 17:34:39 +02:00
mid-kid
ad5c4a73a5 Use TRUE for hCGBPalUpdate 2020-08-05 16:02:32 +02:00
mid-kid
6b2a0b2889 Document wTitleScreenSelectedOption variable 2020-08-05 16:02:23 +02:00
mid-kid
908b2565fa TX_NUM -> TX_DECIMAL 2020-08-04 01:18:52 +02:00
mid-kid
6d7c51db4f Add extra japanese chars not represented as of yet 2020-08-04 01:18:10 +02:00
mid-kid
2de0ac25f4 Better label 2D menu data 2020-08-04 01:18:00 +02:00
mid-kid
e0d273e3ed Prevent OaksPKMNTalk from looping forever if NUM_GRASSMON is changed
That should cause no real problems because of a range check right after
it.
2020-08-04 01:17:44 +02:00
mid-kid
79ce0e0ea6 Label some audio commands as unused 2020-08-04 01:17:36 +02:00
Rangi
878e0b3b33 Identify constant in NamingScreen_IsTargetBox 2020-08-03 15:22:11 -04:00
Rangi
8a7e522458 'make tidy' shouldn't trigger 'make -C tools' 2020-07-28 21:30:44 -04:00