Prev: F492 Up: Map Next: F4A4
F499: 'J' pressed - jump
The address of this routine is found in the table of keypress handling routines at 6880. It is called from the main loop at 6767 when 'J' or 'L' is pressed.
F499 CALL $6648 Is ERIC on a staircase?
F49C RET NZ Return if so (ERIC can't jump while on a staircase)
F49D LD BC,$0C04 B=0x0C (ERIC with arm raised), C=0x04 (bit 2 set)
F4A0 LD A,$10 This will initialise the jumping action timer at 7FF6 to 0x10
F4A2 JR $F478 Start the jump
Prev: F492 Up: Map Next: F4A4