Prev: 63291 Up: Map Next: 63348
63315: Sound Handler: Caught By Pirate
Used by the routine at Controller_GeneralSounds.
SoundHandler_CaughtByPirate 63315 PUSH BC Stash BC and DE on the stack.
63316 PUSH DE
63317 LD BC,150 BC=0150.
63320 LD DE,100 DE=0100.
63323 CALL PlayWave4 Call PlayWave4.
63326 LD DE,100 DE=0100.
63329 LD BC,1 BC=0001.
63332 CALL PlayWave2 Call PlayWave2.
63335 POP DE Restore DE, BC and AF from the stack.
63336 POP BC
63337 POP AF
The sound has now been played, so turn off the flag.
63338 LD A,0 Write 0 to *SoundFlag_General.
63340 LD (65534),A
63343 POP AF Restore AF from the stack.
63344 EI Enable interrupts.
63345 POP IY Restore IY from the stack.
63347 RET Return.
Prev: 63291 Up: Map Next: 63348