Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It also uncovered some off-by-one issues with defining some constants.
A few structs now use rsreset/_RS to define their offset constants.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
anonymous jumptable labels
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
Since the splash screen is wildly different, a lot of the docs don't
really apply here.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To do: engine/{menus, overworld}
|
|
|
|
|
|
|
|
|
|
A circle has 65536 "degrees", so 32768 "degrees" = pi radians = half a circle
|
|
|
|
|
|
|
|
|
|
|
|
|