Skip to content

Commit

Permalink
Fix boss soul ice traps
Browse files Browse the repository at this point in the history
  • Loading branch information
aMannus committed Jan 20, 2025
1 parent 63046a8 commit 522ccb4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion soh/soh/Enhancements/randomizer/draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 522ccb4

Please sign in to comment.