skip first cycle reset cutscene on debug created saves (#397)

This commit is contained in:
Archez
2024-05-22 09:05:05 -05:00
committed by Garrett Cox
parent e7e87f4215
commit a64b76ee64
@@ -41,6 +41,9 @@ void RegisterDebugSaveCreate() {
gSaveContext.save.cutsceneIndex = 0;
gSaveContext.save.saveInfo.checksum = 1;
// Prevent first Song of Time reset from forcing Deku Link and having to learn Song of Healing
gSaveContext.save.saveInfo.playerData.threeDayResetCount = 1;
if (CVarGetInteger("gDeveloperTools.DebugSaveFileMode", DEBUG_SAVE_INFO_NONE) == DEBUG_SAVE_INFO_COMPLETE) {
gSaveContext.save.saveInfo.playerData.doubleDefense = true;
gSaveContext.save.saveInfo.playerData.health = 20 * 0x10;