From a4c619ad58de8c5fa44a25cf109b6554ebbbf817 Mon Sep 17 00:00:00 2001 From: gymnast86 Date: Tue, 14 Jul 2026 15:24:34 -0700 Subject: [PATCH] move yeta fixes to flow patches --- src/d/d_item.cpp | 8 -------- .../randomizer/generator/data/flow_patches.yaml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/d/d_item.cpp b/src/d/d_item.cpp index 13755e0acb..f2bdd42273 100644 --- a/src/d/d_item.cpp +++ b/src/d/d_item.cpp @@ -1116,14 +1116,6 @@ int checkItemGet(u8 i_itemNo, int i_default) { return 0; } break; - case dItemNo_Randomizer_TOMATO_PUREE_e: - case dItemNo_Randomizer_TASTE_e: - // Check to see if currently in Snowpeak Ruins - if (getStageID() == Snowpeak_Ruins) { - // Return false so that yeta will give the map item no matter what. - return 0; - } - break; case dItemNo_Randomizer_IRONBALL_e: // Check to see if currently in Snowpeak Ruins Darkhammer room if (getStageID() == Darkhammer) { diff --git a/src/dusk/randomizer/generator/data/flow_patches.yaml b/src/dusk/randomizer/generator/data/flow_patches.yaml index 37cfe6bfe2..3b84bcaf40 100644 --- a/src/dusk/randomizer/generator/data/flow_patches.yaml +++ b/src/dusk/randomizer/generator/data/flow_patches.yaml @@ -59,6 +59,20 @@ next node index: 0x10C 5: # zel_05.bmg + # Patch Yeta flow to always give the map check even if the player has obtained the Ordon Cheese + - index: 0x8 + type: event + event: 42 + parameters: 0x00000000 + next node index: 0x8 + + # Patch Yeta flow to always give the map check even if the player has obtained the Ordon Cheese + - index: 0x5 + type: event + event: 42 + parameters: 0x00000000 + next node index: 0x3 + # Patch Gor Liggs to not set the flag for the third key shard # Change event index 17 to event index 42 which does nothing - index: 0x258