I think most of the stuff to do with Sonic is copyright, but the actual NAME “Sonic the Hedgehog” is a trademark. So if you were making a fan game, you could probably avoid any involvement of trademark law and stick purely to copyright law by going the Pokémon route and asking the player what they want to call the…