Warp

From SM64Decomp Wiki
Jump to navigation Jump to search

Warps are used to teleport Mario from one location to another in the same area, a different area or different level. They can be connected to each other within a level, between different areas or levels.

Warps are defined per area by the following properties:

  • Warp type: one of Warp, Painting, Instant
  • Warp ID, also known as source ID: value from 0x00 to 0xFF unique per area
    • Commonly set to 0x0A for the area starting location
    • 0xF0 is used on level success (after Mario grabbed a star)
    • 0xF1 is used on level failure
  • Destination level
  • Destination area
  • Destination node: ID given to the warp object that's placed in the target area.