![]() |
Routines |
| Prev: F6DB | Up: Map | Next: F73B |
|
Used by the routine at Controller_GeneralSounds.
|
||||
| SoundHandler_CollectedKey | F723 | PUSH BC | Stash BC and DE on the stack. | |
| F724 | PUSH DE | |||
| F725 | LD DE,$0019 | DE=0019. | ||
| F728 | LD BC,$0032 | BC=0032. | ||
| F72B | CALL PlayWave2 | Call PlayWave2. | ||
| F72E | POP DE | Restore DE, BC and AF from the stack. | ||
| F72F | POP BC | |||
| F730 | POP AF | |||
|
The sound has now been played, so turn off the flag.
|
||||
| F731 | LD A,$00 | Write 00 to *SoundFlag_General. | ||
| F733 | LD ($FFFE),A | |||
| F736 | POP AF | Restore AF from the stack. | ||
| F737 | POP IY | Restore IY from the stack. | ||
| F739 | EI | Enable interrupts. | ||
| F73A | RET | Return. | ||
| Prev: F6DB | Up: Map | Next: F73B |