From e95af533b7c393fbdac917a08358152e0c6ced3d Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 4 Feb 2017 23:58:18 -0800 Subject: [PATCH] Update gen7 apricorn table Closes #819 Thanks @kamuisama ! Missed more than a few ;) --- PKHeX/Legality/Tables7.cs | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/PKHeX/Legality/Tables7.cs b/PKHeX/Legality/Tables7.cs index d799bdfb3..170603c9b 100644 --- a/PKHeX/Legality/Tables7.cs +++ b/PKHeX/Legality/Tables7.cs @@ -413,21 +413,24 @@ public static partial class Legal }; internal static readonly int[] AlolanCaptureOffspring = { - 010, 019, 021, 025, 027, 035, 037, 039, 046, 050, - 052, 054, 056, 058, 060, 063, 066, 072, 079, 081, - 088, 092, 096, 102, 113, 115, 120, 123, 125, 127, - 128, 129, 131, 132, 143, 147, 170, 172, 173, 174, - 185, 198, 200, 209, 212, 215, 222, 225, 227, 235, - 240, 278, 283, 296, 299, 302, 318, 320, 324, 327, - 328, 339, 349, 359, 370, 374, 422, 425, 438, 440, - 443, 446, 506, 524, 546, 551, 587, 627, 629, 661, - 703, 704, 708, + 010, 019, 021, 025, 027, 035, 037, 039, 041, 046, + 050, 052, 054, 056, 058, 060, 063, 066, 072, 074, + 079, 081, 088, 090, 092, 096, 102, 104, 113, 115, + 118, 120, 123, 127, 128, 129, 131, 132, 133, 143, + 147, 165, 167, 170, 172, 173, 174, 185, 198, 200, + 209, 212, 215, 222, 225, 227, 235, 239, 240, 241, + 278, 283, 296, 299, 302, 318, 320, 324, 327, 328, + 339, 349, 351, 359, 361, 369, 370, 371, 374, 422, + 425, 438, 440, 443, 446, 447, 456, 506, 524, 546, + 548, 551, 568, 582, 587, 594, 627, 629, 661, 674, + 703, 704, 707, 708, - 731, 737, 739, 741, 744, 746, 747, 751, 753, 755, - 757, 759, 761, 765, 767, 769, 771, 774, 775, 776, - 777, 778, 780, 781, 782 + 731, 734, 737, 739, 741, 742, 744, 746, 747, 749, + 751, 753, 755, 757, 759, 761, 764, 765, 766, 767, + 769, 771, 774, 775, 776, 777, 778, 779, 780, 781, + 782 }; - internal static readonly int[] Inherit_Apricorn7 = Inherit_Apricorn6.Concat(PastGenAlolanScans).Concat(AlolanCaptureOffspring).ToArray(); + internal static readonly int[] Inherit_Apricorn7 = Inherit_Apricorn6.Concat(PastGenAlolanScans).Concat(AlolanCaptureOffspring).Distinct().ToArray(); internal static readonly int[] Inherit_SafariMale = { 128, // Tauros