mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-11 12:05:09 -05:00
20 lines
608 B
C
20 lines
608 B
C
|
#include "global.h"
|
||
|
#include <string.h>
|
||
|
|
||
|
SaveContext gSaveContext;
|
||
|
|
||
|
void SaveContext_Init(void) {
|
||
|
memset(&gSaveContext, 0, sizeof(gSaveContext));
|
||
|
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 = 0;
|
||
|
gSaveContext.nextDayTime = 0xFFFF;
|
||
|
gSaveContext.skyboxTime = 0;
|
||
|
gSaveContext.dogIsLost = true;
|
||
|
gSaveContext.nextTransition = 0xFF;
|
||
|
gSaveContext.unk_13EE = 50;
|
||
|
}
|