Skip to content

Commit

Permalink
Fix ball throw refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysticial committed Sep 27, 2023
1 parent 92e08a2 commit d02ab22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d02ab22

Please sign in to comment.