summaryrefslogtreecommitdiff
path: root/npc/015-8/logic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/015-8/logic.txt')
-rw-r--r--npc/015-8/logic.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/015-8/logic.txt b/npc/015-8/logic.txt
new file mode 100644
index 000000000..04d3780be
--- /dev/null
+++ b/npc/015-8/logic.txt
@@ -0,0 +1,26 @@
+// TMW2 scripts.
+// Authors:
+// Diogo_RBG
+// Jesusalva
+// Description:
+// Pirate Caves gateway main logic
+// Adapted from TMW-BR for Moubootaur Legends
+
+015-3,128,161,0 script #0153WG1 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ compareandsetq HurnscaldQuest_PirateCave, 3, 4;
+ slide 166, 38;
+ end;
+}
+
+015-3,132,23,0 script #0153WG2 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ if (getq(HurnscaldQuest_PirateCave) >= 5) {
+ slide 98, 162;
+ }
+ end;
+}
+
+