summaryrefslogtreecommitdiff
path: root/npc/events/whiteday.txt
diff options
context:
space:
mode:
authorHappy <markaizer@gmail.com>2014-08-21 04:50:46 +0800
committerHappy <markaizer@gmail.com>2014-08-21 04:50:46 +0800
commitf52e1007fe08c67003c0bc4c78231904dd3fd5cc (patch)
tree99907d827264e501774e58ab4630e41fa7103c02 /npc/events/whiteday.txt
parent2410110dece79b4598c12f1c953219f1d0d1904a (diff)
parent769b1d05aa5cfa8cddfe7d21b35d5c5e4da3bbd6 (diff)
downloadhercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.gz
hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.bz2
hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.xz
hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.zip
Merge pull request #1 from HerculesWS/master
Update from original
Diffstat (limited to 'npc/events/whiteday.txt')
-rw-r--r--npc/events/whiteday.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/events/whiteday.txt b/npc/events/whiteday.txt
index d0acc8426..ac76c52a5 100644
--- a/npc/events/whiteday.txt
+++ b/npc/events/whiteday.txt
@@ -11,7 +11,7 @@
//= Converted to rAthena format by Dr.Evil
//============================================================
-alberta,188,64,4 script Sugar 91,{
+alberta,188,64,4 script Sugar 4_F_02,{
set @maplenum,0;
set @mapleItemID,0;
set @maplePrice,0;
@@ -29,7 +29,7 @@ alberta,188,64,4 script Sugar 91,{
mes "heartfelt like";
mes "the sweetness of the present some how.";
next;
- menu "Please give me!",-,"I don't need it.",M_END,"The teacher.",M_L1;
+ menu "Please give me!",-,"I don't need it.",M_End,"The teacher.",M_L1;
mes "[Sugar]";
mes "Yes!";
@@ -59,7 +59,7 @@ L0_2:
goto L_INPUT;
L0_3:
set @maplePrice,2000;
- set @mapleItemID,538;
+ set @mapleItemID,538;
mes "[Sugar]";
mes "It is a well baked cookie, and the price is";
mes "2000 Zeny each.";
@@ -69,10 +69,10 @@ L0_3:
L_INPUT:
input @maplenum;
if (@maplenum > 5) goto L_ERROR;
- if (@maplenum == 0) goto M_END;
+ if (@maplenum == 0) goto M_End;
set @maplePriceT,@maplePrice*@maplenum;
if (Zeny < @maplePriceT) goto L_ERROR2;
- set Zeny,Zeny- @maplePriceT;
+ Zeny -= @maplePriceT;
getitem @mapleItemID,@maplenum;
mes "[Sugar]";
mes "Thank you!!!";
@@ -115,7 +115,7 @@ L_ERROR2:
mes "I will ask you to check your money first.";
close;
-M_END:
+M_End:
mes "[Sugar]";
mes "Really .... You might regret it..";
mes "If you change your mind.";