mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Update korean vc string checks
https://projectpokemon.org/home/forums/topic/43610-legality-about-gen-2/
This commit is contained in:
parent
f104df6386
commit
0e7350ee9e
1 changed files with 6 additions and 1 deletions
|
@ -667,7 +667,7 @@ namespace PKHeX.Core
|
|||
if (str.Length > 5)
|
||||
AddLine(Severity.Invalid, V38, CheckIdentifier.Trainer);
|
||||
}
|
||||
else if (pkm is PK2 pk2 && pk2.Korean)
|
||||
else if (pkm.Korean && StringConverter.GetIsG2Korean(str))
|
||||
{
|
||||
if (str.Length > 5)
|
||||
AddLine(Severity.Invalid, V38, CheckIdentifier.Trainer);
|
||||
|
@ -689,6 +689,11 @@ namespace PKHeX.Core
|
|||
if (str.Length > 5)
|
||||
AddLine(Severity.Invalid, V1, CheckIdentifier.Trainer);
|
||||
}
|
||||
else if (pkm.Korean && StringConverter.GetIsG2Korean(str))
|
||||
{
|
||||
if (str.Length > 5)
|
||||
AddLine(Severity.Invalid, V38, CheckIdentifier.Trainer);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddLine(Severity.Invalid, V422, CheckIdentifier.Trainer);
|
||||
|
|
Loading…
Reference in a new issue