Prev: 23863 Up: Map Next: 23907
23887: 'J' pressed - jump
The address of this routine is found in the table of keypress handling routines at 58704. It is called from the main loop at 63210 when 'J' or 'L' is pressed.
23887 CALL 28240 Is ERIC on a staircase?
23890 RET C Return if so
23891 LD HL,32763 Set bit 0 of ERIC's status flags at 32763, triggering a jump to 23907 next time we deal with ERIC
23894 INC (HL)
23895 LD H,210 210=ERIC
23897 CALL 25012 Update the SRB for ERIC's current animatory state and location
23900 AND 128 A=7 or 135: animatory state of ERIC jumping
23902 ADD A,7
23904 DEC D ERIC will rise one level
23905 JR 23937 Update ERIC's animatory state and location and update the SRB
Prev: 23863 Up: Map Next: 23907