summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPepper0ni <93387759+Pepper0ni@users.noreply.github.com>2025-05-21 23:01:54 +0100
committerGitHub <noreply@github.com>2025-05-21 15:01:54 -0700
commit2511275b8ba11f5e2149c312f42e402e23891ae8 (patch)
tree733d029ed0ff066a3d0fca3ebe6c350095653910
parent01ce1eeac8d8dacfc962c52666e622e77f720eba (diff)
Fix getting heart containers on pocket and skipped impas song (#5518)
* fix getting heart containers on pocket and skipped impas song * curse you clang! CURSE YOU!
-rw-r--r--soh/soh/Enhancements/randomizer/savefile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/soh/Enhancements/randomizer/savefile.cpp b/soh/soh/Enhancements/randomizer/savefile.cpp
index 1bed22a71..91b5a50fc 100644
--- a/soh/soh/Enhancements/randomizer/savefile.cpp
+++ b/soh/soh/Enhancements/randomizer/savefile.cpp
@@ -232,6 +232,8 @@ extern "C" void Randomizer_InitSaveFile() {
// Reset triforce pieces collected.
gSaveContext.ship.quest.data.randomizer.triforcePiecesCollected = 0;
+ SetStartingItems();
+
// Set Cutscene flags and texts to skip them.
Flags_SetEventChkInf(EVENTCHKINF_FIRST_SPOKE_TO_MIDO);
Flags_SetInfTable(INFTABLE_SPOKE_TO_KAEPORA_IN_LAKE_HYLIA);
@@ -430,6 +432,4 @@ extern "C" void Randomizer_InitSaveFile() {
gSaveContext.itemGetInf[3] |= 0x800; // Bunny Hood related
gSaveContext.itemGetInf[3] |= 0x8000; // Obtained Mask of Truth
}
-
- SetStartingItems();
}