Better Shooter strategy

Poolshark and Tosser no longer cheat :)
This commit is contained in:
Pecusx
2022-07-11 21:43:07 +02:00
parent e94a356e6d
commit 6868eb8626
4 changed files with 19 additions and 3 deletions
+16 -2
View File
@@ -446,8 +446,8 @@ AfterManualShooting
cmp #ind_Nuclear_Winter_
bne StandardShoot
ShootAtomicWinter
; --- nuclear winter ---
jsr NuclearWinter
; --- atomic winter ---
jsr AtomicWinter
jmp NextPlayerShoots ; and we skip shoot
ShootWhiteFlag
; --- white flag ---
@@ -681,6 +681,20 @@ MetodOfDeath
jsr ExplosionDirect
mva #sfx_silencer sfx_effect
; Clear current Shooter settings. After that, Shooter will "search" for the target again
ldx NumberOfPlayers
dex
@ lda skillTable,x
cmp #2 ; clear variables only if Shooter
bne NotShooter
lda #0
sta PreviousAngle,x
sta PreviousEnergyL,x
sta PreviousEnergyH,x
NotShooter
dex
bpl @-
; jump to after explosion routines (soil fallout, etc.)
; After going through these routines we are back
; to checking if a tank exploded and maybe we have