<wall of text>

I just want to make a small point. The whole discounting the last 2 EVs may be confusing to some people. There seems to be no reason why the max is 510. Here is the reason (I'm 99% sure this is why): the max EVs for any stat is 255. We've all seen that number a million times throughout our gaming careers. 256 is 2 to the 8th power. Since 0 is a valid value for EVs, an 8-bit variable can hold any number from 0-255 (a total of 256 different values). If 0 didn't mean anything, it could be 1-256, but it can't. So in order to allow 256 EVs in a stat, the variable that holds that number would have to become 16-bit not 8-bit. 255 is the highest 8-bit integer. If we wanted 256 to be possible to make it even, that would double the size of the memory used to store that number, double the size of your save file, double the time it takes to save, etc. They wanted us to be able to maximize 2 stats. 255+255=510. Since they made every 4 EVs worth one stat point, that necessitates wasting some. If 512 were the max, we'd lead much simpler lives, but the already massive amount of data stored in pokemon would effectively double. Ouch. So in closing, the leftover EVs aren't just dumb, they're a mathematical consequence of programming. I just thought it would be interesting if people knew why those numbers are what they are.

</wall of text>

---

"I flew too close to the sun on wings of pastrami"

Pokemon Pearl FC: 5455 5871 9174