Routines |
Prev: F774 | Up: Map | Next: F7A4 |
Used by the routine at Controller_GeneralSounds.
|
||||
SoundHandler_CollectedItem | F78C | PUSH DE | Stash DE and BC on the stack. | |
F78D | PUSH BC | |||
F78E | LD BC,$0032 | BC=0032. | ||
F791 | LD DE,$0019 | DE=0019. | ||
F794 | CALL PlayWave4 | Call PlayWave4. | ||
F797 | POP BC | Restore BC, DE and AF from the stack. | ||
F798 | POP DE | |||
F799 | POP AF | |||
The sound has now been played, so turn off the flag.
|
||||
F79A | LD A,$00 | Write 00 to *SoundFlag_General. | ||
F79C | LD ($FFFE),A | |||
F79F | POP AF | Restore AF from the stack. | ||
F7A0 | POP IY | Restore IY from the stack. | ||
F7A2 | EI | Enable interrupts. | ||
F7A3 | RET | Return. |
Prev: F774 | Up: Map | Next: F7A4 |