diff options
-rw-r--r-- | npc/006-1/crazyfefe.txt | 14 |
1 files changed, 7 insertions, 7 deletions
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; |