![]() |
Routines |
| Prev: 56418 | Up: Map | Next: 56579 |
|
Used by the routine at Handler_Keyboard.
Wraps from room 22 back to 0.
|
||||
|
Drop the stacked return and step the room.
|
||||
| Cheat_NextRoom | 56565 | POP BC | Restore BC from the stack. | |
| 56566 | LD A,(25762) | Jump to Change_Room with the next room, unless this was room 22. | ||
| 56569 | INC A | |||
| 56570 | CP 23 | |||
| 56572 | JP NZ,Change_Room | |||
| 56575 | XOR A | Jump to Change_Room with room 0. | ||
| 56576 | JP Change_Room | |||
| Prev: 56418 | Up: Map | Next: 56579 |