Base whats in the bazaar shop on entranceIndex instead of age

This commit is contained in:
Garrett Cox 2022-09-06 15:59:09 -05:00
commit 5b4ce49688

View file

@ -2634,7 +2634,8 @@ ShopItemIdentity Randomizer::IdentifyShopItem(s32 sceneNum, u8 slotIndex) {
switch (sceneNum) {
case SCENE_SHOP1:
if (LINK_IS_ADULT) {
// Bazaar (SHOP1) scene is reused, so use entranceIndex to determine if we're entering from KaK or market
if (gSaveContext.entranceIndex == 0xB7) {
switch (slotIndex) {
case 0:
shopItemIdentity.randomizerInf = RAND_INF_SHOP_ITEMS_KAK_BAZAAR_ITEM_1;