public void GenerarGridValues(bool amigo) { if (amigo == true) { GlobalGrid.labelFriendName.Text = GlobalVar.friendCoach.user.pokemons[GlobalVar.pokAmigo].name; GlobalGrid.labelFriendLevel.Text = GlobalLogic.CalculaGenero(GlobalVar.friendCoach.user.pokemons[GlobalVar.pokAmigo].sex) + " Nv " + GlobalVar.friendCoach.user.pokemons[GlobalVar.pokAmigo].level; GlobalGrid.labelFriendHpTitle.Text = GlobalVar.friendStat.name; } else { GlobalGrid.labelEnemyName.Text = GlobalVar.enemyCoach.user.pokemons[GlobalVar.pokAmigo].name; GlobalGrid.labelEnemyLevel.Text = GlobalLogic.CalculaGenero(GlobalVar.enemyCoach.user.pokemons[GlobalVar.pokAmigo].sex) + " Nv " + GlobalVar.enemyCoach.user.pokemons[GlobalVar.pokAmigo].level; GlobalGrid.labelEnemyHpTitle.Text = GlobalVar.friendStat.name; } }