Prev: BEDE Up: Map Next: BF08
BEEE: Routine at BEEE
Used by the routine at A4A1.
BEEE LD A,($9695) L=9695.
BEF1 LD L,A
BEF2 LD A,($9693) A=CounterLow.
BEF5 AND %00011111 Keep only bits 0-4.
BEF7 LD H,A Store the result in H.
BEF8 LD E,$10 E=10.
BEFA LD A,(HL)
BEFB INC HL
BEFC AND %01111111 Keep only bits 0-6.
BEFE LD B,A Store the result in B.
BEFF LD C,$02 C=02.
BF01 CALL PlayWaveSequence Call PlayWaveSequence.
BF04 DEC E Decrease E by one.
BF05 JR NZ,$BEFA
BF07 RET Return.
Prev: BEDE Up: Map Next: BF08