Say that I am battling a Pokémon, either a wild one or one owned by a trainer. If it uses the same move enough times (perhaps a Magikarp who keeps using Splash), is it possible for it to run out of PP and use Struggle?
I'm especially interested in third, fifth, and sixth generation because that's the ones I own, but information for all generations would be appreciated.