I did some further testing on this. I recreated the same battle both in Showdown and on the 3DS, to show the differences between both of them.
Before talking about the replays, I'm gonna share the EV Spread I used, so that we can have a reference when doing the damage calcs:
All of them have 31...