Skip to content

Commit 4ad79dc

Browse files
committed
Don't mash here. Can cause problems with end raid if there's a misdetection.
1 parent f357406 commit 4ad79dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/Source/PokemonSwSh/MaxLair/Program/PokemonSwSh_MaxLair_Run_ProfessorSwap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ void run_professor_swap(
4444
if (swap){
4545
stream.log("Choosing to swap.", COLOR_PURPLE);
4646
std::lock_guard<std::mutex> lg(runtime.m_delay_lock);
47-
pbf_mash_button(context, BUTTON_A, 1000ms);
47+
pbf_press_button(context, BUTTON_A, 200ms, 800ms);
4848
context.wait_for_all_requests();
4949
}else{
5050
stream.log("Choosing not to swap.", COLOR_PURPLE);
51-
pbf_mash_button(context, BUTTON_B, 1000ms);
51+
pbf_press_button(context, BUTTON_B, 200ms, 800ms);
5252
}
5353
context.wait_for_all_requests();
5454

0 commit comments

Comments
 (0)