Skip to content

Commit a106630

Browse files
authored
Merge branch 'PokemonAutomation:main' into main
2 parents b573ab8 + de39f79 commit a106630

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

SerialPrograms/Source/CommonFramework/Globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace PokemonAutomation{
3636
#endif
3737

3838
#ifndef PA_VERSION_PATCH
39-
#define PA_VERSION_PATCH 1
39+
#define PA_VERSION_PATCH 2
4040
#endif
4141

4242
const bool IS_BETA_VERSION = PA_IS_BETA;

SerialPrograms/Source/PanelLists.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ ProgramSelect::ProgramSelect(QWidget& parent, PanelHolder& holder)
5555
add(std::make_unique<NintendoSwitch::PokemonSV::PanelListFactory>());
5656

5757
add(std::make_unique<NintendoSwitch::PokemonLZA::PanelListFactory>());
58+
add(std::make_unique<NintendoSwitch::PokemonFRLG::PanelListFactory>());
5859
if (PreloadSettings::instance().DEVELOPER_MODE){
5960
add(std::make_unique<NintendoSwitch::PokemonRSE::PanelListFactory>());
60-
add(std::make_unique<NintendoSwitch::PokemonFRLG::PanelListFactory>());
6161
}
6262

6363
add(std::make_unique<NintendoSwitch::ZeldaTotK::PanelListFactory>());

SerialPrograms/Source/PokemonFRLG/PokemonFRLG_Panels.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,14 @@ std::vector<PanelEntry> PanelListFactory::make_panels() const{
3535
//ret.emplace_back("---- General ----");
3636

3737
ret.emplace_back("---- Shiny Hunting ----");
38-
ret.emplace_back(make_single_switch_program<GiftReset_Descriptor, GiftReset>());
39-
ret.emplace_back(make_single_switch_program<LegendaryReset_Descriptor, LegendaryReset>());
40-
ret.emplace_back(make_single_switch_program<LegendaryRunAway_Descriptor, LegendaryRunAway>());
41-
ret.emplace_back(make_single_switch_program<PrizeCornerReset_Descriptor, PrizeCornerReset>());
38+
if (IS_BETA_VERSION){
39+
ret.emplace_back(make_single_switch_program<GiftReset_Descriptor, GiftReset>());
40+
ret.emplace_back(make_single_switch_program<LegendaryReset_Descriptor, LegendaryReset>());
41+
}
42+
if (PreloadSettings::instance().DEVELOPER_MODE){
43+
ret.emplace_back(make_single_switch_program<LegendaryRunAway_Descriptor, LegendaryRunAway>());
44+
ret.emplace_back(make_single_switch_program<PrizeCornerReset_Descriptor, PrizeCornerReset>());
45+
}
4246

4347

4448
if (PreloadSettings::instance().DEVELOPER_MODE){

SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_FastTravelNavigation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int get_current_selector_index(
3535
const ImageFloatBox& box,
3636
double spacing
3737
){
38-
const ImageViewRGB32& screen = console.video().snapshot();
38+
VideoSnapshot screen = console.video().snapshot();
3939
SelectionArrowWatcher arrow(
4040
COLOR_GREEN,
4141
&console.overlay(),

0 commit comments

Comments
 (0)