How do I beat this POS

This is my first playthrough. I have gotten the dream no more ending. I beat first 2 pantheons as well. Couldn't beat 3 so I thought wth I'll fight NKG. Holy shit. I swear it wouldn't be so bad if each hit didn't do 2 masks of damage. I have most of his attacks down. The flame bat is avoided by jump and dash. The uppercut by shadow dash through and jump to opposite direction to avoid the flame. And the ground flame and spikes are telegraphed well and easy to avoid. The pufferball is annoying I almost guaranteed lose 2 masks there. The fucking bane of my existence is the needle dash towards me and then horizontally. TM was easy but NKG with the trailing flame is fucking unavoidable. Any tips on how to avoid this one. Or any overall tips are appreciated. But srsly fuck this boss.