public void FightClick() { //check if there is at least one skill with PP > 0 foreach (SkillModel skill in currentPlayerPokemon.CurrentSkills) { if (skill.CurrentPP > 0) { //if can fight (there is at least one skill with PP > 0) go from player menu to fight menu FightUIManager.FightClick(); return; } } //if every skill has PP 0 then use baseSkill UseSkill(new SkillModel(baseSkill)); }