![]() |
Routines |
| Prev: 45082 | Up: Map | Next: 45105 |
|
Used by the routine at MoveActor.
Used by MoveActor when the actor is moving up. If the new Y position is less than 40 the actor has moved into the room above.
|
||||||||||||
| MoveActorUp | 45095 | ADD A,(IX+4) | Add the Y position of the actor. | |||||||||
| 45098 | LD D,A | Stash the new Y position in D. | ||||||||||
| 45099 | CP 40 | Jump to EnterRoomAbove if the actor has left the screen at the top. | ||||||||||
| 45101 | JP C,EnterRoomAbove | |||||||||||
| 45104 | RET | Return. | ||||||||||
| Prev: 45082 | Up: Map | Next: 45105 |