Routines |
Prev: 28315 | Up: Map | Next: 28460 |
28436 | LD A,(53760) | A=ERIC's animatory state | ||
28439 | BIT 7,A | Is ERIC facing left? | ||
28441 | JP Z,28216 | Turn ERIC round if so | ||
28444 | CALL 28240 | Is ERIC on a staircase? | ||
28447 | JR C,28453 | Jump if so | ||
This entry point is used by the routines at 28484 and 28576.
|
||||
28449 | INC E | E=x-coordinate of the spot in front of ERIC | ||
28450 | JP 28315 | Check for walls and closed doors in ERIC's path | ||
ERIC is on a staircase.
|
||||
28453 | RLA | Does the staircase ERIC's on go up and to the right? | ||
28454 | JP C,28514 | Go up a stair if so | ||
28457 | JP 28606 | Otherwise go down a stair |
Prev: 28315 | Up: Map | Next: 28460 |