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/sandra.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'world/map/npc/001-1/sandra.txt') diff --git a/world/map/npc/001-1/sandra.txt b/world/map/npc/001-1/sandra.txt index e6dec303..238370dc 100644 --- a/world/map/npc/001-1/sandra.txt +++ b/world/map/npc/001-1/sandra.txt @@ -7,7 +7,7 @@ mes "[Sandra]"; mes "\"Hunting monsters for potion ingredients can sometimes be a difficult task. Maybe you could help me at some point.\""; - close; + goto L_Close; L_Start: set @TEMP, rand(4); @@ -43,7 +43,7 @@ L_Opening3: L_Ask: menu "Yes.", L_Yes, - "No.", L_No; + "No.", L_Close; L_Yes: set @TEMP, rand(3); @@ -73,7 +73,7 @@ L_Set: set TMW_Quest,11; mes "[Sandra]"; mes "\"Please get them for me!\""; - close; + goto L_Close; L_Progress: if (countitem("ScorpionStinger") < 5) goto L_NotEnough; @@ -85,24 +85,25 @@ L_Progress: getitem "Bow", 1; getitem "Arrow", 100; set TMW_Quest, 12; - close; + goto L_Close; L_NotEnough: mes "[Sandra]"; mes "\"Please hurry and bring me 5 Scorpion Stingers.\""; - close; + goto L_Close; L_Done: mes "[Sandra]"; mes "\"Thank you for all your help!\""; - close; + goto L_Close; -L_No: +L_Close: + set @TEMP, 0; close; L_TooMany: next; mes "[Sandra]"; mes "\"You don't have room for my reward. I'll wait until you do.\""; - close; + goto L_Close; } -- cgit v1.2.3-70-g09d2