Shadow isn't a playable character in Sonic Advance 2 itself. However, if you want to control him, the online Flash game Ultimate Flash Sonic lets you unlock Shadow by entering a special code. Once unlocked, you can also access Amy and various unlockable abilities, giving you plenty to explore in that fan-made version.