Doofus Khan, he has been a plague on our land for far too long!

Princess Isabella

"Doof Dynasty" is the 140th broadcast episode of Phineas and Ferb.


In China, 1542, A parade is going on. Buford is standing on Baljeet's shoulders to view the parade over the crowd but he finds that it is not high enough. He then discovers that due to his weight, Baljeet has fallen down on the ground and Buford is standing on his back, not shoulders. Phineas tells them that he has a better idea and they all climb on a big plank of wood. The plank begins to rise up and becomes a high wooden structure.

Candace spots the wooden structure and runs off to tell Mom as what they're doing is technology that's slightly more advanced than what they have today.

On the structure, Buford is still standing on Baljeet, saying that it helps his arches when he stands like that. The four then see Regent Monogram and Princess Isabella in a palanquin, and Phineas admires the princess dreamily.

The scene shifts to Princess Isabella asking Regent Monogram when she will be able to meet some local children and Regent Monogram says that it is too risky because of Doofus Khan.

Candace tries to tell Linda about the structure, but Lawrence tells Linda that acrobats are on their way and so Linda ignores Candace.


The acrobats reveal themselves as Doofus Khan's warriors.

The acrobats turn out to be Doofus Khan's men and Princess Isabella is kidnapped by them. Regent Monogram receives a taunting scroll which shows Doofus Khan making a face at him. General Carl asks if he should send his army to attack but Regent Monogram can't risk endangering the Princess, he wants help and laments that the Great Master Perry has retired and now resides on top of the Unclimbable Mountain of Unclimbableness and that someone should ask him for help. Phineas decides that they will go to persuade Master Perry.

Princess Isabella is brought to Doofus Khan. Doofus Khan had kidnapped Princess Isabella with the intent of making Regent Monogram too helpless to prevent Doofus Khan from taking over the Tri-Province Area. He takes Isabella up a staircase, which according to him is protected with a series of booby traps he alone knows to avoid. Ironically, he gets hit by all the traps and leads Princess Isabella, who is unscathed, safely upstairs, and pushes her into a dark room.

At the foot of the Unclimbable Mountain of Unclimbableness, Buford says that what he hates the most about the Unclimbable Mountain of Unclimbableness is that the Uncrossable River of Uncrossableness flows between them and the Unclimbable Mountain. Baljeet wonders about who makes up these names and they see a man sitting under a banner which reads, "Redundant Scribe of Redundantness". Ferb uses a Grappling Hook and a carriage to carry them across the river. Phineas next somehow pulls a large machine out of his small bag, and they begin climbing the mountain.

Alt Candace in doof dynasty

Where are they?

Candace follows them on foot and after several attempts, crosses the Uncrossable River and starts climbing up the Unclimbable Mountain. She calls the mountain the "Stupid Mountain of Stupidness" and suddenly the man from before pops out of a cave and states that that was what he was originally going to call the mountain. This causes Candace to stumble and fall.

Phineas and the others finally reach the top and see that Master Perry is flying a Chinese kite. They tell him about the situation and ask him that why did he leave fighting. Master Perry starts a "ripple dissolve" effect, and Phineas asks what he is doing. Ferb answers that it is a "ripple dissolve" and that he must be having a flashback. Phineas wonders does he know that they cannot see it. At last, Master Perry comes back from the flashback (which is unknown to us). Phineas says that if he will not come, he should teach them some fighting tactics; Perry agrees and leads them through an intense training regime.

At last, after their training is complete, the boys again climb on the giant mobile jaou and go to fight Doofus Khan. Candace appears after the boys have left and asks Master Perry about the boys. He again starts a "ripple dissolve"; Candace comments that she can't see what he is remembering.

