mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
AI battery with SFX
This commit is contained in:
@@ -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
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
+1
-1
@@ -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 :)
|
||||
|
||||
Reference in New Issue
Block a user