Prev: D31F Up: Map Next: D347
D327: Draw Side Pictures
Used by the routine at DrawGameScreen.
Draws a block of tiles of 04 by 0A from SidePictureTiles, on each side of the lower part of the screen of any stage which is not the town. The block at the left is drawn from right to left so that it is a reflection of the block at the right.
side-pictures
Return if this is the town.
DrawSidePictures D327 LD A,($A267) Fetch TownOffset.
D32A AND A
D32B RET NZ Return if this is the town.
Draw the right hand block.
D32C LD A,$43 Set the attribute to INK:MAGENTA, PAPER:BLACK (BRIGHT).
D32E EX AF,AF'
D32F LD HL,$48DC Point HL at 48DC (in the screen buffer).
D332 LD DE,$5E04 Point DE at SidePictureTiles.
D335 LD BC,$040A Set the size of the block to 04 by 0A.
D338 CALL DrawTileBlock Call DrawTileBlock.
Draw the left hand block.
D33B LD HL,$48C3 Point HL at 48C3 (in the screen buffer).
D33E LD DE,$5E04 Point DE at SidePictureTiles.
D341 LD BC,$040A Set the size of the block to 04 by 0A.
D344 JP DrawTileBlockReflected Jump to DrawTileBlockReflected.
Prev: D31F Up: Map Next: D347