From c432fae757b17aa0618627542b5b93ba2853d4ba Mon Sep 17 00:00:00 2001 From: Nymphea <87930564+NympheaR@users.noreply.github.com> Date: Thu, 23 Oct 2025 11:18:51 +0900 Subject: [PATCH 1/2] Extend purchase arrow detection wait time for languages with longer text --- .../Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp b/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp index 89a029689c..c4ca28a752 100644 --- a/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp +++ b/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp @@ -80,7 +80,7 @@ void ClothingBuyer::program(SingleSwitchProgramEnvironment& env, ProControllerCo FlatWhiteDialogWatcher already_bought(COLOR_RED, &env.console.overlay()); int ret = wait_until( env.console, context, - std::chrono::seconds(2), + std::chrono::seconds(3), { buy_yes_no, already_bought } ); switch (ret) { From aa09f12475afe7da97e755808bd549bcd89cf03b Mon Sep 17 00:00:00 2001 From: Nymphea <87930564+NympheaR@users.noreply.github.com> Date: Thu, 23 Oct 2025 21:48:20 +0900 Subject: [PATCH 2/2] Further increase wait time until throwing error --- .../Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp b/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp index c4ca28a752..eee5335b1d 100644 --- a/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp +++ b/SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp @@ -80,7 +80,7 @@ void ClothingBuyer::program(SingleSwitchProgramEnvironment& env, ProControllerCo FlatWhiteDialogWatcher already_bought(COLOR_RED, &env.console.overlay()); int ret = wait_until( env.console, context, - std::chrono::seconds(3), + std::chrono::seconds(30), { buy_yes_no, already_bought } ); switch (ret) {