Routines |
Prev: F753 | Up: Map | Next: F78C |
Used by the routine at Controller_GeneralSounds.
|
||||
SoundHandler_BombExplosion | F774 | PUSH BC | Stash BC and DE on the stack. | |
F775 | PUSH DE | |||
F776 | LD DE,$00C8 | DE=00C8. | ||
F779 | LD BC,$0014 | BC=0014. | ||
F77C | CALL PlayWave2 | Call PlayWave2. | ||
F77F | POP DE | Restore DE, BC and AF from the stack. | ||
F780 | POP BC | |||
F781 | POP AF | |||
The sound has now been played, so turn off the flag.
|
||||
F782 | LD A,$00 | Write 00 to *SoundFlag_General. | ||
F784 | LD ($FFFE),A | |||
F787 | POP AF | Restore AF from the stack. | ||
F788 | EI | Enable interrupts. | ||
F789 | POP IY | Restore IY from the stack. | ||
F78B | RET | Return. |
Prev: F753 | Up: Map | Next: F78C |