@LabelIndex 422429
@StringIndex 0
class 1 key_for_raid1_maker : inzone_maker {
parameter:
	string	maker_name1 = "innadril22_2422_017m2";
	string	maker_name2 = "innadril22_2422_018m2";
	string	maker_name3 = "innadril22_2422_019m2";

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 == 12549 ) {
			myself.i_ai0 = ( myself.i_ai0 + 1 );
			myself::AddTimerEx(3000,1000);
		}
		super;
	}

	EventHandler ON_TIMER(timer_id,def0,maker0,i0,i1,i2,i3,i4,i5,i6,i7,i8,i9,i10,i11) {
		if( timer_id == 3000 ) {
			if( myself.i_ai0 == 2 ) {
				def0 = myself::GetSpawnDefine(0);
				if( gg::IsNull(def0) == 0 ) {
					def0::SendScriptEvent(12551,0,0);
				}
			}
		}
	}

	EventHandler ON_ALL_NPC_DELETED(i0,i2,def0,maker0) {
		i2 = myself::GetInZoneID();
		maker0 = gg::InstantZone_GetNpcMaker(i2,myself.name);
		if( gg::IsNull(maker0) == 0 ) {
			gg::SendMakerScriptEvent(maker0,12549,0,0);
		}
		maker0 = gg::InstantZone_GetNpcMaker(i2,maker_name2);
		if( gg::IsNull(maker0) == 0 ) {
			gg::SendMakerScriptEvent(maker0,12549,0,0);
		}
		maker0 = gg::InstantZone_GetNpcMaker(i2,maker_name3);
		if( gg::IsNull(maker0) == 0 ) {
			gg::SendMakerScriptEvent(maker0,12549,0,0);
		}
	}

}
