public void setPanic(boolean flag, PanicType pType) {
		if(isDead() || isSleeping()) return;
		
		// 雜ｳ繧翫↑縺�ｆ縺ｯ荳榊虚
		if(Tarinai.type == getType()) return;
		
		// 逋ｺ諠�Ξ繧､繝代�縺ｫ縺ｯ辟｡蜉ｹ
		if(isRaper() && isExciting()) return;
		
		if(flag) {
			// 譌｢縺ｫ繝代ル繝�け迥ｶ諷九�蝣ｴ蜷医�繧ｫ繧ｦ繝ｳ繧ｿ縺ｮ繝ｪ繧ｻ繝�ヨ縺ｮ縺ｿ
			if(panicType != null) {
				panicPeriod = 0;
				return;
			}
			panicType = pType;
			panicPeriod = 0;
			staycount = 0;
			exciting = false;
			staying = false;
			setToFood(false);
			toSukkiri = false;
			setToShit(false);
			shitting = false;
			birth = false;
			angry = false;
			furifuri = false;
			setEating(false);
			peropero = false;
			sukkiri = false;
			scare = false;
			setEatingShit(false);
			nobinobi = false;
			setHappiness(Happiness.VERY_SAD);
		} else {
			panicType = null;
			panicPeriod = 0;
			setHappiness(Happiness.SAD);
		}
	}