Mecha Sonic Tip
An easier way to beat Mecha Sonic after collecting the 5 tokens is to first capture Mecha Tails who is easier to get than the Sonic and then use Mecha Tails against Mecha Sonic, cutting across the water to get a lead. Always make sure you run through the ruins or the open 20 ring door.