From 36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988 Mon Sep 17 00:00:00 2001 From: Lupus Date: Wed, 20 Sep 2006 05:43:48 +0000 Subject: fixed typos, added missing NEXT;, optimized Niflheim. Clear nif vars garbage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8819 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/merchants/inn.txt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'npc/merchants/inn.txt') diff --git a/npc/merchants/inn.txt b/npc/merchants/inn.txt index bc86751e4..cf41d3a8c 100644 --- a/npc/merchants/inn.txt +++ b/npc/merchants/inn.txt @@ -107,23 +107,22 @@ function script F_InnMaid { savepoint getarg(2),getarg(3),getarg(4); close; Mrent: - if(Zeny < 5000) goto NoZeny; mes getarg(0); + if(Zeny < 5000){ + mes "I'm sorry, but the service charge"; + mes "is 5,000 zeny. Please make sure"; + mes "that you have enough money to check"; + mes "in next time, okay?"; + close; + } + set Zeny,Zeny - 5000; + percentheal 100,100; mes "Thank you."; mes "I hope you"; mes "enjoy your rest~"; close2; - set Zeny,Zeny - 5000; - percentheal 100,100; return; - NoZeny: - mes getarg(0); - mes "I'm sorry, but the service charge"; - mes "is 5,000 zeny. Please make sure"; - mes "that you have enough money to check"; - mes "in next time, okay?"; - close; Mend: mes getarg(0); mes "I am waiting for a job to do."; -- cgit v1.2.3-60-g2f50