infinite money when purchasing Baby Missile fix #26

This commit is contained in:
2022-06-18 07:07:24 -04:00
parent c86dcd7c59
commit 3c685b2811
2 changed files with 1 additions and 2 deletions
+1 -2
View File
@@ -724,7 +724,6 @@ PurchaseAll
; after getting weapon index the routine is common for all
ldx tanknr
tay ; weapon index is in Y
beq @+ ; baby missile skips all
sec
lda moneyL,x ; substracting from posessed money
sbc WeaponPriceL,y ; of price of the given weapon
@@ -761,7 +760,7 @@ LessThan100
sty LastWeapon ; store last purchased weapon
; because we must put screen pointer next to it
@ mva #0 PositionOnTheList ; to move the pointer to the top when no more monies
mva #0 PositionOnTheList ; to move the pointer to the top when no more monies
jmp Purchase.AfterPurchase
inventorySelect