Battling the Enemy Within! (LAoPtS)

Plot
Ash and his friends finally see the Battle Pyramid, and Ash is confident that he will win. However, they fall into a hole and plummet into an ancient ruin whose walls are covered in ancient hieroglyphs. Max spots a light source ahead, and Ash heads for it. Meanwhile, Team Rocket examines the hole in the ground which suddenly widens under their weight, and they fall in as well.

Ash finds a Pikachu statue and grabs it despite Max’s warning. Consequently this triggers the statue’s eyes to glow blue and a nearby wall with an identical depiction of a Pikachu flashes its eyes as well and begins to rise. A giant, spherical boulder begins to pursue the group. They run into an explorer who calls them foolish kids. He summons a Regirock to destroy the boulder with Focus Punch. Ash thanks the guy for saving their lives, but he corrects him, identifying himself as Brandon. He declares that ruins are forbidden, but softens his stance after May explains that the ground collapsed underneath their feet. Brandon explains that the ancient King of Pokélantis attempted to rule the world by controlling Ho-Oh. Ho-Oh destroyed the entire kingdom of Pokélantis for the King's wicked attempt. In revenge the King sealed Ho-Oh inside a stone Poké Ball, constructing the very tomb they are currently standing in to seal the Legendary away from the world forever. Team Rocket overhears the ancient tale, so they set off to nab Ho-Oh for themselves. Ash is excited that he might run into Ho-Oh, but Brandon doesn't want them to follow. Ash reveals that he won six Battle Frontier Symbols and runs off to prove his strength against Ho-Oh. Brandon and the others pursue Ash. Meanwhile, Team Rocket find a Smoochum statue and set off a boulder trap similar to the one Ash set off earlier.

Ash runs into the door leading into the King's chamber, which quickly opens, letting him inside, and shuts immediately thereafter. May and Max push against the door, but it does not budge. Brandon tries to find the mechanism that opens the King's chamber. Inside the King's chamber, all of the torches light automatically as Ash stands up. He finds the King's throne under an enormous monument of the King himself and a stone orb shaped like a Poké Ball resting on the seat. Thinking Ho-Oh is inside, he grabs the orb and holds it above his head, commanding it to emerge. Brandon gets the door open and they rush inside. Brandon tries to get Ash to set the orb down, but the mysterious object suddenly activates. The orb levitates in the air as a dark voice chants a spell, enveloping Ash in dark energy. He falls to his knees, still surrounded by a blue and black aura. The others stare in shock as Ash gets back on his feet and laughs with a deep, sinister voice.

Team Rocket encounter a door, and Meowth volunteers to look through the keyhole, where he sees a bird's silhouette. Thinking they have found Ho-Oh, Team Rocket open the large doors, only to be chased away by an angry Pidgey pecking at them.

Back in the King's chamber, Ash commands everyone else to give him their Pokémon. The dark energy around him reaches out and grabs May's Poké Balls, but she and Max take them back. Ash declares himself to be the King of Pokélantis, and Brandon reveals that Ash is being possessed by the King's spirit. Brandon confronts the King, mentioning his failure to imprison Ho-Oh, and challenges him to a battle. Brandon announces that he is the king of the Battle Pyramid, and if the King wins, he can have all of Brandon's Pokémon. The King accepts.

Team Rocket hear a roar at the mouth of a tunnel and run down it, thinking it is Ho-Oh. Instead, a furious Salamence greets them with Flamethrower, sending them running. Meanwhile, Brandon takes the King and the others to the pyramid, where Scott is waiting. The King pushes Scott aside as he walks into the Battle Pyramid, declaring that no one stands in his way. Inside, Scott finds out that Ash is possessed by the King's spirit. Afterwards, he reveals that Brandon explores ruins as well as being a Frontier Brain.

The battle is set for a one-on-one match. Brandon sends out Regirock. Ash wakes up inside another dimension but can see through the King's eyes. Noticing the battle, Ash summons Sceptile, which the King replicates in reality. Ash orders Sceptile to use Leaf Blade, which the King replicates. Regirock uses Iron Defense to nullify the attack. The King then orders Bullet Seed, but Iron Defense also nullifies it. With a snide grin, the King orders Sceptile to fire Bullet Seed at the ceiling. Sceptile is hesitant at first, but obeys. The attack causes rubble to crash on top of and bury Regirock. The group notes that Ash would never attack in that manner. Brandon calls the King a coward for his tactic, but Ash hears the insult from within the King. Ash temporarily breaks the spell, denies that he is a coward, but soon loses control to the King.

Max thinks Regirock is down and out, but the Rock Peak Pokémon breaks out of its tomb and immediately uses Hyper Beam. In an astonishing move, the King orders Sceptile to use the referee, Samuel as cover. Sceptile initially hesitates, not used to Ash using such dirty tricks. The King tells him to obey, so Sceptile leaps behind the frightened referee, Samuel, forcing Brandon to cancel the attack. The King uses Sceptile's Leaf Blade on Regirock's leg, causing it to kneel down. Regirock uses Lock-On, targeting Sceptile. The King orders another Leaf Blade on the other leg, rendering Regirock immobile. Regirock uses Hyper Beam again. Sceptile's attempt to dodge fails as Lock-On ensures that the attack hits. Hyper Beam comes around and Sceptile is blasted to the ground and faints. The King refuses to admit defeat and orders Pikachu to battle. May, Brock, and Max defend Pikachu and try to break through to Ash. The King appears resistant and orders Pikachu to use Thunderbolt, but he refuses. Brandon reminds Ash that they're his good friends, and Ash gets Pikachu to use Thunderbolt on him. The attack frees Ash from captivity and purges the King from his body. Brandon uses a counter of the spell to banish the King's spirit back to the orb. Ash returns to normal, much to his friends' relief. Brandon admits to Scott that Ash's friends freed him from the spell.

Meanwhile, Team Rocket are still in the ruins. They find a hidden room between two sliding walls that houses a mere Hoothoot. Jessie throws a rock, angering Hoothoot and prompting it to attack Team Rocket as they flee. They unknowingly activate a spring tile that sends them flying out of the ruins.

As the sun sets, Brandon tells Ash that his own carelessness and arrogance attracted the King and rendered him vulnerable. Ash admits that he may be a foolish kid at times, but he still wants the chance to battle Brandon fair and square. Unfortunately, Brandon declines the challenge as he has some more ruins to visit, but he tells Ash he will get in touch when the time is right. He advises Ash to train hard in the meantime. Brandon and Samuel enter the Battle Pyramid, and Scott advises the group to stand back. The Pyramid's corners slide outward and dust begins to be kicked up. The massive structure lifts into the sky on rotors that keep it aloft, allowing Brandon to move to the next ruins site. May notices a golden bird in the sky, and the whole group witnesses the real Ho-Oh flying in the distance. Ash remembers that he first saw it when he first started out on his journey. He uses this to inspire himself to train for the official battle. But for now, the Grand Festival is on the horizon, and May cannot wait to put herself to the ultimate test.

Major events

 * Ash and his friends arrive at the Battle Pyramid and meet Pyramid King Brandon, the seventh and final Frontier Brain.
 * Ash is possessed by the evil spirit of the King of Pokélantis, which comes from a stone sphere sealed in the Ancient Ruins.
 * Brandon agrees to battle the King of Pokélantis in order to save Ash.
 * Ash's Sceptile faces Brandon's Regirock in an unofficial battle and loses.
 * Brandon promises Ash an official battle, but it will not be for some time because he has business elsewhere.
 * Ash sees Ho-Oh for the third time, while May, Brock, and Max see it for the first time.