summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1/imec.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-02 11:06:32 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:21:29 -0700
commitc0ba38cd4b68491e28e467889804ebc09c9c002e (patch)
treeaf2890e6fe20990d2a9b7c94b991be58f25a5d52 /world/map/npc/021-1/imec.txt
parent514a2f05cb335c1e9210fea58bc9a9a58478283f (diff)
downloadserverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.gz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.bz2
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.xz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.zip
Clean up main scripts
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;