![]() |
Routines |
| Prev: 56565 | Up: Map | Next: 56594 |
|
Used by the routine at Handler_Keyboard.
Wraps from room 0 back to 22.
|
||||
|
Drop the stacked return and step the room.
|
||||
| Cheat_PreviousRoom | 56579 | POP BC | Restore BC from the stack. | |
| 56580 | LD A,(25762) | Jump to Change_Room with the previous room, unless this was room 0. | ||
| 56583 | DEC A | |||
| 56584 | CP 255 | |||
| 56586 | JP NZ,Change_Room | |||
| 56589 | LD A,22 | Jump to Change_Room with room 22. | ||
| 56591 | JP Change_Room | |||
| Prev: 56565 | Up: Map | Next: 56594 |