MEGALOVANIA

"MEGALOVANIA" is track #100 in the Undertale Soundtrack. It is a fast-paced song which plays during the final battle against Sans during the Genocide Route.

Origin
The song was originally known as "Megalovania" and was composed for Toby Fox's ROM hack of EarthBound that he created as a submission to Starmen.Net's Halloween Funfest.

This song was later reused in Homestuck as "MeGaLoVania" on the Homestuck Vol. 6: Heir Transparent album where it would make a brief appearance in the Trickster Mode of " [S] Past Karkat: Wake up.", then a full appearance in " [S Wake."]

Name
The word "Megalovania" is a combination of "Megalomania" and "Transylvania".

Megalomania is the boss theme from the game Live A Live, which served as an inspiration for Megalovania. Though Megalovania doesn't directly quote Megalomania's melody, it has a similar feeling and structure. In real life, megalomania is the delusion of being vastly more important and powerful than one really is. The word Transylvania was jammed into the name to give it a feeling reminiscent of Halloween.

Trivia

 * Toby Fox's mother calls MEGALOVANIA 'MEGALAVEGALA'.
 * "Megalomania" is characterized by arrogance to the point of delusion. It is for this reason that some fans have theorized that "Megalovania" is the theme for the player/Chara/Frisk, and not Sans, and that instead of you fighting Sans, Sans is fighting you. Sans additionally has his own, unused battle theme: Song That Might Play When You Fight Sans.
 * This is supported by the fact that Sans attacks first, something that the player usually does. He also dodges your every attack, something that a player can do but normal enemies cannot.
 * On the other hand, Sans' theme appears to be a slower, goofier variation of Megalovania.
 * According to an interview with Toby Fox, this was one of the six songs originally composed for other projects. The other five were Fallen Down, Heartache, Nyeh Heh Heh!, Bonetrousle, and Another Medium.