The boys reach Doofus Khan's castle at last. They crash and Buford comments that Baljeet shouldn't have been driving. But they crash inside the castle, in front of the booby trap staircase. Phineas and Ferb dodge the booby traps and tell Buford to fight the soldiers. Phineas reaches the top and comments that it was good they had a Yak bladder. He tells Princess Isabella that they are here to save her and she should stay away from the door. Before they can break down her door, Princess Isabella comes rushing out and embraces Phineas. They slide down the railing and see that Buford has defeated all the soldiers. Phineas wonders how and Buford starts a "ripple dissolve" effect. Phineas says that they don't have time for a flashback. Buford says that it was not a flashback, he was just rippling because it relaxes him.

Princess Isabella hugging Phineas

They escape with Princess Isabella, but Doofus Khan sees them and brings out his controlled robotic dragon. He goes to Regent Monogram's castle. Regent Monogram asks him what has he done with the Princess and he replies that she hadn't run away. Regent Monogram tells Carl to duck, but Carl says "it's a dragon, sir and not a duck." He then gets hit by the dragon's tail and then understands the real meaning of what Regent Monogram said.

The dragon starts burning areas around it. Suddenly, a giant terracotta warrior appears, which was being controlled by Phineas, Ferb, Baljeet, Buford and Princess Isabella. He punches the dragon and the dragon tries to burn it. But he is not burnt because he is made of terracotta. They start fighting. Regent Monogram comments that the Japanese would "love this".

Candace shouting Phineas and Ferb


Candace comes over and shockingly sees the huge terracotta warrior, and instantly runs away to tell Mom about it.

The dragon is slapped by the warrior. But the dragon tricks the warrior and pulls its key out. Without the key, the warrior tends to stop and is unable to fight. Doofus Khan's dragon picks up a Chinese house and was going to throw it on the warrior. Princess Isabella wants to know where the dragon's key is. Doofus Khan says that only a great master and warrior can know where he has hidden his key. Suddenly, Master Perry appears flying from the same Chinese kite which he was flying. He climbs in the dragon's mouth and rolls its tongue back, revealing the key under it. Ferb pulls it out using a rope and Master Perry climbs out of the dragon's mouth.

The Chinese house picked up by the dragon falls on itself and the dragon begins to fall on the terracotta warrior. Phineas and others climb out of the warrior as the warrior breaks due to the dragon. Mom arrives only to a pile of rubble and tells Candace that a giant man controlled terracotta warrior is impossible because the technology is not that advanced for it. Princess Isabella meets Regent Monogram, they hug and are very happy.

Ancient Phineas and Ferb

Phineas and Ferb after finishing building the Great Wall.

Doofus Khan is given a Chinese finger trap as handcuffs, which is stuck by General Carl on his hands. A taunting scroll sticks on his head, showing Regent Monogram teasing him. Regent Monogram thanks the boys and says that there should be a system to protect them from further attacks; Princess Isabella points out that the terracotta pieces would make a Great Wall. Phineas says that he knows what to do today.

Many, many years later, an elderly Phineas and Ferb have completed building the Great Wall of China. Phineas says that it took longer than expected and Ferb states it really is a Great Wall. Phineas asks what they'll do tomorrow; Ferb walks away. Phineas says that he was just joking, and they should play mahjong.


End Credits

Second verse of The Way of the Platypus

Running Gags

The "Too Young" Line


Ferb's Line

Seeing Perry rippling

Phineas: What's he doing?
Ferb: That's a ripple dissolve. He must be having a flashback.

Phineas: Does he know that we can't see it?
Ferb: (In The Way of the Platypus) Milk!
Many many years later, and finish building the great wall.

Elderly Phineas: Well, that took longer than expected.
Elderly Ferb: But, it is a great wall.

Elderly Phineas: Yeah. So, what you wanna do tomorrow? (Ferb glares at him and leaves) What? I kid. We can rest, how about a game of mahjong?

Whatcha doin'?

Background singer: (In The Way of the Platypus) You squeeze a silkworm, what'cha think you're gonna get?

The "What'cha doin'?" theme music is heard twice over Princess Isabella's scenes even though she does not say it.

Perry's entrance to his lair


Evil Jingle

