Prev: 71A6 Up: Map Next: 71BD
71AD: Move the bike if it's obstructing the skool gate
This is a branch of the routine at 717C.
Input
A 0x08 (boys' skool door) or 0x10 (skool gate)
71AD CP $10 Is the skool gate being opened or closed?
71AF JR NZ,$719F Jump if not
71B1 LD A,($D301) A=bike's x-coordinate
71B4 CP $85 Is the bike to the left of the skool gate?
71B6 JR C,$719F Jump if so
71B8 LD DE,$1188 E=136, D=17
71BB JR $7196 Move the bike if it's obstructing the skool gate
Prev: 71A6 Up: Map Next: 71BD