Quick Research & Development Thread
View Single Post
Posted October 6th, 2011 (07:38 AM).
Join Date: Aug 2007
Originally Posted by
, there is a list of ASM functions to be executed on every frame of animation. Each entry in the list is a pointer to the routine, some metadata about the list item itself, and thirty-or-so bytes for the routine to work with (so that it may maintain its state).
FINALLY! Finally someone understands the relevance of this list.
I called it callback3-list and all functions that can be in one of it's slots are prefixed with c3_ in my database. The
walking routine manager
) is called c3_ash in it. The table with the eight slots (
) is named 'ashtable'.
The ash handler calls 'music_play' and 'setmaptile' internally. Once at 0806EB22 (Tile 0x35B) and another time at 0806EAD8 (Tile 0x35A). A subfunction (0806E958) that is called from 0806EA82 and sets some flags.
I didn't know that this is controllable via the 0xA6 command. So thanks for telling.
Firered IDA 6.5 DB:
VBA-M with lua scripting support
View Public Profile
Send a private message to knizz
Find all posts by knizz
Find threads started by knizz
Ignore Posts by knizz