// 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;
}