summaryrefslogtreecommitdiff
path: root/npc/002-1/doors.txt
blob: 03a2c0e3fedace22657bd843c7eca0a2a5a0a96c (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" || LOCATION$ == "Artis")
        warp "002-3@"+LOCATION$, 42, 26;
    else
        LOCATION$=any("Candor", "Tulim");
    end;
}