This is how it's all in the mind and Agalope tells Ryan about his Dark Star self goes in Ryan's and Crash's Adventures of My Little Pony: Equestria Girls - Legend of Everfree.
[That night the gang are asleep when Sunset hears rustling footsteps]
Cody Fairbrother: [wakes up] What's that?
Thomas: Someone's running away.
Evil Ryan: [gasps] Ryan and Sci-Twi. Come with me, Cody and Sunset Shimmer.
Sunset Shimmer: Twilight?
[Sunset peeks out and sees Sci-Twi running off with Ryan and Spike the Dog following]
Sunset Shimmer: Twilight! [shakes Adagio to wake her] Adagio! Wake up!
Adagio Dazzle: [yawns] What is it, Sunset?
Sunset Shimmer: Ryan's running away.
Adagio Dazzle: What?!
Evil Ryan: Shh! Be quiet. Do you want to get us caught?
Adagio Dazzle: We're not the ones running away.
Evil Ryan: What I meant to say was that we should follow them.
[Adagio nods and wakes up Aria and Sonata]
Sonata Dusk: [yawns]
Aria Blaze: What is it, Adagio?
Adagio Dazzle: We have to follow Ryanagio, Aria.
Ryan F-Freeman: Where do we need to go, Sci-Twi?
Sunset Shimmer: Ryan? What are you and Twilight doing?
Ryan F-Freeman: Oh. Hi, Sunset. I was taking Sci-Twi to find a cab to take us home.
Sci-Twi: Yeah. What he said.
Spike the dog: Ryan thought you could talk them out of it.
Cody Fairbrother: I could. Bro. Why are you leaving with Sci-Twi?
Sunset Shimmer: I know, but. Ryan. You and Twilight can't leave. [grabs Ryan's hand]
Wreck-It Ralph (EG): Great Scott! You don't think it was the spirit, do you!?
Ryan F-Freeman: Sci-Twi. Why are you worried?
Sci-Twi: I believe it's Midnight Sparkle, Ryan.
Ryan F-Freeman: And you think it's her boyfriend, Dark Ryan F-Freeman?
Sci-Twi: Yes. These two are a part of us. You and I can feel it. And I think Midnight's magic is infecting my friends.
Ryan F-Freeman: And Dark Ryan's magic is effecting my brother and my friends as well.
Ryan F-Freeman: How did you know what I was thinking?
Sunset Shimmer: When I touch your hand, I could see things. I could understand why you and Twilight are running away.
Cody Fairbrother: Wait. You can see through someone's mind?
Sunset Shimmer: Yes, Cody! I can't believe it! This is my new magic! This is incredible!
Ryan F-Freeman: No! It's not, Sunset! I infected you too!
Sci-Twi: Dark Ryan is a part of Ryan! He is the reason why he infected Cody!
Cody Fairbrother: Calm down, Twilight. You need to relax. [puts his hand on Sci-Twi then his eyes turn white]
Ryan F-Freeman: Sci-Twi. What if I use magic like you. Dark Ryan F-Freeman could take over.
[Cody's eyes turn to normal]
Cody Fairbrother: Sci-Twi. Dark Ryan is not here. Ryan is though.