Weapons SFX code optimization

This commit is contained in:
Pecusx
2023-08-11 23:12:00 +02:00
parent 57ecb00259
commit 9c21776e0a
4 changed files with 1 additions and 5 deletions
+1
View File
@@ -449,6 +449,7 @@ GoExplosion
jsr Explosion jsr Explosion
continueMainRoundLoopAfterSeppuku continueMainRoundLoopAfterSeppuku
mva #sfx_silencer sfx_effect
AfterExplode AfterExplode
jsr SoilDown ; allways jsr SoilDown ; allways
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
-5
View File
@@ -229,7 +229,6 @@ NoUpperCircle
mva #sfx_nuke sfx_effect mva #sfx_nuke sfx_effect
jsr GoXmissileWithSaveXYdraw jsr GoXmissileWithSaveXYdraw
NoLowerCircle NoLowerCircle
mva #sfx_silencer sfx_effect
rts rts
GoXmissileWithSaveXYdraw GoXmissileWithSaveXYdraw
@@ -345,7 +344,6 @@ TankOutOfFire
EndNurnedCheckLoop EndNurnedCheckLoop
dex dex
bpl BurnedCheckLoop bpl BurnedCheckLoop
mva #sfx_silencer sfx_effect
rts rts
.endp .endp
; ------------------------ ; ------------------------
@@ -514,7 +512,6 @@ DigDrawing
dec:lda DigLong dec:lda DigLong
jpl BranchNotFinished jpl BranchNotFinished
DoNotPutDig DoNotPutDig
mva #sfx_silencer sfx_effect
rts rts
DiggerCharacter DiggerCharacter
lda random lda random
@@ -559,7 +556,6 @@ dirtLoop
lda radius lda radius
cmp ExplosionRadius cmp ExplosionRadius
bne dirtLoop bne dirtLoop
mva #sfx_silencer sfx_effect
rts rts
.endp .endp
; ------------------------ ; ------------------------
@@ -833,7 +829,6 @@ TankIsNotWithinTheRange
EndOfDistanceCheckLoop EndOfDistanceCheckLoop
dex dex
jpl DistanceCheckLoop jpl DistanceCheckLoop
mva #sfx_silencer sfx_effect
rts rts
.endp .endp
; ----------------- ; -----------------