@LabelIndex 16793
@StringIndex 4109
class 0 summon_criminal : default_npc {
handler:
	EventHandler CREATED(i0) {
		myself::Summon_SetOption(3,0);
		myself::AddPetDefaultDesire_Follow(20.000000);
		i0 = gg::Rand(100);
		if( i0 < 50 ) {
			myself::Say(gg::MakeFString(42231,"","","","",""));
		} else {
			myself::Say(gg::MakeFString(42232,"","","","",""));
		}
		myself::AddTimerEx(2001,60000);
	}

	EventHandler ATTACKED(attacker,damage,i0) {
		if( gg::Rand(100) < 30 ) {
			i0 = gg::Rand(100);
			if( i0 < 35 ) {
				myself::Say(gg::MakeFString(42233,"","","","",""));
			} else if( i0 < 70 ) {
				myself::Say(gg::MakeFString(42234,"","","","",""));
			} else {
				myself::Say(gg::MakeFString(42235,"","","","",""));
			}
		}
	}

	EventHandler MY_DYING(i0) {
		i0 = gg::Rand(100);
		if( i0 < 35 ) {
			myself::Say(gg::MakeFString(42236,"","","","",""));
		} else if( i0 < 70 ) {
			myself::Say(gg::MakeFString(42237,"","","","",""));
		} else {
			myself::Say(gg::MakeFString(42238,"","","","",""));
		}
	}

	EventHandler NO_DESIRE() {
		myself::AddPetDefaultDesire_Follow(20.000000);
	}

	EventHandler MENU_SELECTED(ask,reply,i0) {
		if( gg::Rand(100) < 10 ) {
			i0 = gg::Rand(100);
			if( i0 < 25 ) {
				myself::Say(gg::MakeFString(42239,"","","","",""));
			} else if( i0 < 50 ) {
				myself::Say(gg::MakeFString(42240,"","","","",""));
			} else if( i0 < 75 ) {
				myself::Say(gg::MakeFString(42241,"","","","",""));
			} else {
				myself::Say(gg::MakeFString(42242,"","","","",""));
			}
		}
	}

	EventHandler TIMER_FIRED_EX(timer_id,i0) {
		if( timer_id == 2001 ) {
			if( gg::Rand(100) < 30 ) {
				i0 = gg::Rand(100);
				if( i0 < 20 ) {
					myself::Say(gg::MakeFString(42243,"","","","",""));
				} else if( i0 < 40 ) {
					myself::Say(gg::MakeFString(42244,"","","","",""));
				} else if( i0 < 60 ) {
					myself::Say(gg::MakeFString(42245,"","","","",""));
				} else if( i0 < 80 ) {
					myself::Say(gg::MakeFString(42246,"","","","",""));
				} else {
					myself::Say(gg::MakeFString(42247,"","","","",""));
				}
			}
		}
		myself::AddTimerEx(timer_id,60000);
	}

}
