Prev: A7B4 Up: Map Next: A7EA
A7D0: Routine at A7D0
Used by the routines at A80E, D3E8 and D405.
A7D0 XOR A Write 00 to *A7EA.
A7D1 LD ($A7EA),A
A7D4 BIT 7,D Jump to A7EB if bit 7 of D is not set.
A7D6 JR Z,$A7EB
A7D8 LD A,E A=E.
A7D9 LD HL,$09EE HL=09EE.
A7DC CP L Jump to A7E4 if A is not equal to L.
A7DD JR NZ,$A7E4
A7DF LD A,D A=D.
A7E0 AND %00001111 Keep only bits 0-3.
A7E2 CP H Return if A is equal to H.
A7E3 RET Z
A7E4 LD A,$01 Write 01 to *A7EA.
A7E6 LD ($A7EA),A
A7E9 RET Return.
Prev: A7B4 Up: Map Next: A7EA