The ponies still had their innate magic when Rainbow saved the students in School Raze; the magic draining in that episode was a sequential process and it wasn't until the third day where they were going to no longer be able to fly.
It was literally stated in G4 that pegasi couldn't fly without their magic. G5 is still in the same continuity as G4.