From f2803e45e8f582eaf70b2530325e767639ea8b0a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 4 Jun 2018 17:15:56 -0300 Subject: Fix a fatal error --- npc/006-1/crazyfefe.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'npc/006-1/crazyfefe.txt') diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 8a2d944f2..e01ba7b69 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -181,7 +181,7 @@ L_Summon: } areamonster "006-1", 20, 20, 70, 60, "", .@monsterId, .@amount, "Crazyfefe::OnPetDeath"; } - close; + end; L_CleanUp: npctalk3 "Game Over!"; @@ -211,6 +211,12 @@ OnReward: dispbottom l("You've gained @@ GP and EXP", ($@FIGHT_CAVE_LEVEL)); end; +// Every 5 seconds, handle cave, if fighting. Does nothing when waiting. +OnTimer5000: + if ($@FIGHT_CAVE_LEVEL) + goto L_CaveLogic; + end; + // Announces and attempts to start the fight once time run out OnTimer300000: if ($@FEFE_DELAY <= gettimetick(2)) goto L_StartFight; @@ -218,12 +224,6 @@ OnTimer300000: initnpctimer; end; -// Every 5 seconds, handle cave, if fighting. Does nothing when waiting. -OnTimer5000: - if ($@FIGHT_CAVE_LEVEL) - goto L_CaveLogic; - end; - OnPetDeath: end; -- cgit v1.2.3-60-g2f50