Prev: 49168 Up: Map Next: 49191
49178: Make Random Beep
Used by the routine at MaterialiseEntity.
Makes a short tone of random pitch.
MakeRandomBeep 49178 LD A,(38423) Fetch the random number.
49181 AND 63 Keep it between 32 and 63...
49183 OR 32
49185 LD B,A ...to use as the pitch.
49186 LD C,12 The tone is made of 12 cycles.
49188 JP PlayWaveSequence Make the tone using PlayWaveSequence.
Prev: 49168 Up: Map Next: 49191