mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 13:27:01 -05:00
Allow fullness values for format8
ty anubis this totally isn't fullness, but the toys increase the value (saturation?)
This commit is contained in:
@@ -311,7 +311,7 @@ public void VerifyVersionEvolution(LegalityAnalysis data)
|
||||
|
||||
private static void VerifyFullness(LegalityAnalysis data, PKM pkm)
|
||||
{
|
||||
if (pkm.Format >= 8 || pkm.IsEgg)
|
||||
if (pkm.IsEgg)
|
||||
{
|
||||
if (pkm.Fullness != 0)
|
||||
data.AddLine(GetInvalid(string.Format(LMemoryStatFullness, 0), Encounter));
|
||||
@@ -320,6 +320,13 @@ private static void VerifyFullness(LegalityAnalysis data, PKM pkm)
|
||||
return;
|
||||
}
|
||||
|
||||
if (pkm.Format >= 8)
|
||||
{
|
||||
if (pkm.Enjoyment != 0)
|
||||
data.AddLine(GetInvalid(string.Format(LMemoryStatEnjoyment, 0), Encounter));
|
||||
return;
|
||||
}
|
||||
|
||||
if (pkm.Format != 6 || !pkm.IsUntraded || pkm.XY)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user