Unify Shops, Scrubs and Merchants price and hinting code (#4321)
* commiting to branch switch * shop,scrubs and merchant code unified * last cleanups * Update soh/soh/Enhancements/randomizer/hook_handlers.cpp Co-authored-by: Pepe20129 <72659707+Pepe20129@users.noreply.github.com> * attempt to fix reviews DOES NOT BUILD * TIL include order matters * Update soh/soh/Enhancements/randomizer/3drando/shops.cpp Co-authored-by: Pepe20129 <72659707+Pepe20129@users.noreply.github.com> * Update soh/soh/Enhancements/randomizer/3drando/shops.cpp Note to self, Don't code tired. *proceeds to ignore note* Co-authored-by: Angelo Bulfone <boomshroom@users.noreply.github.com> * fix typos * post merge * commiting to check something * probably cleaned up, needs a doublecheck * fix presets * address reviews * fix small shopsanity count oversights * undo rename --------- Co-authored-by: Pepe20129 <72659707+Pepe20129@users.noreply.github.com> Co-authored-by: Angelo Bulfone <boomshroom@users.noreply.github.com> Co-authored-by: Malkierian <malkierian@gmail.com>
This commit is contained in:
@@ -1320,16 +1320,7 @@ void DrawEquipmentTab() {
|
||||
"Giant (500)",
|
||||
};
|
||||
// only display Tycoon wallet if you're in a save file that would allow it.
|
||||
if (
|
||||
IS_RANDO &&
|
||||
!(
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHOPSANITY) == RO_SHOPSANITY_OFF ||
|
||||
(
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHOPSANITY) == RO_SHOPSANITY_SPECIFIC_COUNT &&
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHOPSANITY_COUNT) == RO_SHOPSANITY_COUNT_ZERO_ITEMS
|
||||
)
|
||||
)
|
||||
) {
|
||||
if (IS_RANDO && OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_INCLUDE_TYCOON_WALLET)) {
|
||||
const std::string walletName = "Tycoon (999)";
|
||||
walletNamesImpl.push_back(walletName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user