Prev: D040 Up: Map Next: D06C
D056: Handle Rex collision detection moving left
Used by the routine at D013.
D056 LD HL,($A019) Set HL the address into tile type buffer in front-up of Rex
D059 LD DE,$0020
D05C ADD HL,DE
D05D CALL $D06C Return if tile is wall
D060 RET Z
D061 LD DE,$0020 Set HL the address into tile type buffer in front-bottom of Rex
D064 ADD HL,DE
D065 CALL $D06C Return if tile is wall
D068 RET Z
D069 JP $D01D Move Rex to the left
Prev: D040 Up: Map Next: D06C