![]() |
Routines |
| Prev: 45471 | Up: Map | Next: 45495 |
|
Used by the routine at MoveActorUp.
Used by MoveActor when an actor has gone off the top of the screen. The actor is put at the bottom of the room above (the room number decreases by 16) without changing its X position.
|
||||||||||||
| EnterRoomAbove | 45483 | LD D,191 | Set the Y position to the bottom of the play area (191). | |||||||||
| 45485 | LD A,(IX+1) | Fetch the room of the actor. | ||||||||||
| 45488 | SUB 16 | Subtract 16 to move to the room above. | ||||||||||
| 45490 | LD (IX+1),A | Set the new room of the actor. | ||||||||||
| 45493 | JR EnterRoom | Jump to EnterRoom. | ||||||||||
| Prev: 45471 | Up: Map | Next: 45495 |