Prev: 58319 Up: Map Next: 58383
58338: Routine at 58338
Used by the routine at L58319.
Input
This routine might handle collision detection
L58338 58338 LD A,(IX+1)
58341 RRA
58342 AND 7
58344 LD C,A
58345 LD A,(IX+0)
58348 SUB 3
58350 RET C
58351 RLA
58352 RLA
58353 AND 120
58355 OR C
58356 LD E,A
58357 LD D,0
58359 LD HL,60237
58362 ADD HL,DE
58363 LD A,(HL)
58364 CP 127
58366 RET NZ
58367 LD E,(IX+0)
58370 LD D,(IX+1)
58373 LD HL,60387 Point HL at SCREEN_BUFFER
58376 ADD HL,DE
58377 LD A,(IX+2)
58380 XOR (HL)
58381 LD (HL),A
58382 RET
Prev: 58319 Up: Map Next: 58383