Doofus Khan multi-level yurt!

The bird that runs into Phineas and Ferb's invention

A bird runs into a giant terracotta warrior.

Memorable Quotes

Phineas: There it is, the Unclimbable Mountain of Unclimbableness.

Buford: You know what I hate about the Unclimbable Mountain of Unclimbableness, just to get there you have to cross the Uncrossable River of Uncrossableness.
Baljeet: Who named all these things?

Buford: That guy over there, the Redundant Scribe of Redundantness.
Baljeet: Look, Chinese visirating fish! Although, here in China, I suppose they are called visirating fish. Candace: "Oh, but here, we just call them"- (falls over the river and screams)
Candace: Stupid mountain of stupidness!

Redundant Scribe of Redundantness: Actually, that was my original name for it!
(Candace falls off the mountain, screaming)

'Redundant Scribe of Redundantness: Oops, my bad, sorry, my apologizes, mea culpa!
Phineas: Master Perry, this is a great honor.

Buford: Can you believe he's a platypus?

Baljeet: Phineas pulled a jaou with giant, mechanical feet out of his backpack and that is what bugs you?
Phineas: Master Perry, are you sure you don't want to come with us?

(Perry begins rippling)
Buford: He's doing it again.
(they leave on another jaou, this one with a giant pogo stick attached to the bottom)
All: Good bye, Master Perry!
(Candace finally reaches the top of the mountain and is angry)

Candace: Where are they? (Perry resumes rippling) You know I can't see anything, right?
Phineas: Holy mackerel! how did you guys defeat all these soldiers?

Soldier: We're okay.
Buford: There was nothing to it. (Buford starts rippling)
Phineas: There's no time for flashbacks! We have to go!

Buford: What flashback? I'm just rippling! It relaxes me.
Regent Monogram: Doofus Khan, you barbarian!

Doofus Khan: I know I am, but what are you? Nah! Ha, you like the tongue? Set me back a week but totally worth it.
Regent Monogram: Carl, duck!

General Carl: No actually sir, it's a dra- (The mechanical dragon's tail hit him) Ow! Oh, that kinda duck.
Doofus Khan: (while the giant robot goes into a crane position) Oh, look he's doing that "crane" thing. (the robot karate punches the dragon robot) Y'know, four centuries from now, that movie is gonna be real cliché!
As Mechanical dragon and Terracotta warrior clash
Regent Monogram: They would love this over in Japan.
Doofus Khan: Allow me to put you to sleep!

(With his Mechanical dragon, Doof grabs a house and raises it in the air)

Princess Isabella: Ew! Who puts armpit hair on a mechanical dragon?

Background Information

Production Information

  • This episode was first revealed as an "unnamed ancient Chinese episode" on page 10 of the Across the 2nd Dimension Official Movie Magazine in an interview with Dan and Swampy. The title was confirmed as "Doof Dynasty" in the Disney XD TV schedule in Germany on September 17, 2011.
  • In 2012, background painter Jill Daniels won a Primetime Emmy Award for Outstanding Individual in Animation for her work on this episode.
  • This episode was aired in Disney Channel On Demand on January 7, 2012.
  • Aired in the UK as part of a series of time shift episodes.

International Premieres

  • November 4, 2011 (Disney Channel India)
  • November 5, 2011 (Channel 13 Chile)
  • November 19, 2011 (Seven Network Australia)
  • November 24, 2011 (Disney XD Netherlands)
  • January 27, 2012 (Family Channel)
  • February 24, 2012 (Disney Channel Brazil and Latin America)
  • February 29, 2012 (Disney Channel Asia)
  • March 24, 2012 (Disney XD Spain)
  • April 2, 2012 (Disney XD Italy)
  • April 7, 2012 (Disney XD Scandinavia)
  • April 10, 2012 (Disney XD Poland)
  • June 16, 2012 (Disney Channel Portugal)


Baljeet has two right hands-

