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 34dbb609..0caa0da0 100644 --- a/npc/010-2_Dimonds_Cove/doug.txt +++ b/npc/010-2_Dimonds_Cove/doug.txt @@ -3,7 +3,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; @@ -40,7 +40,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; @@ -76,13 +76,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; |