name	gregM
health	50
speed	9
type	enemy
aimove	avoidx
aimove	chasez
gfxshadow	1
noquake 1
dust    dust
gfxshadow 1
animationscript	data/scripts/enemy.c

load		bullete

remap	data/chars/soldiers/gregm/alter1.gif data/chars/soldiers/gregm/alter2.gif 
remap	data/chars/soldiers/gregm/alter1.gif data/chars/soldiers/gregm/alter3.gif 
remap	data/chars/soldiers/gregm/alter1.gif data/chars/soldiers/gregm/alter4.gif 
remap	data/chars/soldiers/gregm/alter1.gif data/chars/soldiers/gregm/alter5.gif 





anim idle
drawmethod	270 270
	loop	1
	offset	108  172
	bbox	85 72 49 104
	delay	16
	frame	data/chars/soldiers/gregm/idle0.gif


anim walk
drawmethod	270 270
	loop	1
	offset		108 172
	bbox	85 72 49 104
	delay   11
	frame	data/chars/soldiers/gregm/wk1.gif
	frame	data/chars/soldiers/gregm/wk2.gif
	frame	data/chars/soldiers/gregm/wk3.gif
	frame	data/chars/soldiers/gregm/wk4.gif
	frame	data/chars/soldiers/gregm/wk5.gif


anim pain
drawmethod	270 270
	loop	0
	delay	10
	offset	108 172
	bbox	85 72 49 104
	frame	data/chars/soldiers/gregm/pain1.gif
	frame	data/chars/soldiers/gregm/pain2.gif

anim fall
drawmethod	270 270
	delay	25
	landframe 2
	offset	108  172
	frame	data/chars/soldiers/gregm/fall1.gif
	delay	500
	frame	data/chars/soldiers/gregm/fall2.gif
	delay	25
	attack  0 0 0 0 0 0
	frame	data/chars/soldiers/gregm/fall3.gif

anim rise
drawmethod	270 270
	offset	99  172
	delay	15
	frame	data/chars/soldiers/gregm/rise.gif


anim attack1
drawmethod	270 270
	range	100 240
	rangez	-20 20
	offset	108 172
	bbox	85 72 49 104
	delay   30
	frame	data/chars/soldiers/gregm/a101.gif
	delay   6
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 0
        frame	data/chars/soldiers/gregm/a103.gif
	frame	data/chars/soldiers/gregm/a101.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 0.15
	frame	data/chars/soldiers/gregm/a103.gif
	frame	data/chars/soldiers/gregm/a101.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 -0.3
	frame	data/chars/soldiers/gregm/a103.gif
	frame	data/chars/soldiers/gregm/a101.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 0.3
	frame	data/chars/soldiers/gregm/a103.gif
	frame	data/chars/soldiers/gregm/a101.gif
	sound	data/sounds/gun.wav
	@cmd	shooter "BulletE" 44 73 0 3 0 -0.15
	frame	data/chars/soldiers/gregm/a103.gif
	delay   20
	frame	data/chars/soldiers/gregm/a101.gif
