We see the genesis of Sonic 2 after the movie ends. Warning: Spoilers are speeding your way. Sonic the Hedgehog postcredits scenes, explained – CNET
Source: CNet