diff options
Diffstat (limited to 'npc/010-2_Dimonds_Cove/doug.txt')
-rw-r--r-- | npc/010-2_Dimonds_Cove/doug.txt | 8 |
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; |