mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Abort legality check if not gen6
This commit is contained in:
parent
c4612e2d9f
commit
20257ffc32
1 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,9 @@ namespace PKHeX
|
|||
public string Report => getLegalityReport();
|
||||
private string getLegalityReport()
|
||||
{
|
||||
if (!pk6.Gen6)
|
||||
return "Analysis only implemented for X/Y & OR/AS.";
|
||||
|
||||
EC = LegalityCheck.verifyECPID(pk6);
|
||||
Nickname = LegalityCheck.verifyNickname(pk6);
|
||||
PID = LegalityCheck.verifyECPID(pk6);
|
||||
|
|
Loading…
Reference in a new issue