Fix trash editor on gen3

now spawns the correct amount of numericupdowns
This commit is contained in:
Kurt 2017-04-09 19:50:53 -07:00
parent 6d2c09f629
commit 471a90ced6

View file

@ -69,7 +69,7 @@ namespace PKHeX.WinForms
GB_Trash.Visible = true;
NUD_Generation.Value = Main.SAV.Generation;
int charct = length;
int bytesperchar = Main.SAV.Generation > 2 ? 2 : 1;
int bytesperchar = bigendian || Main.SAV.Generation > 3 ? 2 : 1;
Font courier = new Font("Courier New", 8);
for (int i = 0; i < charct * bytesperchar; i++)
{