mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Check for missing gen1 OT names
oops
This commit is contained in:
parent
407c986c89
commit
ec16202f73
1 changed files with 6 additions and 0 deletions
|
@ -104,6 +104,12 @@ namespace PKHeX.Core
|
|||
var pkm = data.pkm;
|
||||
string tr = pkm.OT_Name;
|
||||
|
||||
if (tr.Length == 0)
|
||||
{
|
||||
data.AddLine(GetInvalid(LOTShort));
|
||||
return;
|
||||
}
|
||||
|
||||
VerifyG1OTWithinBounds(data, tr);
|
||||
if (data.EncounterOriginal is EncounterStatic s && (s.Version == GameVersion.Stadium || s.Version == GameVersion.Stadium2))
|
||||
data.AddLine(VerifyG1OTStadium(pkm, tr, s));
|
||||
|
|
Loading…
Reference in a new issue