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
|
jsr Explosion
|
||||||
|
|
||||||
continueMainRoundLoopAfterSeppuku
|
continueMainRoundLoopAfterSeppuku
|
||||||
|
mva #sfx_silencer sfx_effect
|
||||||
|
|
||||||
AfterExplode
|
AfterExplode
|
||||||
jsr SoilDown ; allways
|
jsr SoilDown ; allways
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -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
|
||||||
; -----------------
|
; -----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user