Add SPA/ENG Oct16 Diancie collision handling

Card 0525 was accidentally uploaded without the 3 flawless IVs setting;
sometimes when the internal event binary is built, the 3IV card comes
before the 0IV.

Play favorites with the 0IV.
This commit is contained in:
Kurt 2017-09-23 17:11:19 -07:00
parent d8c2cdb8e3
commit 16341b4d91

View file

@ -1078,7 +1078,9 @@ namespace PKHeX.Core
if (!GetIsMatchWC6(pkm, wc, vs)) if (!GetIsMatchWC6(pkm, wc, vs))
continue; continue;
if (wc.Species == pkm.Species) // best match if (wc.CardID == 0525 && wc.IV_HP == 0xFE) // 3IV collision, yield the non 3IV first
deferred.Add(wc);
else if (wc.Species == pkm.Species) // best match
yield return wc; yield return wc;
else else
deferred.Add(wc); deferred.Add(wc);