Prev: A2E6 Up: Map Next: A383
A34D: Draw HUD
Draw Scores, shield power, lives, bonus points, timer bar and weapon icons. Used by the routine at 9470.
A34D LD B,$03 Set B to the number of lines of text to print
A34F LD IX,$A3F4 Set IX to the text definition data for the HUD
A353 CALL $A487 Draw HUD text/icons: score, shield power, lives, time bar and points.
A356 LD HL,$5801 Fill into attribute file the attribute color for HUD weapon icons
A359 LD B,$02
A35B LD E,$0A
A35D LD A,$01
A35F CALL $D6A1
A362 LD HL,$5819 Fill into attribute file the attribute color for smartbombs icons
A365 LD B,$02
A367 LD E,$06
A369 LD A,$02
A36B CALL $D6A1
A36E CALL $A3BA Draw the sprites for the weapon icons in HUD
Draw smartbombs. This entry point is used by the routines at 9739 and D22C.
A371 LD A,($A205) Set A to the number of smartbombs availables
A374 SLA A Computes address in A3AA for obtain the offset of the graphics data of the corresponents smartbomb icons
A376 SLA A
A378 LD E,A
A379 LD D,$00
A37B LD HL,$A3AA
A37E ADD HL,DE
A37F CALL $A383 Draw the sprites for the smartbomb icons in HUD
A382 RET
Prev: A2E6 Up: Map Next: A383