Skip to content

Commit d4ec217

Browse files
committed
revert change to clear_dialog(... STOP_TIMEOUT ...) in segment 9
1 parent 73608e0 commit d4ec217

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ void checkpoint_18(
211211
pbf_mash_button(context, BUTTON_A, 6 * TICKS_PER_SECOND);
212212

213213
env.console.log("Talk to Clavell in his office, and the professor.");
214-
// clear_dialog(env.console, context, ClearDialogMode::STOP_TIMEOUT, 25,
215-
// {CallbackEnum::PROMPT_DIALOG}); // max time between dialog: 17s. set timeout to 25 seconds for buffer.
216-
// // mash A to get through the Random A press that you need. when the professor shows you area zero.
217-
// pbf_mash_button(context, BUTTON_A, 3 * TICKS_PER_SECOND);
214+
clear_dialog(env.console, context, ClearDialogMode::STOP_TIMEOUT, 25,
215+
{CallbackEnum::PROMPT_DIALOG}); // max time between dialog: 17s. set timeout to 25 seconds for buffer.
216+
// mash A to get through the Random A press that you need. when the professor shows you area zero.
217+
pbf_mash_button(context, BUTTON_A, 3 * TICKS_PER_SECOND);
218218

219219
clear_dialog(env.console, context, ClearDialogMode::STOP_OVERWORLD, 60,
220220
{CallbackEnum::OVERWORLD, CallbackEnum::PROMPT_DIALOG});
@@ -280,11 +280,11 @@ void checkpoint_20(
280280
walk_forward_until_dialog(env.program_info(), env.console, context, NavigationMovementMode::DIRECTIONAL_ONLY, 60, 128, 0);
281281

282282
env.console.log("Talk to Nemona, Arven, Cassiopeia.");
283-
// clear_dialog(env.console, context, ClearDialogMode::STOP_TIMEOUT, 16,
284-
// {CallbackEnum::PROMPT_DIALOG, CallbackEnum::BLACK_DIALOG_BOX}); // max time between dialog: 11
283+
clear_dialog(env.console, context, ClearDialogMode::STOP_TIMEOUT, 16,
284+
{CallbackEnum::PROMPT_DIALOG, CallbackEnum::BLACK_DIALOG_BOX}); // max time between dialog: 11
285285

286-
// // mash A to get through the Random A press that you need. when the Nemona shows you a Poke Gym.
287-
// pbf_mash_button(context, BUTTON_A, 250);
286+
// mash A to get through the Random A press that you need. when the Nemona shows you a Poke Gym.
287+
pbf_mash_button(context, BUTTON_A, 250);
288288

289289
clear_dialog(env.console, context, ClearDialogMode::STOP_TUTORIAL, 20,
290290
{CallbackEnum::TUTORIAL, CallbackEnum::PROMPT_DIALOG, CallbackEnum::BLACK_DIALOG_BOX});

0 commit comments

Comments
 (0)