This commit is contained in:
Kurt 2018-05-22 16:51:32 -07:00
commit caa617ee83
2 changed files with 2 additions and 5 deletions

View file

@ -67,7 +67,7 @@ namespace PKHeX.Core
}
private void LoadLines(IEnumerable<string> lines)
{
lines = lines.Select(z => z.Replace("'", "").Trim()); // Sanitize apostrophes
lines = lines.Select(z => z.Replace("'", "").Replace("", "-").Trim()); // Sanitize apostrophes & dashes
lines = lines.Where(z => z.Length > 2);
ParseLines(lines);

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);