@@ -147,18 +147,19 @@ bool route_virizion(
147147 const uint16_t min_calorie = MIN_CALORIE_REMAINING;
148148
149149 // running forward
150- Milliseconds duration (5000 );
150+ Milliseconds duration (4400 );
151151
152152 HyperspaceCalorieLimitWatcher calorie_watcher (env.logger (), min_calorie);
153153 const int ret = run_until<ProControllerContext>(
154154 env.console , context,
155155 [&](ProControllerContext& context){
156156 // running forward
157157 ssf_press_button (context, BUTTON_B, 0ms, 2 *duration, 0ms);
158- // Add 500 ms to avoid any drift using the balustrade
159- pbf_move_left_joystick (context, {0 , +1 }, duration + 500ms , 0ms);
158+ // Add 30 ms to avoid any drift using the balustrade
159+ pbf_move_left_joystick (context, {0 , +1 }, duration + 30ms , 0ms);
160160 // run back
161161 pbf_move_left_joystick (context, {0 , -1 }, duration, 0ms);
162+ pbf_wait (context, 100ms);
162163 },
163164 {{calorie_watcher}}
164165 );
@@ -181,7 +182,7 @@ void ShinyHunt_HyperspaceLegendary::program(SingleSwitchProgramEnvironment& env,
181182 assert_16_9_720p_min (env.logger (), env.console );
182183
183184 // Mash button B to let Switch register the controller
184- pbf_mash_button (context, BUTTON_B, 500ms );
185+ pbf_mash_button (context, BUTTON_B, 200ms );
185186
186187 ShinyHunt_HyperspaceLegendary_Descriptor::Stats& stats = env.current_stats <ShinyHunt_HyperspaceLegendary_Descriptor::Stats>();
187188
0 commit comments