Prev: AC6A Up: Map Next: ACF6
ACE2: Handle Menu Revolver Firing
The routine for states 02 and 03 of a menu entry: a revolver firing. It draws the revolver in the state of the entry for twelve frames, and then moves on to the next state.
Draw the revolver for twelve frames.
HandleMenuRevolverFiring ACE2 CALL DrawMenuSprite Draw the revolver.
ACE5 INC (IX+$03) Add one to the counter.
ACE8 LD A,(IX+$03) Fetch the counter.
ACEB CP $0C Compare it with twelve.
ACED RET NZ Return if the counter has not reached twelve.
Move on to the next state.
ACEE INC (IX+$00) Move on to the next state.
ACF1 LD (IX+$03),$00 Reset the counter.
ACF5 RET Return.
Prev: AC6A Up: Map Next: ACF6