I the Anime when Ash was battling Brock, Pikachu's Thunderbolt effected Onix. For Rhydon I was just wondering.
No, that was a mistake made by the people that make the anime.