From 134bb0df0e2ca0d6933668594827cf4d825a4596 Mon Sep 17 00:00:00 2001 From: coffee Date: Fri, 26 Aug 2011 21:27:34 -0300 Subject: Makes the reference to variables the same through the file. --- world/map/npc/033-1/kimarr.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index de869f65..29113769 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -172,11 +172,11 @@ L_TimeOver: L_CheckDrops: if ($@Fluffy_Time > 15) goto L_DidntDrop; - set @Fluffy_RedApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "RedApple", 1); - set @Fluffy_XmasCake, getareadropitem("033-1.gat", 79, 29, 88, 42, "XmasCake", 1); - set @Fluffy_Cake, getareadropitem("033-1.gat", 79, 29, 88, 42, "Cake", 1); - set @Fluffy_GreenApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "GreenApple", 1); - if (@Fluffy_RedApple || @Fluffy_XmasCake || @Fluffy_Cake || @Fluffy_GreenApple) + set $@Fluffy_RedApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "RedApple", 1); + set $@Fluffy_XmasCake, getareadropitem("033-1.gat", 79, 29, 88, 42, "XmasCake", 1); + set $@Fluffy_Cake, getareadropitem("033-1.gat", 79, 29, 88, 42, "Cake", 1); + set $@Fluffy_GreenApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "GreenApple", 1); + if ($@Fluffy_RedApple || $@Fluffy_XmasCake || $@Fluffy_Cake || $@Fluffy_GreenApple) goto L_BeginHunting; goto L_ContinueTimer; @@ -192,20 +192,20 @@ L_BeginHunting: areamonster "033-1.gat", 79, 29, 88, 42, "", 1020, $@Fluffy_Spawn, "Kimarr::OnFluffyDeath"; // other monsters don't generate a real event - set @Fluffy_Extra, 5 * @Fluffy_XmasCake + 3 * @Fluffy_Cake + 10 * BaseLevel; - if ((BaseLevel > 40) && (rand(@Fluffy_Extra) > 500)) // Ice Goblin + set $@Fluffy_Extra, 5 * $@Fluffy_XmasCake + 3 * $@Fluffy_Cake + 10 * BaseLevel; + if ((BaseLevel > 40) && (rand($@Fluffy_Extra) > 500)) // Ice Goblin areamonster "033-1.gat", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnOtherDeath"; - if ((BaseLevel > 60) && (rand(@Fluffy_Extra) > 550)) // Santa Slime + if ((BaseLevel > 60) && (rand($@Fluffy_Extra) > 550)) // Santa Slime areamonster "033-1.gat", 79, 29, 88, 42, "", 1015, 1, "Kimarr::OnOtherDeath"; // TODO: add the wolvern as well when it has been added - if ((BaseLevel > 70) && (rand(@Fluffy_Extra) > 600)) // Yeti + if ((BaseLevel > 70) && (rand($@Fluffy_Extra) > 600)) // Yeti areamonster "033-1.gat", 79, 29, 88, 42, "", 1072, 1, "Kimarr::OnOtherDeath"; - set @Fluffy_Extra, 0; - set @Fluffy_RedApple, 0; - set @Fluffy_XmasCake, 0; - set @Fluffy_Cake, 0; - set @Fluffy_GreenApple, 0; + set $@Fluffy_Extra, 0; + set $@Fluffy_RedApple, 0; + set $@Fluffy_XmasCake, 0; + set $@Fluffy_Cake, 0; + set $@Fluffy_GreenApple, 0; set $@Fluffy_Hunting, 3; goto L_ContinueTimer; @@ -256,7 +256,7 @@ L_InsertScore: L_FindLastScore: // comment this out to allow the player to be in the list more than once // though actually, it might be better just to assume the list is full - if (strcharinfo(0) == $Record_Fluffy_Name[@loop]) + if (strcharinfo(0) == $Record_Fluffy_Name$[@loop]) goto L_MoveStuff; set @loop, @loop + 1; -- cgit v1.2.3-60-g2f50