summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/evil_obelisk.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/evil_obelisk.txt')
-rw-r--r--world/map/npc/functions/evil_obelisk.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/world/map/npc/functions/evil_obelisk.txt b/world/map/npc/functions/evil_obelisk.txt
index d7373bae..30fe927d 100644
--- a/world/map/npc/functions/evil_obelisk.txt
+++ b/world/map/npc/functions/evil_obelisk.txt
@@ -14,15 +14,15 @@ function|script|EvilObelisk|{
return;
L_JACKO:
- if (zeny < 200000)
+ if (Zeny < 200000)
goto L_NotEnough;
- set zeny, zeny - 200000;
+ set Zeny, Zeny - 200000;
set @mob_id, 1022;
set @mob_count, rand(2) + 1;
goto L_Summon;
L_GRAVEYARD1:
- if (zeny < 100000)
+ if (Zeny < 100000)
goto L_NotEnough;
set @temp, rand(2);
if(@temp == 0)
@@ -30,11 +30,11 @@ L_GRAVEYARD1:
if(@temp == 1)
set @mob_id, 1045; // Fallen
set @mob_count, rand(2) + 1;
- set zeny, zeny - 100000;
+ set Zeny, Zeny - 100000;
goto L_Summon;
L_GRAVEYARD2:
- if (zeny < 75000)
+ if (Zeny < 75000)
goto L_NotEnough;
set @temp, rand(2);
if(@temp == 0)
@@ -42,11 +42,11 @@ L_GRAVEYARD2:
if(@temp == 1)
set @mob_id, 1043; // Normal Skelly
set @mob_count, rand(2) + 1;
- set zeny, zeny - 75000;
+ set Zeny, Zeny - 75000;
goto L_Summon;
L_SKULL:
- if (zeny < 50000)
+ if (Zeny < 50000)
goto L_NotEnough;
set @temp, rand(2);
if(@temp == 0)
@@ -54,11 +54,11 @@ L_SKULL:
if(@temp == 1)
set @mob_id, 1023; // Fire
set @mob_count, rand(4) + 1;
- set zeny, zeny - 50000;
+ set Zeny, Zeny - 50000;
goto L_Summon;
L_SNAKE:
- if (zeny < 25000)
+ if (Zeny < 25000)
goto L_NotEnough;
set @temp, rand(4);
if(@temp == 0)
@@ -70,7 +70,7 @@ L_SNAKE:
if(@temp == 3)
set @mob_id, 1021; // Cave
set @mob_count, rand(4) + 1;
- set zeny, zeny - 25000;
+ set Zeny, Zeny - 25000;
goto L_Summon;
L_Summon: