Routines |
Prev: 26453 | Up: Map | Next: 26512 |
Used by the routine at 29052.
|
||||||||||
26496 | AND 5 | Is the bike lying on the floor? | ||||||||
26498 | JR NZ,26510 | Jump if not | ||||||||
26500 | LD H,211 | 211=bike | ||||||||
26502 | PUSH DE | Save the bike's new location temporarily | ||||||||
26503 | CALL 25012 | Update the SRB for the bike's current animatory state and location | ||||||||
26506 | POP DE | Restore the bike's new location to DE | ||||||||
26507 | JP 24880 | Update the bike's location and update the SRB | ||||||||
The bike is not lying on the floor, so either ERIC is riding it, or it's travelling of its own accord. In this case, ALBERT must wait for it to pass before closing the skool door or gate.
|
||||||||||
26510 | POP BC | Drop the return address, which has the effect of making ALBERT wait | ||||||||
26511 | RET |
Prev: 26453 | Up: Map | Next: 26512 |