I was watching a Pokemon episode and Ash used stun spore on Misty's Pokemon.Then Misty told her Pokemon to hop in the water and wash it off and it worked.Can that work in the video game when it is raining?
Not in the video games, no. In the anime yes.