Huh, did you write "Floating in the Mind" on fanfiction.net, by any chance? I haven't fully read it, but in the description 3 girls on a rival hockey team cause Riley to fall into a coma.
And with Gloom ursurping control, I can't help but think that if we go with the "alternate Riley" interpretation, she tries to take over Riley's mind and such.