/// <summary> /// This is for use when creating a Pokemon from a class derived from Pokemon. /// </summary> /// <param name="pokemon"></param> public Pokemon(Pokemon pokemon) : this(pokemon.id, pokemon.name) { form = pokemon.FormId == Form.FORM_UNSET && !string.IsNullOrWhiteSpace(pokemon.form) ? pokemon.form : PokemonTranslator.GetFormName(pokemon.FormId); }
public Pokemon(int id, string name, Form formId) : this(id, name) { form = PokemonTranslator.GetFormName(formId); }