summaryrefslogtreecommitdiff
path: root/npc/001-2/government_building.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-2/government_building.txt')
-rwxr-xr-xnpc/001-2/government_building.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/001-2/government_building.txt b/npc/001-2/government_building.txt
index cf5c551f..d4a73df0 100755
--- a/npc/001-2/government_building.txt
+++ b/npc/001-2/government_building.txt
@@ -3,7 +3,7 @@
mes "[Estard]";
mes "\"Hello. What can I do for you?\"";
next;
- if (PARTNER)
+ if (getpartnerid())
goto L_Main_married;
menu
@@ -90,8 +90,8 @@ L_do_divorce:
if (Zeny < @divorce_cost)
goto L_Not_enough_money;
- set PARTNER, 0, PARTNER; // divorce the partner first, which will also divorce the rid if succesful
- if (PARTNER < 1) goto L_divorce_done;
+ divorce();
+ if (getpartnerid() < 1) goto L_divorce_done;
mes "";
mes "[Estard]";