mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-11 20:15:07 -05:00
This commit is contained in:
parent
fd3872ae30
commit
b0510d78f8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user