Skip to content

Commit deaf729

Browse files
committed
fix mash_button_till_overworld()
1 parent 1058faf commit deaf729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/Source/PokemonSV/Programs/PokemonSV_MenuNavigation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ void mash_button_till_overworld(
460460
int ret = run_until<ProControllerContext>(
461461
stream, context,
462462
[button, seconds_run](ProControllerContext& context){
463-
ssf_mash1_button(context, button, seconds_run * TICKS_PER_SECOND);
464-
pbf_wait(context, seconds_run * TICKS_PER_SECOND);
463+
ssf_mash1_button(context, button, Seconds(seconds_run));
464+
pbf_wait(context, Seconds(seconds_run));
465465
},
466466
{overworld}
467467
);

0 commit comments

Comments
 (0)