Prev: 7275 Up: Map Next: 7297
7293: Sound a crackle
Used by the routine at hit_block.
Called by hit_block. The crackle loop at crackle makes C clicks: for each, B = 2 x (C XOR E) and D = B AND $1F, one pulse of B loops on and D off (beep_pulse). The XOR scrambles the lengths, so the clicks sound like noise; E picks the scramble. sound_tick, sound_death, sound_crackle_b, sound_launch and sound_fire enter it with other numbers. Here C = $1C, E = $27.
sound_crackle 7293 LD C,$1C 28 clicks, scramble $27
7295 LD E,$27
Prev: 7275 Up: Map Next: 7297