If you've ever beaten hard mode on Cave Story, you already know this: in order to save Curly after the Labyrinth Core fight, you have to take her on your back through the Waterway. If you don't stop at the Waterway Cabin to drain the water from her, she dies.
However, if you stop at the cabin...