summaryrefslogtreecommitdiff
path: root/npc/events/whiteday.txt
diff options
context:
space:
mode:
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.";