From d02ab22c6d68bb1391be44afaa6f3817721ab59c Mon Sep 17 00:00:00 2001 From: Mysticial Date: Wed, 27 Sep 2023 11:23:05 -0700 Subject: [PATCH] Fix ball throw refactor. --- .../Source/PokemonSV/Programs/PokemonSV_BasicCatcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SerialPrograms/Source/PokemonSV/Programs/PokemonSV_BasicCatcher.cpp b/SerialPrograms/Source/PokemonSV/Programs/PokemonSV_BasicCatcher.cpp index 6edc7ca48..14eab8eeb 100644 --- a/SerialPrograms/Source/PokemonSV/Programs/PokemonSV_BasicCatcher.cpp +++ b/SerialPrograms/Source/PokemonSV/Programs/PokemonSV_BasicCatcher.cpp @@ -52,7 +52,7 @@ int move_to_ball( } if (current_ball == first_ball){ repeat_counter++; - if (repeat_counter == 3){ + if (repeat_counter == 10){ return -1; } } @@ -113,7 +113,7 @@ int16_t throw_ball( console, context, [&](BotBaseContext& context){ quantity = move_to_ball(reader, console, context, ball_slug); }, - {normal_battle_menu, tera_catch_detector} + {normal_battle_menu, move_select_menu, tera_catch_detector} ); switch (ret){ case 0: