summaryrefslogtreecommitdiff
path: root/npc/042-2/tanisha.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-2/tanisha.txt')
-rw-r--r--npc/042-2/tanisha.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/042-2/tanisha.txt b/npc/042-2/tanisha.txt
index bbaf4b4b..6cb7f2d4 100644
--- a/npc/042-2/tanisha.txt
+++ b/npc/042-2/tanisha.txt
@@ -1,5 +1,10 @@
042-2.gat,37,90,0 script Tanisha 114,{
+//TODO: fix the mapflag in 042-2
+//TODO: limit number of players for maggot fight
+
+ if ((getx(0) > 29) && (getx(0) < 37) && (gety(0) > 84) && (gety(0) < 90)) goto L_Fighting;
+
if (FLAGS & FLAG_TUTORIAL_DONE) goto L_Tut_Done;
if (tanisha == 4) goto L_Again;
if (tanisha == 3) goto L_Stats;
@@ -160,6 +165,10 @@ L_Tut_Done:
mes "She sighs.";
close;
+L_Fighting:
+ message strcharinfo(0), "Tanisha: I believe in you!";
+ end;
+
OnTimer1000:
setnpctimer 0;
if (getareausers("042-2.gat", 29, 85, 36, 90) < 1)