number of shells in inventory #26
This commit is contained in:
BIN
Binary file not shown.
+9
-6
@@ -355,12 +355,6 @@ CreateList
|
|||||||
sta decimal+1
|
sta decimal+1
|
||||||
jsr displaydec
|
jsr displaydec
|
||||||
|
|
||||||
lda temp ; weapon index again
|
|
||||||
jsr HowManyBullets
|
|
||||||
sta decimal
|
|
||||||
|
|
||||||
adw xbyte #1 displayposition
|
|
||||||
jsr displaybyte
|
|
||||||
jmp notInventory
|
jmp notInventory
|
||||||
|
|
||||||
itIsInventory
|
itIsInventory
|
||||||
@@ -389,6 +383,15 @@ itIsInventory
|
|||||||
bne @-
|
bne @-
|
||||||
|
|
||||||
notInventory
|
notInventory
|
||||||
|
|
||||||
|
; number of posessed shells
|
||||||
|
lda temp ; weapon index again
|
||||||
|
jsr HowManyBullets
|
||||||
|
sta decimal
|
||||||
|
|
||||||
|
adw xbyte #1 displayposition
|
||||||
|
jsr displaybyte
|
||||||
|
|
||||||
ldx temp ;weapon index
|
ldx temp ;weapon index
|
||||||
; now symbol of the weapon
|
; now symbol of the weapon
|
||||||
lda WeaponSymbols,x
|
lda WeaponSymbols,x
|
||||||
|
|||||||
Reference in New Issue
Block a user