summaryrefslogtreecommitdiff
path: root/src/code/code_800F7260.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2022-10-09 21:57:50 -0400
committerGitHub <noreply@github.com>2022-10-09 21:57:50 -0400
commit76803f15349d29296782663a81804cdfcf892716 (patch)
treea9defbe96ccfa13541cd08bda2ecb280ace13303 /src/code/code_800F7260.c
parentb6d9a8183b3a62bd2dd298868ac223e9f61ee701 (diff)
Document Scene Sequences and Remaining SeqFlags (#1308)
* Begin scene sequence docs * Better docs * cleanup * Better Docs * cleanup * Move flag * Off -> None * Fix comment * spacing * address pr, spot -> resumePoint * SEQ_IO_VAL_NONE * missed one
Diffstat (limited to 'src/code/code_800F7260.c')
-rw-r--r--src/code/code_800F7260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/code_800F7260.c b/src/code/code_800F7260.c
index c73992f17..7cfdae420 100644
--- a/src/code/code_800F7260.c
+++ b/src/code/code_800F7260.c
@@ -476,7 +476,7 @@ void Audio_PlayActiveSfx(u8 bankId) {
} else {
entry->state = SFX_STATE_PLAYING_2;
}
- } else if ((u8)channel->soundScriptIO[1] == 0xFF) {
+ } else if ((u8)channel->soundScriptIO[1] == (u8)SEQ_IO_VAL_NONE) {
Audio_RemoveSfxBankEntry(bankId, entryIndex);
} else if (entry->state == SFX_STATE_PLAYING_REFRESH) {
Audio_SetSfxProperties(bankId, entryIndex, sCurSfxPlayerChannelIdx);