Board Thread:General Discussion/@comment-25939892-20141229225619/@comment-24133975-20141229232002

That happens when night ends and day begins. Skeletron Prime typically can't be fought during the day, so what you just experienced is the result of taking too long to fight him; he gains an insane speed boost and flies at you, inflicting ~1,000 damage per a hit.