WIP: Proper selection of weapons with Tab key

This commit is contained in:
Pecusx
2022-08-29 09:42:05 +02:00
parent 39835d5f50
commit cc07bd52f2
4 changed files with 21 additions and 14 deletions
+3 -2
View File
@@ -1100,8 +1100,9 @@ ParachutePresent
; check energy of parachute
lda ShieldEnergy,x
bne OneTimeParachute
mva #0 Parachute
mva #0 ActiveDefenceWeapon,x ; deactivate defence
lda #$00
sta Parachute
sta ActiveDefenceWeapon,x ; deactivate defence
OneTimeParachute
lda Parachute
ora #2 ; we set bit nr 1 (nr 0 means that parachute is present)