summaryrefslogtreecommitdiff
path: root/world/map/npc/021-2/government_building.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/021-2/government_building.txt')
-rw-r--r--world/map/npc/021-2/government_building.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/world/map/npc/021-2/government_building.txt b/world/map/npc/021-2/government_building.txt
index ab2a9214..dc2749b2 100644
--- a/world/map/npc/021-2/government_building.txt
+++ b/world/map/npc/021-2/government_building.txt
@@ -24,7 +24,7 @@ L_main_married:
L_marry:
if (BaseLevel < WEDDING_MIN_LEVEL)
goto L_marry_too_young;
- if (zeny < WEDDING_FEE)
+ if (Zeny < WEDDING_FEE)
goto L_marry_too_poor;
mes "[Estard]";
@@ -60,10 +60,10 @@ L_get_rings:
mes "[Estard]";
mes "\"Yes. They are " + WEDDING_FEE + " GP. That covers all administrative fees for the marriage.\"";
- if (zeny < WEDDING_FEE)
+ if (Zeny < WEDDING_FEE)
menu
"Thanks anyways. I don't have enough with me.", -;
- if (zeny >= WEDDING_FEE)
+ if (Zeny >= WEDDING_FEE)
menu
"I'll buy a pair.", L_get_rings_pay,
"Thanks anyways.", -;
@@ -79,7 +79,7 @@ L_get_rings_pay:
L_divorce:
set @divorce_cost, DIVORCE_FEE_PER_LEVEL * BaseLevel;
- if (zeny < @divorce_cost)
+ if (Zeny < @divorce_cost)
goto L_divorce_not_enough;
mes "[Estard]";
@@ -91,7 +91,7 @@ L_divorce:
close;
L_do_divorce:
- if (zeny < @divorce_cost)
+ if (Zeny < @divorce_cost)
goto L_not_enough_money;
if (divorce())
@@ -104,7 +104,7 @@ L_do_divorce:
close;
L_divorce_done:
- set zeny, zeny - @divorce_cost;
+ set Zeny, Zeny - @divorce_cost;
mes "[Estard]";
mes "\"You have been divorced. Come again.\"";
@@ -126,13 +126,13 @@ L_no_room_for_rings:
close;
S_give_rings:
- if (zeny < WEDDING_FEE)
+ if (Zeny < WEDDING_FEE)
goto L_not_enough_money;
getinventorylist;
if (@inventorylist_count > 98)
goto L_no_room_for_rings;
- set zeny, zeny - WEDDING_FEE;
+ set Zeny, Zeny - WEDDING_FEE;
getitem "WeddingRing", 1;
getitem "WeddingRing", 1;
return;
@@ -187,9 +187,9 @@ L_Get_Party:
close;
L_Give_Party:
- if (zeny < 10)
+ if (Zeny < 10)
goto L_NotEnoughMoney;
- set zeny, zeny - 10;
+ set Zeny, Zeny - 10;
setskill @PARTY_SKILL, 1;
mes "[Tathin]";
mes "\"Here's your permit. You'll need to be invited by an existing member of a party to join it.\"";
@@ -208,9 +208,9 @@ L_Get_Make_Party:
close;
L_Give_Make_Party:
- if (zeny < 50)
+ if (Zeny < 50)
goto L_NotEnoughMoney;
- set zeny, zeny - 50;
+ set Zeny, Zeny - 50;
setskill @PARTY_SKILL, 2;
mes "[Tathin]";
mes "\"Here's your permit. You can create parties with the 'new' or 'create' commands on the Party tab in the client. Parties need to have unique names.\"";