Routines

29101: Move bike if it's obstructing the skool gate


Used by routine at 29052

A Door identifier

29101 FE10 CP 16 Is it the skool gate?
29103 20EE JR NZ,29087 Jump if not
29105 3A01D3 LD A,(54017) A=bike's x-coordinate
29108 FE85 CP 133 133: Is the bike to the left of the skool gate?
29110 38E7 JR C,29087 Jump if so
29112 118811 LD DE,4488 E=136, D=17
29115 18D9 JR 29078 Move bike if it's obstructing the skool gate