Sonic the Hedgehog 2 (movie)
Blaming himself for Tails' injuries, Sonic decides to face Robotnik and Knuckles alone and goes to the temple, where he fights with Knuckles to keep him from taking the Master Emerald. Seeing this as an opportunity, Robotnik uses the distraction to seize and fuse himself with the emerald, which explodes and sinks the temple into the water. With no use left for Knuckles, Robotnik betrays him and leaves him along with Sonic behind for dead. Working together, Sonic and Knuckles are able to escape just as Tails rescues them in a biplane. In Green Hills, Robotnik uses his new abilities to create a giant robot resembling himself. Sonic, Tails, and Knuckles work together to fight the robot and its accompanying drones and to reclaim the Master Emerald; however, it breaks, splitting into the seven Chaos Emeralds. Tom and Maddie save Sonic, who uses the Chaos Emeralds to transform into Super Sonic. He destroys the robot before dispersing the Emeralds and reverting to normal. In the aftermath, Robotnik is presumed dead and Knuckles fixes the Master Emerald from the remaining shards, before making a pact to protect it from evil with Sonic and Tails, and they start an idyllic life with the Wachowskis.