name	 	MorayS
health		10
type		enemy
nomove		1 1
nodrop		2
nopain		1
nodieblink	2
death		1
antigravity	100
offscreenkill	100
subject_to_platform 0
animationscript	data/chars/cobras/jetsc.c
takedamagescript data/scripts/blink.c

load		DeepCharge

palette		data/chars/cobras/moray.png
alternatepal	data/chars/cobras/morblink.png


anim spawn
	delay	1
	offset	80 60
	frame	data/chars/cobras/morayS.png
	delay	50
	@cmd	dasher 1.5 0 0 1
	frame	data/chars/cobras/morayS.png
	delay	5
#	@cmd	dasher 0 0 0 1
	bbox	13 42 200 27
	attack	13 42 200 27 30 0 0 1 10
	frame	data/chars/cobras/morayS.png

anim idle
	loop    1
	delay	50
	offset	80 60
	@cmd	dasher 1.5 0 0 1
	bbox	13 42 200 27
	attack	13 42 200 27 30 0 0 1 10
	frame	data/chars/cobras/morayS.png
	@cmd	shooter2 "DeepCharge" 0 -10 0 -1
	frame	data/chars/cobras/morayS.png


anim death
	delay	1
	offset	80 60
	frame	data/chars/cobras/morayS.png
	delay	15
	@cmd	dasher 0 -1 0 0
	@cmd	spawn01 "Asap" 90 -15 1
	@cmd	spawn01 "Asap" -30 -15 1
	@cmd	spawn01 "Asap" 0 0 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" 0 -15 1
	@cmd	spawn01 "Asap" 60 -15 1
	@cmd	spawn01 "Asap" 120 -15 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" -6 24 1
	@cmd	spawn01 "Asap" -60 -15 1
	@cmd	spawn01 "Asap" 30 -15 1
	frame	data/chars/cobras/morayS.png #
	@cmd	spawn01 "Asap" 90 -15 1
	@cmd	spawn01 "Asap" -30 -15 1
	@cmd	spawn01 "Asap" 0 0 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" 0 -15 1
	@cmd	spawn01 "Asap" 60 -15 1
	@cmd	spawn01 "Asap" 120 -15 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" -6 24 1
	@cmd	spawn01 "Asap" -60 -15 1
	@cmd	spawn01 "Asap" 30 -15 1
	frame	data/chars/cobras/morayS.png #
	@cmd	spawn01 "Asap" 90 -15 1
	@cmd	spawn01 "Asap" -30 -15 1
	@cmd	spawn01 "Asap" 0 0 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" 0 -15 1
	@cmd	spawn01 "Asap" 60 -15 1
	@cmd	spawn01 "Asap" 120 -15 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" -6 24 1
	@cmd	spawn01 "Asap" -60 -15 1
	@cmd	spawn01 "Asap" 30 -15 1
	frame	data/chars/cobras/morayS.png #
	@cmd	spawn01 "Asap" 90 -15 1
	@cmd	spawn01 "Asap" -30 -15 1
	@cmd	spawn01 "Asap" 0 0 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" 0 -15 1
	@cmd	spawn01 "Asap" 60 -15 1
	@cmd	spawn01 "Asap" 120 -15 1
	frame	data/chars/cobras/morayS.png
	@cmd	spawn01 "Asap" -6 24 1
	@cmd	spawn01 "Asap" -60 -15 1
	@cmd	spawn01 "Asap" 30 -15 1
	frame	data/chars/cobras/morayS.png #
	@cmd	suicide
	frame	data/chars/cobras/morayS.png
