Prev: AA43 Up: Map Next: AA63
AA4D: The remote-control pad (graphic 128)
Reached through UPDATES. When something lands on it -- the collision code gives what it lands on its step in Z, so a non-zero step means something is standing on it this turn -- it takes the step back and orders the robot in control to stand still (order 1). Stepping off it passes control to the other robot, as stepping off a button does (REMOTE_ROBOT).
REMOTE_PAD AA4D CALL DRAW_AT_L16_D9 draw 16 left and 9 down
AA50 LD A,(IX+$0B) nothing on it
AA53 AND A
AA54 RET Z
AA55 XOR A it does not move
AA56 LD (IX+$0B),A
AA59 LD HL,REMOTE_ORDERS order 1, keeping bit 7
AA5C LD A,(HL)
AA5D AND $80
AA5F OR $01
AA61 LD (HL),A
AA62 RET
Prev: AA43 Up: Map Next: AA63