summaryrefslogtreecommitdiff
path: root/npc/001-4
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-4')
-rw-r--r--npc/001-4/_import.txt2
-rw-r--r--npc/001-4/event_soulmenhir.txt21
-rw-r--r--npc/001-4/mapflags.txt1
3 files changed, 24 insertions, 0 deletions
diff --git a/npc/001-4/_import.txt b/npc/001-4/_import.txt
index 5435c135a..609e87f62 100644
--- a/npc/001-4/_import.txt
+++ b/npc/001-4/_import.txt
@@ -1,5 +1,7 @@
// Map 001-4: Enchanted Forest
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/001-4/_mobs.txt",
+"npc/001-4/event_soulmenhir.txt",
+"npc/001-4/mapflags.txt",
"npc/001-4/mushroom.txt",
"npc/001-4/traps.txt",
diff --git a/npc/001-4/event_soulmenhir.txt b/npc/001-4/event_soulmenhir.txt
new file mode 100644
index 000000000..43d60c34a
--- /dev/null
+++ b/npc/001-4/event_soulmenhir.txt
@@ -0,0 +1,21 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// Special Soul Menhir which only allows leaving the map.
+
+001-4,152,154,0 script Soul Menhir#001-4 NPC_SOUL_CLEAN,{
+ mesn;
+ mes l("(A mystical aura surrounds this stone. It probably can return you home. What do you do?)");
+
+ menu
+ l("Touch it."), L_Warp,
+ l("Leave it alone."), -;
+ close;
+
+L_Warp:
+ warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
+ close;
+
+}
+
diff --git a/npc/001-4/mapflags.txt b/npc/001-4/mapflags.txt
new file mode 100644
index 000000000..3a169117c
--- /dev/null
+++ b/npc/001-4/mapflags.txt
@@ -0,0 +1 @@
+001-4 mapflag nosave 002-1,53,38