In writing the script of the first film, "Equestria Girls", Meghan McCarthy went back to the self-titled two-part pilot episodes of "Friendship Is Magic", where Twilight Sparkle is sent to Ponyville for the first time and forced to meet new friends.