Prev: CB06 Up: Map Next: CB5A
CB0F: Draw Panel
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 CB0F LD IX,$BD38 Point IX at SpriteObject.
CB13 LD HL,$CB5A Point HL at PanelSprites.
CB16 CALL SetSpriteDetails Call SetSpriteDetails.
CB19 LD DE,$F810 Set DE to F810.
CB1C LD B,$05 Set B to 05.
CB1E CALL PrintSprites Call PrintSprites.
CB21 CALL SetSpriteDetails Call SetSpriteDetails.
CB24 LD DE,$0800 Set DE to 0800.
CB27 LD B,$06 Set B to 06.
CB29 CALL PrintSprites Call PrintSprites.
CB2C CALL PrintTableSprite Call PrintTableSprite.
CB2F CALL PrintTableSprite Call PrintTableSprite.
CB32 CALL SetSpriteDetails Call SetSpriteDetails.
CB35 LD DE,$F8F0 Set DE to F8F0.
CB38 LD B,$05 Set B to 05.
CB3A CALL PrintSprites Call PrintSprites.
CB3D CALL SetSpriteDetails Call SetSpriteDetails.
CB40 LD DE,$0800 Set DE to 0800.
CB43 LD B,$06 Set B to 06.
CB45 CALL PrintSprites Call PrintSprites.
CB48 CALL PrintTableSprite Call PrintTableSprite.
CB4B CALL PrintTableSprite Call PrintTableSprite.
CB4E CALL PrintTableSprite Call PrintTableSprite.
CB51 CALL PrintTableSprite Call PrintTableSprite.
CB54 CALL PrintTableSprite Call PrintTableSprite.
CB57 JP PrintTableSprite Jump to PrintTableSprite.
Prev: CB06 Up: Map Next: CB5A