summaryrefslogtreecommitdiff
path: root/npc/010-2_Dimonds_Cove/doug.txt
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-24 12:22:06 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-24 12:22:06 +0000
commitdb44fb4e6555a0f8dc615b9795d5240f3a6d6903 (patch)
tree8e6fd3cc776573e858f2bf33bbaa77af1fead934 /npc/010-2_Dimonds_Cove/doug.txt
parent4e98d4621f225766abb32d30ab6cea8d2739a419 (diff)
downloadclassic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.gz
classic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.bz2
classic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.xz
classic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.zip
Some more "ItemName" conversions
Diffstat (limited to 'npc/010-2_Dimonds_Cove/doug.txt')
-rw-r--r--npc/010-2_Dimonds_Cove/doug.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/010-2_Dimonds_Cove/doug.txt b/npc/010-2_Dimonds_Cove/doug.txt
index 49bb349c..146e2ffd 100644
--- a/npc/010-2_Dimonds_Cove/doug.txt
+++ b/npc/010-2_Dimonds_Cove/doug.txt
@@ -1,7 +1,7 @@
010-2.gat,68,87,0 script Doug 113,{
if(CaveSnakeLamp == 1) goto L_State2;
if(CaveSnakeLamp == 2) goto L_Done;
- set @TEMP,rand(4);
+ set @TEMP, rand(4);
if(@TEMP == 0) goto L_0;
if(@TEMP == 1) goto L_1;
if(@TEMP == 2) goto L_2;
@@ -38,7 +38,7 @@ L_Question:
L_Sure:
set CaveSnakeLamp, 1;
- set @TEMP,rand(4);
+ set @TEMP, rand(4);
if(@TEMP == 0) goto J_0;
if(@TEMP == 1) goto J_1;
if(@TEMP == 2) goto J_2;
@@ -74,13 +74,13 @@ L_Go:
close;
L_State2:
- if(countitem(612) >= 40) goto L_Have;
+ if(countitem("CaveSnakeLamp") >= 40) goto L_Have;
mes "[Doug]";
mes "\"Please help me collect 40 [Cave Snake Lamps]!\"";
close;
L_Have:
- delitem 612, 40;
+ delitem "CaveSnakeLamp", 40;
mes "[Doug]";
mes "\"Cool! Now I can make this light!\"";
next;