Build a movie plot around this: Why did Doof-2 order Platyborg to attack Perry? Because Perry is a secret agent
Answer:
The film opens with Phineas (Vincent Martella), Ferb (Thomas Sangster), Candace (Ashley Tisdale), Perry, a.k.a. Agent P (Dee Bradley Baker), and Heinz Doofenshmirtz (Dan Povenmire), who have been captured by the 2nd Dimension Doofenshmirtz and in chains, being led to a large, hairy, caged monster called a "Goozim". The scene flashes back to earlier in the day when Phineas and Ferb have just woken up. It's been five years since they adopted their pet platypus, Perry, from the O.W.C.A.'s animal shelter. After reminiscing about how they got him ("Everything's Better with Perry"), the boys decide to play giant platypus badminton, and construct a platy-pult with their friends Isabella (Alyson Stoner), Buford (Bobby Gaylor), and Baljeet (Maulik Pancholy). Perry the Platypus reports to his lair and dons his secret agent persona, Agent P. He is briefed by Major Monogram (Jeff "Swampy" Marsh) about his mission, receives new gadgets by Carl (Tyler Alexander Mann), and rides off in his rocket car. Phineas and Ferb launch themselves off the platy-pult in a giant shuttlecock and fly through the air, but end up colliding with Perry's rocket car and crash onto the roof of the Doofenshmirtz Evil Incorporated building, destroying Dr. Doofenshmirtz's latest invention, the Otherdimensionator.Meanwhile, upon hearing that her boyfriend Jeremy Johnson (Mitchel Musso) is already looking for the perfect college for himself, Candace, Phineas and Ferb's older sister, decides to grow up and act more like an adult with the help of her best friend, Stacy Hirano (Kelly Hu). Phineas and Ferb apologize for breaking Doofenshmirtz's invention and offer to help him fix it. Perry, who has arrived on the scene, goes back into his mindless pet persona, lest his owners find out his secret. The boys and the evil scientist successfully open a portal to the 2nd Dimension, and find that it is ruled by an alternate Doofenshmirtz, who has seized control of the Tri-State Area, unlike his prime counterpart. Doofenshmirtz meets him ("A Brand New Best...