summaryrefslogtreecommitdiff
path: root/npc/002-1/doors.txt
blob: ea2380953203eb247c114bccc27364c29745f8f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// TMW2 Scripts.
// Author:
//    Jesusalva
// Description:
//    Doors NPCs.

002-1,72,30,0	script	AreaNPC#002-1d	NPC_HIDDEN,0,0,{

OnTouch:
    if (LOCATION$ == "")
        warp "002-3", 42, 26;
    else if (LOCATION$ == "Tulim" || LOCATION$ == "Candor")
        warp "002-3@"+LOCATION$, 42, 26;
    else
        LOCATION$=any("Candor", "Tulim");
    end;
}