summaryrefslogtreecommitdiff
path: root/npc/000-1/tarlan.txt
blob: b59fd86e8f4b76fe399f84879f9707ca2eeb34f1 (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
// Evol scripts.
// Authors:
//    Reid
// Description:
//    Sailor hitting a palm tree, and which is being hitted back by a croconut.

000-1.gat,35,43,0,1	script	Tarlan	315,{

    mesn;

    setnpcdir 2;
    set @a, rand(4);
    if (@a == 0) goto L_HardToHit;
    if (@a == 1) goto L_Aouch;
    if (@a == 2) goto L_11;
    if (@a == 3) goto L_22;

    mesq l(".");

    goto l_Close;

L_HardToHit:
    mesq l("These Croco Trees are full of Croconut, but they are so hard to hit.");

    goto l_Close;

L_Aouch:
    mesq l("Aouch! My head...");
    next;
    mesq l("Damned Croconut.");

    goto l_Close;

L_11:
    mesq l(".");
    goto l_Close;

L_22:
    mesq l(".");

L_Close:
    setnpcdir 4;
    close;

}