Skip to content

Commit 7d69182

Browse files
committed
Timing Adjustments
1 parent a990993 commit 7d69182

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_FastTravelNavigation.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,8 @@ void set_fast_travel_menu_filter(
290290
int ret = run_until<ProControllerContext>(
291291
console, context,
292292
[&](ProControllerContext& context){
293-
for(int i = 0; i < 4; i++){
294-
pbf_mash_button(context, BUTTON_MINUS, 1000ms);
295-
}
296-
},
293+
pbf_mash_button(context, BUTTON_MINUS, 4s);
294+
= },
297295
{first_filter_arrow}
298296
);
299297
switch (ret){
@@ -361,7 +359,7 @@ void open_fast_travel_menu(
361359
int ret = run_until<ProControllerContext>(
362360
console, context,
363361
[&](ProControllerContext& context){
364-
pbf_press_button(context, BUTTON_Y, 160ms, 1000ms);
362+
pbf_press_button(context, BUTTON_Y, 160ms, 10s);
365363
},
366364
{map_over}
367365
);
@@ -425,9 +423,7 @@ FastTravelState open_map_and_fly_to(ConsoleHandle& console, ProControllerContext
425423
int ret = run_until<ProControllerContext>(
426424
console, context,
427425
[&](ProControllerContext& context){
428-
for(int i = 0; i < 4; i++){
429-
pbf_mash_button(context, BUTTON_A, 1000ms);
430-
}
426+
pbf_mash_button(context, BUTTON_A, 4s);
431427
},
432428
{fly_confirmed, pursued_warning}
433429
);

0 commit comments

Comments
 (0)