name	 Enem1
type	 enemy
health	 100
aimove	avoidx
aimove	chasez
speed	 8
gfxshadow 1
diesound data/sfx/enem1.wav
animationscript	data/scripts/enemy.c

remap data/chars/soldiers/enem1/10.gif data/chars/soldiers/enem1/map1.gif
remap data/chars/soldiers/enem1/10.gif data/chars/soldiers/enem1/map2.gif

load		bullete


anim idle
drawmethod	270 270
		offset  32  98
		bbox  2  2  63  95
	frame data/chars/soldiers/enem1/10.gif

anim walk
drawmethod	270 270
	loop 1
	delay 9
		offset  32  97
		bbox  19  1  41  94
	frame data/chars/soldiers/enem1/11.gif
		offset  39  90
		bbox  19  2  45  78
	frame data/chars/soldiers/enem1/12.gif
		offset  32  97
		bbox  16  2  42  94
	frame data/chars/soldiers/enem1/13.gif
		offset  20  97
		bbox  8  0  40  97
	frame data/chars/soldiers/enem1/14.gif
		offset  23  100
		bbox  4  1  44  99
	frame data/chars/soldiers/enem1/15.gif
		offset  38  95
		bbox  18  0  45  96
	frame data/chars/soldiers/enem1/16.gif
		offset  39  89
		bbox  19  1  48  88
	frame data/chars/soldiers/enem1/17.gif
		offset  28  98
		bbox  11  2  45  97
	frame data/chars/soldiers/enem1/18.gif
		offset  22  99
		bbox  4  0  44  99
	frame data/chars/soldiers/enem1/19.gif
		offset  26  100
		bbox  4  0  48  100
	frame data/chars/soldiers/enem1/20.gif


anim pain
drawmethod	270 270
	delay 10
		offset  24  94
		bbox  1  0  48  93
	frame data/chars/soldiers/enem1/21.gif
	delay 20
		offset  33  85
		bbox  0  1  54  86
	frame data/chars/soldiers/enem1/22.gif
	delay 10
		offset  35  84
		bbox  2  0  52  84
	frame data/chars/soldiers/enem1/23.gif

anim fall
drawmethod	270 270
	landframe 3
	delay 10
		offset  29  95
		bbox  0  2  65  92
	frame data/chars/soldiers/enem1/24.gif
		offset  57  82
		bbox  12  7  78  74
	frame data/chars/soldiers/enem1/25.gif
	delay 100
		offset  49  87
		bbox  1  16  86  71
	frame data/chars/soldiers/enem1/26.gif
	delay 10
		offset  58  51
		bbox  0
	frame data/chars/soldiers/enem1/27.gif
		offset  54  29
	frame data/chars/soldiers/enem1/28.gif

anim rise
drawmethod	270 270
	delay 10
		offset  38  54
	frame data/chars/soldiers/enem1/29.gif
		offset  33  61
	frame data/chars/soldiers/enem1/30.gif
		offset  26  66
	frame data/chars/soldiers/enem1/31.gif


anim attack1
drawmethod	270 270
	delay 6
	range 100 200
	offset  39  112
	bbox  16  18  54  92
	frame data/chars/soldiers/enem1/0.gif
	frame data/chars/soldiers/enem1/1.gif
	sound data/sounds/gun2.wav
	@cmd	shoot "bulletE" 70 79 0
	frame data/chars/soldiers/enem1/2.gif
	frame data/chars/soldiers/enem1/3.gif
	frame data/chars/soldiers/enem1/4.gif
	frame data/chars/soldiers/enem1/5.gif
	frame data/chars/soldiers/enem1/6.gif
	frame data/chars/soldiers/enem1/7.gif
	frame data/chars/soldiers/enem1/8.gif
	frame data/chars/soldiers/enem1/9.gif
	delay 150
	frame data/chars/soldiers/enem1/0.gif
