10 minutes earlier...
(Rainbow Dash): Call it, Twilight.
(Twilight): Alright, listen up. Until we can get the Elements of Harmony back, we're gonna use containment. Pinkie, I want you on that roof, eyes on everything. Call out patterns and strays. Fluttershy, you got the perimeter. Anything gets more than three stadia out, you turn it back or you stare it down.
(Pinkie Pie): Wanna give me a lift?
(Fluttershy): Right. Better clench up, party animal.
[Fluttershy lifts Pinkie up to the roof]
(Twilight): Dash, you've gotta try and bottleneck Nightmare moon into a chokepoint. You got the sonic rainboom; send her flying.
(Twilight): [To Rarity] You and me, we stay here on the ground, keep the fighting here. And Applejack? Buck.
[Applejack grins and runs off]
Background from: [link]