Ganondorf is a minor character in the SMG4 series.
He is the main antagonist of The Legend of Zelda franchise and the episodes SM64 Bloopers: Can Ganondorf come out to play? and If Mario was in... Legend Of Zelda: Ocarina Of Time. He is a powerful and evil Gerudo warlord from the Hyrule dimension. He came to the Mushroom Kingdom dimension through a portal, where he kidnaps Princess Peach (who mistook her as Princess Zelda) and sets the events of the blooper in motion. He also appeared in R64: Stupid Smash Bros where Master Hand summoned him to torture Mario to hand over the Smash Ball but Ganondorf along with Mr. Game 'n' Watch and the Pikmins turned the place into a musical as they whaled on him.
Here, Ganondorf in his debut serves as the main antagonist. Leaving a crudely written note that reads, "I have stole your gurl", he casually strolls his way to Hyrule with Peach Toadstool in hand, easily shooting down Mario's attempts to do so otherwise. Upon arriving in his castle, he tells her he wants to make babies in order to take over the world, using her as fuel. However, Bowser interrupts his plan, resulting in Peach fleeing and accidentally falling off a window. The two kings try to revive the Princess, with no avail. When the Mario Bros. shows up, Mario orders Bob Bobowski to take on Ganondorf with his singing voice. Since Bob's singing is so awful, Ganondorf spazzes out and explodes.
Ganondorf serves as the secondary (and minor) antagonist here, turning what would be a battle against Mario in Final Destination into a villainous musical. When the Smash Ball activates, he seizes the opportunity to steal it and turn into Beast Ganon. Unfortunately for him, he ends up crashing into Master Hand, both ending up KO'ed.
He appears as the main antagonist, first appearing outside a window of Zelda's courtyard. He holds up a sign that reads, "Gon' steal yo kingdom!" while dancing in a goofy fashion. When Mario ends up making ruckus with the Master Sword for a short time, Ganondorf appears to suddenly darken the environment, desiring to confront the one who dares to wield the Sword and conquer evil. Navi tells Link that this is his opportunity to be recognized as the real chosen one. Before firing an energy ball, the Demon King tells Link that he must die. They both end up deflecting the projectile for a short time before Link fails to do so, thus electrocuting him and setting him on fire. As a result, Ganondorf victoriously dances, confronting Mario when Link gives the Italian an Ocarina. However, Mario ends up horrendously playing "Take on Me", much to everyone's annoyance. The Gerudo Wizard then smacks the instrument out of Mario's hands, and is about to pummel him before Luigi finds them both. When Ganondorf realizes that the Mario Bros. aren't paying attention, Mario demands the King of Evil to count in a game of hide and seek, and lights up a dynamite to place at his butt. Even when Mario and Luigi leave, the Wizard still is counting while Navi leaves Link to work as a lightbulb.
The King of Evil makes a minor role accompanying Crash Bandicoot, Bowser, and Dr. Eggman in coercing Toadette to give them her loot. The Gerudo King mocks Toadette’s statement of stating it was hers first, with the four members shortly being interrupted by Mario running over Crash and Toadette. Ganondorf, along with Bowser and Eggman, opened fire on the plumber’s car, causing him to crash near SMG4 and render themselves vulnerable. However, due to them not recognizing Mario and SMG4’s plans, he gets fooled into finding a detonating grenade, effectively eliminating him from the Battle Royale.
Ganondorf cameos in the Smash 5 trials by staring at Mario dancing over the new Smash Bros. coming into full swing.