@@ -97,11 +97,14 @@ void run_to_gate(ConsoleHandle& console, ProControllerContext& context){
9797 case 0 :
9898 break ;
9999 default :
100+ console.log (" Unable to detect entrance. Assuming already inside." , COLOR_RED);
101+ #if 0
100102 OperationFailedException::fire(
101103 ErrorReport::SEND_ERROR_REPORT,
102104 "run_to_gate(): Unable to detect entrance after 10 seconds.",
103105 console
104106 );
107+ #endif
105108 }
106109}
107110
@@ -179,7 +182,7 @@ void ShinyHunt_WildZoneEntrance::program(SingleSwitchProgramEnvironment& env, Pr
179182 continue ;
180183 }
181184
182- context. wait_for ( std::chrono::milliseconds ( 1000 ) );
185+ pbf_mash_button (context, BUTTON_B, 1000ms );
183186
184187 bool exit = SHINY_DETECTED.on_shiny_sound (
185188 env, env.console , context,
@@ -189,7 +192,6 @@ void ShinyHunt_WildZoneEntrance::program(SingleSwitchProgramEnvironment& env, Pr
189192
190193 // when shiny sound is detected, it's most likely happened inside the zone
191194 // now try to reset position
192- pbf_mash_button (context, BUTTON_B, 200ms);
193195 open_map (env.console , context);
194196 if (!fly_from_map (env.console , context)){
195197 pbf_mash_button (context, BUTTON_B, 5000ms);
0 commit comments