mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-25 07:35:34 -07:00
Base whats in the bazaar shop on entranceIndex instead of age
This commit is contained in:
parent
d02114a9d8
commit
5b4ce49688
1 changed files with 2 additions and 1 deletions
|
@ -2634,7 +2634,8 @@ ShopItemIdentity Randomizer::IdentifyShopItem(s32 sceneNum, u8 slotIndex) {
|
||||||
|
|
||||||
switch (sceneNum) {
|
switch (sceneNum) {
|
||||||
case SCENE_SHOP1:
|
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) {
|
switch (slotIndex) {
|
||||||
case 0:
|
case 0:
|
||||||
shopItemIdentity.randomizerInf = RAND_INF_SHOP_ITEMS_KAK_BAZAAR_ITEM_1;
|
shopItemIdentity.randomizerInf = RAND_INF_SHOP_ITEMS_KAK_BAZAAR_ITEM_1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue