I couldn't discern how the waves were affecting the ghosts, so I ended up letting the bad ones get away!
Cute aesthetic and nice music!