Prev: 41992 Up: Map Next: 42023
42011: Sounds: Axe Throw
Used by the routine at ThrowAxe.
Plays 12 clicks, one straight after the other. The half period of each click is the counter rotated right once.
SoundsAxeThrow 42011 LD D,12 D=12 (the counter).
SoundsAxeThrow_Loop 42013 LD A,D Fetch the click counter.
42014 RRCA Rotate right once.
42015 LD B,A Keep the half period in B.
42016 CALL SoundsClick Play a click with SoundsClick.
42019 DEC D Decrease the counter by one and loop back to SoundsAxeThrow_Loop until all of the clicks have been played.
42020 JR NZ,SoundsAxeThrow_Loop
42022 RET Return.
Prev: 41992 Up: Map Next: 42023