diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2022-06-02 17:49:10 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-02 03:49:10 -0400 |
| commit | 0a95d17aa89d6a80d3b23c7e706ec4bf845d48c1 (patch) | |
| tree | f80e2cb650596c930757aebfa785717f30101ba1 /src/code | |
| parent | fa1ea37d5428c66bf783039117568bc3c5f4b645 (diff) | |
Document Sequence Cutscene Effects (Sequence 109) (#1246)
* Seq 109 docs
* Fix
* Reorder function name
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/code_800EC960.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/code/code_800EC960.c b/src/code/code_800EC960.c index 9e6309eb5..a1c224908 100644 --- a/src/code/code_800EC960.c +++ b/src/code/code_800EC960.c @@ -253,7 +253,7 @@ u8 sSeqFlags[0x6E] = { 0, // NA_BGM_STAFF_4 0, // NA_BGM_FIRE_BOSS 0x8, // NA_BGM_TIMED_MINI_GAME - 0, // NA_BGM_VARIOUS_SFX + 0, // NA_BGM_CUTSCENE_EFFECTS }; s8 sSpecReverbs[20] = { 0, 0, 0, 0, 0, 0, 0, 40, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; @@ -4084,10 +4084,10 @@ void Audio_ResetSfxChannelState(void) { sAudioCodeReverb = 0; } -void func_800F3F3C(u8 arg0) { +void Audio_PlayCutsceneEffectsSequence(u8 csEffectType) { if (gSoundBankMuted[0] != 1) { - Audio_StartSeq(SEQ_PLAYER_BGM_SUB, 0, NA_BGM_VARIOUS_SFX); - Audio_SeqCmd8(SEQ_PLAYER_BGM_SUB, 0, 0, arg0); + Audio_StartSeq(SEQ_PLAYER_BGM_SUB, 0, NA_BGM_CUTSCENE_EFFECTS); + Audio_SeqCmd8(SEQ_PLAYER_BGM_SUB, 0, 0, csEffectType); } } @@ -5201,7 +5201,7 @@ void Audio_StartNatureAmbienceSequence(u16 playerIO, u16 channelMask) { u8 channelIdx; if (func_800FA0B4(SEQ_PLAYER_BGM_MAIN) == NA_BGM_WINDMILL) { - func_800F3F3C(0xF); + Audio_PlayCutsceneEffectsSequence(SEQ_CS_EFFECTS_RAINFALL); return; } |
