mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-08 20:24:47 -04:00
Patch Yeto and Yeta to not leave the dungeon even if the BK is obtained
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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() ||
|
||||
|
||||
Reference in New Issue
Block a user