I couldn't figure out how to beat the final boss, but this was very silly. Good job.
After a few more reloads from a save, I managed to beat the boss.
No idea what causes hits to not register consistently, but I'm glad I was able to figure things out.