summaryrefslogtreecommitdiff
path: root/world/map/npc/051-3
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-02 11:06:32 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:21:29 -0700
commitc0ba38cd4b68491e28e467889804ebc09c9c002e (patch)
treeaf2890e6fe20990d2a9b7c94b991be58f25a5d52 /world/map/npc/051-3
parent514a2f05cb335c1e9210fea58bc9a9a58478283f (diff)
downloadserverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.gz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.bz2
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.xz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.zip
Clean up main scripts
Diffstat (limited to 'world/map/npc/051-3')
-rw-r--r--world/map/npc/051-3/jailslimes.txt2
-rw-r--r--world/map/npc/051-3/reinforcements.txt7
2 files changed, 5 insertions, 4 deletions
diff --git a/world/map/npc/051-3/jailslimes.txt b/world/map/npc/051-3/jailslimes.txt
index 453704ad..e0ad4062 100644
--- a/world/map/npc/051-3/jailslimes.txt
+++ b/world/map/npc/051-3/jailslimes.txt
@@ -6,6 +6,8 @@
051-3.gat,0,0,0|script|IlliaCMobs051-3|-1,
{
+ end;
+
On1098:
if (rand(100) < 80 && $@illia_progress == 2 && ($@illia_level_2_progress == 1 || $@illia_level_2_progress == 2))
goto L_LockPicks;
diff --git a/world/map/npc/051-3/reinforcements.txt b/world/map/npc/051-3/reinforcements.txt
index 09ec6cf6..75bc1f19 100644
--- a/world/map/npc/051-3/reinforcements.txt
+++ b/world/map/npc/051-3/reinforcements.txt
@@ -21,8 +21,7 @@ L_ShouldNotBeHere:
mes "Try open the door?";
menu
"Yes", L_TryOpen,
- "Do nothing", -;
- close;
+ "Do nothing", L_Close;
L_ShouldNotBeHere:
percentheal -100, 0;
@@ -32,7 +31,6 @@ L_TryOpen:
if ($@illia_level_2_progress < 4)
goto L_KeyNotFound;
goto L_Warp;
- end;
L_KeyNotFound:
mes "You do not see a way to open this door.";
@@ -82,5 +80,6 @@ L_OpenDoor:
OnKeyFound:
message strcharinfo(0), "One of the defeated bandit lords had a door key attached to his belt.";
end;
-
+L_Close:
+ close;
}