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/vincent.txt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'world/map/npc/001-1/vincent.txt') 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; } -- cgit v1.2.3-70-g09d2