mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 23:10:14 -05:00
don't spoil shops without soul
This commit is contained in:
parent
8c24e33900
commit
b71b88c57b
@ -543,13 +543,39 @@ void CheckTrackerTransition(uint32_t sceneNum) {
|
||||
currentArea = GetCheckArea();
|
||||
switch (sceneNum) {
|
||||
case SCENE_KOKIRI_SHOP:
|
||||
if (Flags_GetRandomizerInf(RAND_INF_KOKIRI_SHOPKEEPER_SOUL)) {
|
||||
SetShopSeen(sceneNum, false);
|
||||
}
|
||||
break;
|
||||
case SCENE_BAZAAR:
|
||||
if (Flags_GetRandomizerInf(RAND_INF_BAZAAR_SHOPKEEPER_SOUL)) {
|
||||
SetShopSeen(sceneNum, false);
|
||||
}
|
||||
break;
|
||||
case SCENE_POTION_SHOP_MARKET:
|
||||
if (Flags_GetRandomizerInf(RAND_INF_POTION_SHOPKEEPER_SOUL)) {
|
||||
SetShopSeen(sceneNum, false);
|
||||
}
|
||||
break;
|
||||
case SCENE_BOMBCHU_SHOP:
|
||||
if (Flags_GetRandomizerInf(RAND_INF_BOMBCHU_SHOPKEEPER_SOUL)) {
|
||||
SetShopSeen(sceneNum, false);
|
||||
}
|
||||
break;
|
||||
case SCENE_POTION_SHOP_KAKARIKO:
|
||||
if (Flags_GetRandomizerInf(RAND_INF_POTION_SHOPKEEPER_SOUL)) {
|
||||
SetShopSeen(sceneNum, false);
|
||||
}
|
||||
break;
|
||||
case SCENE_GORON_SHOP:
|
||||
if (Flags_GetRandomizerInf(RAND_INF_GORON_SHOPKEEPER_SOUL)) {
|
||||
SetShopSeen(sceneNum, false);
|
||||
}
|
||||
break;
|
||||
case SCENE_ZORA_SHOP:
|
||||
SetShopSeen(sceneNum, false);
|
||||
if (Flags_GetRandomizerInf(RAND_INF_ZORA_SHOPKEEPER_SOUL)) {
|
||||
SetShopSeen(sceneNum, false);
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (!IsAreaSpoiled(currentArea) && (RandomizerCheckObjects::AreaIsOverworld(currentArea) || std::find(spoilingEntrances.begin(), spoilingEntrances.end(), gPlayState->nextEntranceIndex) != spoilingEntrances.end())) {
|
||||
|
Loading…
Reference in New Issue
Block a user