![]() |
Routines |
Prev: 63573 | Up: Map | Next: 63624 |
Used by the routine at Handler_Interrupts.
|
||||
Should we generate any sounds?
|
||||
Controller_GeneralSounds | 63587 | LD A,(65534) | Return if *SoundFlag_General is "Off" (0). | |
63590 | CP 0 | |||
63592 | RET Z | |||
63593 | CP 1 | Jump to SoundHandler_TouchedAnimal if *SoundFlag_General is set to "Touched By Animal" (1). | ||
63595 | JP Z,SoundHandler_TouchedAnimal | |||
63598 | CP 2 | Jump to SoundHandler_CaughtByPirate if *SoundFlag_General is set to "Caught By Pirate" (2). | ||
63600 | JP Z,SoundHandler_CaughtByPirate | |||
63603 | CP 3 | Jump to SoundHandler_BombExplosion if *SoundFlag_General is set to "Bomb Explosion" (3). | ||
63605 | JP Z,SoundHandler_BombExplosion | |||
63608 | CP 4 | Jump to SoundHandler_CollectedItem if *SoundFlag_General is set to "Collected Item" (4). | ||
63610 | JP Z,SoundHandler_CollectedItem | |||
63613 | CP 5 | Jump to SoundHandler_UnlockedDoor if *SoundFlag_General is set to "Unlocked Door" (5). | ||
63615 | JP Z,SoundHandler_UnlockedDoor | |||
63618 | CP 6 | Jump to SoundHandler_CollectedKey if *SoundFlag_General is set to "Collected Key" (6). | ||
63620 | JP Z,SoundHandler_CollectedKey | |||
63623 | RET | Return. |
Prev: 63573 | Up: Map | Next: 63624 |