summaryrefslogtreecommitdiff
path: root/world/map/npc/005-1/spirit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/005-1/spirit.txt')
-rw-r--r--world/map/npc/005-1/spirit.txt22
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: