![]() |
Routines |
| Prev: 54047 | Up: Map | Next: 54087 |
|
Used by the routine at DrawGameScreen.
Draws a block of tiles of 4 by 10 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.
|
|||||
|
Return if this is the town.
|
|||||
| DrawSidePictures | 54055 | LD A,(41575) | Fetch TownOffset. | ||
| 54058 | AND A | ||||
| 54059 | RET NZ | Return if this is the town. | |||
|
Draw the right hand block.
|
|||||
| 54060 | LD A,67 | Set the attribute to INK:MAGENTA, PAPER:BLACK (BRIGHT). | |||
| 54062 | EX AF,AF' | ||||
| 54063 | LD HL,18652 | Point HL at 18652 (in the screen buffer). | |||
| 54066 | LD DE,24068 | Point DE at SidePictureTiles. | |||
| 54069 | LD BC,1034 | Set the size of the block to 4 by 10. | |||
| 54072 | CALL DrawTileBlock | Call DrawTileBlock. | |||
|
Draw the left hand block.
|
|||||
| 54075 | LD HL,18627 | Point HL at 18627 (in the screen buffer). | |||
| 54078 | LD DE,24068 | Point DE at SidePictureTiles. | |||
| 54081 | LD BC,1034 | Set the size of the block to 4 by 10. | |||
| 54084 | JP DrawTileBlockReflected | Jump to DrawTileBlockReflected. | |||
| Prev: 54047 | Up: Map | Next: 54087 |