From 77f742418651d6476528da5685b34747d4af6066 Mon Sep 17 00:00:00 2001 From: briaguya Date: Wed, 1 Jun 2022 12:38:40 -0400 Subject: [PATCH] fix bomb bags --- soh/soh/Enhancements/randomizer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/soh/soh/Enhancements/randomizer.cpp b/soh/soh/Enhancements/randomizer.cpp index 32ac2a186..c41eeee0a 100644 --- a/soh/soh/Enhancements/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer.cpp @@ -1306,15 +1306,15 @@ GetItemID Randomizer::GetItemFromGet(RandomizerGet randoGet, GetItemID ogItemId) case HOVER_BOOTS: return GI_BOOTS_HOVER; case BOMB_BAG: - // todo: test this, getting 0 from CUR_UPG_VALUE happens in the bomb checks - // i'm assuming it happens here (where it isn't handled). switch (CUR_UPG_VALUE(UPG_BOMB_BAG)) { - case ITEM_NONE: + case 0: return GI_BOMB_BAG_20; - case ITEM_BOMB_BAG_20: + case 1: return GI_BOMB_BAG_30; - case ITEM_BOMB_BAG_30: + case 2: return GI_BOMB_BAG_40; + case 3: + return GI_RUPEE_BLUE; } case PROGRESSIVE_STRENGTH_UPGRADE: switch (CUR_UPG_VALUE(UPG_STRENGTH)) {