This is how Midnight's flashbacks goes in My Little Pony: Equestria Girls: Legend of Everfree.
[Midnight wonders through the woods by himself]
Midnight: Why can't I remember who I am?
[He has a sudden flashback]
[The flashback shows Midnight bickering with a green transformer]
Midnight: [in flashback] You don't know what those things are!
Female Transformer: [in flashback] But, I know what they can do! [uses her magic to grow vines] I've been practicing! I can control thier power now!
Midnight: [in flashback] You don't know that for sure!