From 76803f15349d29296782663a81804cdfcf892716 Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Sun, 9 Oct 2022 21:57:50 -0400 Subject: 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 --- src/code/code_800F7260.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code/code_800F7260.c') 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); -- cgit v1.2.3