summaryrefslogtreecommitdiff
path: root/world/map/npc/052-1/channelling.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/052-1/channelling.txt')
-rw-r--r--world/map/npc/052-1/channelling.txt18
1 files changed, 12 insertions, 6 deletions
diff --git a/world/map/npc/052-1/channelling.txt b/world/map/npc/052-1/channelling.txt
index 3ea28fc9..52d71e45 100644
--- a/world/map/npc/052-1/channelling.txt
+++ b/world/map/npc/052-1/channelling.txt
@@ -8,7 +8,8 @@
// 2: Channelling completed
//-----------------------------------------------------------------------------
-052-1.gat,25,44,0|script|#EnchantDoorTrigger|32767,3,4,{
+052-1.gat,25,44,0|script|#EnchantDoorTrigger|32767,3,4,
+{
set @step, 4;
if ($@illia_progress < @step) goto L_ShouldNotBeHere;
if (strcharinfo(0) == $@ILLIA_HERO$ &&
@@ -25,7 +26,8 @@ L_ShouldNotBeHere:
}
-052-1.gat,57,29,0|script|#Enchanted Door|369,1,1{
+052-1.gat,57,29,0|script|#Enchanted Door|369,1,1
+{
if ($@illia_level_4_progress != 2) goto L_PushBack;
end;
@@ -47,7 +49,8 @@ onSpawn:
}
-052-1.gat,57,29,0|script|#Enchanted Door2|400,1,1{
+052-1.gat,57,29,0|script|#Enchanted Door2|400,1,1
+{
if ($@illia_level_4_progress == 2) goto L_Warp;
end;
@@ -61,7 +64,8 @@ OnCommandDestroy:
}
-052-1.gat,51,38,0|script|Engravings|400,{
+052-1.gat,51,38,0|script|Engravings|400,
+{
mes "You can read some words engraved inside this rock, but some are erased by wind and time:";
next;
mes "\".. can use this .. power..´. . .´. . . amplify a spell ..´.";
@@ -88,7 +92,8 @@ L_SuggestChannelling:
}
-function|script|StartChannelling|{
+function|script|StartChannelling|
+{
if (isat("052-1.gat",53,38) == 0)
end;
if ($@illia_level_4_progress > 0)
@@ -125,7 +130,8 @@ function|script|StartChannelling|{
}
-052-1.gat,53,38,0|script|#Power Circle|368,{
+052-1.gat,53,38,0|script|#Power Circle|368,
+{
set @step, 4;
if ($@illia_progress < @step)
goto L_ShouldNotBeHere;