![]() |
Data |
| Prev: CD9A | Up: Map | Next: CDF2 |
|
This maps a character's direction and user input to an animation index and reverse flag.
The horizontal axis is input (U/D/L/R = Up/Down/Left/Right) and the vertical axis is direction (TL/TR/BR/BL + crawl flag).
For example:
if (direction,input) is (TL, None) then index is 8 which is CE02 / anim_wait_tl.
if (direction,input) is (TR + Crawl, D+L) then index is 21 which is CE1C / anim_crawlwait_tr.
Modulo the reverse flag the highest index in the table is 23 which is the max index in animations (== animations__LIMIT - 1).
Used by the routine at animate.
|
||||
| animindices | CDAA | DEFB $08,$00,$04,$87,$00,$87,$04,$04,$04 | TL | |
| CDB3 | DEFB $09,$84,$05,$05,$84,$05,$01,$01,$05 | TR | ||
| CDBC | DEFB $0A,$85,$02,$06,$85,$06,$85,$85,$02 | BR | ||
| CDC5 | DEFB $0B,$07,$86,$03,$07,$03,$07,$07,$86 | BL | ||
| CDCE | DEFB $14,$0C,$8C,$93,$0C,$93,$10,$10,$8C | TL + crawl | ||
| CDD7 | DEFB $15,$90,$11,$8D,$90,$95,$0D,$0D,$11 | TR + crawl | ||
| CDE0 | DEFB $16,$8E,$0E,$12,$8E,$0E,$91,$91,$0E | BR + crawl | ||
| CDE9 | DEFB $17,$13,$92,$0F,$13,$0F,$8F,$8F,$92 | BL + crawl | ||
| Prev: CD9A | Up: Map | Next: CDF2 |