name		BAT
health		120
speed		9
type		enemy
aimove		chasez
aimove		avoidx
noquake		1
dust		dust
nodieblink	2
gfxshadow	1
death		1
aggression	15
hostile		player npc
candamage	player npc
animationscript	data/scripts/enemy.c

load		bullete



anim	attack1
	range	60 160
	offset	108 172
	bbox	85 72 49 104
	delay	8
	frame	data/chars/BAT/a101.gif
	frame	data/chars/BAT/a104.gif
	delay	6
	sound	data/sounds/gun.wav
	@cmd	shoot "BulletE" 44 73 0
	frame	data/chars/BAT/a103.gif
	frame	data/chars/BAT/a104.gif
	sound	data/sounds/gun.wav
	@cmd	shoot "BulletE" 44 73 0
	frame	data/chars/BAT/a103.gif
	frame	data/chars/BAT/a104.gif
	sound	data/sounds/gun.wav
	@cmd	shoot "BulletE" 44 73 0
	frame	data/chars/BAT/a103.gif
	delay	8
	frame	data/chars/BAT/a104.gif
		
anim	attack3
	range	60 160
	rangez	-20 20
	offset	108 172
	bbox	85 72 49 104
	delay	8
	frame	data/chars/BAT/a101.gif
	frame	data/chars/BAT/a104.gif
	delay	6
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 0
	frame	data/chars/BAT/a103.gif
	frame	data/chars/BAT/a104.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 0.15
	frame	data/chars/BAT/a103.gif
	frame	data/chars/BAT/a104.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 -0.3
	frame	data/chars/BAT/a103.gif
	frame	data/chars/BAT/a104.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 0.3
	frame	data/chars/BAT/a103.gif
	frame	data/chars/BAT/a104.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 -0.15
	frame	data/chars/BAT/a103.gif
	delay	8
	frame	data/chars/BAT/a104.gif
		
anim	death
	delay	10
	offset	108 172
	sound	data/chars/BAT/bat1.wav
	frame	data/chars/BAT/die1.gif
	frame	data/chars/BAT/die2.gif
	frame	data/chars/BAT/die3.gif
	frame	data/chars/BAT/die4.gif
	frame	data/chars/BAT/die5.gif
	frame	data/chars/BAT/die6.gif
	frame	data/chars/BAT/die7.gif
	frame	data/chars/BAT/die8.gif
	frame	data/chars/BAT/die9.gif
	frame	data/chars/BAT/die10.gif
	delay	20
	frame	data/chars/BAT/die9.gif
	@cmd	spawn01 "BXPlos2" 0 0 0
	blast	54 45 97 130 20 1
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
		
anim	fall
	delay	25
	bbox	65 85 83 55
	landframe	2
	offset	108 172
	frame	data/chars/BAT/fall1.gif
	delay	350
	frame	data/chars/BAT/fall2.gif
	delay	25
	frame	data/chars/BAT/fall3.gif
		
anim	idle
	loop	1
	offset	108 172
	bbox	85 72 49 104
	delay	16
	frame	data/chars/BAT/idle0.gif
		
anim	pain
	delay	10
	offset	108 172
	bbox	85 72 49 104
	frame	data/chars/BAT/pain1.gif
	frame	data/chars/BAT/pain2.gif
		
anim	rise
	offset	99 172
	delay	15
	frame	data/chars/BAT/rise.gif
		
anim	walk
	loop	1
	offset	108 172
	bbox	85 72 49 104
	delay	11
	frame	data/chars/BAT/wk1.gif
	frame	data/chars/BAT/wk2.gif
	frame	data/chars/BAT/wk3.gif
	frame	data/chars/BAT/wk4.gif
	frame	data/chars/BAT/wk5.gif
	frame	data/chars/BAT/wk6.gif
		
#|edited by openBor Stats v 0.41
		
