I fucked up not getting the third key, but the secret puzzle wasn't letting me input the castle order. It said BOTTOM to TOP right? So I did diamond spade heart and club, and the puzzle wouldn't open. There was an extra spade on the fifth floor but there's only four option...AH FUCK I'M A DIPSHIT. Maybe you put in a fifth spade and that doesn't reset the puzzle. ---