mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Weapons SFX code optimization
This commit is contained in:
@@ -449,6 +449,7 @@ GoExplosion
|
||||
jsr Explosion
|
||||
|
||||
continueMainRoundLoopAfterSeppuku
|
||||
mva #sfx_silencer sfx_effect
|
||||
|
||||
AfterExplode
|
||||
jsr SoilDown ; allways
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -229,7 +229,6 @@ NoUpperCircle
|
||||
mva #sfx_nuke sfx_effect
|
||||
jsr GoXmissileWithSaveXYdraw
|
||||
NoLowerCircle
|
||||
mva #sfx_silencer sfx_effect
|
||||
rts
|
||||
|
||||
GoXmissileWithSaveXYdraw
|
||||
@@ -345,7 +344,6 @@ TankOutOfFire
|
||||
EndNurnedCheckLoop
|
||||
dex
|
||||
bpl BurnedCheckLoop
|
||||
mva #sfx_silencer sfx_effect
|
||||
rts
|
||||
.endp
|
||||
; ------------------------
|
||||
@@ -514,7 +512,6 @@ DigDrawing
|
||||
dec:lda DigLong
|
||||
jpl BranchNotFinished
|
||||
DoNotPutDig
|
||||
mva #sfx_silencer sfx_effect
|
||||
rts
|
||||
DiggerCharacter
|
||||
lda random
|
||||
@@ -559,7 +556,6 @@ dirtLoop
|
||||
lda radius
|
||||
cmp ExplosionRadius
|
||||
bne dirtLoop
|
||||
mva #sfx_silencer sfx_effect
|
||||
rts
|
||||
.endp
|
||||
; ------------------------
|
||||
@@ -833,7 +829,6 @@ TankIsNotWithinTheRange
|
||||
EndOfDistanceCheckLoop
|
||||
dex
|
||||
jpl DistanceCheckLoop
|
||||
mva #sfx_silencer sfx_effect
|
||||
rts
|
||||
.endp
|
||||
; -----------------
|
||||
|
||||
Reference in New Issue
Block a user