//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  Euphy
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= War of Emperium SE - Andlangr
//================= Description ===========================================
//= NPCs related to the WoE:SE castle Andlangr
//================= Current Version =======================================
//= 1.0
//=========================================================================

-	duplicate(Manager#template)	Manager#schg_cas02	FAKE_NPC
-	duplicate(gard#template)	gard1#schg_cas02	FAKE_NPC
-	duplicate(gard#template)	gard2#schg_cas02	FAKE_NPC
-	duplicate(df#template)	df1#schg_cas02	FAKE_NPC
-	duplicate(df#template)	df2#schg_cas02	FAKE_NPC
-	duplicate(RL#template)	RL0#schg_cas02	FAKE_NPC
-	duplicate(RL#template)	RL1#schg_cas02	FAKE_NPC
-	duplicate(RL#template)	RL2#schg_cas02	FAKE_NPC
-	duplicate(RL#template)	RL3#schg_cas02	FAKE_NPC

schg_cas02,105,378,3	duplicate(Steward#template)	Steward#sc02	1_M_JOBTESTER
schg_cas02,140,184,3	duplicate(Guardian#template)	Endeef#sc02	4_M_LGTGUARD
schg_cas02,131,365,3	duplicate(Kafra#template)	Kafra Employee#sc02	4_F_KAFRA1
schg_cas02,231,57,0	duplicate(Guardian Stone#template)	1st Guardian Stone#sc02	CLEAR_NPC
schg_cas02,335,231,0	duplicate(Guardian Stone#template)	2nd Guardian Stone#sc02	CLEAR_NPC
schg_cas02,288,97,0	duplicate(Control#template)	Control Device01#sc02	HIDDEN_NPC
schg_cas02,230,209,0	duplicate(Control#template)	Control Device02#sc02	HIDDEN_NPC
schg_cas02,159,143,0	duplicate(Control#template)	Control Device03#sc02	HIDDEN_NPC
schg_cas02,257,369,0	duplicate(Switch#template)	#sc02_switch 	HIDDEN_NPC
schg_cas02,174,328,3	duplicate(Sunflower#template)	Mysterious Sunflower#02	4_BLUE_FLOWER

schg_cas02,143,198,0	script	LF-01#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","First Gate House",235,44,"Second Gate House",302,233; }
schg_cas02,143,202,0	script	LF-02#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","Defense Area 1-1",317,83,"Defense Area 1-2",359,83; }
schg_cas02,143,206,0	script	LF-03#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","Defense Area 2-1",283,79,"Defense Area 2-2",280,122; }
schg_cas02,145,208,0	script	LF-04#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","Defense Area 3-1",215,110,"Defense Area 3-2",255,215; }
schg_cas02,180,208,0	script	LF-05#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","Center 1 Area",338,153,"Center 2 Area",213,226; }
schg_cas02,182,206,0	script	LF-06#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","Defense Area 1-1",317,83,"Defense Area 2-1",283,79,"Defense Area 3-1",215,110; }
schg_cas02,182,202,0	script	LF-07#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","Area 1-2",359,83,"Area 2-2",280,122,"Area 3-2",255,215; }
schg_cas02,182,198,0	script	LF-08#schg_cas02	HIDDEN_NPC,{ callfunc "LinkFlag","Convenience Facility",101,306; }
schg_cas02,235,222,0	script	Andlangr#LF_sc02_1::LF_sc02_1	HIDDEN_NPC,{ callfunc "LinkFlag","Emperium Center",136,188; }
schg_cas02,157,136,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_2	HIDDEN_NPC
schg_cas02,168,136,4	duplicate(LF_sc02_1)	Andlangr#LF_sc02_3	HIDDEN_NPC
schg_cas02,320,232,4	duplicate(LF_sc02_1)	Andlangr#LF_sc02_4	HIDDEN_NPC
schg_cas02,295,109,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_5	HIDDEN_NPC
schg_cas02,295,92,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_6	HIDDEN_NPC
schg_cas02,285,90,4	duplicate(LF_sc02_1)	Andlangr#LF_sc02_7	HIDDEN_NPC
schg_cas02,285,190,4	duplicate(LF_sc02_1)	Andlangr#LF_sc02_8	HIDDEN_NPC
schg_cas02,238,66,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_9	HIDDEN_NPC
schg_cas02,230,45,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_10	HIDDEN_NPC
schg_cas02,233,120,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_11	HIDDEN_NPC
schg_cas02,247,120,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_12	HIDDEN_NPC
schg_cas02,261,162,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_13	HIDDEN_NPC
schg_cas02,244,162,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_14	HIDDEN_NPC
schg_cas02,235,207,0	duplicate(LF_sc02_1)	Andlangr#LF_sc02_15	HIDDEN_NPC

sch_gld,296,247,4	script	Andlangr#flag_sc02_1::Sc02_Flag	GUILD_FLAG,{
	callfunc "ReturnFlag","schg_cas02",1;
	end;
OnAgitInit2:
OnRecvCastleSc02:
	flagemblem getcastledata("schg_cas02",1);
	end;
}
sch_gld,280,247,4	duplicate(Sc02_Flag)	Andlangr#flag_sc02_2	GUILD_FLAG
