summaryrefslogtreecommitdiff
path: root/npc/042-11/boss.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-11/boss.txt')
-rw-r--r--npc/042-11/boss.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/npc/042-11/boss.txt b/npc/042-11/boss.txt
new file mode 100644
index 000000000..76ddac08f
--- /dev/null
+++ b/npc/042-11/boss.txt
@@ -0,0 +1,45 @@
+// TMW 2 Script
+// Author:
+// Jesusalva
+// Micksha
+// Description:
+// Controls the showdown
+042-11,41,57,0 script #KDoor04211a NPC_HIDDEN,4,0,{
+ end;
+
+OnTouch:
+ .@g=getcharid(2);
+ if (.@g < 1) percentheal -100, -100;
+ if (!($KAMELOT_QUEST[.@g] & 64)) goto L_NoAccess;
+ warp "042-10@"+.@g, 143, 21;
+ end;
+
+L_NoAccess:
+ dispbottom l("Can't leave right now.");
+ end;
+}
+
+042-11,20,28,0 script #KDoor04211b NPC_HIDDEN,0,2,{
+ end;
+
+OnTouch:
+ .@g=getcharid(2);
+ if (.@g < 1) percentheal -100, -100;
+ if (!($KAMELOT_QUEST[.@g] & 64)) goto L_NoAccess;
+ mes l("Are you sure you want leave?");
+ mesc l("You wont be able to go back!");
+ next;
+ if (askyesno() == ASK_YES)
+ warp "042-0@"+.@g, 46, 25;
+ close;
+
+L_NoAccess:
+ dispbottom l("Can't leave right now.");
+ end;
+}
+
+// TODO: Boss Showdown
+// TODO: Spawn GMGiftBox and Treasure Chests upon end
+
+
+