One of the scenes in the training montage shows Dipper having his eyes held open by the Manotaurs and being shown inspirational posters, which is a reference to the Ludovico technique from the book and the movie, A Clockwork Orange.
Mabel and Waddles eating the same slice of pizza from different ends references the scene in the Disney animated film, Lady and the Tramp, where the main characters eat a single strand of spaghetti from either end.
At the end of the episode, Dipper quotes the line "That'll do, pig. That'll do," from the novel and the film, Babe.
The cryptogram at the end of the episode says "NOT H.G. WELLS APPROVED." This references the science fiction novella The Time Machine, by H. G. Wells.
The character "Beastor" appears to be similar to Blanka from the Street Fighter series.
Rumble throwing barrels after Robbie, who must jump over them, is a reference to the arcade game Donkey Kong, in which the player must leap over barrels thrown by a gorilla.
Rumble McSkirmish punching the car in the "bonus round" is a reference to an identical bonus level in Street Fighter 2 and Final Fight. "Oh my Car" is a reference to a man saying the same at the end of the bonus round.
The combo move Rumble uses to defeat Dipper ends with the latter lying on the ground below the former, who faces away from the screen with a glowing red symbol on his back - a reference to Akuma from the Street Fighter series, whose infamous "Raging Demon" combo move ends this same way.
Mr. Adequate-bar is a reference to Mr. Goodbar candy bars, and Count Discount is a reference to Count Chocula cereal.
When the boys tell Stan that they're not scared, Stan replies, "Oh, you will be. You will be." This is the same response Yoda gives Luke Skywalker to the latter not being scared in The Empire Strikes Back.
Stan pretending to have Waddles jump out of his stomach is a reference to the Ridley Scott film Alien, in which the aliens impregnate the humans by laying their eggs in the human's mouths. When the eggs hatch, they burst out of the human's chest, killing them. The same reference occurs when Soos bursts out of the Summerween Trickster, screeching.
When decoded, the cryptogram in the end credits reads "HEAVY IS THE HEAD THAT WEARS THE FEZ." This is a reference William Shakespeare'sHenry IV, Part 2, in which King Henry says the famous line, "uneasy lies the head that wears the crown," which is often misquoted as "heavy is the head that wears the crown (Act III, Scene i)."
The incantation Dipper says to transport them all into Stan's mind includes a jab at the movie Inception. One part of the incantation is "Inceptus Nolanus overratus," which is broken Latin, essentially meaning "Nolan'sInception is overrated."
The end credits are an homage to the opening credits of the TV series Twin Peaks.
Like Angelo Badalamenti's instrumental "Falling," the Gravity Falls Theme Song plays over a very slow pan across a waterfall and down a lazy river through the forest.
A woodpecker can be heard, echoing the Bewick's Wren seen at the start of the Twin Peaks opening credit montage.
The Gravity Falls ending theme has been drastically slowed from its familiar racing beat down to the tempo of very relaxed breathing, matching the tempo of the Twin Peaks theme.
At this pace, the Gravity Falls theme only plays through halfway, trailing off just when we anticipate the theme's bridge picking up in intensity. This surprising tempo change is borrowed from a second track, the title track from Badalamenti and David Lynch's album Floating Into the Night, sung by Julee Cruise, composed by Angelo Badalamenti with lyrics written by David Lynch.
Once Twin Peaks had been canceled, Lynch wrote the finale to be the most dramatic and disturbing cliffhanger possible. When the frantic pace of the Mystery Shack's imminent destruction suddenly shifts into tranquility, the abrupt transition is familiarly Lynchean.