Prev: A8F4 Up: Map Next: A9AD
A9A0: Plot tile, then advance
This calls plot_tile then advances the screen buffer pointer in DE' by a row.
Used by the routine at plot_vertical_tiles_common.
Input
A Tile index
DE' Pointer into the 24x17x8 screen buffer ("window_buf")
HL' Pointer into the 7x5 supertile indices buffer ("map_buf")
plot_tile_then_advance A9A0 CALL plot_tile Plot the tile in A to the screen buffer at DE' using supertile pointer HL'
A9A3 EXX Bank
A9A4 LD A,E Advance the screen buffer pointer DE' to the next row (add 24 * 8 - 1)
A9A5 ADD A,$BF
A9A7 LD E,A
A9A8 JR NC,plot_tile_then_advance_0
A9AA INC D
plot_tile_then_advance_0 A9AB EXX Unbank
A9AC RET Return
Prev: A8F4 Up: Map Next: A9AD