So when set has 4 Leftover EVs (or 8, if you're using 248 HP), those EVs are invested in SpD to prevent Porygon-Z from getting a Special Attack boost with Download, or 4 HP EVs for bulk, etc. However, this is not applied consistently. I therefore propose a general checklist to see wherethe leftover EVs have to be placed.
- The leftover EVs are added into Speed if the Pokemon is offensive and / or benefits from those Speed EVs by outspeeding a certain threat (or preventing speed ties against Pokemon with the same base speed). This does obviously not apply when the Pokemon already has invested EVs in Speed.
- 4 Leftover EVs are added into Special Defense if the Pokemon has equal defenses to prevent Porygon-Z or Porygon from getting a Special Attack boost with Download. This does not apply in a metagame other than the OU / LC metagame.
- If a Pokemon holds the item Leftovers and gains a notable Leftover number by investing 4 or 8 HP EVs, the leftover EVs are invested into HP.
- The leftover EVs are invested into Atk or SpA if a Pokemon gains a notable difference by doing so. For example, Forretress using 4 Atk EVs to always 3HKO Giratina-O.
- The leftover EVs are invested in either HP, Def or SpD. This calculated by using X-Act useful tool. If the leftover EVs are invested in HP and that makes the HP divisible by 8, the leftover EVs are invested in either defensive stat.