![]() |
Routines |
| Prev: D5D2 | Up: Map | Next: D5E4 |
|
Used by the routine at PAUSE.
Twelve waves, played by PAUSE as the game pauses and again as it goes on. The pitch is the effect counter's first byte (SOUND_COUNT) plus 64, after adding one to it -- so each pause also gives the sound effect under way, or the last one, an extra turn or two when play resumes.
|
||||
| PAUSE_BEEP | D5D7 | LD HL,SOUND_COUNT | one more on the effect's count | |
| D5DA | INC (HL) | |||
| D5DB | LD A,(HL) | |||
| D5DC | ADD A,$40 | twelve waves at 64 plus that | ||
| D5DE | LD B,A | |||
| D5DF | LD C,$0C | |||
| D5E1 | JP BEEP | |||
| Prev: D5D2 | Up: Map | Next: D5E4 |