summaryrefslogtreecommitdiff
path: root/npc/010-2_Dimonds_Cove/loratay.txt
diff options
context:
space:
mode:
authorFreeyorp <Freeyorp101@hotmail.com>2010-10-03 05:53:22 +1300
committerFreeyorp <Freeyorp101@hotmail.com>2010-10-03 06:13:37 +1300
commit3dc13da84ef8237d8072deaa4ae595abcee5e15d (patch)
treeee0eef368c41346d9374fbf056d0007ad65fdf43 /npc/010-2_Dimonds_Cove/loratay.txt
parented0075fcb386f8afe03b0a935835778c1ec846a1 (diff)
downloadserverdata-3dc13da84ef8237d8072deaa4ae595abcee5e15d.tar.gz
serverdata-3dc13da84ef8237d8072deaa4ae595abcee5e15d.tar.bz2
serverdata-3dc13da84ef8237d8072deaa4ae595abcee5e15d.tar.xz
serverdata-3dc13da84ef8237d8072deaa4ae595abcee5e15d.zip
Critical fixes for Nicholas and Lora Tay
Diffstat (limited to 'npc/010-2_Dimonds_Cove/loratay.txt')
-rw-r--r--npc/010-2_Dimonds_Cove/loratay.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/010-2_Dimonds_Cove/loratay.txt b/npc/010-2_Dimonds_Cove/loratay.txt
index 47d5ea1d..c336de32 100644
--- a/npc/010-2_Dimonds_Cove/loratay.txt
+++ b/npc/010-2_Dimonds_Cove/loratay.txt
@@ -315,6 +315,9 @@ L_trim:
if (@item >= 2100 && @item <= 2109) set @genitem, @item + 70;
if (@genitem == 0) goto L_trim_impossible;
if (zeny < 100) goto L_trim_nozeny;
+
+ if (countitem(@delitem) < 1)
+ goto L_main_menu;
delitem @delitem, 1;
getitem @genitem, 1;
@@ -368,6 +371,9 @@ L_lengthen:
if (@genitem == 0) goto L_lengthen_impossible;
if (zeny < 500) goto L_lengthen_nozeny;
if (countitem ("CottonCloth") < 1) goto L_lengthen_nocotton;
+
+ if (countitem(@delitem) < 1)
+ goto L_main_menu;
delitem @delitem, 1;
delitem "CottonCloth", 1;