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
lda ForceTableH,x
sta Force+1
lda #ind_Baby_Missile___
sta ActiveWeapon,x
; now we have initial valuses
mva #$ff TestFlightFlag
; check targeting direction
+1 -2
View File
@@ -441,8 +441,6 @@ RoboTanks
seq:rts
@
; let's move the tank's barrel so it points the right
; direction
jmp AfterManualShooting
ManualShooting
@@ -738,6 +736,7 @@ NotShooter
lda Energy,x
cmp EnergyDecrease
bcc ldahashzero
beq ldahashzero
;sec
sbc EnergyDecrease
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
sbw XHit #36 ; change to left
EndOfMagDeflector
lda #0
sta ActiveDefenceWeapon,x ; deactivate used mag deflector weapon
sta ShieldEnergy,x
mwa XHit xdraw ; why? !!!
NoTankHitAtEndOfFight
NoHitAtEndOfFight