summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1/vincent.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/vincent.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/vincent.txt')
-rw-r--r--world/map/npc/001-1/vincent.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/world/map/npc/001-1/vincent.txt b/world/map/npc/001-1/vincent.txt
index 8097d23f..a6512d80 100644
--- a/world/map/npc/001-1/vincent.txt
+++ b/world/map/npc/001-1/vincent.txt
@@ -8,14 +8,14 @@
// If this happens, something is wrong with the above code.
mes "Vincent looks confused.";
- close;
+ goto L_Close;
L_Convince_Vincent_First:
mes "[Vincent]";
mes "\"I'm making an action figure. I'm almost done with it.\"";
mes "";
mes "Vincent seems distracted with his near-completed figurine for now.";
- close;
+ goto L_Close;
L_Start:
set @TEMP, rand(4);
@@ -55,7 +55,7 @@ L_Ask:
menu
"Yes", L_Sure,
"No", -;
- close;
+ goto L_Close;
L_Sure:
set TMW_Quest, 9;
@@ -92,13 +92,13 @@ L_Req4:
L_Wait:
mes "[Vincent]";
mes "\"Now please go get me 10 Bug Legs.\"";
- close;
+ goto L_Close;
L_Progress:
if(countitem("BugLeg") >= 10) goto L_Have;
mes "[Vincent]";
mes "\"Please help me collect 10 Bug Legs!\"";
- close;
+ goto L_Close;
L_Have:
mes "[Vincent]";
@@ -113,10 +113,14 @@ L_Have:
mes "\"Here you go, a little of my appreciation!\"";
mes "";
mes "[1000 gold]";
- close;
+ goto L_Close;
L_Done:
mes "[Vincent]";
mes "\"Thanks for your help!\"";
+ goto L_Close;
+
+L_Close:
+ set @TEMP, 0;
close;
}