From dae7a52eb31080a28b427668e9c2d4b4f793b705 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 7 Feb 2011 12:35:58 -0800 Subject: quick transparent torch fix --- npc/009-4/torches.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc/009-4/torches.txt') diff --git a/npc/009-4/torches.txt b/npc/009-4/torches.txt index a00ab95c..d478c212 100644 --- a/npc/009-4/torches.txt +++ b/npc/009-4/torches.txt @@ -133,6 +133,7 @@ L_Use_Red: if (@TorchColor > 6 && @TorchColor < 12) set @Color, @TorchColor + 1; if (@TorchColor < 6 && @TorchColor > 1) set @Color, @TorchColor - 1; if (@TorchColor == 12) set @Color, 1; + if (@TorchColor == 0) set @Color, 1; callfunc("SetTorchColor"); delitem "RedPowder", 1; goto L_Show_Color; @@ -141,6 +142,7 @@ L_Use_Yellow: if (countitem("YellowPowder") < 1) goto L_No_Powder; if (@TorchColor < 10 && @TorchColor > 5) set @Color, @TorchColor - 1; if (@TorchColor >= 1 && @TorchColor < 5) set @Color, @TorchColor + 1; + if (@TorchColor == 0) set @Color, 5; callfunc("SetTorchColor"); delitem "YellowPowder", 1; goto L_Show_Color; @@ -150,6 +152,7 @@ L_Use_Blue: if (@TorchColor > 4 && @TorchColor < 9) set @Color, @TorchColor + 1; if (@TorchColor <= 12 && @TorchColor > 9) set @Color, @TorchColor - 1; if (@TorchColor == 1) set @Color, 12; + if (@TorchColor == 0) set @Color, 9; callfunc("SetTorchColor"); delitem "BluePowder", 1; goto L_Show_Color; -- cgit v1.2.3-70-g09d2