From 6133612d369697e2228545e70eff5d69e6e8c46e Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:31:39 +0530 Subject: ItemID to Constant: custom Folder --- npc/custom/events/valentinesdayexp.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/custom/events/valentinesdayexp.txt') diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt index 933afc647..ccb66bde6 100644 --- a/npc/custom/events/valentinesdayexp.txt +++ b/npc/custom/events/valentinesdayexp.txt @@ -166,7 +166,7 @@ M_CHOCO: if (@flag_num > 5) goto L_ERR; set @needmon,@flag_num*4500; if (Zeny < @needmon) goto L_NOTENO; - if (countitem(519) < @flag_num) goto L_NOMILK; + if (countitem(Milk) < @flag_num) goto L_NOMILK; Zeny -= @needmon; delitem 519,@flag_num; getitem 561,@flag_num; @@ -204,7 +204,7 @@ prt_castle,54,34,4 script Carl Orleans#val1 1_M_01,{ mes "[Carl Orleans]"; mes "Well, I just might be able to fulfill your needs..."; next; - if (countitem(558)<3) { + if (countitem(Chocolate)<3) { mes "[Carl Orleans]"; mes "I'm sorry you do not have enough Chocolate Bars to do this."; if(rand(2))mes "They say Stephen from Alberta used to sell good Chocolate."; @@ -237,7 +237,7 @@ M_WHITE: mes "[Carl Orleans]"; mes "Well, I just might be able to fulfill your needs..."; next; - if (countitem(561)<3) { + if (countitem(White_Chocolate)<3) { mes "[Carl Orleans]"; mes "I'm sorry you do not have enough White Chocolate Bars to do this."; if(rand(2))mes "They say Jainie from Alberta used to sell good White Chocolate."; -- cgit v1.2.3-60-g2f50