Back to Skool Routines
64242: Begin ERIC's descent from plant, plant pot, or assembly hall stage
Used by the routines at 28305 and 64316.
64242 LD A,12 Bits 2 and 3 set (ERIC is stepping off a fully grown plant in the direction of an open window or the closed skool gate)
This entry point is also used by the routine at 64316 with A=4 (bit 2 set, indicating that ERIC has stepped off a plant):
64244 LD (32749),A Set ERIC's status flags at 32749 as appropriate
This entry point is used by the routine at 64259:
64247 CALL 29012 Make a sound effect
64250 LD H,210 210=ERIC
64252 CALL 25012 Update SRB for ERIC's current animatory state and location
64255 INC A A=ERIC's next animatory state (midstride)
64256 JP 62231 Update SRB for ERIC's new animatory state