Prev: D5D7 Up: Map Next: D5F2
D5E4: The jump's warble
Used by the routine at HANDLE_JUMP.
Sixteen single waves, the half-wave count scrambled from the step count with an XOR as Knight Lore's werewolf warble does (with $A5 for its $55). HANDLE_JUMP plays it as he leaves the ground.
JUMP_SOUND D5E4 LD C,$10 for C = 16 down to 1: one wave at (C XOR $A5) + C
JUMP_SOUND_0 D5E6 LD A,C
D5E7 XOR $A5
D5E9 ADD A,C
D5EA LD B,A
D5EB CALL CLICK
D5EE DEC C
D5EF JR NZ,JUMP_SOUND_0
D5F1 RET
Prev: D5D7 Up: Map Next: D5F2