summaryrefslogtreecommitdiff
path: root/world/map/npc/009-2/wyara.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/009-2/wyara.txt')
-rw-r--r--world/map/npc/009-2/wyara.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/009-2/wyara.txt b/world/map/npc/009-2/wyara.txt
index 65c16fc7..f8df574a 100644
--- a/world/map/npc/009-2/wyara.txt
+++ b/world/map/npc/009-2/wyara.txt
@@ -46,12 +46,14 @@ L_Main:
"Can you help me use the mana seed?", L_Q_manaseed_unabsorbed,
"Can you help me learn magic?", L_Magic,
"I would like to buy potions.", L_Shop,
+ "Can you reset my stats?", L_StatReset,
"Bye!", L_Close;
if (!(!@has_magic && (MAGIC_FLAGS & MFLAG_TOUCHED_MANASEED)))
menu
"What do you know about...", L_Question,
"Can you help me learn magic?", L_Magic,
"I would like to buy potions.", L_Shop,
+ "Can you reset my stats?", L_StatReset,
"Bye!", L_Close;
goto L_Shop;
@@ -60,6 +62,11 @@ L_Shop:
mes "\"Please have a look at the shelf behind me.\"";
close;
+L_StatReset:
+ set @NpcName$, "Wyara";
+ callfunc "StatReset";
+ goto L_Close;
+
L_Question:
callfunc "MagicTalkOptionsSetup";
set @ignore, @QQ_WYARA;