@LabelIndex 65581
@StringIndex 10206
class 0 pig_soccer : default_npc {
handler:
	EventHandler CREATED() {
		myself.c_ai0 = gg::GetNullCreature();
		myself.i_ai0 = 0;
		myself::AddMoveAroundDesire(5,5);
	}

	EventHandler ATTACKED(attacker,damage,skill_name_id) {
		myself.c_ai0 = attacker;
		if( skill_name_id == 12451841 ) {
			myself::RemoveAllDesire();
			myself::ChangeMoveType(1);
			myself::AddFleeDesireEx(attacker,500,1000000);
			myself::Say(" ~~~");
		} else if( skill_name_id == 196609 ) {
			myself::RemoveAllDesire();
			myself::Say(" ");
			myself::ChangeMoveType(0);
			myself::AddFleeDesireEx(attacker,150,1000000);
		} else if( skill_name_id == 16711681 ) {
			myself::RemoveAllDesire();
			myself::Say("?..");
			myself::StopMove();
		}
	}

}
