Cave state

From ALttP Speedrunning Wiki
Revision as of 12:30, 4 December 2018 by Kan (talk | contribs) (Created page with "'''Cave state''' refers to sneaking the dungeon ID {{WRAM|40C}} for caves {{HEX|FF}} into ares of the underworld that are part of dungeons. There is a second cave state, {{HEX...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cave state refers to sneaking the dungeon ID $040C for caves 0xFF into ares of the underworld that are part of dungeons. There is a second cave state, 0xFD, obtained by using the throne room door while in the standard cave state.

Effects

Small keys

Every time Link enters a cave, the address that holds his current key count $00F36F will be set to -1, meaning "Don't show keys". In hexadecimal, this is 0xFF, or 255 as an unsigned value. Doors only check for 0 small keys, meaning that the dummy value of 0xFF will behave as 255 keys.

Big keys

When attempting to open a big chest or big key door or lock, the game's check will allow for one of several dungeon's big keys to pass.

Big keys that work in cave states
Dungeon
ID
Dungeon big key
Hyrule castle Sewers EP DP ToH Aga PoD SP SW TT IP MM TR GT
0xFF Yes.svg Yes.svg No.svg No.svg No.svg Yes.svg Yes.svg No.svg No.svg Yes.svg No.svg No.svg No.svg Yes.svg
0xFD No.svg No.svg No.svg No.svg No.svg Yes.svg Yes.svg Yes.svg Yes.svg No.svg Yes.svg Yes.svg No.svg Yes.svg

When grabbing a key in cave state, multiple dungeons' big keys will be marked as obtained.

Big keys that get set in cave states
Dungeon
ID
Dungeon big key marked
Hyrule castle Sewers EP DP ToH Aga PoD SP SW TT IP MM TR GT
0xFF Yes.svg Yes.svg No.svg Yes.svg Yes.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg
0xFD Yes.svg Yes.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg No.svg

Mirror usage

The mirror cannot be used in the standard cave state, but it can be used in the throne roomed cave state. Doing so will return Link to the original entrance he came in, as if it were a dungeon.