summaryrefslogtreecommitdiff
path: root/npc/001-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 18:22:14 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 18:22:14 -0300
commit9ec346d1e4c9fc93e192fa1e711ff9725cd7977b (patch)
tree222d635ade8d52a39c54c7d89c105b9bcd867f12 /npc/001-2
parent53e5a40a0a2b22205346a84bce25e419c4a3cf17 (diff)
downloadserverdata-9ec346d1e4c9fc93e192fa1e711ff9725cd7977b.tar.gz
serverdata-9ec346d1e4c9fc93e192fa1e711ff9725cd7977b.tar.bz2
serverdata-9ec346d1e4c9fc93e192fa1e711ff9725cd7977b.tar.xz
serverdata-9ec346d1e4c9fc93e192fa1e711ff9725cd7977b.zip
Misc fixes
Diffstat (limited to 'npc/001-2')
-rwxr-xr-xnpc/001-2/government_building.txt6
-rwxr-xr-xnpc/001-2/wizards.txt2
2 files changed, 4 insertions, 4 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]";
diff --git a/npc/001-2/wizards.txt b/npc/001-2/wizards.txt
index 754f1bf4..e69aab4a 100755
--- a/npc/001-2/wizards.txt
+++ b/npc/001-2/wizards.txt
@@ -2,7 +2,7 @@
- script Magic Council NPC32767,{
explode .@n, strnpcinfo(0), "#";
if (.@n[1] == 9) mes "The arch wizard seems to be busy.";
- elif (.@n[1]) mes "The wizard seems to ignore you.";
+ else if (.@n[1]) mes "The wizard seems to ignore you.";
else mes "Strangely, you feel nothing – as if its membrane is closed to you.";
next;
mes "Perhaps you should come back later.";