From 9ec346d1e4c9fc93e192fa1e711ff9725cd7977b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 18:22:14 -0300 Subject: Misc fixes --- npc/001-2/government_building.txt | 6 +++--- npc/001-2/wizards.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/001-2') 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."; -- cgit v1.2.3-60-g2f50