Skip Epona Race: don't set EVENTCHKINF_EPONA_OBTAINED until collecting Epona's Song (#6706)

Most notably this doesn't despawn gates allowing itemless epona steal
This commit is contained in:
Philip Dubé
2026-06-10 01:23:47 +00:00
committed by GitHub
parent 35a2ce4bfe
commit 29b9b4a5a7
2 changed files with 4 additions and 4 deletions
@@ -511,6 +511,10 @@ void RandomizerOnItemReceiveHandler(GetItemEntry receivedItemEntry) {
}
}
if (receivedItemEntry.modIndex == MOD_NONE && receivedItemEntry.itemId == ITEM_SONG_EPONA) {
Flags_SetEventChkInf(EVENTCHKINF_EPONA_OBTAINED);
}
if (receivedItemEntry.modIndex == MOD_NONE &&
(receivedItemEntry.itemId == ITEM_HEART_PIECE || receivedItemEntry.itemId == ITEM_HEART_PIECE_2 ||
receivedItemEntry.itemId == ITEM_HEART_CONTAINER)) {
@@ -425,10 +425,6 @@ extern "C" void Randomizer_InitSaveFile() {
HIGH_SCORE(HS_POE_POINTS) = 1000 - (100 * Randomizer_GetSettingValue(RSK_BIG_POE_COUNT));
if (Randomizer_GetSettingValue(RSK_SKIP_EPONA_RACE)) {
Flags_SetEventChkInf(EVENTCHKINF_EPONA_OBTAINED);
}
// Open lowest Vanilla Fire Temple locked door (to prevent key logic lockouts).
// Not done on Keysanity since this lockout is a non-issue when Fire Keys can be found outside the temple.
u8 keysanity = Randomizer_GetSettingValue(RSK_KEYSANITY) == RO_DUNGEON_ITEM_LOC_ANYWHERE ||