Prev: 86A1 Up: Map Next: 8733
8701: Routine at 8701
Used by the routines at 8D06, 93A6, 9531, ABA9 and AD36.
8701 CALL $865E Call 865E.
8704 EXX Switch to the shadow registers.
8705 CALL $86A1 Call 86A1.
8708 EXX Switch back to the normal registers.
8709 LD A,($5E56) A=5E56.
870C SUB (IX+$04)
870F JP Z,$85A8
8712 JP M,$8724
8715 LD C,A C=A.
8716 LD A,($5E5A) A=5E5A.
8719 CP C
871A JP C,$85A8
871D SUB C
871E LD ($5E5A),A
8721 JP $858E Jump to 858E.
8724 EXX
8725 NEG
8727 LD C,A
8728 LD A,($5E59)
872B CP C
872C JP C,$85A7
872F SUB C
8730 JP $85BB Jump to 85BB.
Prev: 86A1 Up: Map Next: 8733