mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 21:35:16 +02:00
WIP: sfx 3
This commit is contained in:
Binary file not shown.
+2
-2
@@ -84,7 +84,7 @@ sfx_lightning = $02
|
|||||||
sfx_dunno = $03
|
sfx_dunno = $03
|
||||||
sfx_nuke = $04
|
sfx_nuke = $04
|
||||||
sfx_baby_missile= $05
|
sfx_baby_missile= $05
|
||||||
sfx_death_beg = $06
|
sfx_death_begin = $06
|
||||||
sfx_plasma_1_2 = $07
|
sfx_plasma_1_2 = $07
|
||||||
sfx_plasma_2_2 = $08
|
sfx_plasma_2_2 = $08
|
||||||
sfx_napalm = $09
|
sfx_napalm = $09
|
||||||
@@ -99,7 +99,7 @@ sfx_riot_blast = $11
|
|||||||
sfx_sandhog = $12
|
sfx_sandhog = $12
|
||||||
sfx_dirt_chrg_s = $13
|
sfx_dirt_chrg_s = $13
|
||||||
sfx_digger = $14
|
sfx_digger = $14
|
||||||
sfx_silenting = $15
|
sfx_silencer = $15
|
||||||
sfx_next_player = $16
|
sfx_next_player = $16
|
||||||
sfx_purchase = $17
|
sfx_purchase = $17
|
||||||
sfx_keyclick = $18
|
sfx_keyclick = $18
|
||||||
|
|||||||
@@ -816,6 +816,7 @@ FalloutOfLine
|
|||||||
sta (temp),y
|
sta (temp),y
|
||||||
sty color
|
sty color
|
||||||
jsr plot.MakePlot
|
jsr plot.MakePlot
|
||||||
|
mva #sfx_silencer sfx_effect
|
||||||
|
|
||||||
ThereIsPixelHere
|
ThereIsPixelHere
|
||||||
ColumnIsReady
|
ColumnIsReady
|
||||||
@@ -833,6 +834,7 @@ ColumnIsReady
|
|||||||
jeq MainFallout2
|
jeq MainFallout2
|
||||||
; now correct heights are in the mountaintable
|
; now correct heights are in the mountaintable
|
||||||
mva #1 color
|
mva #1 color
|
||||||
|
mva #sfx_silencer sfx_effect
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
|
|||||||
+2
-2
@@ -590,7 +590,7 @@ PlayerXdeath .proc
|
|||||||
.endp
|
.endp
|
||||||
|
|
||||||
|
|
||||||
mva #sfx_death_beg sfx_effect
|
mva #sfx_death_begin sfx_effect
|
||||||
|
|
||||||
;RandomizeDeffensiveText
|
;RandomizeDeffensiveText
|
||||||
randomize talk.NumberOfOffensiveTexts (talk.NumberOfDeffensiveTexts+talk.NumberOfOffensiveTexts-1)
|
randomize talk.NumberOfOffensiveTexts (talk.NumberOfDeffensiveTexts+talk.NumberOfOffensiveTexts-1)
|
||||||
@@ -1215,7 +1215,7 @@ TankFont
|
|||||||
opt h+
|
opt h+
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
MODUL equ $a000 ;address of RMT module
|
MODUL equ $b000 ;address of RMT module
|
||||||
TheEnd
|
TheEnd
|
||||||
.ECHO 'TheEnd:',TheEnd
|
.ECHO 'TheEnd:',TheEnd
|
||||||
.if TheEnd > PMGraph + $300
|
.if TheEnd > PMGraph + $300
|
||||||
|
|||||||
BIN
Binary file not shown.
+23
-9
@@ -71,6 +71,7 @@ VOID
|
|||||||
.endp
|
.endp
|
||||||
; ------------------------
|
; ------------------------
|
||||||
.proc missile ;
|
.proc missile ;
|
||||||
|
mva #sfx_baby_missile sfx_effect
|
||||||
inc FallDown2
|
inc FallDown2
|
||||||
mva #17 ExplosionRadius
|
mva #17 ExplosionRadius
|
||||||
jsr CalculateExplosionRange
|
jsr CalculateExplosionRange
|
||||||
@@ -126,14 +127,15 @@ VOID
|
|||||||
ror Force
|
ror Force
|
||||||
;lsr Force+1
|
;lsr Force+1
|
||||||
;ror Force
|
;ror Force
|
||||||
lda LeapFrogAngle
|
mva LeapFrogAngle Angle
|
||||||
sta Angle
|
|
||||||
|
mva #sfx_funky_hit sfx_effect
|
||||||
jsr Flight
|
jsr Flight
|
||||||
lda HitFlag
|
lda HitFlag
|
||||||
beq EndOfLeapping
|
beq EndOfLeapping
|
||||||
mva #15 ExplosionRadius
|
mva #15 ExplosionRadius
|
||||||
jsr CalculateExplosionRange0
|
jsr CalculateExplosionRange0
|
||||||
mva #sfx_funky_hit sfx_effect
|
mva #sfx_baby_missile sfx_effect
|
||||||
jsr xmissile
|
jsr xmissile
|
||||||
|
|
||||||
; soil must fall down now! there is no other way...
|
; soil must fall down now! there is no other way...
|
||||||
@@ -155,14 +157,14 @@ VOID
|
|||||||
;ror Force
|
;ror Force
|
||||||
lsr Force+1
|
lsr Force+1
|
||||||
ror Force
|
ror Force
|
||||||
lda LeapFrogAngle
|
mva LeapFrogAngle Angle
|
||||||
sta Angle
|
mva #sfx_funky_hit sfx_effect
|
||||||
jsr Flight
|
jsr Flight
|
||||||
lda HitFlag
|
lda HitFlag
|
||||||
beq EndOfLeapping
|
beq EndOfLeapping
|
||||||
mva #13 ExplosionRadius
|
mva #13 ExplosionRadius
|
||||||
jsr CalculateExplosionRange0
|
jsr CalculateExplosionRange0
|
||||||
mva #sfx_funky_hit sfx_effect
|
mva #sfx_baby_missile sfx_effect
|
||||||
jmp xmissile
|
jmp xmissile
|
||||||
EndOfLeapping
|
EndOfLeapping
|
||||||
rts
|
rts
|
||||||
@@ -174,7 +176,7 @@ EndOfLeapping
|
|||||||
.endp
|
.endp
|
||||||
; ------------------------
|
; ------------------------
|
||||||
.proc funkybomb ;
|
.proc funkybomb ;
|
||||||
mva #sfx_funky_hit sfx_effect
|
mva #sfx_baby_missile sfx_effect
|
||||||
mwa xtraj+1 xtrajfb
|
mwa xtraj+1 xtrajfb
|
||||||
mwa ytraj+1 ytrajfb
|
mwa ytraj+1 ytrajfb
|
||||||
inc FallDown2
|
inc FallDown2
|
||||||
@@ -222,12 +224,13 @@ DoNotEor
|
|||||||
sta ytraj
|
sta ytraj
|
||||||
mwa xtrajfb xtraj+1
|
mwa xtrajfb xtraj+1
|
||||||
mwa ytrajfb ytraj+1
|
mwa ytrajfb ytraj+1
|
||||||
|
mva #sfx_funky_hit sfx_effect
|
||||||
jsr Flight
|
jsr Flight
|
||||||
|
|
||||||
jsr CalculateExplosionRange
|
jsr CalculateExplosionRange
|
||||||
lda HitFlag
|
lda HitFlag
|
||||||
beq NoExplosionInFunkyBomb
|
beq NoExplosionInFunkyBomb
|
||||||
mva #sfx_funky_hit sfx_effect
|
mva #sfx_baby_missile sfx_effect
|
||||||
jsr xmissile
|
jsr xmissile
|
||||||
NoExplosionInFunkyBomb
|
NoExplosionInFunkyBomb
|
||||||
dec FunkyBombCounter
|
dec FunkyBombCounter
|
||||||
@@ -267,6 +270,7 @@ NoUpperCircle
|
|||||||
mva #sfx_nuke sfx_effect
|
mva #sfx_nuke sfx_effect
|
||||||
jsr xmissile
|
jsr xmissile
|
||||||
NoLowerCircle
|
NoLowerCircle
|
||||||
|
mva #sfx_silencer sfx_effect
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
; ------------------------
|
; ------------------------
|
||||||
@@ -432,6 +436,7 @@ 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
|
||||||
@@ -536,6 +541,7 @@ DiggerCharacter
|
|||||||
mwa ydraw LaserCoordinate+2
|
mwa ydraw LaserCoordinate+2
|
||||||
mwa xbyte LaserCoordinate+4
|
mwa xbyte LaserCoordinate+4
|
||||||
mwa ybyte LaserCoordinate+6
|
mwa ybyte LaserCoordinate+6
|
||||||
|
mva #sfx_lightning sfx_effect
|
||||||
|
|
||||||
jsr draw
|
jsr draw
|
||||||
mva #0 color
|
mva #0 color
|
||||||
@@ -543,18 +549,21 @@ DiggerCharacter
|
|||||||
mwa LaserCoordinate+2 ydraw
|
mwa LaserCoordinate+2 ydraw
|
||||||
mwa LaserCoordinate+4 xbyte
|
mwa LaserCoordinate+4 xbyte
|
||||||
mwa LaserCoordinate+6 ybyte
|
mwa LaserCoordinate+6 ybyte
|
||||||
|
mva #sfx_lightning sfx_effect
|
||||||
jsr draw
|
jsr draw
|
||||||
mva #1 color
|
mva #1 color
|
||||||
mwa LaserCoordinate xdraw
|
mwa LaserCoordinate xdraw
|
||||||
mwa LaserCoordinate+2 ydraw
|
mwa LaserCoordinate+2 ydraw
|
||||||
mwa LaserCoordinate+4 xbyte
|
mwa LaserCoordinate+4 xbyte
|
||||||
mwa LaserCoordinate+6 ybyte
|
mwa LaserCoordinate+6 ybyte
|
||||||
|
mva #sfx_lightning sfx_effect
|
||||||
jsr draw
|
jsr draw
|
||||||
mva #0 color
|
mva #0 color
|
||||||
mwa LaserCoordinate xdraw
|
mwa LaserCoordinate xdraw
|
||||||
mwa LaserCoordinate+2 ydraw
|
mwa LaserCoordinate+2 ydraw
|
||||||
mwa LaserCoordinate+4 xbyte
|
mwa LaserCoordinate+4 xbyte
|
||||||
mwa LaserCoordinate+6 ybyte
|
mwa LaserCoordinate+6 ybyte
|
||||||
|
mva #sfx_lightning sfx_effect
|
||||||
jsr draw
|
jsr draw
|
||||||
mva #1 color
|
mva #1 color
|
||||||
mwa LaserCoordinate xdraw
|
mwa LaserCoordinate xdraw
|
||||||
@@ -650,6 +659,7 @@ TankIsNotWithinTheRange
|
|||||||
EndOfDistanceCheckLoop
|
EndOfDistanceCheckLoop
|
||||||
txa
|
txa
|
||||||
bne DistanceCheckLoop
|
bne DistanceCheckLoop
|
||||||
|
mva #sfx_silencer sfx_effect
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
; -----------------
|
; -----------------
|
||||||
@@ -1042,7 +1052,7 @@ pressedUp
|
|||||||
inc EnergyTableH,x
|
inc EnergyTableH,x
|
||||||
CheckingMaxForce
|
CheckingMaxForce
|
||||||
|
|
||||||
mva #sfx_set_power_2 sfx_effect
|
mva #sfx_set_power_1 sfx_effect
|
||||||
|
|
||||||
lda MaxEnergyTableH,x
|
lda MaxEnergyTableH,x
|
||||||
cmp EnergyTableH,x
|
cmp EnergyTableH,x
|
||||||
@@ -1101,6 +1111,7 @@ CTRLPressedDown
|
|||||||
jmp BeforeFire
|
jmp BeforeFire
|
||||||
|
|
||||||
pressedLeft
|
pressedLeft
|
||||||
|
mva #sfx_set_power_2 sfx_effect
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
dec AngleTable,x
|
dec AngleTable,x
|
||||||
lda AngleTable,x
|
lda AngleTable,x
|
||||||
@@ -1116,6 +1127,7 @@ NotThrough90DegreesLeft
|
|||||||
jmp BeforeFire
|
jmp BeforeFire
|
||||||
|
|
||||||
pressedRight
|
pressedRight
|
||||||
|
mva #sfx_set_power_2 sfx_effect
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
INC AngleTable,x
|
INC AngleTable,x
|
||||||
lda AngleTable,x
|
lda AngleTable,x
|
||||||
@@ -1250,6 +1262,7 @@ AfterStrongShoot
|
|||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
TankFalls .proc;
|
TankFalls .proc;
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
|
mva #sfx_shield_off sfx_effect
|
||||||
lda #0
|
lda #0
|
||||||
sta PreviousFall
|
sta PreviousFall
|
||||||
sta EndOfTheFallFlag
|
sta EndOfTheFallFlag
|
||||||
@@ -1477,6 +1490,7 @@ EndOfFall
|
|||||||
lda #$35 ; parachute
|
lda #$35 ; parachute
|
||||||
jsr DecreaseWeapon
|
jsr DecreaseWeapon
|
||||||
ThereWasNoParachute
|
ThereWasNoParachute
|
||||||
|
mva #sfx_silencer sfx_effect
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user