summaryrefslogtreecommitdiff
path: root/npc/001-2-4/doors.txt
blob: 45b7dbed226e7993f8a7cf7a07c878b48618f021 (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-2-4
//

001-2-4,52,28,0	script	#LibraryWarp	32767,0,0,{
OnTouch:
    warp "001-2-5", 28, 37;
    close;

OnUnTouch:
    doevent "#LibraryDoor::OnUnTouch";
}

001-2-4,52,27,0	script	#LibraryDoor	907,3,3,{
    close;

OnTouch:
    doorTouch;

OnUnTouch:
    doorUnTouch;

OnTimer340:
    doorTimer;

OnInit:
    setnpcsex G_MALE;
    setnpcdistance 5;
    end;
}