summaryrefslogtreecommitdiff
path: root/npc/merchants/inn.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/inn.txt')
-rw-r--r--npc/merchants/inn.txt19
1 files changed, 9 insertions, 10 deletions
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.";