Twilight goes back in time after seeing the shows version of herself time traveling with starlight, so she can save her wasteland future from happening, by spreading friendship
After The Friendship Group saved Equestria from the eternal winter, a new force comes to turn the world into a stormy Wasteland