After Team Rocket attempts to consult the mysterious "Madame X" for help in capturing Pikachu, they are brainwashed by her Malamar, with only Meowth escaping and going to Ash and his friends for help. When Pikachu is captured and brainwashed as well, Ash, Serena, Clemont, Bonnie, and Meowth go to save him and Team Rocket. However, everyone but Ash and Meowth gets brainwashed, leaving them with no idea on how to stop Madame X.