summaryrefslogtreecommitdiff
path: root/npc/009-4/_warps.txt
blob: f7c99ff00347f029f562e7d7b3c45f37f8496900 (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
// 009-4 Cave Warps

// Entrances
009-4.gat,37,112	warp	to Outside	-1,-1,009-3.gat,162,114
009-4.gat,37,123	warp	to Lair	-1,-1,009-4.gat,36,27

009-4.gat,72,125	warp	to Outside	-1,-1,009-3.gat,162,114
009-4.gat,72,136	warp	to Lair	-1,-1,009-4.gat,36,27

// Caverns
009-4.gat,103,22	warp	to Lair	-1,-1,009-4.gat,51,46
009-4.gat,103,76	warp	to Lair	-1,-1,009-4.gat,51,46

009-3.gat,162,113,0	script	#OrumQuestEnter	0,0,0,{
	if (OrumQuest >= 12) goto L_Second_Entrance;
	warp "009-4.gat", 37, 113;
	close;

L_Second_Entrance:
	warp "009-4.gat", 72, 126;
	close;
}
009-4.gat,36,26,0	script	#LairExit	0,0,0,{
	if (OrumQuest >= 12) goto L_Second_Entrance;
	warp "009-4.gat", 37, 122;
	close;

L_Second_Entrance:
	warp "009-4.gat", 72, 135;
	close;
}

009-4.gat,51,47,0	script	#CavernEnter	0,0,0,{
	if (OrumQuest >= 14) goto L_Second_Cavern;
	if (OrumQuest < 12) goto L_See_Orum;
	warp "009-4.gat", 103, 23;
	close;

L_Second_Cavern:
	warp "009-4.gat", 103, 77;
	close;

L_See_Orum:
	mes "Right as you are entering you hear Orum call out for you.. Perhaps you should see what he wants first..";
	close;
}