Skip to content

Commit 75f81a9

Browse files
committed
Update PokemonLGPE_AlolanTrade.cpp
1 parent 872aa4b commit 75f81a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SerialPrograms/Source/PokemonLGPE/Programs/ShinyHunting/PokemonLGPE_AlolanTrade.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ void AlolanTrade::program(SingleSwitchProgramEnvironment& env, CancellableScope&
184184
//Pokedex - Bag - Party - Communicate - Save (these all have a colored line under when selected + an arrow to indicate)
185185
//(Press Y for options)
186186

187+
//Make sure any extra dialog is closed
188+
pbf_mash_button(context, BUTTON_B, 3000ms);
189+
context.wait_for_all_requests();
190+
187191
//Wait a bit.
188192
pbf_wait(context, 2500ms);
189193
context.wait_for_all_requests();

0 commit comments

Comments
 (0)