summaryrefslogtreecommitdiff
path: root/world/map/npc/002-4/underground_palace_barrier.txt
blob: 6c9d096ab67f11e3903ea2b417ca09a3472025df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//underground palace barrier

002-4,68,98,0|script|#UGP_Barrier|45,0,0
{
    set @state, ((QUEST_SouthTulimshar & BYTE_2_MASK) >> BYTE_2_SHIFT);

    if (@state >= 25) goto L_Barrier_Open;

    message strcharinfo(0), "Some force seems to block your entrance.";
    goto L_End;

L_Barrier_Open:
    warp "002-5",35,97;
    goto L_End;

L_End:
    set @state, 0;
    end;
}