Unfair Science Fair

Baljeet is discouraged about his prospects at a science fair, so Phineas and Ferb decide to help him build a portal to Mars. Candace competes with Wendy for a job to be with Jeremy. Dr. Doofenshmirtz seeks to overcome a past rival: a bicarbonate volcano.

Episode Summary
Phineas and Ferb meet Isabella in their backyard, and she tells them to go see Baljeet. She says she heard him wailing with despair that he was a "total flunkie" when passing by his house. Phineas says it sounds pretty serious, so the boys stop by Baljeet's house, only to find him sitting in his messy room in total darkness. They ask him what's wrong and he says that he qualified for the science fair. They don't see a reason to be despaired about that, so Baljeet tells them that he told his teacher, Mr. McGillicuddy, that he would make a portal to Mars for his science project, but Mr. McGillicuddy said that it is impossible to make such a thing, so he will only give Baljeet an A-. This would be the lowest grade Baljeet has ever gotten in his life. Baljeet, not being "mechanically inclined", asks Phineas and Ferb to help build a portal to Mars for him, and they agree to help him. Phineas agrees, then wonders where Perry is.

Perry is shown sneaking into a filing cabinet and landing in his lair, where he awaits instructions from Major Monogram. Major Monogram is caught dead in the embarassing act of putting on a wig. He hurriedly puts it on lopsided and begins to fill in Perry on his mission, fixing it as he talks. It seems that Doofenshmirtz has purchased chickenwire, 3 metric tons of baking soda, and Lederhosen, and Perry is to figure out why.

Phineas, Ferb, and Baljeet begin construction on Baljeet's Portal to Mars. Baljeet is shown to be completely clueless about building things; he hits nail with the wrong end of hammers or with wrenches, gets wrenches stuck on his nose, etc. Phineas and Ferb, meanwhile, finish the portal with ease and enjoyment, despite Baljeet. The next day, Baljeet is shown standing at the science fair with Phineas and Ferb with a huge smile on his face. He is already set up; he tells them that he has been waiting since midnight and he can't stop smiling. Phineas shakes out his cheeks to loosen up the cramps, but soon the huge smile is back.

