mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 14:49:40 +02:00
infinite money when purchasing Baby Missile fix #26
This commit is contained in:
BIN
Binary file not shown.
+1
-2
@@ -724,7 +724,6 @@ PurchaseAll
|
|||||||
; after getting weapon index the routine is common for all
|
; after getting weapon index the routine is common for all
|
||||||
ldx tanknr
|
ldx tanknr
|
||||||
tay ; weapon index is in Y
|
tay ; weapon index is in Y
|
||||||
beq @+ ; baby missile skips all
|
|
||||||
sec
|
sec
|
||||||
lda moneyL,x ; substracting from posessed money
|
lda moneyL,x ; substracting from posessed money
|
||||||
sbc WeaponPriceL,y ; of price of the given weapon
|
sbc WeaponPriceL,y ; of price of the given weapon
|
||||||
@@ -761,7 +760,7 @@ LessThan100
|
|||||||
sty LastWeapon ; store last purchased weapon
|
sty LastWeapon ; store last purchased weapon
|
||||||
; because we must put screen pointer next to it
|
; 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
|
jmp Purchase.AfterPurchase
|
||||||
|
|
||||||
inventorySelect
|
inventorySelect
|
||||||
|
|||||||
Reference in New Issue
Block a user