mirror of
https://github.com/HarbourMasters/Starship
synced 2026-09-02 02:32:35 -04:00
3DS VERSION SfxIds applied to code (#232)
* NA_SE_ARWING_BOOST is everywhere * man, there's just no end of these sfxIds * NA_SE_GREATFOX_ENGINE everywhere * NA_SE_OB_DAMAGE_M, another SfxId with massive usage * massive usage of NA_SE_EN_REFLECT * massive usage of NA_SE_EN_EXPLOSION_S * massive usage of NA_SE_EN_EXPLOSION_M * NA_SE_ARWING_ENGINE_FG * save progress * MISSION ACCOMPLISHED
This commit is contained in:
committed by
GitHub
parent
65cb9e270e
commit
44c9eadbc2
@@ -79,7 +79,7 @@ void Option_ExpertSoundUpdate(void) {
|
||||
sfx |= sfxId & 0xFF;
|
||||
|
||||
if (prevSfx != sfx) {
|
||||
AUDIO_PLAY_SFX(0x49000002, gDefaultSfxSource, 4);
|
||||
AUDIO_PLAY_SFX(NA_SE_CURSOR, gDefaultSfxSource, 4);
|
||||
prevSfx = sfx;
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ void Option_ExpertSoundUpdate(void) {
|
||||
D_menu_801B912C = 0;
|
||||
D_menu_801B9244 = 1;
|
||||
} else {
|
||||
AUDIO_PLAY_SFX(0x4900101D, gDefaultSfxSource, 4);
|
||||
AUDIO_PLAY_SFX(NA_SE_CANCEL, gDefaultSfxSource, 4);
|
||||
Audio_KillSfxBySource(gDefaultSfxSource);
|
||||
SEQCMD_STOP_SEQUENCE(SEQ_PLAYER_BGM, 1);
|
||||
SEQCMD_STOP_SEQUENCE(SEQ_PLAYER_FANFARE, 1);
|
||||
|
||||
@@ -158,7 +158,7 @@ void Jukebox_Update(void) {
|
||||
}
|
||||
|
||||
if (prevSfx != sfx) {
|
||||
AUDIO_PLAY_SFX(0x49000002, gDefaultSfxSource, 4);
|
||||
AUDIO_PLAY_SFX(NA_SE_CURSOR, gDefaultSfxSource, 4);
|
||||
prevSfx = sfx;
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ void Jukebox_Update(void) {
|
||||
|
||||
if (contPress->button & B_BUTTON) {
|
||||
if (!D_menu_801B9320) {
|
||||
AUDIO_PLAY_SFX(0x49000021, gDefaultSfxSource, 4);
|
||||
AUDIO_PLAY_SFX(NA_SE_ARWING_CANCEL, gDefaultSfxSource, 4);
|
||||
AUDIO_PLAY_BGM(SEQ_ID_MENU);
|
||||
gDrawMode = DRAW_NONE;
|
||||
D_menu_801B9124 = 1000;
|
||||
@@ -179,7 +179,7 @@ void Jukebox_Update(void) {
|
||||
D_menu_801B9244 = 1;
|
||||
return;
|
||||
} else {
|
||||
AUDIO_PLAY_SFX(0x4900101D, gDefaultSfxSource, 4);
|
||||
AUDIO_PLAY_SFX(NA_SE_CANCEL, gDefaultSfxSource, 4);
|
||||
Audio_KillSfxBySource(sfxSource);
|
||||
SEQCMD_STOP_SEQUENCE(SEQ_PLAYER_BGM, 1);
|
||||
SEQCMD_STOP_SEQUENCE(SEQ_PLAYER_FANFARE, 1);
|
||||
|
||||
Reference in New Issue
Block a user