Skip to content

Commit 2105560

Browse files
committed
extra home press after date skip for bbq farmer
1 parent f03e719 commit 2105560

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

SerialPrograms/Source/PokemonSV/Programs/Farming/PokemonSV_BBQSoloFarmer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include "CommonFramework/Notifications/EventNotificationsTable.h"
1111
#include "NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h"
12+
#include "NintendoSwitch/NintendoSwitch_Settings.h"
1213
#include "NintendoSwitch/Options/NintendoSwitch_GoHomeWhenDoneOption.h"
1314
#include "PokemonSV/Options/PokemonSV_BBQOption.h"
1415

SerialPrograms/Source/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@ void quest_catch(
915915
pbf_press_button(context, BUTTON_HOME, 160ms, GameSettings::instance().GAME_TO_HOME_DELAY1);
916916
home_to_date_time(context, true, true);
917917
PokemonSwSh::roll_date_forward_1(context, true);
918+
pbf_press_button(context, BUTTON_HOME, 160ms, ConsoleSettings::instance().SETTINGS_TO_HOME_DELAY0);
918919
resume_game_from_home(stream, context);
919920

920921
//Heal up and then reset position again.

SerialPrograms/Source/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define PokemonAutomation_PokemonSV_BlueberryCatchPhoto_H
99

1010
#include "NintendoSwitch/Controllers/NintendoSwitch_ProController.h"
11+
#include "NintendoSwitch/NintendoSwitch_Settings.h"
1112
#include "PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.h"
1213
#include "PokemonSV/Options/PokemonSV_BBQOption.h"
1314

SerialPrograms/Source/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ void quest_tera_self_defeat(
585585
pbf_press_button(context, BUTTON_HOME, 160ms, GameSettings::instance().GAME_TO_HOME_DELAY1);
586586
home_to_date_time(context, true, true);
587587
PokemonSwSh::roll_date_forward_1(context, true);
588+
pbf_press_button(context, BUTTON_HOME, 160ms, ConsoleSettings::instance().SETTINGS_TO_HOME_DELAY0);
588589
resume_game_from_home(stream, context);
589590

590591
//Heal up and then reset position again.
@@ -720,6 +721,7 @@ void quest_sneak_up(
720721
pbf_press_button(context, BUTTON_HOME, 160ms, GameSettings::instance().GAME_TO_HOME_DELAY1);
721722
home_to_date_time(context, true, true);
722723
PokemonSwSh::roll_date_forward_1(context, true);
724+
pbf_press_button(context, BUTTON_HOME, 160ms, ConsoleSettings::instance().SETTINGS_TO_HOME_DELAY0);
723725
resume_game_from_home(stream, context);
724726
context.wait_for_all_requests();
725727
}
@@ -793,6 +795,7 @@ void quest_wild_tera(
793795
pbf_press_button(context, BUTTON_HOME, 160ms, GameSettings::instance().GAME_TO_HOME_DELAY1);
794796
home_to_date_time(context, true, true);
795797
PokemonSwSh::roll_date_forward_1(context, true);
798+
pbf_press_button(context, BUTTON_HOME, 160ms, ConsoleSettings::instance().SETTINGS_TO_HOME_DELAY0);
796799
resume_game_from_home(stream, context);
797800

798801
//Heal up and then reset position again.

0 commit comments

Comments
 (0)