Finding Mary McGuffin

When Lawrence accidentally sells Candace's doll to Doofenshmirtz, Phineas and Ferb become detectives to try and find it.

Episode Summary
Dad accidentally sells Candace's favorite doll at a yard sale. Dr. Doofenshmirtz happens to be the one who bought it. He gives it to Vanessa, and when it gets sold in an awkward circle, Candace and Vanessa end up fighting over the doll while it lands into a girl's hand and Vanessa ends up storming off with the doll. Meanwhile, Phineas and Ferb play as detectives with Candace to try and find the doll.

At the Flynn-Fletcher house, Lawrence and Linda are putting on a boot sale. It turns out that Linda was going to sell her Lindana records but snatched them from a man who was looking at them. Phineas and Ferb ask Lawrence if they could watch his black and white detective films. Lawrence allows them when Heinz Doofenshmirtz appears at Lawrence's stall. He buys a Mary McGuffin doll and walks off. Candace appears a minute later and asks Lawrence if he has seen her Mary McGuffin doll. Lawrence says he just sold her for a dollar and asks if Candace wants it. She screams and Lawrence offers her two dollars.

Doofenshmirtz arrives at Charlene's house and asks for Vanessa. Doofenshmirtz hands her the doll and talks about how he's been searching for years for the doll. Vanessa thanks him and walks to her room. Meanwhile, Phineas and Ferb are influenced by the detective films and turn themselves and everything else black and white. Candace tells them about her doll and Phineas decides they will investigate.

In The Agency, Major Monogram is seen playing a video game. Perry is waiting for his assignment. Monogram tells him that Doofenshmirtz has been to a boot sale, bought an Inator and a box of 'on-off' devices. Carl tells him that they're called 'switches'. Perry's chair turns into a big ball (like a bowling ball) and rolls down a chute.

The boys and Candace are investigating Lawrence, asking him who he sold the toy to. Lawrence tries to describe Doofenshmirtz, 'German accent, lab coat'. Phineas and Ferb go to a lab coat shop and interrogate people there. One of the men says he doesn't know anything but then Ferb 'leans' on him. He tells them there is a guy who puts all of the costs on his ex-wife's tab. He gives them the address and Phineas tells Ferb to pack up the studio.

Back in Vanessa's room, she starts thinking about the times her dad has embarrassed her and times when he has made her day. She really appreciates her gift and puts it on her shelf with her other toys. When she closes the door, the doll falls near a box of junk. Vanessa walks downstairs, unaware of what happened and logs on to her laptop. Charlene answers the door and it is a man who works for Charitable Charities. Charlene asks Vanessa where her box of junk was and she goes to Vanessa's room. She assumes that the Mary McGuffin doll is part of the junk and puts it in the box. Charlene hands the box to the man and he puts it in the truck. Vanessa realizes that her doll was in the box and runs after the man just as Phineas, Ferb and Candace walk up to her house. Phineas interrogates Charlene and she tells them that the doll was in the box to be sent to a Charitable Charities somewhere. The group start looking around all of the Charitable Charities around but can't find Mary.

Doofensmirtz is in his building and has bought lots of things from boot sales. He is trying to find a switch to fit his Inator when Perry comes in. Doofenshmirtz activates the lobster trap that he got for free and tells Perry what he is doing. The switches he tries are too big or too small until he comes across the right one. He places it upside-down and complains that the writing is even printed upside-down. Doofenshmirtz realizes he put it upside-down and turns it around. He then turns on his invention but Perry's trap opens. Perry climbs out whilst Doofenshmirtz is still wondering why the Inator isn't switching on. He then turns around and sees the switch opening and closing the trap. He now knows why the trap was free. Doofenshmirtz tells Perry that he can't do anything evil so Perry can go home. Perry thumbs-up Doofenshmirtz and leaves.

Phineas, Ferb and Candace are in the last Charitable Charities shop when Candace spots Mary McGuffin. As she pulls the doll, Vanessa is seen pulling it too. They fight over the doll and the doll flies into the air into a little girl's hand. She instantly loves it and Candace says she's too old for dolls now. Vanessa says she can give it up but then decides that it was a very special gift and snatches it from the girl's hands. The girl starts to cry and Vanessa phones her dad. She tells him about the little girl and he asks if she felt good doing it, as he automatically assumes she is turning evil, like himself.

