Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
anonymous jumptable labels
|
|
|
|
|
|
|
|
Thanks to FIQ for having done so in Polished Crystal
|
|
|
|
|
|
|
|
Identify battle bg effects functions and constants
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Identify battle animation functions
|
|
|
|
|
|
|
|
These two sprite animations are related to the Game Freak Logo splash
screen, not the actual intro.
|
|
|
|
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
|
|
|
|
|
|
|
|
This piece of code is frankly rather confusing, as it seemingly doesn't
serve much of a purpose. Documenting it here for future reference.
|
|
Rub a dub dub, thanks for the grub
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
That should cause no real problems because of a range check right after
it.
|
|
|
|
|