1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
026-2,77,92,0 script #DoorIn NPC45,0,0,{
@Graveyard_Inn_MASK = NIBBLE_0_MASK;
@Graveyard_Inn_SHIFT = NIBBLE_0_SHIFT;
@reid = ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT);
if (@reid >= 6) goto L_Warp;
message strcharinfo(0), "The door is locked.";
end;
L_Warp:
warp "026-2", 77, 89;
@reid = 0;
end;
}
026-2,77,90,0 script #DoorOut-gyinn NPC45,0,0,{
warp "026-2", 77, 93;
end;
}
|