diff options
| author | Adam Bird <Archez@users.noreply.github.com> | 2023-01-23 14:08:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-23 14:08:16 -0500 |
| commit | cb5faa1ac83d94682815020affa792529aff9e2b (patch) | |
| tree | 83b58c4b87d682e910e5627b144fd1f8350bd886 /soh/src/code | |
| parent | 37f31116b32b9ea08e2cb08fafdcfa5c37abddea (diff) | |
fix mido spawn for dungeon entrance rando (#2384)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_sram.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/soh/src/code/z_sram.c b/soh/src/code/z_sram.c index 40dcca14c..edf3191c9 100644 --- a/soh/src/code/z_sram.c +++ b/soh/src/code/z_sram.c @@ -366,11 +366,11 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) { case RO_FOREST_CLOSED: break; case RO_FOREST_CLOSED_DEKU: - Flags_SetEventChkInf(7); + Flags_SetEventChkInf(EVENTCHKINF_OBTAINED_KOKIRI_EMERALD_DEKU_TREE_DEAD); break; case RO_FOREST_OPEN: - Flags_SetEventChkInf(7); - gSaveContext.eventChkInf[0] |= 0x10; + Flags_SetEventChkInf(EVENTCHKINF_OBTAINED_KOKIRI_EMERALD_DEKU_TREE_DEAD); + Flags_SetEventChkInf(EVENTCHKINF_SHOWED_MIDO_SWORD_SHIELD); break; } @@ -469,7 +469,7 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) { gSaveContext.eventChkInf[1] |= (1 << 4); // Set "Got Zelda's Letter" flag. Also ensures Saria is back at SFM. TODO: Is this flag used for anything else? - gSaveContext.eventChkInf[4] |= 1; + Flags_SetEventChkInf(EVENTCHKINF_OBTAINED_ZELDAS_LETTER); // Got item from impa gSaveContext.eventChkInf[5] |= 0x200; |
