2020-10-03 15:22:44 +00:00
|
|
|
#include "global.h"
|
2020-03-17 04:31:30 +00:00
|
|
|
|
2020-05-26 12:50:51 +00:00
|
|
|
SaveContext gSaveContext;
|
|
|
|
u32 D_8015FA88;
|
|
|
|
u32 D_8015FA8C;
|
|
|
|
|
2020-03-22 21:19:43 +00:00
|
|
|
void SaveContext_Init(void) {
|
2020-03-17 04:31:30 +00:00
|
|
|
bzero(&gSaveContext, sizeof(gSaveContext));
|
|
|
|
D_8015FA88 = 0;
|
|
|
|
D_8015FA8C = 0;
|
2020-04-16 21:36:12 +00:00
|
|
|
gSaveContext.seqIndex = 0xFF;
|
|
|
|
gSaveContext.nightSeqIndex = 0xFF;
|
2020-03-17 04:31:30 +00:00
|
|
|
gSaveContext.unk_140E = 0;
|
2020-04-16 21:36:12 +00:00
|
|
|
gSaveContext.nextCutsceneIndex = 0xFFEF;
|
|
|
|
gSaveContext.cutsceneTrigger = 0;
|
|
|
|
gSaveContext.chamberCutsceneNum = 0;
|
|
|
|
gSaveContext.nextDayTime = 0xFFFF;
|
|
|
|
gSaveContext.environmentTime = 0;
|
|
|
|
gSaveContext.dogIsLost = true;
|
|
|
|
gSaveContext.nextTransition = 0xFF;
|
2020-03-17 04:31:30 +00:00
|
|
|
gSaveContext.unk_13EE = 50;
|
|
|
|
}
|