The first and second endings give hints, although not perfectly intuitive due to the pixel art. I ended up getting it by looking at the code and guessing :P