summaryrefslogtreecommitdiff
path: root/npc/012-1/ship.txt
blob: b478e35710c9db579dbc2f4007fbb6c7a34a1203 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// TMW2 scripts.
// Authors:
//    Jesusalva
// Description:
//    This script controls access to Ships, fixing variables.

012-1,157,65,0	script	HurnsShip#M	NPC_HIDDEN,0,0,{

OnTouch:
    EnterTown("Hurns");
    goto L_Warp;

L_Warp:
    /* Is Hurnscald already liberated? Precendence. */
    if (!$HURNS_LIBDATE) {
        warp "Save", 0, 0;
        end;
    }

    warp "016-1@"+LOCATION$, 21, 26;
    closedialog;
    close;
}