Candace and Jeremy make a Perry documentary as the kids play an extreme game of croquet.
Plot[]
The episode opens with Phineas and the gang introducing Croquet Y-8, a futuristic sport involving oversized mallets, quantum portals, and pyrotechnics, created to fill the gap between their previous inventions, Football X-7 and Hockey Z-9. Jeremy arrives looking for Perry, asking Candace to help him make a zoology documentary featuring her pet for his college course. Candace agrees, planning to film Perry while keeping an eye on her brothers' latest project.
When Perry's watch beeps, he activates his secret lair but must improvise a robotic decoy to fool Candace and Jeremy. Major Monogram briefs him on his mission: Dr. Doofenshmirtz has been working on animal husbandry. Carl warns that the Perry-bot models are unstable and will malfunction after three hours.
At Doofenshmirtz Evil Inc., Doof traps Perry in a knitted sweater and unveils his plan. He has invented the Go-to-Sheep-inator, which rehydrates dehydrated sheep to make everyone in Danville fall asleep. Perry escapes his trap, and a chaotic battle ensues, culminating in a chase atop rolling sheep as Doof's inator floods his apartment with sheep. Perry reverses the device's effects, reversing the inator just before it explodes.
Back at the Flynn-Fletcher house, Candace struggles to juggle filming Perry and busting her brothers. The Perry-bot malfunctions—screaming, smoking, and deflating—while Candace narrowly avoids Croquet Y-8 projectiles. Linda, hearing about Jeremy's Perry movie, decides to come home and see for herself. As Candace collapses from exhaustion, the Perry-bot finally self-destructs, and the real Perry quietly replaces it without being discovered.
Linda arrives to find Candace and Perry asleep on the couch and snaps a photo of them. The boys return inside after their croquet game is destroyed by a runaway sheep ball and Baljeet and Ferb fall asleep from counting the sheep. Linda comes out and invites them in for snacks and Baljeet wakes up while being dragged.
Meanwhile, the Farmer's Wife berates her husband for buying a sheep farm without sheep. While the sheep ball rolls by, the Farmer informs her those are not the sheep he ordered, as they will arrive later in the afternoon.