Prev: 44873 Up: Map Next: 44887
44879: Play Short Tone
Used by the routines at HandleSheriffEntrance and HandleDying.
Plays a short tone. The higher the number, the higher the tone.
The sounds played by this routine are:
Effect Sound
Sheriff Entrance Sound
Dying Sound
Input
A The number
PlayShortTone 44879 ADD A,A Multiply the number by four.
44880 ADD A,A
44881 CPL Invert it.
44882 LD B,A Use it as the length of a pulse.
44883 LD C,4 Set the number of pulses.
44885 JR PlayWaveSequence Play the tone.
Prev: 44873 Up: Map Next: 44887