summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1/bard.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/bard.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/bard.txt')
-rw-r--r--world/map/npc/001-1/bard.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/world/map/npc/001-1/bard.txt b/world/map/npc/001-1/bard.txt
index c4a340ba..c7f9de54 100644
--- a/world/map/npc/001-1/bard.txt
+++ b/world/map/npc/001-1/bard.txt
@@ -19,7 +19,7 @@ L_Main:
"Have you heard any news?", L_News,
"What do you know about...", L_Question,
"Farewell!", -;
- close;
+ goto L_Close;
L_News:
// mes "[" + @name$ + "]";
@@ -125,5 +125,11 @@ L_Song:
mes "[" + @name$ + "]";
set @id, rand(3);
mes @songs$[@id];
+ goto L_Close;
+
+L_Close:
+ set @name$, "";
+ set @id, 0;
+ cleararray songs$[0], "", 3;
close;
}