Ocarina of Time

Scenes

The Zelda 64 Engine is the core engine for both Ocarina of Time and Majora's Mask.

There are three major components to the Z64 Engine that are important to speedrunners: Scenes, Rooms (sometimes referred as maps), and Actors.

  • Scenes can be thought of as being a container for an entire area.
  • Rooms are smaller segments (like a room in a dungeon) of a scene.
  • Actors are the interactive elements and NPCs that make up the world.

Scenes

Only a single scene can be loaded at one time. Scenes can contain anywhere from 1 to 32 rooms, though the largest dungeon (Spirit Temple) in the game only has 29 rooms.

To illustrate, Kokiri Forest is broken down into three rooms:

  1. The "village"
  2. The maze where Link obtains the Kokiri Sword
  3. The meadow where the Great Deku Tree sits

Scenes contain a collision mesh that provides the collision data for every map in the scene. This mesh is always loaded while the scene is loaded, making it possible to walk inside the "unloaded" rooms without falling through.

Scenes also contain exits that load a new scene when touched. Exits are part of the collision mesh for the scene and are triggered by passing over them. Because they are part of the scene collision, you can always trigger an exit by reaching the exit's physical location, regardless of what map is loaded.

For example, if Kokiri Forest's "village" room is loaded, walking into where the Deku Tree's mouth would be will still transport you to the Inside the Deku Tree scene.

Exits can be thought of as being always "on"; only geography and actor placements are used to block access to them.

In some scenes, the rooms are not linked together, and instead are treated as separate locations. Because the scenes contain collision for all rooms, and exits are part of the collision mesh, you can potentially trigger the exit for a room you did not originally enter. This is known as Wrong Warping, but is unrelated to the newer Wrong Warp glitch.

Below is a short list of scenes which group together non-interconnected rooms/

  • Ocarina of Time
  • Grottos
  • Lon Lon Ranch's ranch house and silo buildings, but not the Stable
  • Majora's Mask
  • Fairy Fountains
  • Grottos

For example, in Majora's Mask there is a trick known as Fairy Fountain Wrong Warp which allows you to quickly travel between locations by hovering between the Fairy Fountain "rooms".

Rooms

Rooms are essentially the segments of a scene. Rooms contain the graphical data, and can contain a list of actors to load. Up to two different rooms can be loaded at the same time, but this usually only occurs during a transition between rooms.

It is possible to duplicate actors by passing through a "black" room transition actor in the same direction multiple times. This can be done by hovering around the room transition into an "unloaded" room, then coming through the map trigger into the first map. This method of duplication makes it possible to collect multiple copies of certain Heart Pieces and Gold Skulltulas.

Another bizarre glitch is known to exist in regards to rooms. In the main room of the Bottom of the Well it is possible to do a variant of the Walking While Talking glitch by opening a door while the camera is fixed after exiting a crawl space. This causes what is known as an Actor Glitch. While the intended destination loads normally, the graphic mesh of the main room remains loaded. Furthermore, Link is left behind on the main room side of the door.

Last updated October 6, 2026 by Blue