Magic Carpet Ride

Inspired by Dad's favorite childhood program, the boys decide to create a magic carpet, and Candace is convinced that fortune cookies will lead her to bust her brothers. Meanwhile, Dr. Doofenshmirtz plans on ruining his brother's art unveiling by using his "Stain-inator" to ruin a mysterious painting, but as it turns out, the painting is Dr. Doofenshmirtz's very own masterpiece that he created when he was a youth back in Gimmelshtump.

Episode Summary
Lawrence invites Phineas and Ferb to watch the brand new digitally remastered third series of his favorite show growing up, Pinhead Pierre; however they are unimpressed by the outdated effects of the magic carpet scene. Linda asks Lawrence to look at some kitchen tile samples to redo the living room, and he obeys, showing signs of disappointment that his childhood memories are not as exciting as he remembered. Phineas declares that he knows what they are going to do today, and wonders where Perry is.

Major Monogram is awakened as Perry drops into his chair at headquarters. He tiredly tells Perry that Doofenshmirtz has completely cleared the Tri-State area of all grape juice, red wine, chocolate, marinara sauce, India ink, and coffee. He then apologizes for being drowsy, explaining that he hasn’t had his morning coffee. At the Better Panda Restaurant, Candace tells a passive Stacy that things never turn out how she plans. Stacy offers a fortune cookie to her, and after some coincidental fortunes come true, she becomes a believer and takes a bowl of fortune cookies from the restaurant.

Back at the house, Phineas explains how the modified carpet works to Lawrence, and the second floor of the house lifts up so the carpet can take to the sky. Meanwhile, Perry breaks into a window of Doofenshmirtz Evil Incorporated and is immediately tied up to a luggage carrier. Doofenshmirtz wheels him to his hovercraft and shows him his Stain-inator. He explains his back-story and plan on the way.

When he was a youth in Gimmelshtump he yearned for a career in fine arts. He loved painting, though found his muse somewhat inaccessible. One day as he was about to give up he gained inspiration and stayed up for three days painting his masterpiece. However, his brother Roger accidentally spilt sloppy Joe on it. Doofenshmirtz made a solemn vow that Roger would someday pay for what he did, and had his vow notarized. He explains that his Stain-inator was designed to ruin a painting that Roger would be unveiling for the lobby of city hall.

Isabella, Buford, and Baljeet join Phineas and Ferb’s (and Lawrence’s) Aerial Area Rug ride as they fly through the sky. Candace further explains her belief of fortune cookies to Stacy. The last fortune leads her home.

As Mayor Roger Doofenshmirtz prepares to unveil the painting, Doofenshmirtz puts the Stain-inator on auto fire, making it unstoppable. However, it is revealed that the painting is Doofenshmirtz’s, that Roger had spent the past two decades restoring. The Stain-inator fires, and ruins the painting. Perry flies off on his para-glider as a broken Doofenshmirtz lets his hovercraft crash. He then kicks the Stain-inator in frustration, causing it to fire and hit the bottom of the magic carpet as it descends into the living room. Candace leads Linda into the living room. She is impressed with the new carpet and says that it’s much better then tiles. Everyone goes out for Chinese food and Candace’s last fortune says “Don’t believe everything you read.”

Songs

 * Aerial Area Rug
 * Pinhead Pierre Theme

End Credits
Last verse of Aerial Area Rug.

The "Too Young" Line
None.

Whatcha doin'?
None.

Perry's entrance to his lair
Perry just down drop to his chair and sees Major Monogram sleeping on screen.

Background Information

 * Listed on the Disney Channel TV Listings here.
 * This episode was aired in Disney Channel on Demand on June 17, 2011.
 * This is the first time that Roger Doofenshmirtz did something nice for his brother.
 * Although only about 3 seconds long, this was the first time, Isabella, Phineas, and Lawrence sung in Season 3 when they sung the Pinhead Pierre Theme. It is also the first time Lawrence and Isabella sang at the same time.
 * The one time Doofenshmirz's Schemes and Inventions worked is the one time he did something bad for himself.

Production Information

 * On October 2, 2010 Martin Olson - Phineas and Ferb's songwriter confirmed there will be an Aladdin-like episode, where Phineas and Ferb build a magic moving carpet.

Errors

 * During the song Aerial Area Rug, you can see that Isabella is wearing her socks, then at one scene during the song her socks are gone.

Continuity

 * Second time that Lawrence was part of Phineas and Ferb 's Big Ideas ("It's a Mud, Mud, Mud, Mud World").
 * The "Better Panda" restaurant from "When We Didn't Get Along" makes a reappearance ("It's About Time!").
 * Pinhead Pierre makes another appearance ("Out of Toon").
 * Heinz Doofenshmirtz traps Perry the same way he captured Major Monogram ("Phineas and Ferb Summer Belongs to You!").
 * Candace and Stacy use from the lift Gretchen was using to sell lemonade during A Better Best Friend ("The Lemonade Stand").
 * Third time the "King-of-the -World" thing was done. ("Swiss Family Phineas", "That Sinking Feeling")

Allusions

 * Aladdin - Phineas and Ferb build a magic carpet. Also the song and episode title reference the Aladdin themed magic carpet ride at various Disney theme parks.
 * Steppenwolf - The title of the episode shares the name of a song from the band Steppenwolf.
 * Titanic - Ferb asks who would also like to be king of the world while standing on the front of the carpet with his arms outstretched. This is a reference to the iconic "King of the World" scene from this film.

Cast

 * Vincent Martella as Phineas
 * Ashley Tisdale as Candace
 * Thomas Sangster as Ferb
 * Caroline Rhea as Linda
 * Dan Povenmire as Dr. Doofenshmirtz
 * Jeff "Swampy" Marsh as Major Monogram
 * Richard O'Brien as Lawrence
 * Dee Bradley Baker as Perry
 * John O'Hurley as Roger Doofenshmirtz
 * Alyson Stoner as Isabella
 * Maulik Pancholy as Baljeet
 * Bobby Gaylor as Buford
 * Kelly Hu as Stacy