Prev: A34D Up: Map Next: A399
A383: Draw the sprites for the smartbomb icons in HUD (1/2)
Used by the routine at A34D.
A383 LD B,$03 Set B to the number of smartbomb icons
A385 LD A,$19 Set horizontal position of first smartbomb icon in data buffer at A399
A387 LD ($A39B),A
This entry point is used by the routine at A39F.
A38A PUSH BC Save BC
A38B LD E,(HL) Set E to the offset of the graphics data for the corresponent smartbomb icon
A38C PUSH HL Save HL
A38D 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
A38F LD HL,$8AC0
A392 ADD HL,DE
A393 LD ($A399),HL Save this addres to the data buffer
A396 CALL $D658 Draw the smarbomb icon
Prev: A34D Up: Map Next: A399