how evs work in sun and moon?
As of Sun and Moon, you can put a maximum of 252 EVs into a given stat, and a Pokémon can have a maximum of 510 EVs in total. Generally, in competitive play, trainers will put 252 EVs into two key stats, and the remaining handful into a third. ... Different Pokémon award different numbers of EVs when you defeat them.