summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1/imec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/021-1/imec.txt')
-rw-r--r--world/map/npc/021-1/imec.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/world/map/npc/021-1/imec.txt b/world/map/npc/021-1/imec.txt
index ee46d688..7a5eb975 100644
--- a/world/map/npc/021-1/imec.txt
+++ b/world/map/npc/021-1/imec.txt
@@ -5,6 +5,8 @@
-|script|#ImecShopConfig|-1,
{
+ end;
+
OnInit:
set $@ImecShopNT_MASK, 0x300;
set $@ImecShopNT_SHIFT, 8;
@@ -30,11 +32,15 @@ OnInit:
mes "[Imec]";
mes "\"You can do an errand for me. I just finished writing a petition to the Council about my shop.";
mes "If you bring it to the government building near the bazaar, I'll give you a small reward.\"";
+ goto L_Offer;
+
L_Offer:
menu
"What is in that government building and where is it?",L_Explain,
- "Ok, sounds good.",-,
+ "Ok, sounds good.",L_Next,
"No!",L_Close;
+
+L_Next:
mes "[Imec]";
mes "\"Very good. Here is the paper.\"";
mes "Imec gives you a sealed letter. You put it away in a pocket separated from your inventory, so it won't get lost.";
@@ -70,7 +76,9 @@ L_Return:
next;
mes "It seems Imec doesn't notice you anymore.";
menu
- "You mentioned a reward.",-;
+ "You mentioned a reward.",L_Next1;
+
+L_Next1:
mes "[Imec]";
mes "\"What? Ah, right. Here, have this.\"";
set Zeny, Zeny + @money;
@@ -79,6 +87,8 @@ L_Return:
next;
mes "\"Actually, you could be of further help to me.\"";
next;
+ goto L_Stingers;
+
L_Stingers:
mes "[Imec]";
set @dq_level, 10;