mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
parent
7b6f30b779
commit
367859c536
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue