Parse per generation not per format

A gen4 origin on a gen7 mon will no longer appear valid
#377
This commit is contained in:
Kurt 2016-11-14 07:38:44 -08:00
parent bb2cc2b8d5
commit b0ad606761

View file

@ -35,7 +35,7 @@ namespace PKHeX
{
try
{
switch (pk.Format)
switch (pk.GenNumber)
{
case 6: parsePK6(pk); break;
case 7: parsePK7(pk); break;