Prev: 61FE Up: Map Next: 625C
6212: Routine at 6212
Used by the routines at 625C and CollisionCup.
6212 LD HL,($5E05) HL=PlayerMapPosition.
6215 SLA L
6217 RL H
6219 AND A
621A SBC HL,BC
621C JR NC,$61FE
621E CALL $6BF6 Call 6BF6.
6221 CALL $6253 Call 6253.
6224 LD A,$0C A=0C.
6226 CP H
6227 JR C,$624D
6229 ADD A,H
This entry point is used by the routine at 61FE.
622A LD (IX+$02),A
622D LD HL,($5E08) HL=5E08.
6230 SLA L
6232 RL H
6234 AND A
6235 SBC HL,DE
6237 JR NC,$6208
6239 CALL $6BF6 Call 6BF6.
623C CALL $6253 Call 6253.
623F LD A,$0E A=0E.
6241 CP H
6242 JR C,$624D
6244 ADD A,H
This entry point is used by the routine at 61FE.
6245 NEG
6247 ADD A,$1C
6249 LD (IX+$03),A
624C RET Return.
This entry point is used by the routines at 61FE and CollisionCup.
624D XOR A
624E LD (IX+$02),A
6251 JR $6249 Jump to 6249.
This entry point is used by the routines at 61FE and CollisionCup.
6253 LD B,$02 B=02.
6255 RL L
6257 RL H
6259 DJNZ $6255
625B RET Return.
Prev: 61FE Up: Map Next: 625C