>When a Pokémon has a high Attack value, high Sp. Atk value, or a high amount of EVs overall, the attack's power increases.
When a Pokémon has a high HP value, or a high amount of HP EVs, the shot size of the attack increases.
When a Pokémon has a high Defense value, high Sp. Def value, or a high amount of Defense EVs and Sp. Def EVs, the Guts Meter fills faster and blocks last longer.
When a Pokémon has a high Speed value, or a high amount of Speed EVs, the shot speed of the attack and the Pokémon's movement speed increases.
When a Pokémon has a high HP value, or a high amount of EVs overall, the score reduction from hits is reduced.
Source