From 782bf4e0b34ad95b7e6c3d9f1870c9b314aa124c Mon Sep 17 00:00:00 2001 From: gymnast86 Date: Fri, 17 Apr 2026 08:46:34 -0700 Subject: [PATCH] Patch Yeto and Yeta to not leave the dungeon even if the BK is obtained --- src/d/actor/d_a_npc_ykm.cpp | 3 +++ src/d/actor/d_a_npc_ykw.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/d/actor/d_a_npc_ykm.cpp b/src/d/actor/d_a_npc_ykm.cpp index 1cdba0d9a5..d95157c890 100644 --- a/src/d/actor/d_a_npc_ykm.cpp +++ b/src/d/actor/d_a_npc_ykm.cpp @@ -947,6 +947,9 @@ BOOL daNpc_ykM_c::isDelete() { return FALSE; case TYPE_COOK: +#if TARGET_PC + if (randomizer_IsActive()) return false; // We don't want cooking Yeto to leave the dungeon, even if the BK is obtained. +#endif return dComIfGs_isDungeonItemBossKey(); case TYPE_2: diff --git a/src/d/actor/d_a_npc_ykw.cpp b/src/d/actor/d_a_npc_ykw.cpp index e2c97df58a..267038fdf7 100644 --- a/src/d/actor/d_a_npc_ykw.cpp +++ b/src/d/actor/d_a_npc_ykw.cpp @@ -573,6 +573,9 @@ int daNpc_ykW_c::isDelete() { case 0: return 0; case 1: +#if TARGET_PC + if (randomizer_IsActive()) return false;// We don't want Yeta to leave the dungeon, even if the BK is obtained. +#endif return dComIfGs_isDungeonItemBossKey(); case 2: return !dComIfGs_isDungeonItemBossKey() ||