summaryrefslogtreecommitdiff
path: root/world/map/npc/051-3/ambush.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/051-3/ambush.txt')
-rw-r--r--world/map/npc/051-3/ambush.txt26
1 files changed, 16 insertions, 10 deletions
diff --git a/world/map/npc/051-3/ambush.txt b/world/map/npc/051-3/ambush.txt
index 74e1ced7..109d55b2 100644
--- a/world/map/npc/051-3/ambush.txt
+++ b/world/map/npc/051-3/ambush.txt
@@ -10,12 +10,14 @@
// 4: Key of the door found, to leave the cave
//-----------------------------------------------------------------------------
-051-3.gat,40,52,0|script|#WayBlockedTrigger|32767,2,2,{
+051-3.gat,40,52,0|script|#WayBlockedTrigger|32767,2,2,
+{
message strcharinfo(0), "There is no way I can pass here. Let's find another way.";
end;
}
-051-3.gat,31,70,0|script|#AmbushReadyTrigger|32767,2,2,{
+051-3.gat,31,70,0|script|#AmbushReadyTrigger|32767,2,2,
+{
set @step, 2;
if ($@illia_progress < @step) goto L_ShouldNotBeHere;
if (strcharinfo(0) == $@ILLIA_HERO$ && $@illia_level_2_progress == 0) goto L_PrepareAmbush;
@@ -32,7 +34,8 @@ L_ShouldNotBeHere:
}
-051-3.gat,31,93,0|script|#BanditAmbushTrigger|32767,3,3,{
+051-3.gat,31,93,0|script|#BanditAmbushTrigger|32767,3,3,
+{
set @step, 2;
if ($@illia_progress < @step) goto L_ShouldNotBeHere;
if ($@illia_level_2_progress == 0 && strcharinfo(0) == $@ILLIA_HERO$) goto L_MakeAmbush;
@@ -49,7 +52,8 @@ L_ShouldNotBeHere:
end;
}
-051-3.gat,1,1,0|script|#BndtTl|127,{
+051-3.gat,1,1,0|script|#BndtTl|127,
+{
end;
OnCommandAmbush:
@@ -68,17 +72,17 @@ OnTimer9000:
end;
OnTimer11000:
- areatimer "051-3.gat", 22, 12, 102, 97, 500, "#BndtTl::onOuch";
- areatimer "051-3.gat", 22, 12, 102, 97, 3000, "#BndtTl::onA";
+ areatimer "051-3.gat", 22, 12, 102, 97, 500, "#BndtTl::OnOuch";
+ areatimer "051-3.gat", 22, 12, 102, 97, 3000, "#BndtTl::OnA";
stopnpctimer;
setnpctimer 0;
end;
-onOuch:
+OnOuch:
message strcharinfo(0), "Ouch my head...";
end;
-onA:
+OnA:
if (strcharinfo(0) == $@ILLIA_HERO$)
goto L_CaptureHero;
if (strcharinfo(0) == $@ILLIA_HELPER1$)
@@ -137,7 +141,8 @@ L_CaptureHelper3:
}
-051-3.gat,29,94,0|script|Sneaky Bandit|127,{
+051-3.gat,29,94,0|script|Sneaky Bandit|127,
+{
end;
OnCommandTalk:
@@ -156,7 +161,8 @@ OnTimer3600:
}
-051-3.gat,33,95,0|script|Another Sneaky Bandit|127,{
+051-3.gat,33,95,0|script|Another Sneaky Bandit|127,
+{
end;
OnCommandTalk: