2020-10-03 17:22:44 +02:00
|
|
|
#include "global.h"
|
2020-03-17 00:31:30 -04:00
|
|
|
|
2022-02-11 20:23:57 -03:00
|
|
|
// The use of ALIGNED8 here is just a temporary solution until the SaveContext is re-structured
|
|
|
|
ALIGNED8 SaveContext gSaveContext;
|
2020-05-26 14:50:51 +02:00
|
|
|
u32 D_8015FA88;
|
|
|
|
u32 D_8015FA8C;
|
|
|
|
|
2020-03-22 22:19:43 +01:00
|
|
|
void SaveContext_Init(void) {
|
2020-03-17 00:31:30 -04:00
|
|
|
bzero(&gSaveContext, sizeof(gSaveContext));
|
|
|
|
D_8015FA88 = 0;
|
|
|
|
D_8015FA8C = 0;
|
2021-12-04 01:49:32 +11:00
|
|
|
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
|
2021-12-28 04:35:05 +11:00
|
|
|
gSaveContext.natureAmbienceId = NATURE_ID_DISABLED;
|
2021-12-04 01:49:32 +11:00
|
|
|
gSaveContext.forcedSeqId = NA_BGM_GENERAL_SFX;
|
2020-04-16 23:36:12 +02:00
|
|
|
gSaveContext.nextCutsceneIndex = 0xFFEF;
|
|
|
|
gSaveContext.cutsceneTrigger = 0;
|
2023-07-06 08:36:19 +10:00
|
|
|
gSaveContext.chamberCutsceneNum = CHAMBER_CS_FOREST;
|
2022-05-20 14:40:13 -04:00
|
|
|
gSaveContext.nextDayTime = NEXT_TIME_NONE;
|
2021-09-20 11:51:35 -05:00
|
|
|
gSaveContext.skyboxTime = 0;
|
2020-04-16 23:36:12 +02:00
|
|
|
gSaveContext.dogIsLost = true;
|
2022-04-27 16:00:25 -04:00
|
|
|
gSaveContext.nextTransitionType = TRANS_NEXT_TYPE_DEFAULT;
|
2022-11-21 22:01:44 -05:00
|
|
|
gSaveContext.prevHudVisibilityMode = HUD_VISIBILITY_ALL;
|
2020-03-17 00:31:30 -04:00
|
|
|
}
|