Perry Loses his Hat

Candace kicks Perry out of the house after finding him on her bed, but she kicks him so heavily that he drops his hat which is later found by Phineas and Ferb. Phineas and Ferb create a machine that will locate that hat's owner. Perry knows that will cause his cover to be blown and attempts to return his hat, but he will risk being exposed, so he turns every time back to his mindless pet mode when Phineas and Ferb look at him. Candace sees the machine and, as usual, attempts to bust Phineas and Ferb. Meanwhile, Dr. Doofenshmirtz takes a day off, but later slips and accidentally activates his destroying machine. The destroying machine destroys Phineas and Ferb's machine, giving Perry a chance to return his hat and, as usual, ruining Candace's chance to bust Phineas and Ferb.