Prev: A233 Up: Map Next: A24C
A239: Draw the sprites for the weapon icons in HUD (2/2)
A239 LD A,($A235) Increment the horizontal position in the data buffer for the next icon
A23C ADD A,$02
A23E LD ($A235),A
A241 POP HL Restore HL
A242 LD DE,$0020 Increment the address of the graphics data to point to the next weapon icon
A245 ADD HL,DE
A246 POP DE Restore DE
A247 INC DE Point to the next weapon in the weapon inventory status
A248 POP BC Restore BC
A249 DJNZ $A21F Jump back until all the 5 weapon icons are displayed
A24B RET
Prev: A233 Up: Map Next: A24C