| Routines

29012: Make a walking sound effect (blue border)

Used by the routines at 21920, 28114, 28160, 28216, 29574, 62178, 62438, 64242 and 64259. Your browser doesn't support HTML5 audio. Here is a link to the audio instead.
29012 | PUSH BC |
29013 | LD A,1 | The border will be blue
This entry point is used by the routine at 21419 with A=6 (yellow border).
29015 | LD C,7 | Initialise the sound effect duration counter
29017 | XOR 16 | Produce the sound effect
29019 | OUT (254),A
29021 | LD B,192
29023 | DJNZ 29023
29025 | DEC C
29026 | JR NZ,29017
29028 | POP BC |
29029 | RET |