summaryrefslogtreecommitdiff
path: root/npc/000-2-1/savepoint.txt
blob: e9ce1a34dbb482c9f10788253b678e87717be58f (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
56
// Evol scripts.
// Author:
//    Reid
// Description:
//    Saves locations in 000-2-1 map.

000-2-1,40,37,0	script	#name1	NPC_SAVE_POINT,{
    savepointparticle "000-2-1.gat", 40, 37;
    close;

OnInit:
    .distance = 2;
    end;
}

000-2-1,46,37,0	script	#name2	NPC_SAVE_POINT,{
    savepointparticle "000-2-1.gat", 46, 37;
    close;

OnInit:
    .distance = 2;
    end;
}

000-2-1,50,38,0	script	#name3	NPC_FINAL_POINT,{
    .@q_nard = getq(ShipQuests_Nard);

    if(.@q_nard == 5)
    {        
OnClick:
        narrator 4,
            l("You lie in the bed."),
            l("Your head is suddently heavy, your eyes are closing..."),
            l("You fell asleep.");

        warp "000-0-1", 26, 28;
    }
    else
    {
        savepointparticle "000-2-1.gat", 50, 38;
    }
    close;

OnInit:
    .distance = 2;
    end;
}

000-2-1,55,40,0	script	#name4	NPC_SAVE_POINT,{
    savepointparticle "000-2-1.gat", 55, 40;
    close;

OnInit:
    .distance = 2;
    end;
}