From 9f208b6d7a1c2e15fcd32725aee2eac0c7178cd9 Mon Sep 17 00:00:00 2001 From: coffee Date: Sun, 4 Sep 2011 20:00:45 -0300 Subject: Clear temporary variables after you close npc window. Npcs from 001-1. --- world/map/npc/001-1/entertainer.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'world/map/npc/001-1/entertainer.txt') diff --git a/world/map/npc/001-1/entertainer.txt b/world/map/npc/001-1/entertainer.txt index d99b2d94..b57b97f8 100644 --- a/world/map/npc/001-1/entertainer.txt +++ b/world/map/npc/001-1/entertainer.txt @@ -9,7 +9,7 @@ menu "What are those emotions above your head?", L_Learn, "Nothing I guess", -; - close; + goto L_Close; L_Learn: mes "[Entertainer]"; @@ -18,7 +18,7 @@ L_Learn: menu "Ok sure", L_Learn2, "Why would I need to that", -; - close; + goto L_Close; L_Learn2: setskill @EMOTE_SKILL, 1; @@ -26,13 +26,16 @@ L_Learn2: mes "\"All you have to do is press alt and a number"; mes "The number determines what emotion will be showned"; mes "Some clients will also show an emote shortcut-bar with the F12 button\""; - close; + goto L_Close; L_Has: mes "[Entertainer]"; mes "\"The entertainment life is a hard life...\" *sigh*"; - close; + goto L_Close; +L_Close: + set @EMOTE_SKILL, 0; + close; OnTimer3000: emotion rand(0,11); -- cgit v1.2.3-60-g2f50