mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Merge branch 'master' of https://github.com/kwsch/PKHeX
This commit is contained in:
commit
caa617ee83
2 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue