summaryrefslogtreecommitdiff
path: root/npc/merchants/icecream.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/icecream.txt')
-rw-r--r--npc/merchants/icecream.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/merchants/icecream.txt b/npc/merchants/icecream.txt
index 14f83b2a0..99da2fc18 100644
--- a/npc/merchants/icecream.txt
+++ b/npc/merchants/icecream.txt
@@ -56,8 +56,8 @@
mes "so you can only purchase 5 at a time!!";
next;
while(1) {
- input .@input;
- if(.@input < 1) {
+ input(.@input);
+ if (.@input <= 0) {
mes "[Ice Cream Maker]";
mes "If you don't want to buy any,";
mes "could you please let the next customer";
@@ -65,7 +65,7 @@
mes "Thank you.";
close;
}
- if(.@input > 5) {
+ if (.@input > 5) {
mes "[Ice Cream Maker]";
mes "Ouch";
mes "You expect too much.";
@@ -74,7 +74,9 @@
mes "If you might haveto make a lot of trips";
mes "to the bathroom tonight.";
next;
+ continue;
}
+ break;
}
if(Zeny<.@input*100) {
mes "[Ice Cream Maker]";