ok here's my question according to sonic the hedgehog issue#171 he was
created by professor Gerald and black doom who wanted shadow for a weapon but professor Gerald turned him into a savior for planet mobius
but the game shadow the hedgehog he was born please tell me which one
is correct ^ ^ *_~
Despite the games and comics having their own continuities, you're mistaken in thinking the backstory is different. In both Shadow was genetically engineered by Professor Gerald Robotnik with assistance from Black Doom.

~Crazy C Lea