![]() |
Routines |
| Prev: 37357 | Up: Map | Next: 37374 |
|
Used by the routines at HandlerDoorOpen and HandlerClock.
The handler for the doors that are always open (sprite IDs 1 and 2 in HandlerTable2). It uses CheckPlayerInRange to check whether the player is in range of the door, and then EnterDoor takes them through it. Whether or not they do, the door is then shown by HandlerRoomItem.
|
||||||||
| HandlerDoorExit | 37362 | LD BC,4369 | BC=4369 (the range of the door). | |||||
|
This entry point is used by the routines at HandlerDoorBigExit and HandlerDoorACGExit.
|
||||||||
| HandlerDoorExit_Check | 37365 | CALL CheckPlayerInRange | Call CheckPlayerInRange to see whether the player is in range of the door. | |||||
| 37368 | CALL C,EnterDoor | Call EnterDoor if the player is in range. | ||||||
| 37371 | JP HandlerRoomItem | Jump to HandlerRoomItem to handle a room item that does nothing. | ||||||
| Prev: 37357 | Up: Map | Next: 37374 |