void LevelUp() { string tempDescription = string.Empty; //check if can learn new skill skillToLearn = pokemonGettingExperience.CanLearnSkill(); if (skillToLearn) { //get skill name string _questionSkill = Utility.Parse(questionSkill, skillToLearn.SkillName); fightManager.FightUIManager.SetDescription(_questionSkill, ShowYesNoLearnSkill); return; } //else check if can evolve if (alreadyCheckedEvolution == false && pokemonGettingExperience.CheckEvolution()) { alreadyCheckedEvolution = true; //get evolution name string _questionEvolution = Utility.Parse(questionEvolution, pokemonGettingExperience.pokemonData.PokemonEvolution.PokemonName); fightManager.FightUIManager.SetDescription(_questionEvolution, ShowYesNoEvolution); return; } //if no evolution and no skills, then check new pokemon alreadyGotExperience = false; alreadyCheckedEvolution = false; CheckNewPokemon(); }