![]() |
Routines |
| Prev: DC62 | Up: Map | Next: DD03 |
|
Used by the routine at Handler_Keyboard.
Wraps from room 16 back to 00.
|
||||
|
Drop the stacked return and step the room.
|
||||
| Cheat_NextRoom | DCF5 | POP BC | Restore BC from the stack. | |
| DCF6 | LD A,($64A2) | Jump to Change_Room with the next room, unless this was room 16. | ||
| DCF9 | INC A | |||
| DCFA | CP $17 | |||
| DCFC | JP NZ,Change_Room | |||
| DCFF | XOR A | Jump to Change_Room with room 00. | ||
| DD00 | JP Change_Room | |||
| Prev: DC62 | Up: Map | Next: DD03 |