Well, I had this shiny Eevee for a while. And decided to evolve into into Espeon because it looked coolest as a shiny. Then I decided to EV train it, and went 252-252-6 in Special Attack-Speed-Defence. I've just checked the IVs on it, and I have a 31, 31, 30, 31, 31, 31. This is incredible, and I shat myself. I double checked it many times, and then had a look at the secondary nature thing. It didn't match. So I tried to see if I had gone wrong with EVs. I don't seem to have, because the only EVs I can reduce using the berries are Speed, Special Attack and Defence (only once for defence). I have the Effort Ribbon, so they're all maxed out. Could this be some sort of glitch, or am I really just that lucky?