mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 00:58:01 +00:00
Flip Valid Trade OT Compare Operator
Related: https://projectpokemon.org/home/forums/topic/42528-bw2-in-game-trades-yancycurtis-20171117/
This commit is contained in:
parent
55d8f4aa26
commit
69f11ec3bc
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ namespace PKHeX.Core
|
||||||
if (pkm.IsNicknamed)
|
if (pkm.IsNicknamed)
|
||||||
AddLine(Severity.Invalid, V9, CheckIdentifier.Nickname);
|
AddLine(Severity.Invalid, V9, CheckIdentifier.Nickname);
|
||||||
int lang = pkm.Language;
|
int lang = pkm.Language;
|
||||||
if (validOT.Length >= lang)
|
if (validOT.Length <= lang)
|
||||||
AddLine(Severity.Invalid, V8, CheckIdentifier.Trainer);
|
AddLine(Severity.Invalid, V8, CheckIdentifier.Trainer);
|
||||||
else if (validOT[lang] != pkm.OT_Name)
|
else if (validOT[lang] != pkm.OT_Name)
|
||||||
AddLine(Severity.Invalid, V10, CheckIdentifier.Trainer);
|
AddLine(Severity.Invalid, V10, CheckIdentifier.Trainer);
|
||||||
|
|
Loading…
Reference in a new issue