Differentiate C/XD cologne IDs

https://projectpokemon.org/home/forums/topic/45685-pokémon-xd-and-scent-bag/
Thanks Asia81!
This commit is contained in:
Kurt 2018-06-09 12:44:30 -07:00
parent cb4761403a
commit 79f0b3665f
3 changed files with 4 additions and 3 deletions

View file

@ -66,7 +66,7 @@ namespace PKHeX.Core
20, 20, 05, 05,
};
internal static readonly ushort[] Pouch_Cologne_CXD = {543, 544, 545};
internal static readonly ushort[] Pouch_Cologne_COLO = {543, 544, 545};
internal static readonly ushort[] Pouch_Items_COLO = Pouch_Items_RS.Concat(new ushort[] {537}).ToArray(); // Time Flute
internal static readonly ushort[] HeldItems_COLO = new ushort[1].Concat(Pouch_Items_COLO).Concat(Pouch_Ball_RS).Concat(Pouch_Berries_RS).Concat(Pouch_TM_RS).ToArray();
internal static readonly ushort[] Pouch_Key_COLO =
@ -78,6 +78,7 @@ namespace PKHeX.Core
540, 541, 542, 546, 547,
};
internal static readonly ushort[] Pouch_Cologne_XD = {513, 514, 515};
internal static readonly ushort[] Pouch_Items_XD = Pouch_Items_RS.Concat(new ushort[] {511}).ToArray(); // Poké Snack
internal static readonly ushort[] HeldItems_XD = new ushort[1].Concat(Pouch_Items_XD).Concat(Pouch_Ball_RS).Concat(Pouch_Berries_RS).Concat(Pouch_TM_RS).ToArray();
internal static readonly ushort[] Pouch_Key_XD =

View file

@ -96,7 +96,7 @@ namespace PKHeX.Core
LegalBalls = Legal.Pouch_Ball_RS;
LegalTMHMs = Legal.Pouch_TM_RS; // not HMs
LegalBerries = Legal.Pouch_Berries_RS;
LegalCologne = Legal.Pouch_Cologne_CXD;
LegalCologne = Legal.Pouch_Cologne_COLO;
Personal = PersonalTable.RS;
HeldItems = Legal.HeldItems_COLO;

View file

@ -103,7 +103,7 @@ namespace PKHeX.Core
LegalBalls = Legal.Pouch_Ball_RS;
LegalTMHMs = Legal.Pouch_TM_RS; // not HMs
LegalBerries = Legal.Pouch_Berries_RS;
LegalCologne = Legal.Pouch_Cologne_CXD;
LegalCologne = Legal.Pouch_Cologne_XD;
LegalDisc = Legal.Pouch_Disc_XD;
Personal = PersonalTable.RS;