diff options
Diffstat (limited to 'npc/functions/marriage.txt')
-rw-r--r-- | npc/functions/marriage.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/functions/marriage.txt b/npc/functions/marriage.txt index 0bd9e9c59..7bcd69cc3 100644 --- a/npc/functions/marriage.txt +++ b/npc/functions/marriage.txt @@ -242,13 +242,14 @@ function script marriagedivorce { l("Nothing"))) { case 1: - speech lg("Are you sure?"); + speech lg("Are you sure? It costs 800 GP."); if (askyesno() == ASK_YES) { - if (divorce()) - { - speech l("You are now divorced!"), - l("Good look."); + if (Zeny < 800) + return; + if (divorce()) { + Zeny=Zeny-800; + speech l("You are now divorced!"); npctalk l("@@ divorced!", strcharinfo(0)); } else |