name				Gate
type				enemy
shadow				0
health  			200
candamage 			obstacle enemy
facing  			1
nopain  			0
notgrab 			1
nodrop  			1
death   			1
nomove  			1 1
#nolife  			1
palette  			data/chars/gate/gatep.gif
animationscript			data/chars/gate/gate.c	

lifebarstatus	 	300 14   1  1  0  1  0  0  0
lifeposition		90 230
nameposition		90 220 

anim spawn

	platform		25 300 0 0 175 175 200 1000
	setlayer		1
	offset			51 296
	delay			1
	
	frame			data/chars/gate/gate9.gif
	frame			data/chars/gate/gate8.gif
	frame			data/chars/gate/gate7.gif
	frame			data/chars/gate/gate6.gif
	frame			data/chars/gate/gate5.gif
	frame			data/chars/gate/gate4.gif
	frame			data/chars/gate/gate3.gif
	frame			data/chars/gate/gate2.gif
	frame			data/chars/gate/gate1.gif
	frame			data/chars/gate/gate.gif


anim idle

	
	platform		25 300 0 0 175 175 200 1000
	setlayer		1
	offset			51 296
	delay			100
	bbox  			35  3  35  285 100
	frame			data/chars/gate/gate.gif


anim pain
	platform		25 300 0 0 175 175 200 1000
	setlayer		1
	offset			51 296
	delay			1
	bbox  			35  3  35  285 100
	frame			data/chars/gate/gate.gif
	frame			data/chars/gate/gatep.gif
	

	

anim death

	#setlayer		1
	offset			51 296
	delay			30
	
	@cmd 			spawner "BXPlos2" -10 0 0
	frame			data/chars/gate/gate.gif
	@cmd 			spawner "BXPlos2" 0 0 -40
	frame			data/chars/gate/gate.gif
	@cmd 			spawner2 "BXPlos2" 50 0 -80
	frame			data/chars/gate/gate.gif
	@cmd 			spawner "BXPlos2" 0 100 -60
	frame			data/chars/misc/empty.gif





