summaryrefslogtreecommitdiff
path: root/npc/001-1/xilaxa.txt
blob: 48002881760f934b8e8b5b064ffbfa0241ead304 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Evol scripts.
// Author:
//    Reid
// Description:
//    Moon, main NPC for the urchin quest.

001-1,52,44,0	script	Xilaxa#001-1	431,{
    npctalk3 l("You're on my way.");
    close;

OnTimer1000:
    if (isunitwalking())
    {
        initnpctimer;
        end;
    }
    movetonextpos;
    initnpctimer;
    end;

OnInit:
    initpath "move", 52, 54,
             "move", 57, 82,
             "move", 56, 86,
             "wait", 1, 0,
             "dir", RIGHT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 2, 0,
             "dir", LEFT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 1, 0,
             "dir", RIGHT, 0,
             "move", 62, 82,
             "dir", UP, 0,
             "move", 62, 82,
             "move", 55, 56,
             "move", 56, 45,
             "move", 54, 43,
             "dir", DOWN, 0,
             "wait", 2, 0,
             "dir", RIGHT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 2, 0,
             "dir", LEFT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 5, 0,
             "move", 52, 44;

    initialmove;
    initnpctimer;
}