Skip to content

Commit

Permalink
Fix playthrough items for in-game spoiler log (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
HylianFreddy authored Feb 22, 2025
1 parent eb9e209 commit 0f3624c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/spoiler_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,13 @@ void WriteIngameSpoilerLog() {
if (loc->IsExcluded()) {
continue;
}
// Master Sword
else if (!Settings::ShuffleMasterSword && key == TOT_MASTER_SWORD) {
continue;
}
// Cows
else if (!Settings::ShuffleCows && loc->IsCategory(Category::cCow)) {
continue;
}
// Merchants
else if (Settings::ShuffleMerchants.Is(SHUFFLEMERCHANTS_OFF) && loc->IsCategory(Category::cMerchant)) {
else if (Settings::ShuffleMerchants.Is(SHUFFLEMERCHANTS_OFF) && loc->IsCategory(Category::cMerchant) &&
key != WASTELAND_BOMBCHU_SALESMAN) { // The bombchu salesman is handled below
continue;
}
// Adult Trade
Expand Down Expand Up @@ -243,6 +240,9 @@ void WriteIngameSpoilerLog() {
splrDatLoc->ItemLocations[spoilerItemIndex].RevealType = REVEALTYPE_ALWAYS;
} else if (key == ZR_MAGIC_BEAN_SALESMAN && !Settings::ShuffleMagicBeans) {
splrDatLoc->ItemLocations[spoilerItemIndex].RevealType = REVEALTYPE_ALWAYS;
} else if (key == WASTELAND_BOMBCHU_SALESMAN && Settings::ShuffleMerchants.Is(SHUFFLEMERCHANTS_OFF)) {
splrDatLoc->ItemLocations[spoilerItemIndex].CollectType = COLLECTTYPE_REPEATABLE;
splrDatLoc->ItemLocations[spoilerItemIndex].RevealType = REVEALTYPE_ALWAYS;
}
// Shops
else if (loc->IsShop()) {
Expand Down

0 comments on commit 0f3624c

Please sign in to comment.