Is Shadow the Hedgehog evil or good?

Is Shadow the Hedgehog evil or good?

When shadow debuted in Sonic adventure 2 for the dreamcast (later ported to the gamecube as sonic adventure 2 battle)he was an evil character,yet every game has made him good at the end. Shadow has more of a friendly rivalry with sonic but in this game shadow is willing to kill to find out his past.

See also  What is the longest World Series game ever played?