From 367859c5361f8b7431c404786f03f8a24a464869 Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 13 Oct 2020 11:22:13 -0700 Subject: [PATCH] Make MoveEgg / MoveTM internal methods public Closes #3031 --- PKHeX.Core/Legality/Moves/MoveEgg.cs | 4 ++-- PKHeX.Core/Legality/Moves/MoveTechnicalMachine.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PKHeX.Core/Legality/Moves/MoveEgg.cs b/PKHeX.Core/Legality/Moves/MoveEgg.cs index 31a315688..597a4530d 100644 --- a/PKHeX.Core/Legality/Moves/MoveEgg.cs +++ b/PKHeX.Core/Legality/Moves/MoveEgg.cs @@ -6,7 +6,7 @@ namespace PKHeX.Core { internal static class MoveEgg { - internal static int[] GetEggMoves(PKM pkm, int species, int formnum, GameVersion version) + public static int[] GetEggMoves(PKM pkm, int species, int formnum, GameVersion version) { int gen = pkm.Format <= 2 || pkm.VC ? 2 : pkm.GenNumber; if (!pkm.InhabitedGeneration(gen, species) || (pkm.PersonalInfo.Genderless && !FixedGenderFromBiGender.Contains(species))) @@ -20,7 +20,7 @@ namespace PKHeX.Core return GetEggMoves(gen, species, formnum, version); } - internal static int[] GetEggMoves(int gen, int species, int formnum, GameVersion version) + public static int[] GetEggMoves(int gen, int species, int formnum, GameVersion version) { switch (gen) { diff --git a/PKHeX.Core/Legality/Moves/MoveTechnicalMachine.cs b/PKHeX.Core/Legality/Moves/MoveTechnicalMachine.cs index 11cd1b78f..0e1d8dfd1 100644 --- a/PKHeX.Core/Legality/Moves/MoveTechnicalMachine.cs +++ b/PKHeX.Core/Legality/Moves/MoveTechnicalMachine.cs @@ -5,7 +5,7 @@ namespace PKHeX.Core { internal static class MoveTechnicalMachine { - internal static GameVersion GetIsMachineMove(PKM pkm, int species, int form, int generation, int move, GameVersion ver = GameVersion.Any, bool RemoveTransfer = false, bool allowBit = false) + public static GameVersion GetIsMachineMove(PKM pkm, int species, int form, int generation, int move, GameVersion ver = GameVersion.Any, bool RemoveTransfer = false, bool allowBit = false) { if (pkm.IsMovesetRestricted(generation)) ver = (GameVersion) pkm.Version; @@ -248,7 +248,7 @@ namespace PKHeX.Core return Legal.NONE; } - internal static IEnumerable GetTMHM(PKM pkm, int species, int form, int generation, GameVersion ver = GameVersion.Any, bool RemoveTransfer = true) + public static IEnumerable GetTMHM(PKM pkm, int species, int form, int generation, GameVersion ver = GameVersion.Any, bool RemoveTransfer = true) { var r = new List(); if (pkm.IsMovesetRestricted(generation))