Skip to content

Commit 94f4c60

Browse files
authored
Merge pull request #641 from kichithewolf/bbq-switch2
Bbq switch2 fixes
2 parents ec5aab5 + 791faa4 commit 94f4c60

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

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

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ CameraAngle quest_photo_navi(
126126

127127
pbf_press_button(context, BUTTON_L, 20, 50);
128128
pbf_move_left_joystick(context, 128, 0, 100, 50);
129-
pbf_move_left_joystick(context, 0, 0, 20, 50);
129+
130+
//Turn slightly for switch 1
131+
if (console.state().console_type() == ConsoleType::Switch1) {
132+
pbf_move_left_joystick(context, 0, 0, 20, 50);
133+
}
130134

131135
break;
132136
case BBQuests::photo_bug: case BBQuests::photo_rock:
@@ -179,8 +183,8 @@ CameraAngle quest_photo_navi(
179183
pbf_press_button(context, BUTTON_L, 20, 50);
180184

181185
break;
182-
case BBQuests::photo_flying: case BBQuests::photo_dark:
183-
console.log("Photo: Dark/Flying");
186+
case BBQuests::photo_flying:
187+
console.log("Photo: Flying");
184188

185189
//Vullaby/Mandibuzz
186190
central_to_savanna_plaza(info, console, context);
@@ -224,8 +228,8 @@ CameraAngle quest_photo_navi(
224228
context.wait_for_all_requests();
225229

226230
break;
227-
case BBQuests::photo_poison:
228-
console.log("Photo: Poison");
231+
case BBQuests::photo_poison: case BBQuests::photo_dark:
232+
console.log("Photo: Poison/Dark");
229233

230234
//Muk-A - area a bit laggy but consistently so
231235
central_to_coastal_plaza(info, console, context);
@@ -400,8 +404,11 @@ void quest_catch_navi(
400404
pbf_press_button(context, BUTTON_L, 20, 50);
401405
pbf_move_left_joystick(context, 128, 0, 100, 50);
402406

403-
pbf_move_left_joystick(context, 0, 0, 20, 50);
404-
pbf_press_button(context, BUTTON_L, 20, 50);
407+
//Turn slightly for switch 1
408+
if (console.state().console_type() == ConsoleType::Switch1) {
409+
pbf_move_left_joystick(context, 0, 0, 20, 50);
410+
pbf_press_button(context, BUTTON_L, 20, 50);
411+
}
405412

406413
break;
407414

@@ -504,8 +511,8 @@ void quest_catch_navi(
504511

505512
jump_glide_fly(console, context, BBQ_OPTIONS.INVERTED_FLIGHT, 1000, 1650, 500);
506513
break;
507-
case BBQuests::catch_dark: case BBQuests::catch_flying:
508-
console.log("Catch: Dark/Flying");
514+
case BBQuests::catch_flying:
515+
console.log("Catch: Flying");
509516

510517
//Vullaby/Mandibuzz
511518
central_to_savanna_plaza(info, console, context);
@@ -577,8 +584,8 @@ void quest_catch_navi(
577584
pbf_move_left_joystick(context, 128, 0, 50, 50);
578585

579586
break;
580-
case BBQuests::catch_poison:
581-
console.log("Catch: Poison");
587+
case BBQuests::catch_poison: case BBQuests::catch_dark:
588+
console.log("Catch: Poison/Dark");
582589

583590
//Muk-A - area a bit laggy but consistently so
584591
central_to_coastal_plaza(info, console, context);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const std::set<BBQuests> gold_quests = {
4949

5050
//Quests that are not currently supported. Gold quests currently excluded as this is singleplayer only right now.
5151
const std::set<BBQuests> not_possible_quests = {
52-
BBQuests::UnableToDetect, BBQuests::pickup_10
52+
BBQuests::UnableToDetect, BBQuests::pickup_10, BBQuests::photo_flying, BBQuests::catch_flying
5353
};
5454

5555

0 commit comments

Comments
 (0)