public void Pokemonextend() { Setmove(move); this.Item = null; this.Ability = Pokemondata.GetAbilityName(AbilityList[0]); this.Shiny = false; this.EVS = new Racial(); this.IVS = new Racial(31); this.Nature = Pokemondata.getNatureClass(0); this.Level = 50; }
// public Pokemon(Pokemon f) { // super(f.name, f.PokemonID, f.NameList, f.TypeId, f.AbilityList, f.FormId, f.RacialValue); // Pokemonextend(f.movelist, f.Item, f.Ability, f.Shiny, f.EVS, f.IVS, f.Level, f.Nature); // } public void Pokemonextend(string[] move, string Item, string Ability, bool Shiny, Racial EVS, Racial IVS, int Level, NatureClass Nature) { Setmove(move); this.Item = Item; this.Ability = Ability; this.Shiny = Shiny; // this.EVS = new Racial(EVS) ; // this.IVS = new Racial(IVS); this.EVS = (EVS); this.IVS = (IVS); this.Level = Level; this.Nature = (Nature == null ? Pokemondata.getNatureClass(0) : Nature); // this.Nature = new NatureClass(Nature); }