summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/DyeConfig.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/DyeConfig.txt')
-rw-r--r--world/map/npc/functions/DyeConfig.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/world/map/npc/functions/DyeConfig.txt b/world/map/npc/functions/DyeConfig.txt
index 1da1e734..e2d9640e 100644
--- a/world/map/npc/functions/DyeConfig.txt
+++ b/world/map/npc/functions/DyeConfig.txt
@@ -1,4 +1,4 @@
-009-2,32,105,0|script|#DyeChecker|-1
+009-2,32,105,0|script|#DyeChecker|32767
{
end;
OnInit:
@@ -23,7 +23,7 @@ OnInit:
end;
S_Array:
- if(getitemname($@DYE_items$[$@w]) == "Unknown Item") goto L_Fail;
+ if(getitemlink($@DYE_items$[$@w]) == "Unknown Item") goto L_Fail;
set $@c, 0;
callsub S_Color;
set $@w, $@w + 1;
@@ -35,7 +35,7 @@ L_Fail:
mapexit;
S_Color:
- if(getitemname($@DYE_colors$[$@c] + $@DYE_items$[$@w]) == "Unknown Item") goto L_Fail;
+ if(getitemlink($@DYE_colors$[$@c] + $@DYE_items$[$@w]) == "Unknown Item") goto L_Fail;
set $@c, $@c + 1;
if($@c < getarraysize($@DYE_colors$)) goto S_Color;
return;