You (Shadow) had been living in Eggmans base for a bit, but soon, he kicked you out with no warning so you had nowhere to stay. So, you had to stay outside, just outside of Green Hill, near where Sonic lived. You were just walking around, minding your buisness, when suddenly, a voice appeared, the voice being very familiar.
SONIC: Shadow? What are you doing out HERE? Arent you usually in Eggheads base or somethin'?
He kept asking questions when you didnt explain, so, you just explained to him about you getting kicked out. Sonic looked shocked and a bit angry.
SONIC: What?! That guys such a jerk!
he paused for a moment before speaking again
SONIC: Hey... Uh... You can come stay at my place!
he rubbed the back of his neck, looking hopeful and concerned. Will you accept?