@LabelIndex 422493
@StringIndex 0
class 1 garden_of_coral3_maker : garden_of_coral1_maker {
parameter:
	string	maker_name1 = "innadril22_2422_042m1";
	string	maker_name2 = "innadril22_2422_043m1";
	string	maker_name3 = "innadril22_2422_044m1";
	string	golem_maker_name1 = "innadril22_2422_042m2";
	string	golem_maker_name2 = "innadril22_2422_042m3";
	string	DoorName = "cyratal_cave_a";

handler:
	EventHandler ON_ALL_NPC_DELETED(i0,def0,maker0) {
		i0 = myself::GetInZoneID();
		maker0 = gg::InstantZone_GetNpcMaker(i0,maker_name1);
		if( gg::IsNull(maker0) == 0 ) {
			gg::SendMakerScriptEvent(maker0,12559,0,0);
		}
		maker0 = gg::InstantZone_GetNpcMaker(i0,maker_name2);
		if( gg::IsNull(maker0) == 0 ) {
			gg::SendMakerScriptEvent(maker0,12559,0,0);
		}
		if( myself.i_ai0 == 2 ) {
			maker0 = gg::InstantZone_GetNpcMaker(i0,golem_maker_name1);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,1001,0,0);
			}
			maker0 = gg::InstantZone_GetNpcMaker(i0,golem_maker_name2);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,1001,0,0);
			}
		}
	}

}
