summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/024-2_Tulimshar_Magic_School/barrier.txt3
-rw-r--r--npc/024-2_Tulimshar_Magic_School/tyer.txt9
2 files changed, 7 insertions, 5 deletions
diff --git a/npc/024-2_Tulimshar_Magic_School/barrier.txt b/npc/024-2_Tulimshar_Magic_School/barrier.txt
index eda8e173..6450d5ad 100644
--- a/npc/024-2_Tulimshar_Magic_School/barrier.txt
+++ b/npc/024-2_Tulimshar_Magic_School/barrier.txt
@@ -5,8 +5,7 @@
close;
L_PushBack:
+ doevent "Tyer::OnBarrier";
warp "024-2.gat", 34, 24;
- mes "[Tyer]";
- mes "\"You're still too young to go in there.\"";
close;
}
diff --git a/npc/024-2_Tulimshar_Magic_School/tyer.txt b/npc/024-2_Tulimshar_Magic_School/tyer.txt
index 6594cc76..f46190f2 100644
--- a/npc/024-2_Tulimshar_Magic_School/tyer.txt
+++ b/npc/024-2_Tulimshar_Magic_School/tyer.txt
@@ -3,13 +3,16 @@
024-2.gat,36,21,0 script Tyer 157,{
mes "[Tyer]";
mes "\"Hello.\"";
+ close;
- if (BaseLevel >= 40) close;
+OnBarrier:
+ mes "[Tyer]";
+ mes "\"You're still too young to go in there.\"";
next;
menu
- "Hello", -,
- "What do you mean I'm too young to go in there?", L_Explain;
+ "What do you mean I'm too young to go in there?", L_Explain,
+ "Ah, right.", -;
close;
L_Explain: