| Routines

E225: 'R' pressed - release mice

The address of this routine is found in the table of keypress handling routines at E550. It is called from the main loop at F6EA when 'R' is pressed.
Input
H | 0xD2 (ERIC)
E225 | CALL $774F | Is ERIC on a staircase or the assembly hall stage?
E228 | RET NZ | Return if so
E229 | DEC L | L=0x01
E22A | LD A,(HL) | A=ERIC's x-coordinate
E22B | CP $A0 | Is ERIC in the girls' skool?
E22D | RET C | Return if not
E22E | LD A,$27 | 0x27: animatory state of ERIC bending over
E230 | LD HL,$7AE6 | Routine at 7AE6: release some mice
E233 | JP $E12A | Set ERIC's new animatory state