@LabelIndex 422397
@StringIndex 0
class 1 named_a1_caller_maker : inzone_maker {
parameter:
	string	maker_name1 = "innadril22_2422_017m1";
	string	maker_name2 = "innadril22_2422_017m2";
	string	maker_name3 = "innadril22_2422_018m1";
	string	maker_name4 = "innadril22_2422_018m2";
	string	maker_name5 = "innadril22_2422_019m1";
	string	maker_name6 = "innadril22_2422_019m2";
	string	secretdoor_maker_name1 = "innadril22_2422_844m1";
	string	secretdoor_maker_name2 = "innadril22_2422_845m1";
	string	secretdoor_maker_name3 = "innadril22_2422_846m1";

handler:
	EventHandler ON_START(i0,def0) {
		myself.i_ai0 = 0;
		super;
	}

	EventHandler ON_SCRIPT_EVENT(script_event_arg1,script_event_arg2,script_event_arg3,def0,i0,maker0,i1,i2) {
		if( script_event_arg1 == 12546 ) {
			myself.i_ai0 = ( myself.i_ai0 + 1 );
		} else if( script_event_arg1 == 12547 ) {
			myself.i_ai0 = ( myself.i_ai0 + 1 );
		} else if( script_event_arg1 == 12548 ) {
			myself.i_ai0 = ( myself.i_ai0 + 1 );
		}
		if( myself.i_ai0 == 3 ) {
			i2 = myself::GetInZoneID();
			maker0 = gg::InstantZone_GetNpcMaker(i2,maker_name5);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,1001,0,0);
			}
			maker0 = gg::InstantZone_GetNpcMaker(i2,maker_name6);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,1001,0,0);
			}
			maker0 = gg::InstantZone_GetNpcMaker(i2,secretdoor_maker_name1);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,12550,0,0);
			}
			maker0 = gg::InstantZone_GetNpcMaker(i2,secretdoor_maker_name2);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,12550,0,0);
			}
			maker0 = gg::InstantZone_GetNpcMaker(i2,secretdoor_maker_name3);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,12550,0,0);
			}
		}
		super;
	}

}
