Routines |
Prev: 6E9B | Up: Map | Next: 6F2C |
6F14 | LD A,($D200) | A=ERIC's animatory state | ||
6F17 | BIT 7,A | Is ERIC facing left? | ||
6F19 | JP Z,$6E38 | Turn ERIC round if so | ||
6F1C | CALL $6E50 | Is ERIC on a staircase? | ||
6F1F | JR C,$6F25 | Jump if so | ||
This entry point is used by the routines at 6F44 and 6FA0.
|
||||
6F21 | INC E | E=x-coordinate of the spot in front of ERIC | ||
6F22 | JP $6E9B | Check for walls and closed doors in ERIC's path | ||
ERIC is on a staircase.
|
||||
6F25 | RLA | Does the staircase ERIC's on go up and to the right? | ||
6F26 | JP C,$6F62 | Go up a stair if so | ||
6F29 | JP $6FBE | Otherwise go down a stair |
Prev: 6E9B | Up: Map | Next: 6F2C |