summaryrefslogtreecommitdiff
path: root/world/map/npc/009-7
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2014-11-12 20:15:38 -0500
committermekolat <mekolat@gmail.com>2014-11-12 20:15:38 -0500
commit29ddbded7eb9666df30e67f25fcbee467bbd124f (patch)
treed7b02caffec2e75d543b411d86c0ba4f59f23434 /world/map/npc/009-7
parent64a4adaa06f1059c4ac705199d5a0716c8edef60 (diff)
downloadserverdata-29ddbded7eb9666df30e67f25fcbee467bbd124f.tar.gz
serverdata-29ddbded7eb9666df30e67f25fcbee467bbd124f.tar.bz2
serverdata-29ddbded7eb9666df30e67f25fcbee467bbd124f.tar.xz
serverdata-29ddbded7eb9666df30e67f25fcbee467bbd124f.zip
comply with debug=2
Diffstat (limited to 'world/map/npc/009-7')
-rw-r--r--world/map/npc/009-7/debug.txt1
-rw-r--r--world/map/npc/009-7/eventHandler.txt3
2 files changed, 3 insertions, 1 deletions
diff --git a/world/map/npc/009-7/debug.txt b/world/map/npc/009-7/debug.txt
index c4877b40..0d66ae48 100644
--- a/world/map/npc/009-7/debug.txt
+++ b/world/map/npc/009-7/debug.txt
@@ -115,6 +115,7 @@ L_OutOfRange:
L_Restart:
callfunc "fightclub_EmergencyWipe";
+ donpcevent "#FightClubHandler::OnTimer2000"; // this re-starts the main timer if it was stopped
mes "The temporary variables have been reset.";
goto L_Menu;
diff --git a/world/map/npc/009-7/eventHandler.txt b/world/map/npc/009-7/eventHandler.txt
index fa809fd2..fbcec735 100644
--- a/world/map/npc/009-7/eventHandler.txt
+++ b/world/map/npc/009-7/eventHandler.txt
@@ -87,11 +87,12 @@ OnInit:
set $@fightclub_x2, 38;
set $@fightclub_y2, 48;
callfunc "fightclub_StartUp";
- if($SANGUINE & $@SV_FCDBit != 0) end;
callfunc "fightclub_CleanStage";
goto L_StartTimer;
L_StartTimer:
+ if($SANGUINE & $@SV_FCDBit != 0) end;
+ if(debug >= 2) end;
setnpctimer 0;
initnpctimer;
end;