MagDeflector is working properly

And an attempt to repair the blue zombie tank.
This commit is contained in:
Pecusx
2022-07-31 20:34:44 +02:00
parent d7501b5c7c
commit edbfddf090
4 changed files with 6 additions and 2 deletions
+2
View File
@@ -618,6 +618,8 @@ skipThisPlayer
sta Force sta Force
lda ForceTableH,x lda ForceTableH,x
sta Force+1 sta Force+1
lda #ind_Baby_Missile___
sta ActiveWeapon,x
; now we have initial valuses ; now we have initial valuses
mva #$ff TestFlightFlag mva #$ff TestFlightFlag
; check targeting direction ; check targeting direction
+1 -2
View File
@@ -441,8 +441,6 @@ RoboTanks
seq:rts seq:rts
@ @
; let's move the tank's barrel so it points the right
; direction
jmp AfterManualShooting jmp AfterManualShooting
ManualShooting ManualShooting
@@ -738,6 +736,7 @@ NotShooter
lda Energy,x lda Energy,x
cmp EnergyDecrease cmp EnergyDecrease
bcc ldahashzero bcc ldahashzero
beq ldahashzero
;sec ;sec
sbc EnergyDecrease sbc EnergyDecrease
bpl NotNegativeEnergy bpl NotNegativeEnergy
BIN
View File
Binary file not shown.
+3
View File
@@ -1889,6 +1889,9 @@ RightDeflection
bcs EndOfMagDeflector ; hit of course but we need RTS bcs EndOfMagDeflector ; hit of course but we need RTS
sbw XHit #36 ; change to left sbw XHit #36 ; change to left
EndOfMagDeflector EndOfMagDeflector
lda #0
sta ActiveDefenceWeapon,x ; deactivate used mag deflector weapon
sta ShieldEnergy,x
mwa XHit xdraw ; why? !!! mwa XHit xdraw ; why? !!!
NoTankHitAtEndOfFight NoTankHitAtEndOfFight
NoHitAtEndOfFight NoHitAtEndOfFight