summaryrefslogblamecommitdiff
path: root/npc/026-2/door.txt
blob: 7a9ad2bd6210530649fe97ef742a8b157a39e242 (plain) (tree)



















                                                                                  
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;
}