Meanwhile, Candace is seen using binoculars at Mr. Slushy Dawg to spy on Jeremy. He spots her (she's sitting only about 2 yards away), so she tries to tell him that she bought them for her dad and was testing them to see if they worked. Then she sees the "Help Wanted" sign on the counter. Jeremy tells her that they are looking for another employee, and that she should apply; however, when Candace starts to accept the offer, Wendy walks in front of Candace with a huge smile and perky, motivated attitude and says that she has come to take the job too. The manager comes over and tells them that they will have a competition to see who gets the job first. Wendy shows her uglier, competitive side towards Candace when she holds out her hand to shake for luck, then snatches it away and announces that she'll call Candace "Mo-lasses."

Perry is shown tailing Dr. Doofenshmirtz's car with a jet pack. When they enter a parking garage, he jumps into the car. Doofenshmirtz immediately traps him into a baby's car seat. He then treats Perry to a display of his hairy man-legs, claiming that can wear Lederhosen because he's "got the legs for it." A car behind them honks and the driver shouts at them. Doofenshmirtz mistakes the person as a man, telling Perry that people must mistake her as a man all the time on the phone; unfortunately, the woman had gotten out of her car and was standing right outside his window as he says this. He tries to roll up the window, but not in time to avoid getting a black eye.

While waiting in line for the science fair, Doofenshmirtz (pulling Perry and the car seat in a wagon) makes fun of a kid in front of him with a model of Pluto. He starts to ramble on about how Pluto isn't considered to be a planet anymore. The kid's older brother, who it seem was the real competitor, overhears him and punches Doofenshmirtz for insulting Pluto, leaving him with two black eyes.

Doofenshmirtz then relates to Perry why he is even bothering putting himself through all of this. He says that when he was young, his inventions, which he referred to as simply "Inator", always lost to a baking soda volcano at the science fair. Even when he did poetry, he still lost to baking soda volcanos. So he has decided to create the biggest baking soda volcano ever. At this point, they are called as next in line, so he hurries to check himself in. The check-in man says, "Aren't you too old to be entering this science fair?", to which Doofenshmirtz replies, "No, what makes you say that? I mean, come on, look at me - I'm wearing Lederhosen!". The man admits him int the science fair; evidently, this is the reason why he was wearing the Lederhosen.

Meanwhile, Mr. McGillicuddy comes over and sees the portal to Mars that Phineas and Ferb built for Baljeet. He is a first skeptical that it could actually operate and function properly, so Baljeet fires it up. Through the portal, they can see an alien science fair, parallel to their own. Mr. McGillicuddy grows extremely excited, gives Baljeet an A+++, and runs off to show the judges what Baljeet has made. Meanwhile, Doofenshmirtz is preparing his own project; there is apparently a light show that goes along with his huge volcano, so he goes and unplugs Baljeet's project to make way for his own. Therefore, when the judges come over, Baljeet's project does not operate, and the judges are now skeptical of Mr. McGillicuddy. Pushing Baljeet out of the way, he tries to pull the lever himself and it still won't work. When he tries calling through the portal to the Martians, the judges glance at eachother, look askance at him, and go for corndogs. Meanwhile, he is still trying to operate the machine; he turns it up to high and tries to pull the lever again, with no results. Phineas says it's too bad Baljeet didn't win the science fair, to which Baljeet replies that he never cared about winning, but about the grade, so they all walk out for corndogs, leaving Mr. McGillicuddy with the machine.

Candace and Wendy prepare to compete for the job. The manager tells them to dress all the hotdogs in front of them and walks out, saying he will be back in a while to check their work. The girls face off Western-style, then pull out mustard and ketchup bottles and begin to furiously dress the dogs. Candace's ketchup runs out and she squeezes it, whining that it's out; it squirts out a huge blob of ketchupt, which lands on Wendy. Weny retaliates by squirting Candace with mustard, who shoots back a deluge of relish. Mandy puts a bottle of something that is either sour cream or mayonnaise on the table and slams a tray down on it, completely covering Candace. Candace throws a handful of pickle slices at her.

Mr. McGillicuddy finally notices that the machine is unplugged. He plugs it back into a high-voltage plug. Meanwhile, Perry escapes the car seat by jumping out of his pants (revealing that Perry wears green boxers with purple polka-dots). He runs over to where Doofenshmirtz is pouring vinegar into the volcano and jumps on top of him, knocking him over. Doofenshmirtz, now covered in vinegar, slips over the railing and lands in the volcano's mouth. The pressure in the baking-soda volcano build until finally it erupts explosively and Doofenshmirtz flies through the air, just as Mr. McGillicuddy turns on the portal. The portal sucks him into itself and transports him to Mars, along with the rubble from the exploded volcano, then it consumes itself. When Doofenshmirtz arrives in Mars, the aliens spot him and Doofenshmirtz thinks that they are about to crown him. However, the aliens crown the baking soda volcano that is sitting next to him.

Back at Mr. Slushy Dawg, Candace and Wendy have both used up all the mustard, relish, and ketchup, which makes them both lose the job. Phineas, Ferb, Isabella, and Baljeet are eating corn dogs, when Isabella asks then that she couldn't believe that they'd built a portal to Mars, but didn't actually use it, and Ferb replies by telling her, "We did, but that's another story."

Songs

 * Baliwood

Ferb's Line
He also appears to sing the word "pureéd" in the "Baliwood" song, along with Phineas and Baljeet.

Whatcha doin'?
None.

Perry's entrance to his lair
Enters through the file cabinet in the living room and falls into his chair, pieces of paper flying around him.

Evil Jingle
None.

Background Information

 * Produced during the Season 1 time period, but broadcast as the 46th episode for both Disney XD and Disney Channel US. The Disney XD premiere was on February 17, 2009 and the Disney Channel US premiere was on March 20, 2009. It still uses the Season 1 title sequence.
 * This is a bonus episode on the The Daze of Summer DVD.
 * Episode description from a 2009 Disney XD Phineas and Ferb press release:


 * Brian Stepanek ("Brian O'Brian" and "The Suite Life of Zack & Cody") and Brenda Song ("The Suite Life on Deck") guest star in an episode in which Phineas and Ferb must step in to help their neighbor, Baljeet, with his science project, a portal to Mars, while Dr. Doofenshmirtz also enters the fair in an attempt to redeem himself after an embarrassing loss years ago. Meanwhile, Candace competes with another girl (guest star Brenda Song) for a job at the Mr. Slushy Burger, where Jeremy works. Stepanek plays the hiring manager.


 * Ashley Tisdale, the voice of Candace, previously co-stared with guest stars Brenda Song and Brian Stepanek in "The Suite Life Of Zack and Cody", where she played main character Maddie Fitzpatrick voice Candace and Wendy in this episode.
 * When Perry escapes some of his fur comes off revealing that he wears green boxer shorts with purple polka dots on them (This is the first time we see Perry in his underwear; the next is in Perry Lays an Egg).
 * Baljeet is clearly not at all "mechanically inclined", as demonstrated throughout the construction of the portal to Mars.
 * This episode shows that Phineas, Ferb, and their main group of friends are not vegetarian (they are seen eatin corn dogs at the end).

Errors

 * The caption beneath Baljeet's forefathers reads "FOREFTATHERS".
 * Baljeet's paper says that he got an A++, not an A+++ like Mr. McGillicuddy said he had.
 * Perry is not shown in his car seat-trap after Doofenshmirtz gets punched by the unfortunately masculine woman.
 * Candace and Wendy took the mayo and relish out of nowhere, they only had ketchup and mustard.
 * In "Rollercoaster", you can see that Baljeet's house is next to the Flynn-Fletcher house, but Phineas and Ferb have to ride their bicycle to get there. As well, when the camera zooms out to a bird's eye view, to go follow Candace in Unfair Science Fair Redux (Another Story), it appears that their houses are far away.
 * When Baljeet, Ferb, and Phineas sing, "There's Perry!" Ferbs larger eye is infront of his little eye.
 * Perry should not have been able to enter his lair, as he is at Baljeet's house (he is seen leaving the backyard with the boys), and in Unfair Science Fair Redux (Another Story), Candace is seen walking by Perry just before he enters his lair, but she is at the Flynn-Flecher house.

Continuity

 * Doofenshmirtz says "Not one word, Perry the Platypus" in a way similar to the way the wife of the van company says "Not one word." ("Leave the Busting to Us!")
 * The girl who wins is one of the dancers in Shimmy Jimmy
 * When Candace says "Let's walk and talk," Doofenshimrtz says the same thing in "Out to Launch."

Judges at the Danville Science Fair

 * The white-haired judge with glasses that evaluated Baljeet's entry can be seen in one of the "smaller venues" that Love Händel played at. He was positioned behind Swampy.

Judges at a Science Fair in Druelselstein
From Dr. Doofenshmirtz's back story describing his childhood science fair experiences: Either both people originally lived in Druelselstein and later came to the United States, or it is coincidence that they look like J.B. and the station manager.
 * The white-haired judge looks like J.B. from "Toy to the World".
 * The brown-haired judge looks like the station manager from "Leave the Busting to Us!".

Allusions

 * When Doofenshmirtz and Perry are waiting in line, the music resembles Meet the Robinsons during a similar scene at a science fair.
 * One of the kids in Doofenshmirtz's flashback bears an uncanny resemblance to the title character of Pinocchio.
 * The Portal to Mars looks a lot like Stargate.
 * Doctor Octopus: the girl who wins the blue ribbon has four metal arms attached to her back similar to him.
 * At the beginning, the boys think of flying with bat wings like DC comic book superhero Batman.
 * Brenda Song's character is named Wendy and she starred in Wendy Wu: Homecoming Warrior and she played Wendy.
 * In the scene where Phineas, Ferb and Baljeet are building the portal to Mars, they are carrying a large pole where Baljeet is just hanging from the pole instead of helping them carry it. This directly mirrors a scene from King of the Hill where Hank, Dale and Bill are carrying a pole and Dale is the one goofing off.

Cast

 * Vincent Martella as Phineas
 * Ashley Tisdale as Candace
 * Thomas Sangster as Ferb
 * Caroline Rhea as Mom
 * Alyson Stoner as Isabella
 * Dan Povenmire as Dr. Doofenshmirtz
 * Jeff "Swampy" Marsh as Major Monogram
 * Dee Bradley Baker as Perry
 * Mitchel Musso as Jeremy
 * Maulik Pancholy as Baljeet
 * Brian Stepanek as Mr. McGillicuddy and the Unnamed Mr. Slushy Dawg Manager
 * Brenda Song as Wendy
 * Kelly Hu as Stacy
 * Additional voices by: Dee Bradley Baker, Tom Kenny, Jeff "Swampy" Marsh, Dan Povenmire, Caroline Rhea, Kevin Michael Richardson, Brian Stepanek, Kari Wahlgren


 *  designates a character that did not appear in this episode