summaryrefslogtreecommitdiff
path: root/world/map/npc/024-2/barrier.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/024-2/barrier.txt')
-rw-r--r--world/map/npc/024-2/barrier.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/world/map/npc/024-2/barrier.txt b/world/map/npc/024-2/barrier.txt
index 6b971d1f..4894dad8 100644
--- a/world/map/npc/024-2/barrier.txt
+++ b/world/map/npc/024-2/barrier.txt
@@ -2,10 +2,15 @@
024-2.gat,31,24,0|script|#MagicSchoolBarrier1#M|0,1,1,
{
- if (BaseLevel < 40) goto L_PushBack;
- close;
+ callfunc "MorganState";
+ if (@morgan >= 4)
+ goto L_End;
+ goto L_PushBack;
L_PushBack:
warp "024-2.gat", 34, 24;
- close;
+ goto L_End;
+
+L_End:
+ end;
}