lba2remake
lba2remake copied to clipboard
Multiple tracks running concurrently
While testing scene 188, I noticed actor 2 (JailBottom) is never triggered into animation state 10 which causes the jail to fall into the lava and terminate. Further searching went in to see that the kids (actors 23, 24, 25, and 26) don't have the animation state 165 applied as well, and FunFrock (actor 7) doesn't say Adieu.
Applying a breakpoint on SET_TRACK() showed that multiple tracks are able to run at the same time causing some operands to not fire correctly:
Track 14 is running and is returned by CURRENT_TRACK(), but both 15 and 16 are running at the same time even though "WAIT_ANIM" should be preventing 15 from starting.