diff --git a/ai.asm b/ai.asm index 9becaa0..11358b5 100644 --- a/ai.asm +++ b/ai.asm @@ -268,6 +268,9 @@ EnoughEnergy lda #99 sta Energy,x jsr MaxForceCalculate + mva #sfx_battery sfx_effect + ldy #7 + jsr PauseYFrames ; wait 14 frames (Battery SFX) EnoughEnergy NoBatteries rts diff --git a/scorch.bin b/scorch.bin index 03e0467..6537ad0 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index 9181280..fbaaff4 100644 Binary files a/scorch.xex and b/scorch.xex differ diff --git a/scorchC64.prg b/scorchC64.prg index 0822838..6ca9aa9 100644 Binary files a/scorchC64.prg and b/scorchC64.prg differ diff --git a/weapons.asm b/weapons.asm index 7f3fb50..3555b63 100644 --- a/weapons.asm +++ b/weapons.asm @@ -3046,7 +3046,7 @@ CheckCollisionWithTankLoop lda ActiveDefenceWeapon,x cmp #ind_Mag_Deflector ; first shielded weapon bcc CheckCollisionWithNotShieldedTank - cmp #ind_Bouncy_Castle +1 ; last shielded weapon + cmp #ind_Bouncy_Castle+1 ; last shielded weapon bcc CheckCollisionWithShieldedTank ; tank with shield is bigger :) ;lda ShieldEnergy,x ; there is wrong method to check shield :)