Prev: A13E Up: Map Next: A1DB
A1A5: Draw HUD
Draw Scores, shield power, lives, bonus points, timer bar and weapon icons. Used by the routine at 947A.
A1A5 LD B,$03 Set B to the number of lines of text to print
A1A7 LD IX,$A24C Set IX to the text definition data for the HUD
A1AB CALL $A2DF Draw HUD text/icons: score, shield power, lives, time bar and points.
A1AE LD HL,$5801 Fill into attribute file the attribute color for HUD weapon icons
A1B1 LD B,$02
A1B3 LD E,$0A
A1B5 LD A,$01
A1B7 CALL $D909
A1BA LD HL,$5819 Fill into attribute file the attribute color for smartbombs icons
A1BD LD B,$02
A1BF LD E,$06
A1C1 LD A,$02
A1C3 CALL $D909
A1C6 CALL $A212 Draw the sprites for the weapon icons in HUD
Draw smartbombs. This entry point is used by the routines at 9751 and D494.
A1C9 LD A,($A06C) Set A to the number of smartbombs availables
A1CC SLA A Computes address in A202 for obtain the offset of the graphics data of the corresponents smartbomb icons
A1CE SLA A
A1D0 LD E,A
A1D1 LD D,$00
A1D3 LD HL,$A202
A1D6 ADD HL,DE
A1D7 CALL $A1DB Draw the sprites for the smartbomb icons in HUD
A1DA RET
Prev: A13E Up: Map Next: A1DB