diff --git a/PKHeX.Core/Legality/Encounters/Data/Encounters3.cs b/PKHeX.Core/Legality/Encounters/Data/Encounters3.cs index ad81a86da..a883aa6a5 100644 --- a/PKHeX.Core/Legality/Encounters/Data/Encounters3.cs +++ b/PKHeX.Core/Legality/Encounters/Data/Encounters3.cs @@ -604,7 +604,21 @@ private static EncounterArea GetUnownArea(int location, IReadOnlyList SlotF }, }; - internal static readonly EncounterStatic[] Encounter_CXD = Encounter_Colo.Concat(Encounter_XD).ToArray(); + private static readonly int[] MirorBXDLocations = + { + 090, // Rock + 091, // Oasis + 092, // Cave + 113, // Pyrite Town + 059, // Realgam Tower + }; + internal static readonly EncounterStatic[] Encounter_CXD = Encounter_Colo.Concat(Encounter_XD.SelectMany(CloneMirorB)).ToArray(); + private static IEnumerable CloneMirorB(EncounterStatic arg) + { + yield return arg; + foreach (int loc in MirorBXDLocations) + yield return arg.Clone(loc); + } #endregion }