mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user