From 94ac9fe3303c4d604485a4784e8f5c99f5457863 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru] --- npc/custom/etc/marriage.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/custom/etc/marriage.txt') diff --git a/npc/custom/etc/marriage.txt b/npc/custom/etc/marriage.txt index f0ec34f0a..df701b05f 100644 --- a/npc/custom/etc/marriage.txt +++ b/npc/custom/etc/marriage.txt @@ -716,7 +716,7 @@ function SF_TryRegister { mes "Come back once you have collected "+@cost+"z."; close; } - set Zeny,Zeny-@cost; + Zeny -= @cost; sc_start SC_WEDDING,3600000,1; //Start Wedding Effect (SC_WEDDING) if (@bride) { set $wed_bride_progress,1; @@ -911,7 +911,7 @@ function SF_InProgress { emotion e_swt2; close; } - set Zeny,Zeny-$@wed_divorce_fee; + Zeny -= $@wed_divorce_fee; announce $@divorcer$+" has just divorced "+strcharinfo(0)+"...", 8; mes "["+@name$+"]"; mes "Your divorce has been filed. You are no longer wed."; -- cgit v1.2.3-70-g09d2