Skip to content

Commit 0aecbf0

Browse files
author
Gin
committed
fix
1 parent 11cfbf4 commit 0aecbf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_BasicNavigation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,10 @@ int run_towards_wild_zone_gate(
483483
OverworldPartySelectionOverWatcher overworld_gone(COLOR_WHITE, &console.overlay(), std::chrono::milliseconds(400));
484484
const int ret = run_until<ProControllerContext>(
485485
console, context,
486-
[&run_time](ProControllerContext& context){
486+
[&](ProControllerContext& context){
487487
// running back
488488
ssf_press_button(context, BUTTON_B, 0ms, run_time, 0ms);
489-
pbf_move_left_joystick(context, 128, 255, run_time, 0ms);
489+
pbf_move_left_joystick(context, run_direction_x, run_direction_y, run_time, 0ms);
490490
},
491491
{{buttonA, overworld_gone}}
492492
);

0 commit comments

Comments
 (0)