Baljeet with three hands.

  • When Buford was standing on Baljeet's shoulders for a second time, Baljeet has 2 right hands.
  • Ferb's bigger eye was in front when Baljeet smacks the wood in "The Way of the Platypus".
  • The Great Wall was actually built in 50-15 B.C.
  • There was no armpit hair on the dragon.
  • When Phineas and the others visit Perry on the mountain, he only has 3 strands of hair but when he comes on the air glider, He has much more hair and it is in a bun.
  • When Doofus Khan is leading Princess Isabella to the dungeon tower and the spear hits the wall next to the door, the red ribbon quickly disappears, but when Phineas and Ferb save her, the ribbon stays on the spear.
  • When Doofus Khan sent Isabella to the dungeon tower, he locked the door so she couldn't escape. But when Phineas and Ferb arrive to save her, she opens the door from inside the cell.
  • When Doofus Khan's dragon is fighting the terracotta Warrior, the two people on the hill in front of them change.
  • When Candace shows Linda the terracotta warrior near the end, the warrior is really the noticeable rubble on the ground but for some reason, Linda didn't notice it.
  • The key on the giant terracotta warrior was not shown at first.


  • The Great Khans - Doofenshmirtz's alternate name "Doofus Khan" and his character could be an allusion at the most successful Mongolian ruler Genghis Khan, or to his grandson Kublai Khan, who established the Yuan Dynasty in China.
  • Way of the Dragon - The Way of the Platypus is similarly named to Way of the Dragon, a movie produced, directed and starring Hong Kong's famous martial artist Bruce Lee.
  • The Karate Kid - The moment with Buford and the sponge could be an allusion to The Karate Kid. The "crane" move the kids use on Doofus Khan is also in this movie. The song itself is a parody of "You're the Best" from the movie.
  • Star Wars - When the song The Way of the Platypus is played, a Yoda like character uses The Force to lift a heavy object, just like in The Empire Strikes Back.
  • Rocky - The sequences during The Way of the Platypus are similar with many Rocky movies, specially scenes were Rocky trains to become stronger. Also, the ending of the song is similar to the ending of Rocky III.
  • Super Sentai/Power Rangers - At the end of the episode, Doofus Khan is fighting in a gigantic mecha dragon and the gang are fighting in a giant terracotta soldier. This could be an allusion to Power Rangers and the show's season two when the Megazord fights against Lord Zedd's Serpentera. Monogram's comment may also be a reference to all of the giant robot fights in both power rangers and super sentai.
  • Platoon - The part where Baljeet throws his arms in the air during "The Way of the Platypus" is a reference to the famous scene in this movie, where Elias fell to his knees with arms in the air. This in turn was based off a famous Vietnam War picture.
  • Yu-Gi-Oh! - The door to Doofus Khan's Penthouse Dungeon looks similar to the back of Duel Monster cards seen in the Yu-Gi-Oh! anime.
  • Godzilla - Doofus Khan's mecha dragon uses Godzilla's roar when it heads to the castle. The whole fight between the mecha dragon and terracotta warrior is similar to fights in Godzilla movies. This is why Regent Monogram says "They would love this over in Japan" because Godzilla is from Japan, China's neighboring country.
  • "Super Mario Bros." games - The plot resembles that of the Super Mario Bros., when Mario attempts to rescue Princess Peach from Bowser. Also, the end of the episode includes a battle between the boys and Doofus Khan, much like the end of a Super Mario Bros. game when Mario battles Bowser and his minions.
  • Pee-Wee's Big Adventure - When Doofus Khan says "I know I am but what are you?", this turns out to be a spoonerism of a phrase Pee Wee Herman (Paul Reubens) said in the 1986 movie.

To Disney Media


Phineas and Ferb Wiki-wordmark This page uses Creative Commons Licensed content from the The Phineas and Ferb Wiki. The list of authors can be seen in the page revision history (view authors). As with Disney Wiki, the text of The Phineas and Ferb Wiki is available under the CC-by-SA Free Documentation License.