summaryrefslogtreecommitdiff
path: root/npc/001-2-20/doors.txt
blob: 431e24be20e820c486c8fc4f24d36d71931bff76 (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:
    .sex = G_MALE;
    .distance = 5;
    end;
}