Skip to content

Commit 22b6810

Browse files
committed
Increase timeout for PLA battling.
1 parent 186fa08 commit 22b6810

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SerialPrograms/Source/CommonFramework/Globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace PokemonAutomation{
2525
const bool IS_BETA_VERSION = true;
2626
const int PROGRAM_VERSION_MAJOR = 0;
2727
const int PROGRAM_VERSION_MINOR = 50;
28-
const int PROGRAM_VERSION_PATCH = 15;
28+
const int PROGRAM_VERSION_PATCH = 16;
2929

3030
const std::string PROGRAM_VERSION_BASE =
3131
"v" + std::to_string(PROGRAM_VERSION_MAJOR) +

SerialPrograms/Source/PokemonLA/Programs/PokemonLA_BattleRoutines.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ void mash_A_until_end_of_battle(ConsoleHandle& console, BotBaseContext& context)
2929
int ret = run_until(
3030
console, context,
3131
[](BotBaseContext& context){
32-
pbf_mash_button(context, BUTTON_A, 120 * TICKS_PER_SECOND);
32+
pbf_mash_button(context, BUTTON_A, 180 * TICKS_PER_SECOND);
3333
},
3434
{{detector}}
3535
);
3636
if (ret < 0){
3737
OperationFailedException::fire(
3838
console, ErrorReport::SEND_ERROR_REPORT,
39-
"Failed to return to overworld after 2 minutes."
39+
"Failed to return to overworld after 3 minutes."
4040
);
4141
}
4242
console.log("Returned to overworld.");

0 commit comments

Comments
 (0)