summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1/entertainer.txt
diff options
context:
space:
mode:
authorcoffee <coffee@coffee-EP45-UD3L.(none)>2011-09-04 20:00:45 -0300
committercoffee <coffee@coffee-EP45-UD3L.(none)>2011-09-04 20:00:45 -0300
commit9f208b6d7a1c2e15fcd32725aee2eac0c7178cd9 (patch)
treee1faf3d3c7981ef459d396cd90264bb9d53e64e8 /world/map/npc/001-1/entertainer.txt
parent6e5fc3701b8299af02236ab77b143fce7008d772 (diff)
downloadserverdata-9f208b6d7a1c2e15fcd32725aee2eac0c7178cd9.tar.gz
serverdata-9f208b6d7a1c2e15fcd32725aee2eac0c7178cd9.tar.bz2
serverdata-9f208b6d7a1c2e15fcd32725aee2eac0c7178cd9.tar.xz
serverdata-9f208b6d7a1c2e15fcd32725aee2eac0c7178cd9.zip
Clear temporary variables after you close npc window. Npcs from 001-1.
Diffstat (limited to 'world/map/npc/001-1/entertainer.txt')
-rw-r--r--world/map/npc/001-1/entertainer.txt11
1 files changed, 7 insertions, 4 deletions
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);