Routines |
Prev: F723 | Up: Map | Next: F753 |
Used by the routine at Controller_GeneralSounds.
|
||||
SoundHandler_UnlockedDoor | F73B | PUSH DE | Stash DE and BC on the stack. | |
F73C | PUSH BC | |||
F73D | LD DE,$0032 | DE=0032. | ||
F740 | LD BC,$0064 | BC=0064. | ||
F743 | CALL PlayWave4 | Call PlayWave4. | ||
F746 | POP BC | Restore BC, DE and AF from the stack. | ||
F747 | POP DE | |||
F748 | POP AF | |||
The sound has now been played, so turn off the flag.
|
||||
F749 | LD A,$00 | Write 00 to *SoundFlag_General. | ||
F74B | LD ($FFFE),A | |||
F74E | POP AF | Restore AF from the stack. | ||
F74F | POP IY | Restore IY from the stack. | ||
F751 | EI | Enable interrupts. | ||
F752 | RET | Return. |
Prev: F723 | Up: Map | Next: F753 |