private static EncounterStatic GetGSStaticTransfer(int species, int pkmMetLevel) { var enc = new EncounterStatic { Species = species, Gift = true, // Forces Poké Ball Ability = TransferSpeciesDefaultAbility_2.Contains(species) ? 1 : 4, // Hidden by default, else first Shiny = species == 151 ? Shiny.Never : Shiny.Random, Fateful = species == 151 || species == 251, Location = Transfer2, EggLocation = 0, Level = pkmMetLevel, Version = GameVersion.GSC }; enc.FlawlessIVCount = enc.Fateful ? 5 : 3; return(enc); }
private static EncounterStatic GetGSStaticTransfer(int species, int pkmMetLevel) { bool mew = species == (int)Species.Mew; bool fateful = mew || species == (int)Species.Celebi; return(new EncounterStatic { Species = species, Gift = true, // Forces Poké Ball Ability = TransferSpeciesDefaultAbility_2.Contains(species) ? 1 : 4, // Hidden by default, else first Shiny = mew ? Shiny.Never : Shiny.Random, Fateful = fateful, Location = Transfer2, EggLocation = 0, Level = pkmMetLevel, Generation = 7, Version = GameVersion.GSC, FlawlessIVCount = fateful ? 5 : 3 }); }