Prev: 857F Up: Map Next: 85D9
858E: Routine at 858E
Used by the routines at 8614 and 8701.
858E LD A,C
858F AND A
8590 JR Z,$85A2
8592 DEC C
8593 CALL $85CF
8596 EXX
8597 LD A,C
8598 AND A
8599 JR Z,$859F
859B DEC C
859C CALL $8614
859F EXX
85A0 JR $858E
85A2 EXX
85A3 LD A,C
85A4 AND A
85A5 JR NZ,$859B
This entry point is used by the routine at 8701.
85A7 EXX
This entry point is used by the routine at 8701.
85A8 LD A,($5E5A)
85AB LD C,A
85AC LD A,($5E59)
85AF OR C
85B0 RET Z
85B1 XOR A
85B2 LD ($5E5A),A
85B5 EXX
85B6 LD A,($5E59)
85B9 LD C,A
85BA XOR A
This entry point is used by the routine at 8701.
85BB LD ($5E59),A
85BE EXX
85BF JR $858E
85C1 EX DE,HL
85C2 EX (SP),HL
85C3 LD A,D
85C4 XOR (HL)
85C5 LD (HL),A
85C6 INC L
85C7 LD A,E
85C8 XOR (HL)
85C9 LD (HL),A
85CA POP DE
85CB DEC L
85CC JP ScreenPos1PixelAbove
85CF EX DE,HL
85D0 PUSH DE
85D1 LD D,(HL)
85D2 INC HL
85D3 LD E,(HL)
85D4 INC HL
85D5 EX DE,HL
85D6 XOR A
85D7 JR $85D7
Prev: 857F Up: Map Next: 85D9