Switches
Switches is the floor, eye and crystal switches that set a switch flag in Ocarina of Time.
Placement
Draws from the dungeon keep object. Dungeons load it on their own, and Prelude adds it to the room anywhere else.
Type variants (5)
This actor is placed in one of these forms. Pick it from the editor's Type dropdown. The value is what the actor's parameters store. Each picture is fitted to its cell, so compare the stated sizes and not the images.
| Value | Type | |
|---|---|---|
![]() | 0 | Floor~10 units tall |
![]() | 1 | Rusty Floor (Hammer)~10 units tall |
| No preview yet | 2 | Eye (Arrow) |
![]() | 3 | Crystal~47 units tall |
![]() | 4 | Crystal (Targetable)~47 units tallLink can lock on to it with Z. |
Parameters
Beyond the type above, the parameters hold these fields. The editor shows each as a labelled control.
Shown: 0x0000, the value a newly placed copy starts with.
- Type
bits 0–2:0Floor,1Rusty Floor (Hammer),2Eye (Arrow),3Crystal,4Crystal (Targetable)5 of 8 values used - Subtype
bits 4–6:0One-Shot: Stays pressed once used, until something else clears its flag.1Toggle: Each use flips the flag on or off.2Hold (floor): Sets the flag only while something stands on it.3Inverse Hold (floor): Clears the flag while pressed and sets it while released.4Synced One-Shot (crystal): A crystal that also lights up on its own when something else sets its flag.5 of 8 values usedHow the switch treats its flag. Pick a subtype the type supports. A floor takes One-Shot, Toggle, Hold or Inverse Hold. An eye takes One-Shot or Toggle. A crystal takes One-Shot, Toggle or Synced One-Shot. Any other pairing draws nothing or crashes. - Frozen (Red Ice)
bit 7: on / offWraps the switch in red ice. Blue Fire melts it. The ice needs no extra object. - Switch Flag
bits 8–13: 0–63all 64 values usedSet when the switch is pressed. If the flag is already set in the save file, the switch starts pressed: floor down, eye closed, crystal lit. One of the scene's 64 switch flags. Actors that share a number are linked: when one sets it, every actor reading it reacts. Flags 0 to 31 are saved with the game, 32 to 55 reset when you leave the scene, and 56 to 63 reset on every room change. Pick a number nothing else in this scene uses unless you mean to link them. The panel's link list shows who shares it.
Appears in (9)
Deku Tree
Dodongos Cavern
Fire Temple
Forest Temple
Gerudo Training Ground
Inside Ganons Castle
Shadow Temple
Spirit Temple
Water TempleModel
What this actor draws, and where each piece lives in the archive. A mod replaces a piece by writing a file at the same path.
| Display list | objects/gameplay_dangeon_keep/gFloorSwitch1DL |
|---|
| Display list | objects/gameplay_dangeon_keep/gRustyFloorSwitchDL |
|---|
| Display list | objects/gameplay_dangeon_keep/gCrystalSwitchCoreOpaDL |
|---|
Objects loaded
objects/gameplay_dangeon_keepshared with 10 other actors
An edit to a shared object reaches every actor that loads it.
Switch actors
Anubis Spawn · Smoke Cone (Death Mountain Crater) · Sun Emblem Switch (Spirit Temple) · Switches (Inside Lord Jabu-Jabu)



