@@ -29,6 +29,14 @@ void day_skip_from_overworld(VideoStream& stream, ProControllerContext& context)
2929void press_Bs_to_back_to_overworld (const ProgramInfo& info, VideoStream& stream, ProControllerContext& context,
3030 uint16_t seconds_between_b_presses = 3 );
3131
32+ // mashes A button by default
33+ void mash_button_till_overworld (
34+ VideoStream& stream,
35+ ProControllerContext& context,
36+ Button button = BUTTON_A,
37+ uint16_t seconds_run = 360
38+ );
39+
3240// From overworld, open map. Will change map view from rotated to fixed if not already fixed.
3341void open_map_from_overworld (
3442 const ProgramInfo& info,
@@ -52,14 +60,6 @@ void open_recently_battled_from_pokedex(const ProgramInfo& info, VideoStream& st
5260// From any of the rotom phone apps (Map/Pokédex/Profile) go to overworld.
5361void leave_phone_to_overworld (const ProgramInfo& info, VideoStream& stream, ProControllerContext& context);
5462
55- // mashes A button by default
56- void mash_button_till_overworld (
57- VideoStream& stream,
58- ProControllerContext& context,
59- Button button = BUTTON_A,
60- uint16_t seconds_run = 360
61- );
62-
6363// enter menu and move the cursor to the given side and index, then press the A button (without wait for A button to press)
6464// if menu_index is -1, return once the menu is detected.
6565void enter_menu_from_overworld (const ProgramInfo& info, VideoStream& stream, ProControllerContext& context,
@@ -85,13 +85,13 @@ void press_button_until_gradient_arrow(
8585 GradientArrowType arrow_type = GradientArrowType::RIGHT
8686);
8787
88- // navigate menus using only gradient arrow detection, without OCR
88+ // navigate school layout menu using only gradient arrow detection, without OCR
8989// first, wait for the gradient arrow to appear within `arrow_box_start`.
9090// then, press `dpad_button` a certain number of times, as per `num_button_presses`.
9191// then, watch for the gradient arrow within `arrow_box_end`.
9292// If arrow not seen, press `dpad_button` a maximum of 3 times, while still watching for the gradient arrow
9393// If arrow still not seen, throw exception.
94- void basic_menu_navigation (
94+ void navigate_school_layout_menu (
9595 const ProgramInfo& info,
9696 VideoStream& stream,
9797 ProControllerContext& context,
0 commit comments