Excludes the master sword in the Ganon Battle from triggering autosave. (#1594)

This commit is contained in:
Christopher Leggett 2022-09-26 11:52:53 -04:00 committed by GitHub
parent ee505fc47d
commit 41eb6c585d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -2607,6 +2607,10 @@ void PerformAutosave(GlobalContext* globalCtx, u8 item) {
case ITEM_ARROWS_LARGE:
case ITEM_SEEDS_30:
break;
case ITEM_SWORD_MASTER:
if (globalCtx->sceneNum == SCENE_GANON_DEMO) {
break;
}
default:
Gameplay_PerformSave(globalCtx);
break;