From 972e6444b1c44ebaee4b40516958c34c19e18ca2 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Sun, 11 Feb 2018 09:45:06 -0200 Subject: This is core for moving in and out of Nard's ship --- npc/005-1/_import.txt | 1 + npc/005-1/_warps.txt | 1 - npc/005-1/ship.txt | 17 +++++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 npc/005-1/ship.txt (limited to 'npc/005-1') diff --git a/npc/005-1/_import.txt b/npc/005-1/_import.txt index a8d19df94..fe3f5737c 100644 --- a/npc/005-1/_import.txt +++ b/npc/005-1/_import.txt @@ -6,6 +6,7 @@ "npc/005-1/ayasha.txt", "npc/005-1/liana.txt", "npc/005-1/maya.txt", +"npc/005-1/ship.txt", "npc/005-1/soul-menhir.txt", "npc/005-1/warpcandorbattle.txt", "npc/005-1/zegas.txt", diff --git a/npc/005-1/_warps.txt b/npc/005-1/_warps.txt index 7524340cf..a0d244861 100644 --- a/npc/005-1/_warps.txt +++ b/npc/005-1/_warps.txt @@ -1,6 +1,5 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. // Map 005-1: Candor Island warps -005-1,43,107,0 warp #005-1_43_107 0,0,002-2,21,28 005-1,31,79,0 warp #005-1_31_79 0,0,005-2,33,42 005-1,34,74,0 warp #005-1_34_74 0,0,005-3,25,42 005-1,48,70,0 warp #005-1_48_70 0,0,005-4,25,42 diff --git a/npc/005-1/ship.txt b/npc/005-1/ship.txt new file mode 100644 index 000000000..72cc2932a --- /dev/null +++ b/npc/005-1/ship.txt @@ -0,0 +1,17 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// This script controls access to Nard's Ship, fixing variables. + +005-1,43,107,0 script CandorShip NPC_HIDDEN,0,0,{ + +OnTouch: + LOCATION$="Candor"; + goto L_Warp; + +L_Warp: + warp "002-3", 21, 28; + closedialog; + close; +} -- cgit v1.2.3-60-g2f50