![]() |
Routines |
Prev: 63348 | Up: Map | Next: 63396 |
Used by the routine at Controller_GeneralSounds.
|
||||
SoundHandler_CollectedItem | 63372 | PUSH DE | Stash DE and BC on the stack. | |
63373 | PUSH BC | |||
63374 | LD BC,50 | BC=0050. | ||
63377 | LD DE,25 | DE=0025. | ||
63380 | CALL PlayWave4 | Call PlayWave4. | ||
63383 | POP BC | Restore BC, DE and AF from the stack. | ||
63384 | POP DE | |||
63385 | POP AF | |||
The sound has now been played, so turn off the flag.
|
||||
63386 | LD A,0 | Write 0 to *SoundFlag_General. | ||
63388 | LD (65534),A | |||
63391 | POP AF | Restore AF from the stack. | ||
63392 | POP IY | Restore IY from the stack. | ||
63394 | EI | Enable interrupts. | ||
63395 | RET | Return. |
Prev: 63348 | Up: Map | Next: 63396 |