From 46bb91d3389c79c5375f191a7a136eb775559f99 Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 5 May 2015 23:43:14 -0400 Subject: remove close builtin from functions --- world/map/npc/030-2/eljas.txt | 2 ++ world/map/npc/030-2/guards.txt | 3 +++ world/map/npc/030-2/shipping_helper.txt | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'world/map/npc/030-2') diff --git a/world/map/npc/030-2/eljas.txt b/world/map/npc/030-2/eljas.txt index 82bdb120..76f1204f 100644 --- a/world/map/npc/030-2/eljas.txt +++ b/world/map/npc/030-2/eljas.txt @@ -5,6 +5,7 @@ { callfunc "XmasStates"; callfunc "ThrowOutTheBum"; + if(@getout) end; goto L_Start; L_Start: @@ -201,6 +202,7 @@ L_End: OnTouch: callfunc "XmasStates"; callfunc "ThrowOutTheBum"; + if(@getout) end; if((@xmas_list_gather) || !($@xmas_time)) goto L_End; goto L_Start; diff --git a/world/map/npc/030-2/guards.txt b/world/map/npc/030-2/guards.txt index 54a17465..5ed2e2e9 100644 --- a/world/map/npc/030-2/guards.txt +++ b/world/map/npc/030-2/guards.txt @@ -4,6 +4,7 @@ { callfunc "XmasStates"; callfunc "ThrowOutTheBum"; + if(@getout) end; mes "[Valjas]"; mes "\"...\""; close; @@ -13,6 +14,7 @@ { callfunc "XmasStates"; callfunc "ThrowOutTheBum"; + if(@getout) end; mes "[Halas]"; mes "\"...\""; close; @@ -22,6 +24,7 @@ { callfunc "XmasStates"; callfunc "ThrowOutTheBum"; + if(@getout) end; mes "[Kilis]"; mes "\"...\""; close; diff --git a/world/map/npc/030-2/shipping_helper.txt b/world/map/npc/030-2/shipping_helper.txt index 7c588cb6..92277278 100644 --- a/world/map/npc/030-2/shipping_helper.txt +++ b/world/map/npc/030-2/shipping_helper.txt @@ -115,5 +115,5 @@ L_Close: mes "\"Ok, back to work you two, we have to make up lost time for your antics.\""; set @wrap$, ""; set @present_name$, ""; - close; + return; } -- cgit v1.2.3-70-g09d2