From 77ce5ce32cd2b9bbc53605ed13fbad8e06240ed8 Mon Sep 17 00:00:00 2001 From: Mysticial Date: Sat, 30 Dec 2023 11:46:24 -0800 Subject: [PATCH] Unlock tourney 2. --- .../Inference/Battles/PokemonSV_NormalBattleMenus.cpp | 4 ++-- SerialPrograms/Source/PokemonSV/PokemonSV_Panels.cpp | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/SerialPrograms/Source/PokemonSV/Inference/Battles/PokemonSV_NormalBattleMenus.cpp b/SerialPrograms/Source/PokemonSV/Inference/Battles/PokemonSV_NormalBattleMenus.cpp index 13b29f1f4..ff344fefc 100644 --- a/SerialPrograms/Source/PokemonSV/Inference/Battles/PokemonSV_NormalBattleMenus.cpp +++ b/SerialPrograms/Source/PokemonSV/Inference/Battles/PokemonSV_NormalBattleMenus.cpp @@ -69,7 +69,7 @@ bool NormalBattleMenuDetector::move_to_slot(ConsoleHandle& console, BotBaseConte context.wait_for(std::chrono::milliseconds(500)); continue; // static int c = 0; -// screen->save("bad-" + std::to_string(c++) + ".png"); // REMOVE +// screen->save("bad-" + std::to_string(c++) + ".png"); // return false; } if (attempts > 10){ @@ -81,7 +81,7 @@ bool NormalBattleMenuDetector::move_to_slot(ConsoleHandle& console, BotBaseConte switch (diff){ case 0:{ // static int c = 0; -// screen->save("good-" + std::to_string(c++) + ".png"); // REMOVE +// screen->save("good-" + std::to_string(c++) + ".png"); return true; } case 1: diff --git a/SerialPrograms/Source/PokemonSV/PokemonSV_Panels.cpp b/SerialPrograms/Source/PokemonSV/PokemonSV_Panels.cpp index 32bd40765..03f03c115 100644 --- a/SerialPrograms/Source/PokemonSV/PokemonSV_Panels.cpp +++ b/SerialPrograms/Source/PokemonSV/PokemonSV_Panels.cpp @@ -97,9 +97,7 @@ std::vector PanelListFactory::make_panels() const{ ret.emplace_back(make_single_switch_program()); ret.emplace_back(make_single_switch_program()); ret.emplace_back(make_single_switch_program()); - if (PreloadSettings::instance().DEVELOPER_MODE){ - ret.emplace_back(make_single_switch_program()); - } + ret.emplace_back(make_single_switch_program()); ret.emplace_back(make_single_switch_program()); ret.emplace_back("---- Eggs ----");