>>30857374He got gud.
Didn't you pay attention in ORAS?
He used to be a sickly child who spent a lot of time in bed, then he just went for it one day, eventually taking gym after gym, finally making it all the way through Victory Road, presumably he even beat Elite Four sometime after ORAS, or become some other kind of champion.