mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-11 20:16:27 -05:00
Merge branch 'master' of https://github.com/kwsch/PKHeX
This commit is contained in:
@@ -67,7 +67,7 @@ public ShowdownSet(IEnumerable<string> lines)
|
||||
}
|
||||
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 @@ private void UpdateOriginGame(object sender, EventArgs e)
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user