![]() |
Routines |
| Prev: DCF5 | Up: Map | Next: DD12 |
|
Used by the routine at Handler_Keyboard.
Wraps from room 00 back to 16.
|
||||
|
Drop the stacked return and step the room.
|
||||
| Cheat_PreviousRoom | DD03 | POP BC | Restore BC from the stack. | |
| DD04 | LD A,($64A2) | Jump to Change_Room with the previous room, unless this was room 00. | ||
| DD07 | DEC A | |||
| DD08 | CP $FF | |||
| DD0A | JP NZ,Change_Room | |||
| DD0D | LD A,$16 | Jump to Change_Room with room 16. | ||
| DD0F | JP Change_Room | |||
| Prev: DCF5 | Up: Map | Next: DD12 |