From c0ba38cd4b68491e28e467889804ebc09c9c002e Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 2 Apr 2014 11:06:32 -0700 Subject: Clean up main scripts --- world/map/npc/051-3/jailslimes.txt | 2 ++ world/map/npc/051-3/reinforcements.txt | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'world/map/npc/051-3') 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; } -- cgit v1.2.3-60-g2f50