Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const std::set<std::string> TOKENS{
"e8d168bc482e96553ea9f9ecaea5a817474dbccc2a6a228a6bde67f2b2aa2889", // James' token.
"7555b7c63481cad42306718c67e7f9def5bfd1da8f6cd299ccd3d7dc95f307ae", // Kuro's token.
"3d475b46d121fc24559d100de2426feaa53cd6578aac2817c4857a610ccde2dd", // kichi's token.
"9b41db8175b5f248a78e738c7bd63a36e33b57953cb4e80ccdd13c2a7e892eec", // Dalton's token.
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ bool operator==(const CollectedPokemonInfo& lhs, const CollectedPokemonInfo& rhs
lhs.ball_slug == rhs.ball_slug &&
lhs.gender == rhs.gender &&
lhs.ot_id == rhs.ot_id &&
lhs.ot_name == rhs.ot_name &&
lhs.primary_type == rhs.primary_type &&
lhs.secondary_type == rhs.secondary_type &&
lhs.tera_type == rhs.tera_type;
Expand Down Expand Up @@ -109,6 +110,7 @@ std::ostream& operator<<(std::ostream& os, const std::optional<CollectedPokemonI
os << "ball:" << pokemon->ball_slug << " ";
os << "gender:" << gender_to_string(pokemon->gender) << " ";
os << "ot_id:" << pokemon->ot_id << " ";
os << "ot_name:" << pokemon->ot_name << " ";
os << "primaryType:" << POKEMON_TYPE_SLUGS().get_string(pokemon->primary_type) << " ";
os << "secondaryType:" << POKEMON_TYPE_SLUGS().get_string(pokemon->secondary_type) << " ";
os << "teraType:" << POKEMON_TERA_TYPE_SLUGS().get_string(pokemon->tera_type) << " ";
Expand Down Expand Up @@ -162,6 +164,7 @@ void save_boxes_data_to_json(const std::vector<std::optional<CollectedPokemonInf
pokemon["ball"] = current_pokemon->ball_slug;
pokemon["gender"] = gender_to_string(current_pokemon->gender);
pokemon["ot_id"] = current_pokemon->ot_id;
pokemon["ot_name"] = current_pokemon->ot_name;
pokemon["primary_type"] = POKEMON_TYPE_SLUGS().get_string(current_pokemon->primary_type);
pokemon["secondary_type"] = POKEMON_TYPE_SLUGS().get_string(current_pokemon->secondary_type);
pokemon["tera_type"] = POKEMON_TERA_TYPE_SLUGS().get_string(current_pokemon->tera_type);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ struct CollectedPokemonInfo{
std::string ball_slug = "";
StatsHuntGenderFilter gender = StatsHuntGenderFilter::Genderless;
uint32_t ot_id = 0; // original trainer ID
std::string ot_name = ""; // original trainer name
PokemonType primary_type = PokemonType::NONE;
PokemonType secondary_type = PokemonType::NONE;
PokemonTeraType tera_type = PokemonTeraType::NONE;
Expand Down
5 changes: 4 additions & 1 deletion SerialPrograms/Source/PokemonHome/PokemonHome_Panels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include "Programs/PokemonHome_PageSwap.h"
#include "Programs/PokemonHome_BoxSorter.h"
#include "Programs/PokemonHome_BoxSorterLivingDex.h"

#include "Programs/PokemonHome_GenerateNameOCR.h"

Expand All @@ -31,7 +32,9 @@ std::vector<PanelEntry> PanelListFactory::make_panels() const{
ret.emplace_back("---- General ----");
ret.emplace_back(make_single_switch_program<PokemonHome::PageSwap_Descriptor, PokemonHome::PageSwap>());
ret.emplace_back(make_single_switch_program<PokemonHome::BoxSorter_Descriptor, PokemonHome::BoxSorter>());

if (PreloadSettings::instance().DEVELOPER_MODE){
ret.emplace_back(make_single_switch_program<PokemonHome::BoxSorterLivingDex_Descriptor, PokemonHome::BoxSorterLivingDex>());
}
// ret.emplace_back("---- Trading ----");

// ret.emplace_back("---- Farming ----");
Expand Down
Loading
Loading