diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2024-04-21 09:38:53 -0500 |
|---|---|---|
| committer | Garrett Cox <garrettjcox@gmail.com> | 2024-04-21 09:38:53 -0500 |
| commit | 5813b37415d3eb37aa7d4cdbd431ce7067ddfba2 (patch) | |
| tree | 89ac3164875ccf16766fdf795c8396a09622f579 /soh/src/code | |
| parent | 14c7f0c3e1c2e02eb26cd1dcb7de94c5f5ff9061 (diff) | |
Migrate child stealth
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_play.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/soh/src/code/z_play.c b/soh/src/code/z_play.c index 3ce5eeefc..43d30f54b 100644 --- a/soh/src/code/z_play.c +++ b/soh/src/code/z_play.c @@ -363,18 +363,6 @@ void Play_Init(GameState* thisx) { u8 tempSetupIndex; s32 pad[2]; - // Skip Child Stealth when option is enabled, Zelda's Letter isn't obtained and Impa's reward hasn't been received - // eventChkInf[4] & 1 = Got Zelda's Letter - // eventChkInf[5] & 0x200 = Got Impa's reward - // entranceIndex 0x7A, ENTR_CASTLE_COURTYARD_GUARDS_DAY_0, Castle Courtyard - Day from crawlspace - // entranceIndex 0x400, ENTR_CASTLE_COURTYARD_ZELDA_0, Zelda's Courtyard - if (IS_RANDO && Randomizer_GetSettingValue(RSK_SKIP_CHILD_STEALTH) && - !Flags_GetEventChkInf(EVENTCHKINF_OBTAINED_ZELDAS_LETTER) && !Flags_GetEventChkInf(EVENTCHKINF_LEARNED_ZELDAS_LULLABY)) { - if (gSaveContext.entranceIndex == ENTR_CASTLE_COURTYARD_GUARDS_DAY_0) { - gSaveContext.entranceIndex = ENTR_CASTLE_COURTYARD_ZELDA_0; - } - } - // Properly initialize the frame counter so it doesn't use garbage data if (!firstInit) { play->gameplayFrames = 0; |
