From a88cac300e4b3769baed5a651e679e395a33b16b Mon Sep 17 00:00:00 2001 From: Malkierian Date: Wed, 17 Sep 2025 13:13:19 -0700 Subject: [PATCH] Restores `IS_RANDO` default for the "Always Win Dampe Digging Game" enhancement and changes the tooltip to reflect the default status rather than the forced on status. (#5788) --- soh/soh/Enhancements/timesaver_hook_handlers.cpp | 4 ++-- soh/soh/SohGui/SohMenuEnhancements.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/soh/soh/Enhancements/timesaver_hook_handlers.cpp b/soh/soh/Enhancements/timesaver_hook_handlers.cpp index dcac45c88..793583698 100644 --- a/soh/soh/Enhancements/timesaver_hook_handlers.cpp +++ b/soh/soh/Enhancements/timesaver_hook_handlers.cpp @@ -715,14 +715,14 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li } break; case VB_BE_VALID_GRAVEDIGGING_SPOT: - if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), 0)) { + if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), IS_RANDO)) { EnTk* enTk = va_arg(args, EnTk*); enTk->validDigHere = true; *should = true; } break; case VB_BE_DAMPE_GRAVEDIGGING_GRAND_PRIZE: - if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), 0)) { + if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), IS_RANDO)) { EnTk* enTk = va_arg(args, EnTk*); enTk->currentReward = 3; *should = true; diff --git a/soh/soh/SohGui/SohMenuEnhancements.cpp b/soh/soh/SohGui/SohMenuEnhancements.cpp index dd965be0a..87eb881cb 100644 --- a/soh/soh/SohGui/SohMenuEnhancements.cpp +++ b/soh/soh/SohGui/SohMenuEnhancements.cpp @@ -1281,7 +1281,7 @@ void SohMenu::AddMenuEnhancements() { .CVar(CVAR_ENHANCEMENT("DampeWin")) .Options(CheckboxOptions().Tooltip( "Always win the Heart Piece/Purple Rupee on the first dig in Dampe's Grave Digging game. " - "In a Randomizer file, this is always enabled.")); + "In a Randomizer file, this defaults to on if this enhancement has never been changed.")); AddWidget(path, "All Dogs are Richard", WIDGET_CVAR_CHECKBOX) .CVar(CVAR_ENHANCEMENT("AllDogsRichard")) .Options(CheckboxOptions().Tooltip("All dogs can be traded in and will count as Richard."));