From 878a8fe4651e18b809a4b5cca04fb9dd83acbd7c Mon Sep 17 00:00:00 2001 From: aMannus Date: Mon, 20 Jan 2025 22:37:11 +0100 Subject: [PATCH] Fix boss soul ice traps (#4921) --- soh/soh/Enhancements/randomizer/draw.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/draw.cpp b/soh/soh/Enhancements/randomizer/draw.cpp index 0a1e0d46a..fd07fe3fd 100644 --- a/soh/soh/Enhancements/randomizer/draw.cpp +++ b/soh/soh/Enhancements/randomizer/draw.cpp @@ -946,7 +946,13 @@ extern "C" void DrawGanon(PlayState* play) { } extern "C" void Randomizer_DrawBossSoul(PlayState* play, GetItemEntry* getItemEntry) { - s16 slot = getItemEntry->getItemId - RG_GOHMA_SOUL; + s16 slot; + if (getItemEntry->getItemId != RG_ICE_TRAP) { + slot = getItemEntry->getItemId - RG_GOHMA_SOUL; + } else { + slot = getItemEntry->drawItemId - RG_GOHMA_SOUL; + } + s16 flameColors[9][3] = { { 0, 255, 0 }, // Gohma { 255, 0, 100 }, // King Dodongo