Xeen Wiki
Register
Advertisement
Supported In:
C D/S/W W-CD
? ? ?

The scripting command Teleport has the opcode (0x07/0x1F).

Arguments

  • Map ID (byte) - Destination Map ID
  • X-Coordinate (byte)
  • Y-Coordinate (byte)


Description

Teleports the party to the specified destination and stops execution of the current script.

Notes

This function can accept a destination map ID of zero, in which case the results of previous operations are used (potentially for a mirror teleport lookup.) This needs further examination.

Opcode 0x07 exits the event following a successful teleport. Opcode 0x1F continues with the next instruction.

Advertisement