2020-03-17 04:31:30 +00:00
|
|
|
#include <ultra64.h>
|
|
|
|
#include <global.h>
|
|
|
|
|
|
|
|
void SaveContext_Init(void)
|
|
|
|
{
|
|
|
|
bzero(&gSaveContext, sizeof(gSaveContext));
|
|
|
|
D_8015FA88 = 0;
|
|
|
|
D_8015FA8C = 0;
|
|
|
|
gSaveContext.seq_index = 0xFF;
|
|
|
|
gSaveContext.night_sfx = 0xFF;
|
|
|
|
gSaveContext.unk_140E = 0;
|
|
|
|
gSaveContext.next_cutscene_index = 0xFFEF;
|
|
|
|
gSaveContext.cutscene_trigger = 0;
|
|
|
|
gSaveContext.chamber_cutscene_num = 0;
|
|
|
|
gSaveContext.next_day_time = 0xFFFF;
|
|
|
|
gSaveContext.environment_time = 0;
|
2020-03-21 00:42:57 +00:00
|
|
|
gSaveContext.dogIsLost = 1;
|
2020-03-17 04:31:30 +00:00
|
|
|
gSaveContext.transition_type = 0xFF;
|
|
|
|
gSaveContext.unk_13EE = 50;
|
|
|
|
}
|
|
|
|
|