From 8999c4c9c5c4b27b2f701af1e20f8a877202579c Mon Sep 17 00:00:00 2001 From: gymnast86 Date: Fri, 12 Jun 2026 20:48:24 -0400 Subject: [PATCH] remove asheis sketch after showing it to Ralis --- src/d/d_msg_flow.cpp | 3 ++- src/dusk/randomizer/game/tools.cpp | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/d/d_msg_flow.cpp b/src/d/d_msg_flow.cpp index 1883888023..ff524a2373 100644 --- a/src/d/d_msg_flow.cpp +++ b/src/d/d_msg_flow.cpp @@ -2616,7 +2616,8 @@ int dMsgFlow_c::event035(mesg_flow_node_event* i_flowNode_p, fopAc_ac_c* i_speak if (prm0 == dItemNo_TOMATO_PUREE_e || prm0 == dItemNo_TASTE_e) { dComIfGs_offItemFirstBit(prm0); } else if (prm0 == dItemNo_RAFRELS_MEMO_e || prm0 == dItemNo_ASHS_SCRIBBLING_e) { - IF_DUSK(if (!randomizer_IsActive())) // Prevents the line below from running in rando + // Only delete the item in rando if it's Ashei's sketch + IF_DUSK(if (!randomizer_IsActive() || prm0 == dItemNo_ASHS_SCRIBBLING_e)) dComIfGs_setItem(SLOT_19, dItemNo_NONE_e); } else if (prm0 == dItemNo_LETTER_e || prm0 == dItemNo_BILL_e || prm0 == dItemNo_WOOD_STATUE_e || prm0 == dItemNo_IRIAS_PENDANT_e) { #if TARGET_PC diff --git a/src/dusk/randomizer/game/tools.cpp b/src/dusk/randomizer/game/tools.cpp index 7e71dcc7f9..f0d828cb7a 100644 --- a/src/dusk/randomizer/game/tools.cpp +++ b/src/dusk/randomizer/game/tools.cpp @@ -302,6 +302,11 @@ randomizer::logic::item_pool::ItemPool getSaveItemPool(randomizer::logic::world: pool.push_back(world->GetItem("Aurus Memo", true)); } + // Showed Ralis Ashei's Sketch + if (dComIfGs_isEventBit(0x3B80)) { + pool.push_back(world->GetItem("Asheis Sketch", true)); + } + // Fused Shadows for (int i = 0; i < numFusedShadows(); ++i) { pool.push_back(world->GetItem("Progressive Fused Shadow", true));