From 206c3720a29b0db6c73ea534bd3f34bacaef17de Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 15 Nov 2011 21:06:07 +0100 Subject: Made Constants case-sensitive --- world/map/npc/020-2/baktar.txt | 14 +++++++------- world/map/npc/020-2/furquest.txt | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'world/map/npc/020-2') diff --git a/world/map/npc/020-2/baktar.txt b/world/map/npc/020-2/baktar.txt index 9c441417..c6603d43 100644 --- a/world/map/npc/020-2/baktar.txt +++ b/world/map/npc/020-2/baktar.txt @@ -184,7 +184,7 @@ L_DesertHat_Item: if(@Q_status & (1<<@BIT_DESERTHAT)) goto L_havealready; if (countitem("DesertHat") < 1) goto L_Noitem; delitem "DesertHat", 1; - set zeny, zeny + @MONEY_DESERTHAT; + set Zeny, Zeny + @MONEY_DESERTHAT; getexp @XP_DESERTHAT,0; set @Q_status, @Q_status | (1<<@BIT_DESERTHAT); callsub S_Update_Var; @@ -193,7 +193,7 @@ L_DesertShirt_Item: if(@Q_status & (1<<@BIT_DESERTSHIRT)) goto L_havealready; if (countitem("DesertShirt") < 1) goto L_Noitem; delitem "DesertShirt", 1; - set zeny, zeny + @MONEY_DESERTSHIRT; + set Zeny, Zeny + @MONEY_DESERTSHIRT; getexp @XP_DESERTSHIRT,0; set @Q_status, @Q_status | (1<<@BIT_DESERTSHIRT); callsub S_Update_Var; @@ -202,7 +202,7 @@ L_SerfHat_Item: if(@Q_status & (1<<@BIT_SERFHAT)) goto L_havealready; if (countitem("SerfHat") < 1) goto L_Noitem; delitem "SerfHat", 1; - set zeny, zeny + @MONEY_SERFHAT; + set Zeny, Zeny + @MONEY_SERFHAT; getexp @XP_SERFHAT,0; set @Q_status, @Q_status | (1<<@BIT_SERFHAT); callsub S_Update_Var; @@ -211,7 +211,7 @@ L_tongue_Item: if(@Q_status & (1<<@BIT_MS_TONGUE)) goto L_havealready; if (countitem("MountainSnakeTongue") < 1) goto L_Noitem; delitem "MountainSnakeTongue", 1; - set zeny, zeny + @MONEY_MS_TONGUE; + set Zeny, Zeny + @MONEY_MS_TONGUE; getexp @XP_MS_TONGUE,0; set @Q_status, @Q_status | (1<<@BIT_MS_TONGUE); callsub S_Update_Var; @@ -220,7 +220,7 @@ L_egg_Item: if(@Q_status & (1<<@BIT_MS_EGG)) goto L_havealready; if (countitem("MountainSnakeEgg") < 1) goto L_Noitem; delitem "MountainSnakeEgg", 1; - set zeny, zeny + @MONEY_MS_EGG; + set Zeny, Zeny + @MONEY_MS_EGG; getexp @XP_MS_EGG,0; set @Q_status, @Q_status | (1<<@BIT_MS_EGG); callsub S_Update_Var; @@ -229,7 +229,7 @@ L_skin_Item: if(@Q_status & (1<<@BIT_SNAKESKIN)) goto L_havealready; if (countitem("SnakeSkin") < 1) goto L_Noitem; delitem "SnakeSkin", 1; - set zeny, zeny + @MONEY_SNAKESKIN; + set Zeny, Zeny + @MONEY_SNAKESKIN; getexp @XP_SNAKESKIN,0; set @Q_status, @Q_status | (1<<@BIT_SNAKESKIN); callsub S_Update_Var; @@ -238,7 +238,7 @@ L_BugLegItem: if(@Q_status & (1<<@BIT_BUGLEG)) goto L_havealready; if (countitem("BugLeg") < 1) goto L_Noitem; delitem "BugLeg", 1; - set zeny, zeny + @MONEY_BUGLEG; + set Zeny, Zeny + @MONEY_BUGLEG; getexp @XP_BUGLEG,0; set @Q_status, @Q_status | (1<<@BIT_BUGLEG); callsub S_Update_Var; diff --git a/world/map/npc/020-2/furquest.txt b/world/map/npc/020-2/furquest.txt index 1420d2d7..26cccd26 100644 --- a/world/map/npc/020-2/furquest.txt +++ b/world/map/npc/020-2/furquest.txt @@ -125,7 +125,7 @@ L_State_0_9: mes "[Agostine, The Legendary Tailor]"; mes "\"Oh! This is damn good! I feel a new man, my friend!\""; next; - set zeny, zeny + 500; + set Zeny, Zeny + 500; mes "[Agostine, The Legendary Tailor]"; mes "\"This is a little reward for your help. Take 500 GP, my friend!\""; set QUEST_WG_state, 2; @@ -221,10 +221,10 @@ L_State_5: close; L_State_5_pay: - if (zeny < 15000) goto L_State_5_nocash; + if (Zeny < 15000) goto L_State_5_nocash; getinventorylist; if (@inventorylist_count == 100) goto L_TooMany; - set zeny, zeny - 15000; + set Zeny, Zeny - 15000; getitem "WinterGloves", 1; set QUEST_WG_state, 6; mes "[Agostine, The Legendary Tailor]"; @@ -308,10 +308,10 @@ L_State_12: close; L_State_12_pay: - if (zeny < 15000) goto L_State_12_missing; + if (Zeny < 15000) goto L_State_12_missing; if (countitem("Boots") < 1) goto L_State_12_missing; // No inventory check needed, as boots are removed, opening a slot - set zeny, zeny - 15000; + set Zeny, Zeny - 15000; delitem "Boots", 1; getitem "FurBoots", 1; set QUEST_WG_state, 9; -- cgit v1.2.3-60-g2f50