Act 1: Beginnings
Ok so movie begins with mysterious code on the screen, with basic directives, orders to eliminate Sonic the Hedgehog
We see a similar scene to the end of Sonic 3, but from Metal Sonics point of view.
The screen pans out, revealing it was being viewed by someone, that someone is revealed to be a miraculously living Robotnik, alongside an army of badniks and on top of a throne.
We cut back to Sonic, who meets Amy and questions who she is and where she came from.
Amy reveals that she was sent by GUN from a future where everything is in ruin and Robotnik is in charge, and Sonic disappeared/died, remembered as a great hero (and who Amy is a huge fangirl of) much to Sonics bewilderment.
Sonic goes back to his home without her, unsure if he can trust Amy where Tails, Knuckles, Tom, and Maddie are waiting for him.
It's revealed that Amy was actually not far behind Sonic, moving pretty fast herself, and Sonic, impressed, decides to let her join if she can keep up
Insert silly race sequence, Amy trips up, not knowing the environment as well as Sonic does, and in typical Amy fashion, is deeply impressed and infatuated by his mastery of his speed.
They end up back at Sonics home, and Sonic explains who Amy is and what she's here for. Tom and Maddie aren't even surprised that Sonic has found another friend and is already about to head on another adventure. Tails and Knuckles meet her, Tails is a bit scared of her strength, and Knuckles likes her tenacity.