Convert SFX constants to enums and replace literals in setup files

This commit is contained in:
Ryan Dwyer
2021-04-02 15:29:26 +10:00
parent c49972f46e
commit c745eb0306
25 changed files with 4302 additions and 2422 deletions
+4 -4
View File
@@ -1102,7 +1102,7 @@ u8 func1002_intro[] = {
// Timer expired - play a sound (explosion?)
label(0x06)
play_sound(0x05e2, CHANNEL_10)
play_sound(SFX_MAIAN_05E2, CHANNEL_10)
// Wait for camera to finish or button to be pressed
beginloop(0x08)
@@ -1180,7 +1180,7 @@ u8 func040b_outro[] = {
// Play sound
label(0x06)
play_sound(0x05e3, CHANNEL_10)
play_sound(SFX_MAIAN_05E3, CHANNEL_10)
// Wait 70 frames or for button press
beginloop(0x97)
@@ -1190,7 +1190,7 @@ u8 func040b_outro[] = {
// Play sound
label(0x06)
play_sound(0x05e5, CHANNEL_10)
play_sound(SFX_MAIAN_05E5, CHANNEL_10)
// Wait 180 frames or for button press
beginloop(0x98)
@@ -1200,7 +1200,7 @@ u8 func040b_outro[] = {
// Play sound
label(0x06)
play_sound(0x05e7, CHANNEL_10)
play_sound(SFX_MAIAN_05E7, CHANNEL_10)
// Wait for outro to finish
beginloop(0x08)