mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Nature Ambience Documentation (#1063)
* Document nature ambience io data * Document nature ambience functions * Function headers * Doc storing main bgm for nature/miniboss bgm * Give temporary names to functions * small cleanup * add docs to clarify * Break up nature ambience channel io data for easier reading * Add info to where each nature ambience Id is used * Name environmental sequence functions * Use channel macros globally * Add nature enum, revert env name * Revert tough-to-name functions, use nature channel enum instead * Fill in remaining enums from sequence 1 * PR Suggestions * Improve macros * remove clang-format off * MINI_GAME_2 -> TIMED_MINI_GAME * Revert to generic name * Fix Spacing
This commit is contained in:
parent
a862411f00
commit
b8b983dd7f
18 changed files with 850 additions and 166 deletions
|
@ -392,7 +392,7 @@ void Gameplay_Init(GameState* thisx) {
|
|||
}
|
||||
|
||||
Interface_SetSceneRestrictions(globalCtx);
|
||||
func_800758AC(globalCtx);
|
||||
Environment_PlaySceneSequence(globalCtx);
|
||||
gSaveContext.seqId = globalCtx->sequenceCtx.seqId;
|
||||
gSaveContext.natureAmbienceId = globalCtx->sequenceCtx.natureAmbienceId;
|
||||
func_8002DF18(globalCtx, GET_PLAYER(globalCtx));
|
||||
|
@ -484,7 +484,7 @@ void Gameplay_Update(GlobalContext* globalCtx) {
|
|||
osSyncPrintf("\n\n\nサウンドイニシャル来ました。222");
|
||||
func_800F6964(0x14);
|
||||
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
|
||||
gSaveContext.natureAmbienceId = 0xFF;
|
||||
gSaveContext.natureAmbienceId = NATURE_ID_DISABLED;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue