Prev: B39A Up: Map Next: B3B0
B3A4: The update routine for a frame of the sparkle (graphics 48 to 54, and 64)
Used by the routine at COLLAPSING_BLOCK.
Moves the sparkle on a frame each turn: 48 to 54 run to 55, and 64 (a collapsing block, COLLAPSING_BLOCK, or a touched extra life, EXTRA_LIFE) goes to 65. The sound (SPARKLE_SOUND) is shorter at each frame.
Input
IX the object
SPARKLE_STEP B3A4 CALL DRAW_AT_L12_D4 the drawing nudge
B3A7 INC (IX+$00) the next frame
This entry point is used by the routine at START_SPARKLE.
SPARKLE_SOUND_AND_DRAW B3AA CALL SPARKLE_SOUND the sparkle's sound, and redraw it
B3AD JP SET_WIPE_AND_DRAW_FLAGS
Prev: B39A Up: Map Next: B3B0