Routines

26496: Move bike if it's obstructing boys' skool door or the gate


Used by routine at 29052

A Bike's animatory state
DE (96,17) or (136,17)

26496 E605 AND 5 Is the bike lying on the floor?
26498 200A JR NZ,26510 Jump if not
26500 26D3 LD H,211 211=bike
26502 D5 PUSH DE
26503 CDB461 CALL 25012 Update SRB for bike's current animatory state and location
26506 D1 POP DE
26507 C33061 JP 24880 Update SRB for bike's new location
26510 C1 POP BC
26511 C9 RET