Ooh, Cave Story! Immediately recognized it before even expanding the thumbnail. 🤣
Backstory for the game gets pretty dark, and then the backstory for the true ending (which is separate from the backstory for the regular ending) is a different flavor of dark. So, from what I know of Undertale, the comparison is probably apt.