//===================================================================
//Ragnarok Online EP2.5 GVG Script	prtg_cas04         by kalen
// ~ƩMץ : FPE
// Jathena++ ׾¡Ghttp://www.foxofice.net/bbs
//===================================================================
-	script	gfproD	722,{
callfunc "flagsc","prtg_cas04.gat",2,0,0,0;
OnRecvCastleP04:
	flagemblem getcastledata("prtg_cas04.gat",1);
	end;
}
prt_gld.gat,120,243,6	duplicate(gfproD)	qj#p4-1	722
prt_gld.gat,120,236,6	duplicate(gfproD)	qj#p4-2	722
prt_gld.gat,122,243,6	duplicate(gfproD)	qj#p4-3	722
prt_gld.gat,122,236,6	duplicate(gfproD)	qj#p4-4	722
prtg_cas04.gat,82,29,4	duplicate(gfproD)	qj#p4-5	722
prtg_cas04.gat,75,29,4	duplicate(gfproD)	qj#p4-6	722
prtg_cas04.gat,75,27,4	duplicate(gfproD)	qj#p4-7	722
prtg_cas04.gat,82,27,4	duplicate(gfproD)	qj#p4-8	722
prtg_cas04.gat,59,29,4	duplicate(gfproD)	qj#p4-9	722
prtg_cas04.gat,67,29,4	duplicate(gfproD)	qj#p4-10	722
prtg_cas04.gat,258,25,4	duplicate(gfproD)	qj#p4-11	722
prtg_cas04.gat,258,20,4	duplicate(gfproD)	qj#p4-12	722
prtg_cas04.gat,263,20,4	duplicate(gfproD)	qj#p4-13	722
prtg_cas04.gat,263,27,4	duplicate(gfproD)	qj#p4-14	722
//------------------------------d--------------------------------
prtg_cas04.gat,258,247,4	script	d ¾::kapra_prtg04	117,{
	callfunc "gkfmenu","prtg_cas04.gat";
	menu	"ϥέܮwA",L2,
		"ϥΪŶʪA",L3,
		"ϥΤA",L4,
		"",L7;
L2:
	callfunc "kfstorage",40;
L3:
	callfunc "gkfwarp","w","prontera.gat",278,211;
L4:
	callfunc "kfcart",800;
L7:
	callfunc "kfend";
}
//-------------------------------޲zH---------------------------------
prtg_cas04.gat,259,265,4	script	oU	55,{
	callfunc "Steward_menu0","prtg_cas04.gat","oU";
	menu	"dݯKap",L1,
		"ӷ~oi",L2,
		"꨾m",L3,
		"]m@H",L4,
		" / Ѷ d¾",L5,
		"iJDHж",L6,
		"XKa",L7;
L1:
	callfunc "Steward_menu1","prtg_cas04.gat","oU";
L2:
	callfunc "Steward_menu2","prtg_cas04.gat","oU";
L3:
	callfunc "Steward_menu3","prtg_cas04.gat","oU";
L4:
	callfunc "Steward_menu4","prtg_cas04.gat","oU";
	if (@GDnum == 10) monster "prtg_cas04.gat",276,14,"Mh @H",1286,1,"Agit_D04::On_GDp41";
	if (@GDnum == 11) monster "prtg_cas04.gat",274,35,"Mh @H",1286,1,"Agit_D04::On_GDp42";
	if (@GDnum == 12) monster "prtg_cas04.gat",246,246,"Mh @H",1286,1,"Agit_D04::On_GDp43";
	if (@GDnum == 13) monster "prtg_cas04.gat",38,240,"hL @H",1287,1,"Agit_D04::On_GDp44";
	if (@GDnum == 14) monster "prtg_cas04.gat",29,240,"hL @H",1287,1,"Agit_D04::On_GDp45";
	if (@GDnum == 15) monster "prtg_cas04.gat",33,258,"hL @H",1287,1,"Agit_D04::On_GDp46";
	if (@GDnum == 16) monster "prtg_cas04.gat",78,48,"}b @H",1285,1,"Agit_D04::On_GDp47";
	if (@GDnum == 17) monster "prtg_cas04.gat",36,61,"}b @H",1285,1,"Agit_D04::On_GDp48";
	mes "[޲zHoU]";
	mes "]m@HFC";
	mes "@HO@ڭ̪Ka";
	mes "ĤHiC";
	close;
L5:
	callfunc "Steward_menu5","prtg_cas04.gat","oU","kapra_prtg04";
L6:
	callfunc "Steward_menu6","prtg_cas04.gat","oU",267,159;
L7:
	callfunc "Steward_menu7","prtg_cas04.gat","oU";
	callfunc "resetcastledata","prtg_cas04.gat","::OnRecvCastleP04","kapra_prtg04",@GID,"::OnGDEMPSetP04";
}
//-----------------------------}-------------------------------
prtg_cas04.gat,275,160,0	script	@	111,{
callfunc "gdswitch","prtg_cas04.gat",260,265;
}
//-----------------------------}2------------------------------
prtg_cas04.gat,56,283,0	script	@	111,{
callfunc "gdswitch2","prtg_cas04.gat","gld_dun03.gat",268,203;
}