Skip to content

Commit 63f4899

Browse files
committed
Cheats Menu - Don't run the Automash cheat if the Palace Skip display is om
1 parent e23d9c6 commit 63f4899

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ttyd-tools/rel/source/codes.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,13 @@ uint32_t autoMashText(uint32_t controllerPort)
626626
return ttyd::system::keyGetButtonTrg(controllerPort);
627627
}
628628

629+
// Don't auto mash if the Palace Skip display is currently on
630+
if (Displays[PALACE_SKIP])
631+
{
632+
// Return the intended value
633+
return ttyd::system::keyGetButtonTrg(controllerPort);
634+
}
635+
629636
// Don't auto mash if currently changing button combos
630637
if (MenuVar.ChangingCheatButtonCombo)
631638
{

0 commit comments

Comments
 (0)