mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-02 07:46:01 +00:00
0ce0313342
* more misc cleanup * remove z64 conflicts * undo ISVDbg
23 lines
837 B
C
23 lines
837 B
C
#include "global.h"
|
|
|
|
// The use of ALIGNED8 here is just a temporary solution until the SaveContext is re-structured
|
|
ALIGNED8 SaveContext gSaveContext;
|
|
u32 D_8015FA88;
|
|
u32 D_8015FA8C;
|
|
|
|
void SaveContext_Init(void) {
|
|
bzero(&gSaveContext, sizeof(gSaveContext));
|
|
D_8015FA88 = 0;
|
|
D_8015FA8C = 0;
|
|
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
|
|
gSaveContext.natureAmbienceId = NATURE_ID_DISABLED;
|
|
gSaveContext.forcedSeqId = NA_BGM_GENERAL_SFX;
|
|
gSaveContext.nextCutsceneIndex = 0xFFEF;
|
|
gSaveContext.cutsceneTrigger = 0;
|
|
gSaveContext.chamberCutsceneNum = CHAMBER_CS_FOREST;
|
|
gSaveContext.nextDayTime = NEXT_TIME_NONE;
|
|
gSaveContext.skyboxTime = 0;
|
|
gSaveContext.dogIsLost = true;
|
|
gSaveContext.nextTransitionType = TRANS_NEXT_TYPE_DEFAULT;
|
|
gSaveContext.prevHudVisibilityMode = HUD_VISIBILITY_ALL;
|
|
}
|