name	 	Fang2
health		30
type		enemy
nomove		1 1
nodrop		2
nopain		1
nodieblink	2
facing		2
death		1
antigravity	100
animationscript	data/chars/cobras/jetsc.c
takedamagescript data/scripts/blink.c

load		JetBullet

palette		data/chars/cobras/fang1.png
alternatepal	data/chars/cobras/fngblink.png


anim spawn
	delay	4
	offset	120 57
	frame	data/chars/cobras/fang3.png
	@cmd	dasher 3 0 0 1
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	bbox	86 19 75 34
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	@cmd	dasher 0 0 0 0
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png

anim idle
	loop    1
	delay	1
	offset	120 57
	bbox	86 19 75 34
	frame	data/chars/cobras/fang3.png
	delay	4
	@cmd	target 2 2 100 -130 1 0
	@cmd	dash 0 0
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	@cmd	target 2 2 100 -130 1 0
	@cmd	dash 0 0
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	@cmd	target 2 2 100 -130 1 0
	@cmd	dash 0 0
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	@cmd	target 2 2 100 -130 1 0
	@cmd	dash 0 0
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	@cmd	dasher 0 0 0 0
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	sound	data/sounds/HydraGun.wav
	@cmd	shooter2 "JetBullet" 28 0 1 -2
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	sound	data/sounds/HydraGun.wav
	@cmd	shooter2 "JetBullet" 28 0 1 -2.5
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	sound	data/sounds/HydraGun.wav
	@cmd	shooter2 "JetBullet" 28 0 1 -1.5
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	@cmd	target 2 2 100 -130 1 0
	@cmd	dash 0 0
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	frame	data/chars/cobras/fang3.png
	frame	data/chars/cobras/fang1.png
	frame	data/chars/cobras/fang2.png
	attack	0
	frame	data/chars/cobras/fang3.png


anim death
	delay	1
	offset	120 57
	frame	data/chars/cobras/fang3.png
	delay	10
	@cmd	dasher 0 -1.5 0 0
	@cmd	spawn01 "Asap" -100 27 1
	@cmd	spawn01 "Asap" 30 30 1
	@cmd	spawn01 "Asap" -30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 0 30 1
	@cmd	spawn01 "Asap" 30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 5 45 1
	@cmd	spawn01 "Asap" -30 30 1
	@cmd	spawn01 "Asap" 0 15 1
	frame	data/chars/cobras/fang3.png #
	@cmd	spawn01 "Asap" -100 27 1
	@cmd	spawn01 "Asap" 30 30 1
	@cmd	spawn01 "Asap" -30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 0 30 1
	@cmd	spawn01 "Asap" 30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 5 45 1
	@cmd	spawn01 "Asap" -30 30 1
	@cmd	spawn01 "Asap" 0 15 1
	frame	data/chars/cobras/fang3.png #
	@cmd	spawn01 "Asap" -100 27 1
	@cmd	spawn01 "Asap" 30 30 1
	@cmd	spawn01 "Asap" -30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 0 30 1
	@cmd	spawn01 "Asap" 30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 5 45 1
	@cmd	spawn01 "Asap" -30 30 1
	@cmd	spawn01 "Asap" 0 15 1
	frame	data/chars/cobras/fang3.png #
	@cmd	spawn01 "Asap" -100 27 1
	@cmd	spawn01 "Asap" 30 30 1
	@cmd	spawn01 "Asap" -30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 0 30 1
	@cmd	spawn01 "Asap" 30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 5 45 1
	@cmd	spawn01 "Asap" -30 30 1
	@cmd	spawn01 "Asap" 0 15 1
	frame	data/chars/cobras/fang3.png #
	@cmd	spawn01 "Asap" -100 27 1
	@cmd	spawn01 "Asap" 30 30 1
	@cmd	spawn01 "Asap" -30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 0 30 1
	@cmd	spawn01 "Asap" 30 15 1
	frame	data/chars/cobras/fang3.png
	@cmd	spawn01 "Asap" 5 45 1
	@cmd	spawn01 "Asap" -30 30 1
	@cmd	spawn01 "Asap" 0 15 1
	frame	data/chars/cobras/fang3.png #
	@cmd	suicide
	frame	data/chars/cobras/fang3.png
