@LabelIndex 422114
@StringIndex 0
class 1 olympiad_manager_maker : default_maker {
parameter:
	int	maker_event_id = 0;

handler:
	EventHandler ON_START(i0,def0) {
		myself::RegisterOlympiadFieldEventEx();
	}

	EventHandler ON_OLYMPIAD_FIELD_STEP_CHANGED_EVENT(event_id,state,maker0,def0) {
		if( maker_event_id == event_id ) {
			if( state == 0 ) {
				maker0 = gg::GetNpcMaker(myself.name);
				if( gg::IsNull(maker0) == 0 ) {
					gg::SendMakerScriptEvent(maker0,1000,0,0);
				}
			} else {
				maker0 = gg::GetNpcMaker(myself.name);
				if( gg::IsNull(maker0) == 0 ) {
					gg::SendMakerScriptEvent(maker0,1001,0,0);
				}
			}
		}
	}

}
