Where's Pinky?

He's been gone all morning! He didn't even touch his breakfast burrito. What am I going to do? When Pinky goes missing, Phineas & Ferb create a machine that will amplify Buford’s senses to those of a dog’s. However, it works so well that the animal agents’ secret identities are put in jeopardy. Meanwhile, Candace tries to meet up with Jeremy for lunch at City Hall but gets stuck in a mandatory tour.

Episode Summary
Gretchen, Phineas, Ferb, Buford and Baljeet are in the Flynn-Fletcher house backyard discussing what to do during a zombie invasion. Baljeet suggests hiding in a basement, but Gretchen disagrees. Suddenly, Candace appears and asks the group what is going on. Phineas invites Candace to join in on their conversation, but she declines, as there is nothing about zombies that she does not know. Ferb mentions that there is a zombie behind Candace, causing the latter to turn around, only to discover that the boys were joking. Just then, a concerned Isabella enters the backyard and announces that Pinky has gone missing. Buford says that chihuahuas are the "first things zombies go for". After Isabella mentions that Pinky has not eaten his breakfast burrito, Gretchen suggests that Isabella puts up posters, Buford suggests simply doing nothing and Phineas suggests building a machine that improves a human's sense of smell into that of a dog's, to which Isabella agrees with Phineas' idea. Candace explains that she cannot bust her brothers, as she is meeting up with Jeremy for lunch at Danville City Hall, less to Baljeet's knowledge. Buford assumes that City Hall only served sequnoas and complains that nobody is around to play a rimshot for his "jokes". Candace tells Isabella that Pinky will eventually return, as does Perry, who is gone at this time. Buford is only concerned about the aforementioned breakfast burrito, making an annoyed Baljeet play him his long-lost rimshot.

In Perry's lair, Major Monogram tells him that he will be assisted by Pinky since he informed them about Doofenshmirtz planning to steal the deed to the Tri-State Area. Monogram explains that Pinky is good with computers, covert ops, and frankly "needs the hours". After the briefing, Major Monogram realizes that both Perry and Pinky have the codename "Agent P." and calls them "two Ps in a pod." He then asks Carl for a rimshot, which the latter has given to him. Seconds later, the "rimshot" is revealed to be simply a flyer with the words "Ba-Dum crash" with a picture of a snare drum on it.

Candace is now standing at a directory, looking for the quickest route to the City Hall food court. A tour guide interrupts her search and forces her to take a mandatory tour, which she tries to decline. One of the tourists mentions being caught attempting to escape twice. The tour guide continues and Candace is forced to take the tour with the other tourists.

Perry and Pinky arrive at City Hall and get in line. Doofenshmirtz just happens to be two people ahead of them, and tells the people to move ahead in order for him to talk to the animal agents. Doofenshmirtz, however, only sees Pinky as Perry's pet dog and mentions that dogs are not allowed, before introducing his Blend-Into-the-Background-Inator. He explains that he will use it to steal the deed to the Tri-State Area, as "it is easier to find hidden things if you are hidden as well". He demonstrates how he will use it by repeatedly making himself disappear and reappear until it gives him a headache and he hopes there is no long-term damage from the inator. He realizes that Perry and Pinky are expecting to be trapped, but Doofenshmirtz explains that he has already "trapped" the animal agents by bureaucracy, as they do not have a number. He disappears again and sneaks off to the hiding place of the deed. Perry and Pinky proceed to try and follow Doofenshmirtz, forgetting that they still do not have a number.

Phineas and Ferb introduce the Sensory helmet and put it upon Buford's head, who concludes that he can "smell the future". Once Isabella asks Buford if he smells Pinky, he runs off, following the aroma of bacon. The kids are forced to chase after him.

Back at City Hall, the tour guide explains about John P. Tri-State and Otto H. Adjacent that Candace interrupts him, explaining that she only wanted to go to the food court. However, the tour guide won't let her leave by explaining the rule and prevents her from leaving the line. Meanwhile, Doofenshmirtz finds an elevator and uses it to take him to the Gift Shop and Secret Vault.

At the Flynn-Fletcher house, Isabella is rubbing Buford's belly with Pinky's squeaky toy so he can pick up Pinky's scent, but Buford ends up finding a scent of a mailman instead and chases it.

Meanwhile, Doofenshmirtz reach the Gift Shop and Secret Vault and finds the deed, but Perry and Pinky manage to find him and Doofenshmirtz wonders how they escaped bureaucracy. Perry shows him a number 7 card. Doof remarks that the line was shorter than he thought. As Doofenhsmirtz uses his Blend-Into-the-Background-Inator to escape, Pinky kicks him and he drops the deed. It gets mixed up with the other deeds.

Back at the tour, the tour guide shows Candace and the tour group the spontaneous musical number diorama and continues explaining the history of the Tri-State Area in a song. After the song, Candace and tour group frown when tour guide continues the tour about accounting.

