The scripting command Teleport has the opcode (0x07/0x1F).
- Map ID (byte) - Destination Map ID
- X-Coordinate (byte)
- Y-Coordinate (byte)
Teleports the party to the specified destination and stops execution of the current script.
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.