mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00: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:
parent
8a83b9bde8
commit
6816c2de43
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue