Skip to content

Commit fb2abdc

Browse files
committed
Fix box for national dex
1 parent b484d02 commit fb2abdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

SerialPrograms/Source/PokemonHome/Programs/PokemonHome_BoxSorting.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ bool operator==(const Pokemon& lhs, const Pokemon& rhs){
180180
lhs.shiny == rhs.shiny &&
181181
lhs.gmax == rhs.gmax &&
182182
lhs.ball_slug == rhs.ball_slug &&
183-
lhs.gender == rhs.gender;
183+
lhs.gender == rhs.gender &&
184+
lhs.ot_id == rhs.ot_id;
184185
}
185186

186187
bool operator<(const std::optional<Pokemon>& lhs, const std::optional<Pokemon>& rhs){
@@ -456,7 +457,7 @@ void BoxSorting::program(SingleSwitchProgramEnvironment& env, ProControllerConte
456457
BoxSorting_Descriptor::Stats& stats = env.current_stats< BoxSorting_Descriptor::Stats>();
457458

458459
ImageFloatBox select_check(0.495, 0.0045, 0.01, 0.005); // square color to check which mode is active
459-
ImageFloatBox national_dex_number_box(0.448, 0.245, 0.042, 0.04); //pokemon national dex number pos
460+
ImageFloatBox national_dex_number_box(0.448, 0.245, 0.049, 0.04); //pokemon national dex number pos
460461
ImageFloatBox shiny_symbol_box(0.702, 0.09, 0.04, 0.06); // shiny symbol pos
461462
ImageFloatBox gmax_symbol_box(0.463, 0.09, 0.04, 0.06); // gmax symbol pos
462463
ImageFloatBox origin_symbol_box(0.623, 0.095, 0.033, 0.05); // origin symbol pos

0 commit comments

Comments
 (0)