Prev: A1A5 Up: Map Next: A1F1
A1DB: Draw the sprites for the smartbomb icons in HUD (1/2)
Used by the routine at A1A5.
A1DB LD B,$03 Set B to the number of smartbomb icons
A1DD LD A,$19 Set horizontal position of first smartbomb icon in data buffer at A1F1
A1DF LD ($A1F3),A
This entry point is used by the routine at A1F7.
A1E2 PUSH BC Save BC
A1E3 LD E,(HL) Set E to the offset of the graphics data for the corresponent smartbomb icon
A1E4 PUSH HL Save HL
A1E5 LD D,$00 Add the offset to the base addres of the graphics data and set HL to point to the graphcis data of the smartbomb icon
A1E7 LD HL,$8C0A
A1EA ADD HL,DE
A1EB LD ($A1F1),HL Save this addres to the data buffer
A1EE CALL $D8C0 Draw the smarbomb icon
Prev: A1A5 Up: Map Next: A1F1