mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Add affection contest check for pre gen6 events
https://projectpokemon.org/home/forums/topic/44674-bug-about-contests-ribbon/?do=findComment&comment=229739
This commit is contained in:
parent
6b387f9037
commit
8cfd64df63
1 changed files with 1 additions and 1 deletions
|
@ -1627,7 +1627,7 @@ namespace PKHeX.Core
|
|||
}
|
||||
else if (EncounterMatch is MysteryGift mg && mg.Format < 6 && pkm.Format >= 6)
|
||||
{
|
||||
if (pkm.OT_Affection != 0)
|
||||
if (pkm.OT_Affection != 0 && IsInvalidContestAffection())
|
||||
return new CheckResult(Severity.Invalid, V133, CheckIdentifier.History);
|
||||
if (pkm.CurrentHandler != 1)
|
||||
return new CheckResult(Severity.Invalid, V134, CheckIdentifier.History);
|
||||
|
|
Loading…
Reference in a new issue