summaryrefslogtreecommitdiff
path: root/world/map/npc/042-2
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/042-2')
-rw-r--r--world/map/npc/042-2/tanisha.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/world/map/npc/042-2/tanisha.txt b/world/map/npc/042-2/tanisha.txt
index c3c0d199..cc5d307a 100644
--- a/world/map/npc/042-2/tanisha.txt
+++ b/world/map/npc/042-2/tanisha.txt
@@ -209,7 +209,7 @@ L_Sleep:
set @Maggot_Kills, 0;
set @time, 0;
if (getareausers("042-2.gat", 30, 85, 36, 89) == 0)
- stopnpctimer;
+ goto L_CleanUp;
goto L_Close;
L_Fail:
@@ -245,6 +245,7 @@ L_CleanUp:
killmonster "042-2.gat", "Tanisha::OnMaggotDeath";
set $@Maggot_Hunters, 0;
stopnpctimer;
+ areamonster "042-2.gat", 30, 85, 36, 89, "", 1002, 1, "Tanisha::OnMaggotDeath";
end;
OnTick:
@@ -276,7 +277,7 @@ OnMaggotDeath:
set @Maggot_Kills, 0;
set @time, 0;
if (getareausers("042-2.gat", 30, 85, 36, 89) == 0)
- stopnpctimer;
+ goto L_CleanUp;
end;
L_Close:
@@ -285,4 +286,5 @@ L_Close:
OnInit:
set $@Maggot_MaxHunters, 4;
+ areamonster "042-2.gat", 30, 85, 36, 89, "", 1002, 1, "Tanisha::OnMaggotDeath";
}