Routines
Prev:
F3D4
Up:
Map
Next:
F3E2
F3D7: 'S' pressed - sit (1)
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 'S' is pressed.
Input
Output
F3D7
CALL
$6E50
Is ERIC on a staircase?
F3DA
RET C
Return if so
F3DB
LD A,$04
Set bit 2 of ERIC's status flags at
7FFB
: ERIC is sitting
F3DD
LD ($7FFB),A
F3E0
JR
$F3FC
Skip over the routine at
F3E6
Prev:
F3D4
Up:
Map
Next:
F3E2