Skip to content

Commit de39f79

Browse files
committed
Move some FRLG programs to beta.
1 parent 07f0f42 commit de39f79

3 files changed

Lines changed: 10 additions & 6 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){

0 commit comments

Comments
 (0)