![]() |
Routines |
| Prev: 54663 | Up: Map | Next: 54756 |
|
Used by the routine at PauseGame.
Makes a click, which is a tone that gets a little lower each time that it is made, as it is a step on from the count at SoundEffectCounter which is also used by PlaySoundEffect.
|
||||
| PlayClick | 54743 | LD HL,42825 | Take the counter of the sound effect, SoundEffectCounter. | |
| 54746 | INC (HL) | Add one to it. | ||
| 54747 | LD A,(HL) | Fetch it. | ||
| 54748 | ADD A,64 | Add 64 to make the pitch. | ||
| 54750 | LD B,A | Put the pitch in B. | ||
| 54751 | LD C,12 | Set the length of the tone. | ||
| 54753 | JP PlayWaveSequence | Jump to PlayWaveSequence to make the tone. | ||
|
View the equivalent code in;
|
||||
| Prev: 54663 | Up: Map | Next: 54756 |