Make MoveEgg / MoveTM internal methods public

Closes #3031
This commit is contained in:
Kurt 2020-10-13 11:22:13 -07:00
parent 7b6f30b779
commit 367859c536
2 changed files with 4 additions and 4 deletions

View file

@ -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)
{

View file

@ -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<int> GetTMHM(PKM pkm, int species, int form, int generation, GameVersion ver = GameVersion.Any, bool RemoveTransfer = true)
public static IEnumerable<int> GetTMHM(PKM pkm, int species, int form, int generation, GameVersion ver = GameVersion.Any, bool RemoveTransfer = true)
{
var r = new List<int>();
if (pkm.IsMovesetRestricted(generation))