I'm starting to realize that the game is too hard for anyone to get to the boss fight. Maybe we should have considered that before spending multiple hours debugging it.
Had to check the game again for the boss. This time I got to wave 12. It was really good but I feel like the undyne part felt kinda weird and unfinished.