@LabelIndex 224485
@StringIndex 25802
class 0 argos_boss_05 : warrior_aggressive {
handler:
	EventHandler MY_DYING(always_list,code_info,i9,last_attacker,lparty,member,random1_list,target) {
		always_list = gg::AllocCodeInfoList();
		random1_list = gg::AllocCodeInfoList();
		target = last_attacker;
		if( gg::HaveMemo(target,74) == 1 && target.occupation == 3 && gg::GetMemoState(target,74) == 12 && gg::OwnItemCount(target,7396) == 0 ) {
			always_list::SetInfo(0,target);
		}
		while( gg::IsNull(code_info = always_list::Next()) == 0 ) {
			switch(code_info.code) {
				case 0: {
					myself::SetCurrentQuestID(74);
					target = code_info::RandomSelectOne();
					if( gg::IsNull(target) == 0 && myself::DistFromMe(target) <= 1500 ) {
						if( target.is_pc == 1 ) {
							if( target.dbid == myself.sm.param2 ) {
								myself::GiveItem1(target,7396,1);
								myself::SetFlagJournal(target,74,16);
								myself::ShowQuestMark(target,74);
								myself::SoundEffect(target,"ItemSound.quest_middle");
								myself::DeleteItem1(target,7489,gg::OwnItemCount(target,7489));
								myself::Say(gg::MakeFString(7454,"","","","",""));
							} else {
								myself::Say(gg::MakeFString(7455,"","","","",""));
							}
						}
					}
					break;
				}
			}
		}
		code_info = random1_list::RandomSelectOne();
		if( gg::IsNull(code_info) == 0 ) {
			switch (code_info.code) {
			}
		}
		super;
	}

	EventHandler TIMER_FIRED_EX(c0,i0,timer_id) {
		myself::SetCurrentQuestID(74);
		if( timer_id == 99908 ) {
			myself::Say(gg::MakeFString(7456,"","","","",""));
			myself::Despawn();
		}
		super;
	}

	EventHandler CREATED(c0) {
		myself::SetCurrentQuestID(74);
		myself::AddTimerEx(99908,( 1000 * 600 ));
		c0 = gg::GetCreatureFromIndex(myself.sm.param1);
		if( c0 ) {
			if( c0.is_pc == 1 ) {
				myself::AddAttackDesire(c0,1,10000);
			}
			if( c0.is_pc == 1 ) {
				myself::Say(gg::MakeFString(7453,c0.name,"","","",""));
			}
		}
		super;
	}

}
