Skip to content

Commit 4c9f506

Browse files
committed
checkpoint_103: enter zero lab. speak to AI professor
1 parent 30f1fcd commit 4c9f506

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

SerialPrograms/Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_39.cpp

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,30 @@ void checkpoint_102(SingleSwitchProgramEnvironment& env, ProControllerContext& c
286286
}
287287

288288
void checkpoint_103(SingleSwitchProgramEnvironment& env, ProControllerContext& context, EventNotificationOption& notif_status_update, AutoStoryStats& stats){
289-
// checkpoint_reattempt_loop(env, context, notif_status_update, stats,
290-
// [&](size_t attempt_number){
289+
checkpoint_reattempt_loop(env, context, notif_status_update, stats,
290+
[&](size_t attempt_number){
291+
292+
do_action_and_monitor_for_battles(env.program_info(), env.console, context,
293+
[&](const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){
294+
pbf_press_button(context, BUTTON_L, 30, 10);
295+
pbf_move_left_joystick(context, 255, 128, 70, 50);
291296

297+
pbf_move_left_joystick(context, 110, 0, 10, 50);
298+
pbf_press_button(context, BUTTON_L, 30, 10);
292299

293-
// });
300+
pbf_move_left_joystick(context, 128, 0, 600, 50);
301+
wait_for_overworld(env.program_info(), env.console, context, 30);
302+
303+
}
304+
);
305+
306+
pbf_move_left_joystick(context, 128, 0, 300, 50);
307+
pbf_move_left_joystick(context, 255, 128, 200, 50);
308+
309+
walk_forward_until_dialog(env.program_info(), env.console, context, NavigationMovementMode::DIRECTIONAL_ONLY, 10);
310+
mash_button_till_overworld(env.console, context, BUTTON_A);
311+
312+
});
294313
}
295314

296315
void checkpoint_104(SingleSwitchProgramEnvironment& env, ProControllerContext& context, EventNotificationOption& notif_status_update, AutoStoryStats& stats){

0 commit comments

Comments
 (0)