Songs
Not So Bad A Dad After All

End Credits
First and last verse of Not So Bad a Dad After All

Whatcha doin'?
None

Perry's entrance to his lair
None.

Evil Jingle(s)
Doofenshmirtz's Ex-Wife's House on a Hill Somewhere! and Doofenshmirtz Evil Incorporated in CSI: Miami style

Background Information

 * This episode premiered in the UK on October 18, 2009.
 * Currently listed on the following sites: MSN TV and the Disney Channel TV schedule
 * The episode aired in the UK on the 18th of October at 9:30 a.m.(British Summer time) on DisneyXD
 * When Charlene asks if Phineas and Ferb are with the Census. She may have referred to the 2010 Census.

Continuity

 * Doofenshmirtz mentions his Lawn Gnome flashback, and that he purchased his degree. ("Lawn Gnome Beach Party of Terror", "I Scream, You Scream")
 * Lindana's record is seen among the records at the start. In fact, it's the exact same record shown in "Flop Starz". The elevator music version is heard during that scene. ("Flop Starz")
 * Vanessa was expecting a car, just like she asked of Doofenshmirtz before. ("Vanessessary Roughness")
 * The man with the accent, who also appears when Doofenshmirtz "goes out of his way to catch that foul ball", is one of the people watching the concert Phineas and Ferb host to bring home Perry. ("Oh, There You Are, Perry")
 * The Charitable Charities man who asks Phineas if he is too young to know about "all these old detective films" looks eerily similar to the worker who listed the climbing toys (Climbin' Simon, Ascendin' Brendon, Ladderman Larry, Climby Jaimie). ("Toy to the World") This man was also used for "Portal to Mars" Worker Listing toys could be Charitable Charities man.png
 * In Not So Bad A Dad After All, in the scene where Doofenshmirtz "wore all that fringe", it's the same outfit he wore from when he was singing Yodel Odel Obey Me.
 * are wearing the same sunglasses they wore during Danny's Story. ("Dude, We're Getting the Band Back Together!")

Allusions

 * During the montage of Charitable Charities interviews, several detective parodies are seen, including Starsky and Hutch, Miami Vice, and CSI: Miami.
 * Starsky and Hutch: Though the car driven by Detectives Ken Hutchinson and Dave Starsky was a 1974 Ford Gran Torino, the one driven by Phineas and Ferb was an AMC Javelin.
 * CSI: Miami - Phineas did Horatio's Caine's sunglasses gag and the screaming where the boys are traveling on the air-boat is the same as the start of it's theme tune.
 * The lost doll plot is similar to Family Guy episode 'Road to Rupert', which Dan Povenmire directed.
 * The title and doll refers to a MacGuffin, a common item in TV shows whose single, sole purpose is to drive the plot of the episode forward, either directly or indirectly.
 * The Plot is also similar to an episode of the Nickelodeon show Rugrats: All Grown up, in which Angelica Pickles loses her Cynthia doll after her mom sells it, as well as an episode of Disney Channel's Even Stevens called 'Where in the World is Pookie Stevens?' in which Ren's Pookie doll accidentally drops into a box that is taken down to their family's yard sale and prompts her younger brother to search for it.
 * The title is similar to Disney/Pixar's hit "Finding Nemo".
 * "Mary MacGuffin" doll may be in reference to the popular "Cherry Merry Muffin" dolls of the 80's.

Cast

 * Vincent Martella as Phineas
 * Ashley Tisdale as Candace
 * Thomas Sangster as Ferb
 * Caroline Rhea as Mom
 * Dan Povenmire as Dr. Doofenshmirtz
 * Jeff "Swampy" Marsh as Major Monogram
 * Richard O'Brien as Dad
 * Dee Bradley Baker as Perry
 * Olivia Olson as Vanessa
 * Allison Janney as Charlene