summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-04 17:15:56 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-04 17:15:56 -0300
commitf2803e45e8f582eaf70b2530325e767639ea8b0a (patch)
treea0cd47d378800671de9c32f1d0d6a82e56d7afde /npc
parent16e94127377e2cbc8e37d93d0c885fc211466ce6 (diff)
downloadserverdata-f2803e45e8f582eaf70b2530325e767639ea8b0a.tar.gz
serverdata-f2803e45e8f582eaf70b2530325e767639ea8b0a.tar.bz2
serverdata-f2803e45e8f582eaf70b2530325e767639ea8b0a.tar.xz
serverdata-f2803e45e8f582eaf70b2530325e767639ea8b0a.zip
Fix a fatal error
Diffstat (limited to 'npc')
-rw-r--r--npc/006-1/crazyfefe.txt14
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;