![]() |
Routines |
23843 | LD A,(53761) | A=ERIC's x-coordinate |
23846 | SUB 128 | Did ERIC hit the closed skool gate while standing on the saddle of the bike? |
23848 | CP 16 | |
23850 | SBC A,A | A=255 if so, 0 otherwise |
23851 | ADD A,254 | L=253 if ERIC hit the skool gate, 254 otherwise |
23853 | LD L,A |
23854 | LD H,159 | Now HL points at the appropriate descent table |
23856 | JP 64501 | Begin the descent |