Prev: A680 Up: Map Next: A6FD
A6D4: Routine at A6D4
Used by the routine at A680.
A6D4 LD A,($9693) A=CounterLow.
A6D7 AND $01
A6D9 JR NZ,$A6A6
A6DB LD A,(IX+$02)
A6DE AND A
A6DF JR Z,$A70D
A6E1 DEC (IX+$00)
A6E4 LD A,(IX+$00)
A6E7 AND %00000111 Keep only bits 0-2.
A6E9 JR NZ,$A6A6
A6EB LD A,($5C78)
A6EE AND %00001111 Keep only bits 0-3.
A6F0 LD L,A
A6F1 LD H,$00
A6F3 LD BC,$A6FD BC=OrchidColour.
A6F6 ADD HL,BC
A6F7 LD A,(HL)
A6F8 LD (IX+$05),A
A6FB JR $A71A Jump to A71A.
Prev: A680 Up: Map Next: A6FD