mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-01 16:15:07 -04:00
ba13e6b2c4
Co-authored-by: kenix3 <kenixwhisperwind@gmail.com> Co-authored-by: David Chavez <david@dcvz.io> Co-authored-by: KiritoDv <kiritodev01@gmail.com> Co-authored-by: Christopher Leggett <chris@leggett.dev>
20 lines
647 B
C
20 lines
647 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 = CVarGetInteger("gBetaQuestWorld", 0xFFEF);
|
|
gSaveContext.cutsceneTrigger = 0;
|
|
gSaveContext.chamberCutsceneNum = 0;
|
|
gSaveContext.nextDayTime = 0xFFFF;
|
|
gSaveContext.skyboxTime = 0;
|
|
gSaveContext.dogIsLost = true;
|
|
gSaveContext.nextTransitionType = 0xFF;
|
|
gSaveContext.unk_13EE = 50;
|
|
}
|