The Deal with Doofenshmirtz

The forty-second episode of Season 38. Doofenshmirtz is acting very strange, so Perry needs to investigate what's causing him to go so crazy. Phineas and Ferb make their own smart TV.

Episode Summary
Perry is sleeping on the couch. Phineas and Ferb come and sit next to him. They turn it on to find an episode of Errr. Phineas thinks that it would be cool to make a TV. Then he knows what they're gonna do today. They're gonna make their own TV, but make it a smart TV. Then, they wonder where Perry is, he was just right there. Perry enters his lair through the oven. Perry lands in his lair, a pie landing on his head after him. Monogram reports that they've caught Doofenshmirtz on camera doing some very unusual things, besides singing in his bathroom. Perry rockets off in his rocket car. Meanwhile, the boys are busy creating their smart TV. Their friends come in, talking about Heidi's sister's irrational fear of getting long lists rolled on her. Then, Buford tries to steal Isabella's line again. Isabella says she forgot to talk to him, so she went off with Buford to talk. She gives Baljeet permission to steal her line, so Baljeet takes advantage of it. They explain the process of making their smart TV. Irving says they already sell those. Phineas says it's going to be much better than those smart TVs. At Doofenshmirtz Evil Incorporated, Doof is busy making doughnuts with almond brittle. Perry gets trapped in a fairy princess costume. Perry remembers the time Doofenshmirtz was on caffeine and the time he was on sweets.