summaryrefslogblamecommitdiff
path: root/npc/027-3_Crypt/entrance.txt
blob: f8da11b803a82584d3ce5b28845055f9280daa3b (plain) (tree)








































                                                                                                                      
// Effects for opening and closing the gate. Also set it so no new player can't be warped in once the gate is opened.

027-3.gat,40,57,0	script	#gatecontrol	127, 2, 1{
    mes "Once you pass this point I cannot warp anyone else to help.";
    mes "Are you sure you are ready to go?";
    menu
    "Let's go",L_BEGIN,
    "No thank you",-;
    warp "027-3.gat",40,60;
    close;

L_BEGIN:
    disablenpc "#closedgate";
	initnpctimer;
	specialeffect 300;
	// add stop alacrius warp flag to temp globals
    close;

OnTimer2000:
    enablenpc "#opengate";
	disablenpc "#gatecontrol";
	end;
}

027-3.gat,40,59,0	script	#closedgate	322,{
    end;
}
027-3.gat,40,59,0	script	#opengate	323,{
    end;
}


// Effects for the exit.

027-3.gat,40,78,0	script	#cryptexit2	127, 3, 3{
    mes "Unfortunately, once I bring you to this pocket";
    mes "in time you cannot leave through its normal exit.";
    mes "The only way to get out is to defeat the reaper";
    mes "or die...";
    close;
}