Don't autosave after obtaining bombchus if bombchu drops are enabled (#2077)

This commit is contained in:
Josh Bodner 2022-12-04 17:54:23 -08:00 committed by GitHub
parent 39b80137f6
commit 656dcd2021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -2673,6 +2673,13 @@ void PerformAutosave(PlayState* play, u8 item) {
if (play->sceneNum == SCENE_GANON_DEMO) {
break;
}
case ITEM_BOMBCHU:
case ITEM_BOMBCHUS_5:
case ITEM_BOMBCHUS_20:
if (!CVar_GetS32("gBombchuDrops", 0)) {
Play_PerformSave(play);
}
break;
default:
Play_PerformSave(play);
break;