@LabelIndex 420294
@StringIndex 63665
class 1 unique_npc_kill_event : default_maker {
parameter:
	int	unique_npc = 1020130;
	int	event = 0;
	string	maker_name = "unique_npc_kill_event_default";

handler:
	EventHandler ON_NPC_DELETED(deleted_def,deleted_npc,i0,i1,maker0) {
		if( deleted_npc.sm.class_id == unique_npc ) {
			if( event == 0 ) {
				if( gg::IsSameString(maker_name,"unique_npc_kill_event_default") == 1 ) {
					maker0 = gg::GetNpcMaker(myself.name);
				} else {
					maker0 = gg::GetNpcMaker(maker_name);
				}
				if( gg::IsNull(maker0) == 0 ) {
					gg::SendMakerScriptEvent(maker0,1000,0,0);
				}
			} else if( event == 1 ) {
				maker0 = gg::GetNpcMaker(maker_name);
				if( gg::IsNull(maker0) == 0 ) {
					gg::SendMakerScriptEvent(maker0,1001,0,0);
				}
			}
			super;
		} else {
			super;
		}
	}

}
