Inventory song added

This commit is contained in:
Pecusx
2022-08-14 16:44:04 +02:00
parent c413837ffd
commit b46b275b66
6 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
STEREOMODE equ 0 STEREOMODE equ 0
;* --------BEGIN-------- ;* --------BEGIN--------
;* C:\Atari\rmt\rmt128\schorch_str2.rmt ;* C:\Atari\rmt\rmt128\scorch_str3.rmt
FEAT_SFX equ 1 FEAT_SFX equ 1
FEAT_GLOBALVOLUMEFADE equ 0 ;RMTGLOBALVOLUMEFADE variable FEAT_GLOBALVOLUMEFADE equ 0 ;RMTGLOBALVOLUMEFADE variable
FEAT_NOSTARTINGSONGLINE equ 0 FEAT_NOSTARTINGSONGLINE equ 0
FEAT_INSTRSPEED equ 1 FEAT_INSTRSPEED equ 1
FEAT_CONSTANTSPEED equ 0 ;(19 times) FEAT_CONSTANTSPEED equ 0 ;(21 times)
FEAT_COMMAND1 equ 1 ;(18 times) FEAT_COMMAND1 equ 1 ;(18 times)
FEAT_COMMAND2 equ 0 ;(0 times) FEAT_COMMAND2 equ 0 ;(0 times)
FEAT_COMMAND3 equ 0 ;(0 times) FEAT_COMMAND3 equ 0 ;(0 times)
+1
View File
@@ -207,3 +207,4 @@ song_ingame = $06
song_round_over = $0b song_round_over = $0b
song_ending_looped = $0e song_ending_looped = $0e
song_supermarket = $1b song_supermarket = $1b
song_inventory = $1d
+1 -1
View File
@@ -1611,7 +1611,7 @@ PLAYER
MODUL equ $b000 ;address of RMT module MODUL equ $b000 ;address of RMT module
opt h- ;RMT module is standard Atari binary file already opt h- ;RMT module is standard Atari binary file already
ins "artwork/sfx/schorch_str2.rmt" ;include music RMT module ins "artwork/sfx/scorch_str3.rmt" ;include music RMT module
opt h+ opt h+
; ;
; ;
BIN
View File
Binary file not shown.
+4 -1
View File
@@ -288,7 +288,10 @@ AfterManualPurchase
sta dmactls sta dmactls
lda #song_supermarket lda #song_supermarket
jsr RmtSongSelect bit IsInventory
bpl @+
lda #song_inventory
@ jsr RmtSongSelect
mwa #ListOfWeapons WeaponsListDL ;switch to the list of offensive weapons mwa #ListOfWeapons WeaponsListDL ;switch to the list of offensive weapons