summaryrefslogblamecommitdiff
path: root/npc/001-2-33/doors.txt
blob: 65266cb1c1544a044f7cb48066597057b8354ccb (plain) (tree)
1
2
3
4
5
6
7
8
9






                                               
                                                                        
        
                            





                                            
                                                                               











                
             

 
                                                                        
        
                            





                                             
                                                                               











                
             
 
// Evol scripts.
// Authors:
//    4144, Reid
// Description:
//    Doors warp and animations in map 001-2-33
//

001-2-33,29,32,0	script	#LeftWarp-001-2-33	NPC_HIDDEN,0,0,{
OnTouch:
    warp "001-2-34", 29, 32;
    close;

OnUnTouch:
    doevent "#LeftWarp-001-2-33::OnUnTouch";
}

001-2-33,29,31,0	script	#LeftDoor-001-2-33	NPC_ARTIS_IN_DOOR,1,2,{
    close;

OnTouch:
    doorTouch;

OnUnTouch:
    doorUnTouch;

OnTimer340:
    doorTimer;

OnInit:
    doorInit;
}

001-2-33,39,32,0	script	#RightWarp-001-2-33	NPC_HIDDEN,0,0,{
OnTouch:
    warp "001-2-32", 27, 32;
    close;

OnUnTouch:
    doevent "#RightWarp-001-2-33::OnUnTouch";
}

001-2-33,39,31,0	script	#RightDoor-001-2-33	NPC_ARTIS_IN_DOOR,1,2,{
    close;

OnTouch:
    doorTouch;

OnUnTouch:
    doorUnTouch;

OnTimer340:
    doorTimer;

OnInit:
    doorInit;
}