![]() |
Routines |
| Prev: 51974 | Up: Map | Next: 52058 |
|
Used by the routine at RunGame.
Draws the sprites of the panel at the bottom of the screen, using the table at PanelSprites. On each side there is a run of five sprites that go up in steps, a column of six sprites and two more sprites, and the middle of the panel has the extra life that is the symbol for the lives and four more sprites. The right side is the left side flipped.
|
||||||
|
Left side, then right, then the middle.
|
||||||
| DrawPanel | 51983 | LD IX,48440 | Point IX at SpriteObject. | |||
| 51987 | LD HL,52058 | Point HL at PanelSprites. | ||||
| 51990 | CALL SetSpriteDetails | Call SetSpriteDetails. | ||||
| 51993 | LD DE,63504 | Set DE to 63504. | ||||
| 51996 | LD B,5 | Set B to 5. | ||||
| 51998 | CALL PrintSprites | Call PrintSprites. | ||||
| 52001 | CALL SetSpriteDetails | Call SetSpriteDetails. | ||||
| 52004 | LD DE,2048 | Set DE to 2048. | ||||
| 52007 | LD B,6 | Set B to 6. | ||||
| 52009 | CALL PrintSprites | Call PrintSprites. | ||||
| 52012 | CALL PrintTableSprite | Call PrintTableSprite. | ||||
| 52015 | CALL PrintTableSprite | Call PrintTableSprite. | ||||
| 52018 | CALL SetSpriteDetails | Call SetSpriteDetails. | ||||
| 52021 | LD DE,63728 | Set DE to 63728. | ||||
| 52024 | LD B,5 | Set B to 5. | ||||
| 52026 | CALL PrintSprites | Call PrintSprites. | ||||
| 52029 | CALL SetSpriteDetails | Call SetSpriteDetails. | ||||
| 52032 | LD DE,2048 | Set DE to 2048. | ||||
| 52035 | LD B,6 | Set B to 6. | ||||
| 52037 | CALL PrintSprites | Call PrintSprites. | ||||
| 52040 | CALL PrintTableSprite | Call PrintTableSprite. | ||||
| 52043 | CALL PrintTableSprite | Call PrintTableSprite. | ||||
| 52046 | CALL PrintTableSprite | Call PrintTableSprite. | ||||
| 52049 | CALL PrintTableSprite | Call PrintTableSprite. | ||||
| 52052 | CALL PrintTableSprite | Call PrintTableSprite. | ||||
| 52055 | JP PrintTableSprite | Jump to PrintTableSprite. | ||||
| Prev: 51974 | Up: Map | Next: 52058 |