summaryrefslogtreecommitdiff
path: root/npc/001-2-20/doors.txt
blob: b7b98270e585df8099358ab24e3c14b7086e5e9f (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
24
25
26
27
28
29
30
31
32
33
// Evol scripts.
// Authors:
//    4144, Reid
// Description:
//    Doors warp and animations in map 001-1
//

001-2-20,29,26,0	script	#MerchantRoomWarp1	NPC_HIDDEN,0,0,{
OnTouch:
    warp "001-2-19", 41, 55;
    close;

OnUnTouch:
    doevent "#MerchantRoomDoor1::OnUnTouch";
}

001-2-20,29,25,0	script	#MerchantRoomDoor1	NPC_ARTIS_DOOR_WOOD,2,3,{
    close;

OnTouch:
    doorTouch;

OnUnTouch:
    doorUnTouch;

OnTimer340:
    doorTimer;

OnInit:
    setnpcsex G_MALE;
    setnpcdistance 5;
    end;
}