The entire tower has a limited number of monsters, keys, gems, and potions. The goal of the game is to reach the top of the tower while climbing the tower in the most efficient route.
If you can't open the door due to the lack of a key, such as a blockage due to the fact that you cannot catch the monster while playing the game, you must inevitably start over or load the saved data.
Therefore, it is a way to clear the game by identifying the most efficient route from the beginning. The difficulty of the game is quite high, so it's important to figure out the effective route by trying several times rather than thinking of clearing it all at once.