![]() |
Routines |
| Prev: B01A | Up: Map | Next: B031 |
|
Used by the routine at MoveActor.
Used by MoveActor when the actor is moving up. If the new Y position is less than 28 the actor has moved into the room above.
|
||||||||||||
| MoveActorUp | B027 | ADD A,(IX+$04) | Add the Y position of the actor. | |||||||||
| B02A | LD D,A | Stash the new Y position in D. | ||||||||||
| B02B | CP $28 | Jump to EnterRoomAbove if the actor has left the screen at the top. | ||||||||||
| B02D | JP C,EnterRoomAbove | |||||||||||
| B030 | RET | Return. | ||||||||||
| Prev: B01A | Up: Map | Next: B031 |