From a4b2783002808a1b7e332636a8f074d20f9aa99b Mon Sep 17 00:00:00 2001 From: Mysticial Date: Tue, 19 Sep 2023 11:47:57 -0700 Subject: [PATCH] Increase walk-forward duration to improve reliability. --- .../PokemonSV/Programs/Sandwiches/PokemonSV_SandwichMaker.h | 1 - .../PokemonSV/Programs/Sandwiches/PokemonSV_SandwichRoutines.h | 3 +-- .../ShinyHunting/PokemonSV_ShinyHunt-AreaZeroPlatform.cpp | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichMaker.h b/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichMaker.h index 1806c63e4..fb4fb836e 100644 --- a/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichMaker.h +++ b/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichMaker.h @@ -7,7 +7,6 @@ #ifndef PokemonAutomation_PokemonSwSh_SandwichMaker_H #define PokemonAutomation_PokemonSwSh_SandwichMaker_H -#include "Common/Cpp/Options/SimpleIntegerOption.h" #include "NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h" #include "NintendoSwitch/Options/NintendoSwitch_GoHomeWhenDoneOption.h" #include "CommonFramework/Notifications/EventNotificationsTable.h" diff --git a/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichRoutines.h b/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichRoutines.h index 37f112e41..e31bc8d3e 100644 --- a/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichRoutines.h +++ b/SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichRoutines.h @@ -9,12 +9,11 @@ #ifndef PokemonAutomation_PokemonSV_SandwichRoutines_H #define PokemonAutomation_PokemonSV_SandwichRoutines_H +#include #include "CommonFramework/ImageTools/ImageBoxes.h" #include "CommonFramework/Language.h" #include "NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h" -#include "PokemonSV/Inference/Picnics/PokemonSV_SandwichHandDetector.h" #include "PokemonSV/Options/PokemonSV_SandwichMakerOption.h" -#include namespace PokemonAutomation{ diff --git a/SerialPrograms/Source/PokemonSV/Programs/ShinyHunting/PokemonSV_ShinyHunt-AreaZeroPlatform.cpp b/SerialPrograms/Source/PokemonSV/Programs/ShinyHunting/PokemonSV_ShinyHunt-AreaZeroPlatform.cpp index d0e45b05c..0f748695d 100644 --- a/SerialPrograms/Source/PokemonSV/Programs/ShinyHunting/PokemonSV_ShinyHunt-AreaZeroPlatform.cpp +++ b/SerialPrograms/Source/PokemonSV/Programs/ShinyHunting/PokemonSV_ShinyHunt-AreaZeroPlatform.cpp @@ -406,7 +406,7 @@ void ShinyHuntAreaZeroPlatform::run_state(SingleSwitchProgramEnvironment& env, B // Open picnic and make sandwich picnic_at_zero_gate(info, console, context); - pbf_move_left_joystick(context, 128, 0, 30, 40); + pbf_move_left_joystick(context, 128, 0, 70, 0); enter_sandwich_recipe_list(info, console, context); run_sandwich_maker(env, context, SANDWICH_OPTIONS);