If you want to check the Friendship level of a specific Pokémon, then travel to Hammerlocke. Once you're there head to the building to the right of the Pokémon Centre. You'll find the Friendship Checker in this house.