mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 23:06:39 -05:00
Fix neutral mint index
hardy is index 0. and isn't a mint
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user