summaryrefslogtreecommitdiff
path: root/world/map/npc/009-2/peter.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/009-2/peter.txt')
-rw-r--r--world/map/npc/009-2/peter.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/world/map/npc/009-2/peter.txt b/world/map/npc/009-2/peter.txt
index 10186d3b..6a97070f 100644
--- a/world/map/npc/009-2/peter.txt
+++ b/world/map/npc/009-2/peter.txt
@@ -17,7 +17,7 @@
close;
L_Peter_Chain_Mail:
- if (zeny < 20000)
+ if (Zeny < 20000)
goto L_Peter_NotEnough_Zeny;
if (countitem("IronIngot") < 5)
goto L_Peter_NotEnough_Ingot;
@@ -26,7 +26,7 @@ L_Peter_Chain_Mail:
getinventorylist;
if (@inventorylist_count == 100)
goto L_Peter_TooMany;
- set zeny, zeny - 20000;
+ set Zeny, Zeny - 20000;
delitem "IronIngot", 5;
getitem "ChainmailShirt", 1;
mes "[Peter]";
@@ -34,7 +34,7 @@ L_Peter_Chain_Mail:
close;
L_Peter_Light_Plate:
- if (zeny < 50000)
+ if (Zeny < 50000)
goto L_Peter_NotEnough_Zeny;
if (countitem("IronIngot") < 10)
goto L_Peter_NotEnough_Ingot;
@@ -43,7 +43,7 @@ L_Peter_Light_Plate:
getinventorylist;
if (@inventorylist_count == 100)
goto L_Peter_TooMany;
- set zeny, zeny - 50000;
+ set Zeny, Zeny - 50000;
delitem "IronIngot", 10;
delitem "Coal", 20;
getitem "LightPlatemail", 1;
@@ -52,7 +52,7 @@ L_Peter_Light_Plate:
close;
L_Peter_Warlord_Plate:
- if (zeny < 100000)
+ if (Zeny < 100000)
goto L_Peter_NotEnough_Zeny;
if (countitem("IronIngot") < 15)
goto L_Peter_NotEnough_Ingot;
@@ -61,7 +61,7 @@ L_Peter_Warlord_Plate:
getinventorylist;
if (@inventorylist_count == 100)
goto L_Peter_TooMany;
- set zeny, zeny - 100000;
+ set Zeny, Zeny - 100000;
delitem "IronIngot", 15;
delitem "Coal", 30;
getitem "WarlordPlate", 1;