summaryrefslogblamecommitdiff
path: root/world/map/npc/027-5/general_terogan_door.txt
blob: 306ace35fdbdb7db2f519a230a115ba6cb2b1556 (plain) (tree)


















                                                                
// Mini-Boss
// General Terogan

027-5.gat,70,25,0|script|#GeneralDoor3|35,1,0
{
    if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT3 != 0) )
        goto L_NoKeys;

    delitem "CryptKey", 10;
    warp "027-8.gat",39,60;
    goto L_Close;

L_NoKeys:
    message strcharinfo(0), "This door is locked.";
    end;

L_Close:
    close;
}