Routines |
Prev: 28436 | Up: Map | Next: 28484 |
28460 | LD A,(53760) | A=ERIC's animatory state | ||
28463 | BIT 7,A | Is ERIC facing right? | ||
28465 | JP NZ,28216 | Turn ERIC round if so | ||
28468 | CALL 28240 | Is ERIC on a staircase? | ||
28471 | JR C,28477 | Jump if so | ||
This entry point is used by the routines at 28484 and 28576.
|
||||
28473 | DEC E | E=x-coordinate of the spot in front of ERIC | ||
28474 | JP 28315 | Check for walls and closed doors in ERIC's path | ||
ERIC is on a staircase.
|
||||
28477 | RLA | Does the staircase ERIC's on go down and to the left? | ||
28478 | JP C,28606 | Go down a stair if so | ||
28481 | JP 28514 | Otherwise go up a stair |
Prev: 28436 | Up: Map | Next: 28484 |