Correct Control Switching for G2->G7 (#1957)

Is there a reason for having GSC newTrack as USUM? This causes `origintrack = newTrack;` not to happen and thus controls don't switch from G2->G7 correctly.
This commit is contained in:
ReignOfComputer 2018-05-22 11:19:00 +08:00 committed by Kurt
parent 6949cf103e
commit 044ae4e6fe

View file

@ -1025,10 +1025,7 @@ namespace PKHeX.WinForms.Controls
pkm.Version = (int)Version;
TID_Trainer.LoadIDValues(pkm);
}
if (newTrack == GameVersion.GSC && pkm.Format >= 7)
newTrack = GameVersion.USUM;
else if (pkm.Format < 3)
newTrack = GameVersion.GSC;
if (newTrack != origintrack)
{
var met_list = GameInfo.GetLocationList(Version, pkm.Format, egg: false);