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.
The outfit Robbie is wearing when he and Wendy first show up at the Mystery Shack is a reference to the outift worn by Donnie in Donnie Darko.
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 gave Luke Skywalker to the latter not being scared in The Empire Strikes Back.
In the scene where the boys show Stan a video of a kitten about to sleep but unexpectedly changes into a demon screaming, it resembles Regan's demon face from The Exorcist, which got infamous from Scary Maze Game and other pranks from YouTube videos (commonly referred to as "screamers"), and many other tricks.
Waddles jumping out of Stan's 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.
The candy Mr. Adequate-bar is a reference to the Mr. Goodbar candy bars, and Count Discount to Count Chocula.
The score playing during the shower scene with Stan is The Murder from Psycho.
The Summerween Trickster is voiced by Jeff Bennett, who you may recognize as another legendary haunt known for terrorizing children: Candlejack. Candlejack received some late internet fame for abducting people.
Stan blowing the final question on Cash Wheel, the answer to which was something Stan had dismissed earlier in the episode, is a reference to "The $99,000 Answer", an episode of The Honeymooners.
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)."
Several of Mabel's dance moves during her "Pig Dance Party" are similar to the famous montage scene in The Breakfast Club.
The scene picturing the mosquito in the sap is a reference to the Steven Spielberg movie Jurassic Park, which is a film adaptation based on Michael Crichton's [[wikipedia:Jurassic Park (novel)|novel] with the same name. Stan also says later that he should open a theme park with the dinosaurs: "Jurassic Sap Hole".
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.