Happiness (Friendliness, Affection)

Happiness (which also replaces Friendliness and Affection) can be leveled up in a number of ways. While also increasing happiness make sure not to let your Pokémon die, or it will lose happiness.

Ways to increase Happiness

happiness
Source: Mayday's PokeOne Guides.