summaryrefslogtreecommitdiff
path: root/npc/009-4/torches.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/009-4/torches.txt')
-rw-r--r--npc/009-4/torches.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/009-4/torches.txt b/npc/009-4/torches.txt
index d08e61db..2e8f4604 100644
--- a/npc/009-4/torches.txt
+++ b/npc/009-4/torches.txt
@@ -168,9 +168,9 @@ L_Show_Color:
L_Wrong_Color:
set @Intensity, @TorchIntensity + 1;
+ if (@Intensity > 2) goto L_Failed;
callfunc("SetTorchIntensity");
callfunc("GetTorchIntensity");
- if (@TorchIntensity > 2) goto L_Failed;
misceffect 5;
mes "As you pour the powder into the flame it flares violently for a moment and then turns into a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + "..";
goto L_Color_Loop;
@@ -251,9 +251,9 @@ L_Show_Color:
L_Wrong_Color:
set @Intensity, @TorchIntensity + 1;
+ if (@Intensity > 2) goto L_Failed;
callfunc("SetTorchIntensity");
callfunc("GetTorchIntensity");
- if (@TorchIntensity > 2) goto L_Failed;
misceffect 5;
mes "As you pour the powder into the flame it flares violently for a moment and then turns into a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + "..";
goto L_Color_Loop;
@@ -338,10 +338,10 @@ L_Show_Color:
goto L_Color_Loop;
L_Wrong_Color:
- set @Itensity, @TorchIntensity + 1;
+ set @Intensity, @TorchIntensity + 1;
+ if (@Intensity > 2) goto L_Failed;
callfunc("SetTorchIntensity");
callfunc("GetTorchIntensity");
- if (@TorchIntensity > 2) goto L_Failed;
misceffect 5;
mes "As you pour the powder into the flame it flares violently for a moment and then turns into a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + "..";
goto L_Color_Loop;
@@ -354,4 +354,4 @@ L_Failed:
callfunc("SetTorchIntensity");
heal -Hp, 0;
close;
-} \ No newline at end of file
+}