Reaching a signpost, Clemont exclaims that it points to the Gadget Festival: the largest exhibition of mechanical devices in the Kalos region. Ash and the girls are disinterested, and Serena questions whether the festival is that great of an event. Clemont argues that "great" is an understatement and explains that the greatest inventors of Kalos will be there to compete and show off their inventions.
They soon reach the Gadget Festival and are amazed at the building plus the various devices and gadgets on display. Ash points toward something, which Clemont identifies as a "welcome gadget". Clemont initializes the gadget, and the group looks on in amazement as its mechanism activates. Revealed to be a Berry opener, Serena remarks that building the gadget was a waste of time, which she demonstrates by breaking open a Berry with her bare hands. Clemont is disappointed and preaches about the playfulness that comes with building gadgets, adding that it creates a variety of inventions that ultimately leads to new technological advancements. Elsewhere, James, who also happens to be at the Gadget Festival with Jessie and Meowth, has nearly completed building his Poké Ball Stealer Mark I, just needing a finder tool. After exiting the trio's gadget room, James decides to check out the other stalls to get a look at the competition. Meanwhile, Ash and his friends proceed to sit on an automated chair that will take them inside the building. Bonnie seems excited and sits on the chair as Chespin comes out to ride as well. Serena calls out her Pancham to ride with Chespin. All of this is witnessed by Team Rocket, who decides to catch Pikachu before they proceed with their plan to steal Poké Balls with their device.
The group stumbles upon their first gadget room but finds the door locked. Serena advises Ash to push the door instead of pulling, but it doesn't budge. Clemont shows them how to open the door, exclaiming that he loves to solve mechanical puzzles such as these. Ash and the girls decide that the room is empty, but Clemont disagrees and reveals the wall to be a hidden door. Bonnie notes that they have become separated from Pikachu, Chespin, and Pancham in the process. Clemont informs the Pokémon to meet up with the group later. Ash and his friends pass through a room filled with moving cylinders with ease, while Serena and Bonnie praise Clemont's skills. Meanwhile, the Pokémon have to cross a room with a lot of traps and an icy floor. Chespin pushes Pancham and laughs as the Playful Pokémon reaches the end, but not before being hit by the device's traps. Pikachu and Chespin reach the end relatively unscathed, but the latter gets into a feud with Pancham, though Pikachu quickly breaks up the fight.
Venturing through the building, Team Rocket stumbles upon the locked door that Ash and his friends had encountered previously. Jessie tries pushing and pulling at it, to no avail, deciding that it is broken. However, James manages to open the door, and the trio enters the room. Jessie tries to make her way through the wall, calling it a contraption, but James again cleverly finds the solution to the mechanism. Meanwhile, the Pokémon reach a room full of gears. Pancham challenges Chespin to pass over them. Chespin cleverly passes over the gears but is hit by a hammer. The Spiny Nut Pokémon is angered and shouts at the hammer, only to be struck by it again, which causes Pancham to erupt in laughter. Team Rocket reaches the room with the icy floor, where Jessie and Meowth quickly get hit by the traps. Ash and his friends subsequently encounter the next gadget room. Ash is the first one to sit on the chair. Bonnie states that the gadget is like an amusement park ride. When Ash reaches the end, he narrowly avoids being knocked over by an arm by jumping on the platform next to him. Bonnie is up next and narrowly manages to avoid the arm as well. As this is happening, Team Rocket stumbles upon the moving cylinders. James and Meowth make it across pretty easily. Although, while Jessie does fairly well in the game, she messes up at the end, to her displeasure.
Ash and his friends enter a room, and a doll dressed in a kimono and carrying tea approaches them. She offers tea to Ash but instead spills the hot tea all over his face. Ash is not happy with the doll, but Clemont remarks that this must be part of the humor and playfulness that is necessary for a good gadget. Serena notices and is impressed by the doll's manners. At this time, the Pokémon reach a room containing a series of moving blocks. Pikachu is the first one to cross. Next, Chespin and Pancham jump on a block and the Playful Pokémon sees this as the perfect opportunity to push the Spiny Nut Pokémon off their block. However, Chespin jumps back on the block after some hits and starts fighting with Pancham. The two cross the blocks while fighting, and then inadvertently jump onto Pikachu, knocking all three of them out. Meanwhile, Team Rocket stumbles upon the amusement park ride-like gadget, and a tired Jessie sits on the chair, activating it. Unlike others before her, she is not quick enough and is struck by the arm of the gadget, knocking her all the way back to her teammates. The trio enters the room with the winding doll next, who dumps tea onto Meowth. As the trio continue through the building, Jessie grows angry and fumes that they will never be able to catch Pikachu while they are trapped inside, prompting James to declare that it is time to deploy his device.
A boy finding his way through the building stumbles into Team Rocket's gadget room. James asks the boy to put three of his Poké Balls onto the device to initiate it. When the boy does so, he observes the gadget's mechanisms in amazement. However, when the boy asks for his Poké Balls back, he is thrown out by Team Rocket through a floor trap. A girl stumbles upon the room and has her Poké Balls stolen as well. Meanwhile, Ash and his friends have regrouped with their Pokémon. Pancham and Chespin start fighting again, but are once again stopped by Pikachu. A guard, looking for the Poké Ball thieves, informs the group about the thefts taking place at the festival, and the group decides to investigate. Ash and his friends reach Team Rocket's room, who have stolen yet another Trainer's Poké Balls. The thieves manage to flee the room through a secret door and are trailed by the group. They cross through a piano-themed gadget room first and must pass over some rollers. Meowth praises Jessie for her skills in maneuvering through the rollers, and Jessie explains that her genius does not necessarily come out until she is under pressure, though she once again proceeds to fail at the end.
The two groups finally exit the building, and Team Rocket grabs another one of their gadgets. Meowth initiates the device, which seems to work quite well. However, with the help of the gadget, Meowth falls just short of reaching Pikachu to attack it with Fury Swipes. A disappointed Jessie claims it would have been better for Meowth to just attack without the aid of the device. James disagrees, asserting the value of the playfulness of the gadgetry. Clemont seems to agree with him, but is mocked by Bonnie. Left with no alternatives, Jessie and James send out Gourgeist and Inkay, who use Seed Bomb and Psybeam to attack Ash and his friends. Pancham uses Dark Pulse, but Gourgeist dodges it, and the move hits Team Rocket's machine instead. Clemont commands Chespin to use Pin Missile, damaging the device even further. Finally, Pikachu's Thunderbolt causes the device to explode, sending Team Rocket blasting off again. With the Poké Balls returned to their Trainers, Clemont suggests the group explore and enjoy the remaining lot of gadget exhibition rooms. He concludes that gadgets are the height of impressibility and symbolize the triumph of human intelligence and skill, and muses that the Gadget Festival will continue to celebrate the world's hopes and dreams for the foreseeable future.