This commit is contained in:
@@ -2006,7 +2006,7 @@ s32 func_800C0DB4(GlobalContext* globalCtx, Vec3f* pos) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Gameplay_PerformSave(GlobalContext* globalCtx) {
|
void Gameplay_PerformSave(GlobalContext* globalCtx) {
|
||||||
if (globalCtx != NULL) {
|
if (globalCtx != NULL && gSaveContext.fileNum != 0xFF) {
|
||||||
Gameplay_SaveSceneFlags(globalCtx);
|
Gameplay_SaveSceneFlags(globalCtx);
|
||||||
gSaveContext.savedSceneNum = globalCtx->sceneNum;
|
gSaveContext.savedSceneNum = globalCtx->sceneNum;
|
||||||
if (gSaveContext.temporaryWeapon) {
|
if (gSaveContext.temporaryWeapon) {
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ void Opening_SetupTitleScreen(OpeningContext* this) {
|
|||||||
gSaveContext.gameMode = 1;
|
gSaveContext.gameMode = 1;
|
||||||
this->state.running = false;
|
this->state.running = false;
|
||||||
gSaveContext.linkAge = 0;
|
gSaveContext.linkAge = 0;
|
||||||
|
gSaveContext.fileNum = 0xFF;
|
||||||
Sram_InitDebugSave();
|
Sram_InitDebugSave();
|
||||||
gSaveContext.cutsceneIndex = 0xFFF3;
|
gSaveContext.cutsceneIndex = 0xFFF3;
|
||||||
gSaveContext.sceneSetupIndex = 7;
|
gSaveContext.sceneSetupIndex = 7;
|
||||||
|
|||||||
Reference in New Issue
Block a user