brunovalads/yoshisisland-disassembly

Document SuperFX sprite index for spitting upwards

brunovalads opened this issue · 0 comments

The indexes in the table at $0AAB14 point at SuperFX graphics, and is indexed by sprite id * 2, and clearly there's some leftovers from early develpment, as some indexes are never reached and point to graphics we usually not see rotate or see at all.

; sprite table (which super FX sprite to use when yoshi spits out an enemy)
dw $0000, $0000, $0000, $0000 ; $0AAB14 |
dw $0000, $0000, $0000, $0000 ; $0AAB1C |
dw $0000, $0000, $0000, $014A ; $0AAB24 |
dw $0000, $0000, $0000, $0000 ; $0AAB2C |
dw $0000, $0000, $0000, $0000 ; $0AAB34 |
dw $0000, $0000, $0000, $0000 ; $0AAB3C |
dw $0000, $0000, $0000, $0000 ; $0AAB44 |
dw $0000, $0000, $0164, $0000 ; $0AAB4C |
dw $00C6, $0000, $0342, $0342 ; $0AAB54 |

This table is only read at $039CD4 and $03B658, during the handle of sprite spitting.