WIP: sfx 09

This commit is contained in:
2022-05-08 09:17:48 -04:00
parent 08964e2f68
commit 676dbe2877
5 changed files with 10 additions and 6 deletions
Binary file not shown.
+6 -3
View File
@@ -83,7 +83,7 @@ sfx_set_power_2 = $01
sfx_lightning = $02 sfx_lightning = $02
sfx_dunno = $03 sfx_dunno = $03
sfx_nuke = $04 sfx_nuke = $04
sfx_hit = $05 sfx_baby_missile= $05
sfx_death_beg = $06 sfx_death_beg = $06
sfx_plasma_1_2 = $07 sfx_plasma_1_2 = $07
sfx_plasma_2_2 = $08 sfx_plasma_2_2 = $08
@@ -97,7 +97,10 @@ sfx_parachute = $0f
sfx_smoke_cloud = $10 sfx_smoke_cloud = $10
sfx_riot_blast = $11 sfx_riot_blast = $11
sfx_sandhog = $12 sfx_sandhog = $12
sfx_dirt_char_s = $13 sfx_dirt_chrg_s = $13
sfx_digger = $14 sfx_digger = $14
sfx_key = $15 sfx_silenting = $15
sfx_next_player = $16
sfx_purchase = $17
sfx_keyclick = $18
+2 -2
View File
@@ -1138,7 +1138,7 @@ getkey .proc; waits for pressing a key and returns pressed value in A
cmp #$ff cmp #$ff
beq checkJoyGetKey ; key not pressed, check Joy beq checkJoyGetKey ; key not pressed, check Joy
mva #sfx_key sfx_effect mva #sfx_keyclick sfx_effect
lda kbcode lda kbcode
and #$3f ;CTRL and SHIFT ellimination and #$3f ;CTRL and SHIFT ellimination
rts rts
@@ -1211,7 +1211,7 @@ TankFont
.ECHO 'PLAYER: ',* .ECHO 'PLAYER: ',*
icl 'artwork/sfx/rmtplayr_game.asm' icl 'artwork/sfx/rmtplayr_game.asm'
opt h- ;RMT module is standard Atari binary file already opt h- ;RMT module is standard Atari binary file already
ins "artwork/sfx/scorch_trial07_stripped.rmt" ;include music RMT module ins "artwork/sfx/scorch_trial09_stripped.rmt" ;include music RMT module
opt h+ opt h+
; ;
; ;
BIN
View File
Binary file not shown.
+2 -1
View File
@@ -63,6 +63,7 @@ VOID
; ------------------------ ; ------------------------
.proc babymissile .proc babymissile
mva #sfx_baby_missile sfx_effect
inc FallDown2 inc FallDown2
mva #11 ExplosionRadius mva #11 ExplosionRadius
jsr CalculateExplosionRange jsr CalculateExplosionRange
@@ -826,7 +827,7 @@ DirectionChecked
.proc ofdirt ; .proc ofdirt ;
; -------------------------------------------------- ; --------------------------------------------------
; makes dirt on xdraw,ydraw position and of ExplosionRadius height ; makes dirt on xdraw,ydraw position and of ExplosionRadius height
mva #sfx_dirt_char_s sfx_effect mva #sfx_dirt_chrg_s sfx_effect
mva #1 color mva #1 color
NoColor ; jump here with color=0 to clean dirt NoColor ; jump here with color=0 to clean dirt