Shedinja has the worst HP in the game, How does beating him give 2 HP EVs?
What I guess is due to its ability which prevents moves from damaging him unless super effective. So making it seem like it had a lot of hp. And if that's not the case Thats how Gamefreak Wanted It