mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 16:20:52 -05:00
Update OT affection check for 3-5 memories
https://projectpokemon.org/home/forums/topic/46180-oras-transfered-pokemon-invalid-ribbon/ Thanks piplupwater! (there's no other usages of V129)
This commit is contained in:
@@ -145,7 +145,7 @@ private CheckResult VerifyHistory(LegalityAnalysis data)
|
||||
{
|
||||
if (pkm.OT_Memory == 0 ^ !pkm.Gen6)
|
||||
return GetInvalid(V152);
|
||||
if (Info.Generation < 6 && pkm.OT_Affection != 0)
|
||||
if (Info.Generation < 6 && pkm.OT_Affection != 0 && IsInvalidContestAffection(pkm))
|
||||
return GetInvalid(V129);
|
||||
}
|
||||
// Unimplemented: Ingame Trade Memories
|
||||
|
||||
Reference in New Issue
Block a user