You can teach Magikarp offensive moves using TMs and HMs. Every move has PP, it indicates how many times Pokemon can use it. After PP is depleted, you need to get to PokeCenter to reffill it. He was enduring big attacks and constantly healing untill enemy Pokemon depleted his PP on big attacks, after that he just used…