From ALttPR Wiki
(Redirected from Cave state)
Jump to navigation Jump to search

A cave is a location in the underworld that is not inside a dungeon.

The "cave state" is represented in the game as a separate dungeon ID ($FF). You can end up inside of dungeon rooms while remaining in cave state by using major glitches.

When you're in cave state:

Dungeons in cave state

In the Major Glitches ruleset, you can enter Palace of Darkness in cave state using Kiki Skip.

In the No Logic ruleset, you can straightforwardly bring cave state to:


A "megaroute" is a route in No Logic that visits multiple dungeons in Cave State, allowing you to open doors and collect items in many dungeons besides the four above.

The defining example of a megaroute uses two bottles:

A smaller megaroute (kiloroute?) requires only one bottle:

An extravagant megaroute if you have three bottles:

Follow the links to the dungeon pages for details on how to perform each of these transitions between dungeons.

Routes wanted

With the routes described above, you can get to any dungeon in cave state except Skull Woods (NL) and Turtle Rock (NL) (using hookpush). If you know such a way, please fill it in, or maybe let arborelia#9268 on Discord know about it so she can do so.

Small Keys

In normal gameplay, you will neither pick up or spend keys in cave state, but if you reach a dungeon room via a major glitch, you may interact with keys.

The number of Small Keys you have when you enter a cave is 255 ($FF, the largest number that can be stored in 8 bits). This signals to the game to hide the number of keys in the HUD. The first thing you should aim to do is spend a key to open a door, leaving you with 254 keys (which will show up as [glitchy red line]4 in the HUD).

If you pick up a Small Key that increases your key counter -- a key drop, a key in a chest in non-keysanity, or a "this dungeon" key in keysanity -- it will increase your temporary number of cave state keys. The worst case is that you have 255 keys and pick up another, which wraps around to 0. This leaves you with no cave state keys (until you re-enter cave state and have 255 again) and also uselessly removes the key you collected from the world.

After you pick up a key, the game caps your number of keys at 99. So if you have 254 or fewer keys and you gain a key, you will then have 99 keys, which is still more than enough. As long as you have spent a key, you'll be in no danger of overflowing to 0.

Big Key

There is no "cave big key", but there are four big keys that can be used as the big key in cave state:

If you have any of these Big Keys, you can open Big Key Doors and Big Chests in cave state.

If you pick up the Big Key of the dungeon you're in while in cave state (including the "big key of this dungeon" in keysanity), it will be useless. The Big Key it was intended to be will be gone. If you can't accomplish everything you'd need that key for, you may want to hard reset.