Back to Skool Routines
57893: 'R' pressed - release mouse
The address of this routine is found in the keypress table at 58624.
H 210 (ERIC)
57893 CALL 30543 Is ERIC on a staircase or the assembly hall stage?
57896 RET NZ Return if so
57897 DEC L L=1
57898 LD A,(HL) A=ERIC's x-coordinate
57899 CP 160 Is ERIC in the girls' skool?
57901 RET C Return if not
57902 LD A,39 39: animatory state of ERIC bending over
57904 LD HL,31462 Routine at 31462: release some mice
57907 JP 57642 Set ERIC's new animatory state