summaryrefslogblamecommitdiff
path: root/world/map/npc/027-3/general_krukan_door.txt
blob: 86a6342fc7b55d587dc599f62e56357fcfa881ce (plain) (tree)


















                                                                
// Mini-Boss
// General Krukun

027-3.gat,82,88,0|script|#GeneralDoor1|35,1,0
{
    if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT1 != 0) )
        goto L_NoKeys;

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

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

L_Close:
    close;
}