// Excalibur Quest NPC
// By: Syrus22
// Version 1.0
// Any comments or questions PM me on the Yare forums
// Description: This is a simple item quest NPC. The player must find an
// Angel Band, a Heaven Ring, and an Emperium. If they do they will receive
// the Excalibur.
// Modify By g Robert 2004-1-20 mailto:robert_st@21cn.com

prt_castle.gat,81,171,5	script	Ϫ	108,{
	mes "[Ϫ]";
	mes "AnA_IaIܺaiDAAڭ̥bjǻȷCХۤCC";
	mes "MApGAöQ~Aڭ̤]@NHөMA洫I";
	next;
	menu "߰ݩһݪ~",ExItems,"洫ۤC",ExCreate,"",ExEnd;
	ExItems:
	        mes "[Ϫ]";
	        mes "ڭ̲{bһݭnOGѨϵoBRݩMACؤ@ӡC";
	        close;
	ExCreate:
        	mes "[Ϫ]";
		mes "nAڬݬݧAaӪFI";
		next;
		if(countitem(2254)<1) goto NoAngel;
		if(countitem(2282)<1) goto NoHeaven;
		if(countitem(714)<1) goto NoEmp;
		delitem 2254,1;
		delitem 2282,1;
		delitem 714,1;
		getitem 1137,1;
		mes "[Ϫ]";
		mes "ߡIһݪ~wgFAڲ{bNAǻ'ۤC'I";
		mes "P§AѻPAAnBI";
		close;
	    	NoAngel:
			mes "[Ϫ]";
			mes "藍_AAèSѨϵoaӡIЭsˬdA~C";
			close;
		NoHeaven:
			mes "[Ϫ]";
			mes "藍_AAèSaӡIЭsˬdA~C";
			close;
		NoEmp:
			mes "[Ϫ]";
			mes "藍_AAèSRݱaӡIЭsˬdA~C";
			close;
	ExEnd:
		mes "[Ϫ]";
		mes "AI";
        	close;
}
