So, I was just playing my game, flying on my latios, when I ran into a wild wingull. Now, I was kind of an idiot and I thought Pokemon Amie was a waste of time, I didn't even know how it worked until like a month, so I'm fairly certain I hadn't raised my Pokemon's affection. But for some reason, out of the blue, my ballads is jumping up and down, waiting for my directions, and my sceptics was toughing out super effective moves.
I did a little research and apparently they all have to do with affection. So I checked Pokemon Amie and ALL of my Pokemon RANDOMLY had 4 hearts of affection.
How does this work?