summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorChristopher Leggett <chris@leggett.dev>2024-01-08 09:37:24 -0500
committerGitHub <noreply@github.com>2024-01-08 08:37:24 -0600
commitb96df0b64234894cd3db0d3d556a90ad304c1689 (patch)
tree60ac2c48a596cb2a71d24ca7ca90fa13cc7547e9 /soh/src/code
parent63413e8159aebcb7886dae21b9870307c202c2b5 (diff)
Fixes parsing of spoiler files in plando mode. (#3823)
It was specifically failing on Hints because of changes to the spoiler output that were not reflected in the parsing code.
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_sram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_sram.c b/soh/src/code/z_sram.c
index 9a132fa7e..002e95987 100644
--- a/soh/src/code/z_sram.c
+++ b/soh/src/code/z_sram.c
@@ -241,7 +241,7 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) {
u8 currentQuest = fileChooseCtx->questType[fileChooseCtx->buttonIndex];
- if (Randomizer_IsSeedGenerated()) {
+ if (Randomizer_IsSeedGenerated() || Randomizer_IsPlandoLoaded()) {
gSaveContext.questId = QUEST_RANDOMIZER;
Randomizer_InitSaveFile();