![]() |
Routines |
| Prev: 9C3C | Up: Map | Next: 9C70 |
|
Used by the routine at Run_Game.
Writes 00 to 07FF bytes starting at Room_Visit_Table, which empties the room visit table.
|
||||
| Reset_Room_Table | 9C62 | LD HL,$6000 | Point at the start of the room visit table (Room_Visit_Table). | |
| 9C65 | LD DE,$6001 | DE=6001 (the second byte of the table, which is the destination of the copy). | ||
| 9C68 | LD BC,$07FF | Set the byte count to 07FF. | ||
| 9C6B | LD (HL),$00 | Write 00 to the first byte. | ||
| 9C6D | LDIR | Copy the byte through the rest of the area. | ||
| 9C6F | RET | Return. | ||
| Prev: 9C3C | Up: Map | Next: 9C70 |