summaryrefslogblamecommitdiff
path: root/npc/002-1/doors.txt
blob: cb9a27cc4a8a24950fd5f0a469d647e76ac6eb6f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                        
                                                           
                                        


                                         
 
// 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;
}