diff options
author | coffee <coffee@coffee-EP45-UD3L.(none)> | 2011-09-05 09:13:26 -0300 |
---|---|---|
committer | coffee <coffee@coffee-EP45-UD3L.(none)> | 2011-09-05 09:13:26 -0300 |
commit | d73153db035a6527635844b2da8723d3e8759292 (patch) | |
tree | 21f6996e81a07618719484d04d3c306d14637073 /world/map/npc/005-1/spirit.txt | |
parent | c30af2c33f1530f38ed40ac029ef2a286b86099b (diff) | |
download | serverdata-d73153db035a6527635844b2da8723d3e8759292.tar.gz serverdata-d73153db035a6527635844b2da8723d3e8759292.tar.bz2 serverdata-d73153db035a6527635844b2da8723d3e8759292.tar.xz serverdata-d73153db035a6527635844b2da8723d3e8759292.zip |
Clear temporary variables after you close npc window. Npcs from maps 005-1 and 006-1.
Diffstat (limited to 'world/map/npc/005-1/spirit.txt')
-rw-r--r-- | world/map/npc/005-1/spirit.txt | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/world/map/npc/005-1/spirit.txt b/world/map/npc/005-1/spirit.txt index dd0f9e65..c39a74d3 100644 --- a/world/map/npc/005-1/spirit.txt +++ b/world/map/npc/005-1/spirit.txt @@ -35,7 +35,7 @@ L_message: next; menu "Who, me?", -, - "Leave me alone!", L_close, + "Leave me alone!", L_Close, "Aaah! I'm hearing voices!", L_silly_close; mes "[Well]"; mes "\"I'm in here, in the well, talking to you! If I'm not very mistaken, you are a powerful wizard-to-be, except that nobody has showed you how to properly do magic yet!\""; @@ -43,7 +43,7 @@ L_message: menu "Who are you?", -, "Aaaah! The voices are after me!", L_silly_close, - "Whatever it is, I'm not interested.", L_close; + "Whatever it is, I'm not interested.", L_Close; mes "[Earth Spirit]"; mes "\"I'm an earth spirit; my name isn't important... all that matters is that I like you, and that I will help you become a powerful wizard if you help me. Just a fair deal, no more than that...\""; next; @@ -63,7 +63,7 @@ L_main: "Can you teach me magic and spells?", L_Q_magic, "What do you know about...", L_Q, "Goodbye!", -; - close; + goto L_Close; L_Q_trapped: mes "[Earth Spirit]"; @@ -253,7 +253,21 @@ L_silly_close: mes "[Well]"; mes "\"Silly " + @s$ + ".\""; -L_close: +L_Close: + set @Q_MASK, 0; + set @Q_SHIFT, 0; + set @Q_status, 0; + set @SUP_id, 0; + set @SUP_name$, ""; + set @SUP_xp, 0; + set @SUP_lvl, 0; + set @Q_STATUS_INITIAL, 0; + set @Q_STATUS_ONQUEST, 0; + set @Q_STATUS_STUDENT0, 0; + set @Q_STATUS_STUDENT1, 0; + set @Q_STATUS_STUDENT2, 0; + set @Q_STATUS_STUDENT3, 0; + set @s$, ""; close; S_update_var: |