![]() |
Routines |
| Prev: 6A12 | Up: Map | Next: 6A35 |
|
The visible tiles array is a 24x17 grid of tile references. The game uses it to render room interiors and the exterior map. This routine clears all of the tiles all to zero.
|
||||
| wipe_visible_tiles | 6A27 | LD DE,$F0F9 | Set all RAM from $F0F8 to $F0F8 + 24 * 17 - 1 to zero | |
| 6A2A | LD HL,$F0F8 | |||
| 6A2D | LD BC,$0197 | |||
| 6A30 | LD (HL),$00 | |||
| 6A32 | LDIR | |||
| 6A34 | RET | Return | ||
| Prev: 6A12 | Up: Map | Next: 6A35 |