Prev: B332 Up: Map Next: B3FB
B3E9: Sound: the movable block's blip
Used by the routine at upd_62.
Four waves at one of eight pitches from block_blip_pitches, chosen by the frame counter. Called by the type 62 handler every frame, so a room with one of these blocks has a quiet buzz under everything else.
Input
IX the object
sound_movable_block B3E9 LD A,($5BA2)
B3EC AND $07
B3EE LD L,A
B3EF LD H,$00
B3F1 LD BC,block_blip_pitches
B3F4 ADD HL,BC
B3F5 LD B,(HL)
B3F6 LD C,$04 four waves
B3F8 JP toggle_audio_hw_xC
Prev: B332 Up: Map Next: B3FB