At the Gift Shop and Secret Vault, Perry and Pinky continue searching for the deed. Doofenshmirtz finally finds it and quickly leaves. Perry and Pinky chase him back to the elevator. At the same time, Buford finally tracks Pinky to City Hall and Baljeet wonders why they have a doggy door since they don't allow pets. Perry sees Doofenshmirtz about to leave and presses the button that locks Doofenshmirtz in. Perry then sees the kids coming towards Pinky that he uses his grappling hook to swing by to grab the Blend-Into-the-Background-Inator and uses it to hide himself and Pinky from the kids. Buford wonders why there is nothing where Pinky should be. Phineas suggest to they should adjust the tune.

Doofenshmirtz uses the computer to override the lock and types password that he guesses: "Reindeer floattia". As the door unlocks, Perry and Pinky corner him and, remembering Pinky is good with computers, Perry whistles as him to use the computer. Pinky uses it to knock out Doofenshmirtz, causing him to drop the deed.

As the tour ends, the tour guide ask if anyone wants to take the whole tour again and the entire group except Candace quickly runs away. Candace comments that she liked the song, and tour guide is about to sing again when he notices Pinky, who came up to Candace. He states that the tour is over since no pets are allowed. Isabella thanks Candace for finding Pinky and sees Perry. The kids them goes back home for a breakfast burrito, and Candace then ask the tour guide how long he was working in City Hall that he reveals that he doesn't actually work for City Hall and believes he is a space alien sent to Earth to help uninformed citizens in need and leaves.

Jeremy ask Candace where she was that she tells him that she was forced to go on a tour from a tour guide. Jeremy recognize the tour guide as Don, a "fixture" in City Hall. The episode ends as Don, wearing the Sensory helmet and holding the deed, shouts: "I am the ruler of the Tri-State Area". He shows a rimshot card; it's the "Ba-Dum Crash" with the snare drum again.

Songs

 * Watchin' and Waitin' (instrumental)
 * The History of the Tri-State Area

End Credits
A shot of Doofenshmirtz saying, "Oh, great! Now I'm confused!" followed by the last two choruses of The History of the Tri-State Area

The "Too Young" Line
None.

What'cha doin'?
None.

Perry's entrance to his lair
None.

Background Information

 * Linda does not appear nor is mentioned in this episode.
 * First episode with Pinky's name in the title.
 * Third episode to have the word "Where's _____?" in the title. ("Where's Perry?", "Where's Perry? (Part Two)")
 * Fifth time Perry joins forces with another agent. The previous four were Agent 00-O in "Elementary My Dear Stacy", Peter the Panda in "Meapless in Seattle", the other agents in Phineas and Ferb The Movie: Across the 2nd Dimension and Lyla Lolliberry in "Sidetracked".
 * Second time Pinky the Chihuahua battles Doofenshmirtz. ("Where's My Perry?")
 * It is revealed that Danville has catacombs which can be accessed from the City Hall.
 * It is revealed that the Tri-state Area used to be three Single-state Areas.
 * The tour guide says, "¡No cruzar la cuerda por favor!", which is "Do not cross the line please" in Spanish.
 * John P. Tristate and Otto H. Adjacent are mentioned and seen in a picture ("Hip Hip Parade").
 * Eleventh time Candace doesn't see the Big Idea. ("Hail Doofania!", "Atlantis", "Brain Drain", "Bullseye!", "Escape from Phineas Tower", "Bully Bromance Breakup", "Delivery of Destiny", "Tri-State Treasure: Boot of Secrets", "Road to Danville", "Backyard Hodge Podge")

Errors

 * During the song The History of the Tri-State Area, "Capitol building" is misspelled on a sign as "Capital building".
 * When reading down the elevator buttons, Doofenshmirtz switches the order of "Garage" and "Basement".
 * Candace repeatedly switches from smiling to frowning throughout the song.

Continuity

 * "Spontaneous music dioramas" showing Ain't Got Rhythm and Impress My Professor can be seen.

Allusions

 * "And your little dog..." - The line in question that Doofenshmirtz says to Perry and Pinky was lifted from the 1939 MGM classic The Wizard of Oz in which Margaret Hamilton (The Wicked Witch of the West) warns Judy Garland (Dorothy) "I'll get you my pretty...and your little dog, too." This is the second time he says this, the first being the Oz parody Wizard of Odd as Doofen witch warlock.
 * Tron - The password to override the security door, "reindeer flotilla", is Kevin Flynn's password in the 1982 film.

Cast

 * Vincent Martella as Phineas, Additional Voices
 * Ashley Tisdale as Candace
 * Thomas Sangster as Ferb
 * Mitchel Musso as Jeremy
 * Dan Povenmire as Dr. Doofenshmirtz, Additional Voices
 * Jeff "Swampy" Marsh as Major Monogram, Additional Voices
 * Dee Bradley Baker as Perry, Pinky
 * Alyson Stoner as Isabella, Additional Voices
 * Bobby Gaylor as Buford, Additional Voices
 * Maulik Pancholy as Baljeet
 * Tyler Alexander Mann as Carl
 * Ariel Winter as Gretchen, Additional Voices
 * Wayne Brady as Don (City Hall Guide)
 * Additional voices: Carlos Alazraqui, Django Marsh, Grey DeLisle, Mo Collins