Update mystery match for dppt

off by one
This commit is contained in:
Kurt 2018-12-01 10:44:38 -08:00
parent 8e3e218d54
commit 0f01068d0d

View file

@ -694,7 +694,7 @@ namespace PKHeX.Core
return false;
}
private static int[] MatchMysteryGifts(MysteryGift[] value)
private int[] MatchMysteryGifts(MysteryGift[] value)
{
if (value == null)
return null;
@ -721,6 +721,8 @@ namespace PKHeX.Core
if (!pcd.GiftEquals(pgt))
continue;
if (!HGSS)
j++; // hgss 0,1,2; dppt 1,2,3
cardMatch[i] = pgt.Slot = j;
break;
}