mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 05:15:16 +00:00
Introducing Macros for BGM (Background Music) (#979)
* Import bgm Ids * Small correction * Fix kaleido * Add defines for 0, 1, 0xFFFF. Fill in missing macros * Improve names, move to bgm.h, add in macros to kankyo.c * format * Swap order of bgm macros and flags
This commit is contained in:
parent
fa7007d73b
commit
970513253b
59 changed files with 369 additions and 171 deletions
|
@ -416,7 +416,7 @@ void func_80099140(GlobalContext* globalCtx, SceneCmd* cmd) {
|
|||
globalCtx->soundCtx.seqIndex = cmd->soundSettings.seqIndex;
|
||||
globalCtx->soundCtx.nightSeqIndex = cmd->soundSettings.nightSeqIndex;
|
||||
|
||||
if (gSaveContext.seqIndex == 0xFF) {
|
||||
if (gSaveContext.seqIndex == (u8)NA_BGM_DISABLED) {
|
||||
Audio_QueueSeqCmd(cmd->soundSettings.bgmId | 0xF0000000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue