![]() |
Routines |
Prev: 63195 | Up: Map | Next: 63291 |
Used by the routine at Controller_GeneralSounds.
|
||||
SoundHandler_CollectedKey | 63267 | PUSH BC | Stash BC and DE on the stack. | |
63268 | PUSH DE | |||
63269 | LD DE,25 | DE=0025. | ||
63272 | LD BC,50 | BC=0050. | ||
63275 | CALL PlayWave2 | Call PlayWave2. | ||
63278 | POP DE | Restore DE, BC and AF from the stack. | ||
63279 | POP BC | |||
63280 | POP AF | |||
The sound has now been played, so turn off the flag.
|
||||
63281 | LD A,0 | Write 0 to *SoundFlag_General. | ||
63283 | LD (65534),A | |||
63286 | POP AF | Restore AF from the stack. | ||
63287 | POP IY | Restore IY from the stack. | ||
63289 | EI | Enable interrupts. | ||
63290 | RET | Return. |
Prev: 63195 | Up: Map | Next: 63291 |