Prev: 8800 Up: Map Next: 8833
8803: Routine at 8803
Used by the routine at C2B5.
8803 LD A,($C40E) A=C40E.
8806 AND %11111110 Keep only bits 1-7.
8808 JP Z,$8813
880B LD A,$01
880D LD ($8B0A),A
8810 JP $8817
8813 XOR A
8814 LD ($8B0A),A
8817 LD A,$00
8819 LD ($8AF3),A
881C LD A,(HL)
881D LD ($8B1C),A
8820 LD ($8B1B),A
8823 LD B,A
8824 LD A,($8B0A)
8827 AND A
8828 JP Z,$8832
882B LD A,($8B1C)
882E INC A
882F LD ($8B1C),A
8832 INC HL
Prev: 8800 Up: Map Next: 8833