Prev: A408 Up: Map Next: A427
A41B: Sounds: Axe Throw
Used by the routine at ThrowAxe.
Plays 0C clicks, one straight after the other. The half period of each click is the counter rotated right once.
SoundsAxeThrow A41B LD D,$0C D=0C (the counter).
SoundsAxeThrow_Loop A41D LD A,D Fetch the click counter.
A41E RRCA Rotate right once.
A41F LD B,A Keep the half period in B.
A420 CALL SoundsClick Play a click with SoundsClick.
A423 DEC D Decrease the counter by one and loop back to SoundsAxeThrow_Loop until all of the clicks have been played.
A424 JR NZ,SoundsAxeThrow_Loop
A426 RET Return.
Prev: A408 Up: Map Next: A427