From 3d30f1701a65e5d416341fb1466885a3f500220c Mon Sep 17 00:00:00 2001 From: Adam Bird Date: Thu, 23 Feb 2023 01:10:30 -0500 Subject: [PATCH] make the gf chest as child use the correct RC check (#2519) --- soh/soh/Enhancements/randomizer/randomizer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/soh/soh/Enhancements/randomizer/randomizer.cpp b/soh/soh/Enhancements/randomizer/randomizer.cpp index 8041593de..f5bb7d9d1 100644 --- a/soh/soh/Enhancements/randomizer/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer.cpp @@ -2591,6 +2591,13 @@ RandomizerCheckObject Randomizer::GetCheckObjectFromActor(s16 actorId, s16 scene break; } break; + case SCENE_SPOT12: + // GF chest as child has different params and gives odd mushroom + // set it to the GF chest check for both ages + if (actorId == ACTOR_EN_BOX) { + specialRc = RC_GF_CHEST; + } + break; case SCENE_DDAN: // special case for MQ DC Gossip Stone if (actorId == ACTOR_EN_GS && actorParams == 15892 && ResourceMgr_IsGameMasterQuest()) {