Skip to content

Commit eb53c37

Browse files
committed
Try to fix BenchSit bench find recovery.
1 parent 2ec994d commit eb53c37

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

SerialPrograms/Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_BenchSit.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,15 @@ void run_back_until_found_bench(
131131
int ret = run_until<ProControllerContext>(
132132
env.console, context,
133133
[](ProControllerContext& context){
134+
ssf_press_button(context, BUTTON_B, 0ms, 800ms, 0ms);
135+
pbf_move_left_joystick(context, 128, 255, 800ms, 200ms);
136+
pbf_press_button(context, BUTTON_L, 160ms, 160ms);
137+
134138
// Can't just hold it down since sometimes it doesn't register.
135139
for (int c = 0; c < 10; c++){
136-
ssf_press_button(context, BUTTON_B, 0ms, 800ms, 0ms);
137-
pbf_move_left_joystick(context, 128, 255, 800ms, 200ms);
138140
pbf_move_right_joystick(context, 0, 128, 200ms, 800ms);
139141
pbf_press_button(context, BUTTON_L, 160ms, 0ms);
142+
pbf_move_left_joystick(context, 128, 255, 8400ms, 800ms);
140143
}
141144
},
142145
{buttonA}

0 commit comments

Comments
 (0)