summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/fox_mask.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/newgears/fox_mask.txt')
-rw-r--r--npc/quests/newgears/fox_mask.txt37
1 files changed, 19 insertions, 18 deletions
diff --git a/npc/quests/newgears/fox_mask.txt b/npc/quests/newgears/fox_mask.txt
index f39bfd177..0186ee69e 100644
--- a/npc/quests/newgears/fox_mask.txt
+++ b/npc/quests/newgears/fox_mask.txt
@@ -4,13 +4,13 @@
//= KitsuneStarWind (1.0)
//= Mass Zero (1.1)
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Compatible With: =====================================
//= Any eAthena version.
//===== Description: =========================================
// Seperate quest for the Fox Mask.
//===== Additional Comments: =================================
-//
+// 1.2 optimized [Lupus]
//============================================================
pay_dun04.gat,204,152,2 script Nine Tail 1180,{
@@ -20,36 +20,37 @@ pay_dun04.gat,204,152,2 script Nine Tail 1180,{
mes "[Nine Tail]";
mes "Have you come here for a ^FF3300 Fox Mask^000000?";
next;
- menu "Yeah, Sure.",L_1,"No",L_2;
-L_1:
+ menu "Yeah, Sure.",-,"No",M_EXIT;
+
mes "[Nine Tail]";
mes "Fine then. If I make one for you, will you go away?";
mes "You realize that it requires 999 Nine Tails to make, do you?";
- menu "Sure.",L_1_1,"Nah.",L_1_2;
-L_1_1:
+ menu "Sure.",M_MAKE,"Nah.",-;
+
mes "[Nine Tail]";
- mes "Ok then, I shall make one for you.";
+ mes "Grrrr... I'll make one anyway but I hope my master gets you.";
next;
- goto L_1_SUB;
-L_1_2:
+M_MAKE:
mes "[Nine Tail]";
- mes "Grrrr... I'll make one anyway but I hope my master gets you.";
+ mes "Ok then, I shall make one for you.";
next;
-L_1_SUB:
- if (countitem(1022) < 999) goto L_1_SUB2;
- delitem 1022,999;
- getitem 5069,1;
+
+ if (countitem(1022) < 999) goto L_NOITEM;//Items: Nine Tails,
+ delitem 1022,999;//Items: Nine Tails,
+ getitem 5069,1;//Items: Fox Mask,
next;
mes "[Nine Tails]";
mes "Have fun.";
close;
-L_1_SUB2:
+
+L_NOITEM:
mes "[Nine Tail]";
mes "You do not have have enough Nine Tails.";
mes "You need 999 of them.";
close;
-L_2:
+
+M_EXIT:
mes "[Nine Tail]";
- mes "Then leave me alone... for I am waiting for my master.";
+ mes "Then leave me alone... I am waiting for my master.";
close;
-} \ No newline at end of file
+}