no shoot after inventory select #26

This commit is contained in:
2022-06-15 07:48:57 -04:00
parent b19d218670
commit 2992bd40b3
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ price_Battery________ = $ffff ;_55
price_Mag_Deflector__ = 120 ;_56
price_Shield_________ = 50 ;_57
price_Force_Shield___ = 210 ;_58
price_Heavy_Shield___ = $ffff ;_59
price_Super_Mag______ = 160 ;_60
price_Heavy_Shield___ = 111 ;_59
price_Super_Mag______ = $ffff ;_60
price_Auto_Defense___ = 300 ;_61
price_Fuel_Tank______ = $ffff ;_62
price_Contact_Trigger = $ffff ;_63
BIN
View File
Binary file not shown.
+3 -2
View File
@@ -772,7 +772,7 @@ inventorySelect
lda IndexesOfWeaponsL1,y
ldx tankNr
sta activeWeapon,x
rts
jmp WaitForKeyRelease ; rts
invSelectDef
ldy PositionOnTheList
@@ -792,7 +792,8 @@ invSelectDef
lda DefensiveEnergy,y
sta ShieldEnergy,x
rts
jmp WaitForKeyRelease ; rts
.endp
; -----------------------------------------------------
.proc calcPosDefensive