mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-10 04:55:21 -05:00
Clamp fullness-byte (Playfulness) at maximum
This commit is contained in:
@@ -353,6 +353,8 @@ private static void VerifyFullness(LegalityAnalysis data, PKM pkm)
|
||||
|
||||
if (pkm.Format >= 8)
|
||||
{
|
||||
if (pkm.Fullness > 245) // Exiting camp is -10
|
||||
data.AddLine(GetInvalid(string.Format(LMemoryStatFullness, "<=245"), Encounter));
|
||||
if (pkm.Enjoyment != 0)
|
||||
data.AddLine(GetInvalid(string.Format(LMemoryStatEnjoyment, 0), Encounter));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user