Prev: 6A12 Up: Map Next: 6A35
6A27: Wipe visible tiles
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.
Used by the routines at setup_room, screen_reset and choose_game_window_attributes.
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