@@ -1202,148 +1202,6 @@ void checkpoint_reattempt_loop_tutorial(
12021202
12031203
12041204
1205- void move_from_glaseado_mountain_to_montenevera (SingleSwitchProgramEnvironment& env, ProControllerContext& context){
1206- context.wait_for_all_requests ();
1207-
1208-
1209- // marker 1 {0.745313, 0.637037}
1210- place_marker_offset_from_flypoint (env.program_info (), env.console , context,
1211- {ZoomChange::KEEP_ZOOM, 0 , 0 , 0 },
1212- FlyPoint::POKECENTER,
1213- {0.745313 , 0.637037 }
1214- );
1215- handle_when_stationary_in_overworld (env.program_info (), env.console , context,
1216- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1217- overworld_navigation (env.program_info (), env.console , context,
1218- NavigationStopCondition::STOP_MARKER, NavigationMovementMode::DIRECTIONAL_ONLY,
1219- 128 , 0 , 30 , 10 , false );
1220- },
1221- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1222- pbf_move_left_joystick (context, 0 , 255 , 40 , 50 );
1223- realign_player (env.program_info (), env.console , context, PlayerRealignMode::REALIGN_OLD_MARKER);
1224- }
1225- );
1226-
1227- // marker 2 x=0.225521, y=0.380556. {0.229687, 0.37037}
1228- place_marker_offset_from_flypoint (env.program_info (), env.console , context,
1229- {ZoomChange::KEEP_ZOOM, 255 , 0 , 50 },
1230- FlyPoint::POKECENTER,
1231- {0.229687 , 0.37037 }
1232- );
1233- handle_when_stationary_in_overworld (env.program_info (), env.console , context,
1234- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1235- overworld_navigation (env.program_info (), env.console , context,
1236- NavigationStopCondition::STOP_MARKER, NavigationMovementMode::DIRECTIONAL_ONLY,
1237- 128 , 0 , 60 , 10 , false );
1238- },
1239- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1240- pbf_move_left_joystick (context, 0 , 255 , 40 , 50 );
1241- realign_player (env.program_info (), env.console , context, PlayerRealignMode::REALIGN_OLD_MARKER);
1242- }
1243- );
1244-
1245- // marker 3 x=0.396354, y=0.69537. x=0.396875, y=0.725926
1246- place_marker_offset_from_flypoint (env.program_info (), env.console , context,
1247- {ZoomChange::KEEP_ZOOM, 255 , 200 , 50 },
1248- FlyPoint::POKECENTER,
1249- {0.396875 , 0.725926 }
1250- );
1251- handle_when_stationary_in_overworld (env.program_info (), env.console , context,
1252- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1253- overworld_navigation (env.program_info (), env.console , context,
1254- NavigationStopCondition::STOP_MARKER, NavigationMovementMode::DIRECTIONAL_ONLY,
1255- 128 , 0 , 50 , 10 , false );
1256- },
1257- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1258- pbf_move_left_joystick (context, 255 , 255 , 40 , 50 );
1259- realign_player (env.program_info (), env.console , context, PlayerRealignMode::REALIGN_OLD_MARKER);
1260- }
1261- );
1262-
1263- // marker 4 (0.409896, 0.65)
1264- place_marker_offset_from_flypoint (env.program_info (), env.console , context,
1265- {ZoomChange::KEEP_ZOOM, 0 , 0 , 0 },
1266- FlyPoint::POKECENTER,
1267- {0.409896 , 0.65 }
1268- );
1269- handle_when_stationary_in_overworld (env.program_info (), env.console , context,
1270- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1271- overworld_navigation (env.program_info (), env.console , context,
1272- NavigationStopCondition::STOP_MARKER, NavigationMovementMode::DIRECTIONAL_ONLY,
1273- 128 , 0 , 20 , 10 , false );
1274- },
1275- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1276- pbf_move_left_joystick (context, 255 , 255 , 40 , 50 );
1277- realign_player (env.program_info (), env.console , context, PlayerRealignMode::REALIGN_OLD_MARKER);
1278- }
1279- );
1280-
1281-
1282- // marker 5 {0.509896, 0.639815}
1283- place_marker_offset_from_flypoint (env.program_info (), env.console , context,
1284- {ZoomChange::KEEP_ZOOM, 0 , 0 , 0 },
1285- FlyPoint::POKECENTER,
1286- {0.509896 , 0.639815 }
1287- );
1288- handle_when_stationary_in_overworld (env.program_info (), env.console , context,
1289- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1290- overworld_navigation (env.program_info (), env.console , context,
1291- NavigationStopCondition::STOP_MARKER, NavigationMovementMode::DIRECTIONAL_ONLY,
1292- 128 , 0 , 30 , 10 , false );
1293- },
1294- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1295- pbf_move_left_joystick (context, 255 , 255 , 40 , 50 );
1296- realign_player (env.program_info (), env.console , context, PlayerRealignMode::REALIGN_OLD_MARKER);
1297- }
1298- );
1299-
1300- // marker 6 {0.508333, 0.566667} {0.521875, 0.483333}
1301- place_marker_offset_from_flypoint (env.program_info (), env.console , context,
1302- {ZoomChange::ZOOM_IN, 128 , 255 , 20 },
1303- FlyPoint::POKECENTER,
1304- {0.508333 , 0.566667 }
1305- );
1306- handle_when_stationary_in_overworld (env.program_info (), env.console , context,
1307- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1308- overworld_navigation (env.program_info (), env.console , context,
1309- NavigationStopCondition::STOP_MARKER, NavigationMovementMode::DIRECTIONAL_ONLY,
1310- 128 , 0 , 30 , 10 , false );
1311- },
1312- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1313- pbf_move_left_joystick (context, 255 , 255 , 40 , 50 );
1314- realign_player (env.program_info (), env.console , context, PlayerRealignMode::REALIGN_OLD_MARKER);
1315- }
1316- );
1317-
1318- // marker 7 {0.508333, 0.566667} {0.521875, 0.483333} {0.529687, 0.483333}
1319- place_marker_offset_from_flypoint (env.program_info (), env.console , context,
1320- {ZoomChange::ZOOM_IN, 0 , 0 , 0 },
1321- FlyPoint::POKECENTER,
1322- {0.529687 , 0.483333 }
1323- );
1324-
1325- get_on_ride (env.program_info (), env.console , context);
1326-
1327- handle_when_stationary_in_overworld (env.program_info (), env.console , context,
1328- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1329- overworld_navigation (env.program_info (), env.console , context,
1330- NavigationStopCondition::STOP_MARKER, NavigationMovementMode::DIRECTIONAL_ONLY,
1331- 128 , 0 , 30 , 10 , false );
1332- },
1333- [&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
1334- pbf_move_left_joystick (context, 128 , 0 , 500ms, 0ms);
1335- pbf_controller_state (context, BUTTON_B, DPAD_NONE, 128 , 0 , 128 , 128 , 1000ms);
1336- pbf_move_left_joystick (context, 128 , 0 , 500ms, 0ms);
1337- realign_player (env.program_info (), env.console , context, PlayerRealignMode::REALIGN_OLD_MARKER);
1338- }
1339- );
1340-
1341-
1342- fly_to_overlapping_flypoint (env.program_info (), env.console , context);
1343-
1344-
1345- }
1346-
13471205
13481206void move_from_montenevera_to_glaseado_gym (SingleSwitchProgramEnvironment& env, ProControllerContext& context){
13491207 DirectionDetector direction;
0 commit comments