In the Pokémon: Advance Generation series of the anime, there’s an episode called ‘A Ruin With A View’ in which Ash, May and Team Rocket themselves come across Team Magma attempting to discover the secret of a set of ruins while in Oldale Town. Magma is an evil organisation (much like Team Rocket) led by a guy called Maxie, and their goal is to release Groudon, the beast of the Earth, back into an unsuspecting planet where the Pokémon can eliminate all the water and create new lands, just like it did millions of years ago in the past. Team Magma use Fire-type Pokémon like Mightyena, Golbat and Houndoom, and their arch enemies in the series are Team Aqua.
While Team Rocket attempt to do battle with Team Magma when they are confronted by them in the ruins, they take one look at Magma’s vicious Fire Pokémon and Jessie and James start to run for their lives! Meanwhile, Ash and May are getting a lesson in the ancient ruins of Houen from the archaeologist Umezu, when he gets an alert that his precious ruins are being ransacked by a group looking for ancient Pokémon – Magma! Little do they know that these ruins are only accessible with four special sphere keys that only Umezu has in his possession!