mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-13 23:50:25 -05:00
Fix neutral mint index
hardy is index 0. and isn't a mint
This commit is contained in:
parent
1ab7c916ce
commit
17f8ad97a9
|
|
@ -380,8 +380,8 @@ private void VerifySWSHStats(LegalityAnalysis data, PK8 pk8)
|
|||
var sn = pk8.StatNature;
|
||||
if (sn != pk8.Nature)
|
||||
{
|
||||
// Only allow Serious nature (0); disallow all other neutral natures.
|
||||
if (sn != 0 && (sn > 24 || sn % 6 == 0))
|
||||
// Only allow Serious nature (12); disallow all other neutral natures.
|
||||
if (sn != 12 && (sn > 24 || sn % 6 == 0))
|
||||
data.AddLine(GetInvalid(LStatNatureInvalid));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user