2. Warps

Wraps

Every map has an event grid under Events tab, wraps are shown with a W inside the grid

Pasted image 20240330222909.png

How to add new warps

  • In the right sidebar, increase the Number of warps field, a new wrap will appear in the 0,0 space
  • Move the new wrap to desired location
  • Modify the movement permission to a 0
  • Change the tile image to a warp image
    • Even if a tile is marked as 0 and has a warp event, the warp will not trigger unless it has the appropriate block behavior byte
  • For example, if we wanted to add a new warp tile to the above map, we would need to add a door tile to it

Pasted image 20240330223422.png

Here we are adding a new warp in the bottom right, with a staircase image tile, the tile is also marked as 0 and has a warp event

Warp properties

  • Pos (X/Y) this is the position in the grid the warp is located
  • Map bank This is the bank number the warp will teleport player to
  • Map Map number the warp will teleport player to
  • To warp no the warp event number inside the map that the warp will teleport to

Pasted image 20240330225019.png

All maps have a Map bank value and a Map value, the nomenclature is (Map Bank, Map), so for example, if we want to teleport the player to LITTLEROOT TOWN(0.9) warp space 1, our warp would have the following parameters

to warp no: 1
map bank: 0
map: 9