You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console, context, 30s, // set 30sec to be long enough for Switch 1 to load the overworld
263
-
{overworld,}
264
+
{overworld, blue_dialog}
264
265
);
265
266
switch (ret){
266
267
case0:
267
268
console.log("Flying from map... Done!");
268
269
console.overlay().add_log("Fast Travel Done");
269
270
break;
271
+
case1:
272
+
console.log("Detected blue dialog. Rare by probably too many button A mashing to trigger return to Lumiose dialog while teleporting to Hyperspace portal");
273
+
ret = run_until<ProControllerContext>(
274
+
console, context,
275
+
[](ProControllerContext& context){
276
+
pbf_mash_button(context, BUTTON_B, 5s);
277
+
},
278
+
{{overworld}}
279
+
);
280
+
if (ret != 0){
281
+
OperationFailedException::fire(
282
+
ErrorReport::SEND_ERROR_REPORT,
283
+
"fly_from_map(): Does not detect overworld after encountering blue dialog.",
284
+
console
285
+
);
286
+
}
287
+
console.log("Flying from map... Done!");
288
+
console.overlay().add_log("Fast Travel Done");
289
+
break;
270
290
default:
271
-
// return false;
272
291
OperationFailedException::fire(
273
292
ErrorReport::SEND_ERROR_REPORT,
274
293
"fly_from_map(): Does not detect overworld after fast travel.",
0 commit comments