Prev: E4E8 Up: Map Next: E4FF
E4EC: Play the 'hit a shield' sound effect
Used by the routine at 6DEF.
E4EC DI Disable interrupts
E4ED LD C,$10 There are 16 mini-sound effects in a row
E4EF LD HL,$FE17 A=0x01 (initial border colour: blue), H=0xFE (pitch adjustment), L=0x17 (border alternates blue/yellow), D=0x40 (duration), E=0x00 (initial pitch)
E4F2 LD A,$01
E4F4 LD DE,$4000
E4F7 CALL $FE62 Play one mini-sound effect with these parameters
E4FA DEC C Next mini-sound effect
E4FB JR NZ,$E4EF Jump back until all 16 have been done
E4FD EI Re-enable interrupts
Prev: E4E8 Up: Map Next: E4FF