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

load		CTorpedo
load		CTorpedoU
load		DeepCharge

palette		data/chars/cobras/bigsub.png
alternatepal	data/chars/cobras/bsblink.png


anim idle
	loop    1
	delay	50
	offset	125 45
	frame	data/chars/cobras/bigsub.png
	@cmd	attack0 "ANI_FOLLOW1"
	frame	data/chars/cobras/bigsub.png

anim follow1
	delay	1
	offset	125 45
	frame	data/chars/cobras/bigsub.png
	delay	120
	@cmd	teletarget 0 10
	@cmd	dasher 1 0 0 1
	bbox	24 23 210 24
	attack	24 23 210 24 60 0 0 0 20
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
#	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
	frame	data/chars/cobras/bigsub.png
	delay	200
	bbox	0
	attack	0
	@cmd	flip
	@cmd	dasher 0 0 0 1
	frame	data/chars/cobras/bigsub.png
	delay	120
	@cmd	shoot "CTorpedo" 108 7 1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	frame	data/chars/cobras/bigsub.png
	delay	10
	@cmd	anichange "ANI_FOLLOW2"
	frame	data/chars/cobras/bigsub.png

anim follow2
	delay	1
	offset	125 45
	frame	data/chars/cobras/bigsub.png
	delay	120
	@cmd	teletarget 0 10
	@cmd	dasher 1 0 0 1
	bbox	24 23 210 24
	attack	24 23 210 24 60 0 0 0 20
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter "CTorpedo" -80 12 1 -2 0 0
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
#	@cmd	shoot "CTorpedo" 108 7 1
	@cmd	shooter "CTorpedo" -80 12 1 -2 0 0
	@cmd	shooter2 "CTorpedoU" 17 20 0 2
	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
	@cmd	shooter "CTorpedo" -80 12 1 -2 0 0
#	@cmd	shooter2 "CTorpedoU" 17 20 0 2
#	@cmd	shooter2 "DeepCharge" 0 0 0 -1
	frame	data/chars/cobras/bigsub.png
#	@cmd	shooter "CTorpedo" -80 12 1 -2 0 0
#	@cmd	shooter2 "DeepCharge" 0 0 0 -1
#	frame	data/chars/cobras/bigsub.png
	delay	200
	bbox	0
	attack	0
	@cmd	flip
	@cmd	dasher 0 0 0 1
	frame	data/chars/cobras/bigsub.png
	delay	120
	@cmd	shoot "CTorpedo" 108 7 1
	frame	data/chars/cobras/bigsub.png
	@cmd	shoot "CTorpedo" 108 7 1
	frame	data/chars/cobras/bigsub.png
	delay	10
	@cmd	anichange "ANI_FOLLOW1"
	frame	data/chars/cobras/bigsub.png


anim death
	delay	1
	offset	125 45
	frame	data/chars/cobras/bigsub.png
	delay	10
	@cmd	spawn01 "Asap" 50 20 1
	@cmd	spawn01 "Asap" 0 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" -50 10 1
	@cmd	spawn01 "Asap" 0 20 1
	@cmd	spawn01 "Asap" -100 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" 50 10 1
	@cmd	spawn01 "Asap" -25 20 1
	frame	data/chars/cobras/bigsub.png #
	@cmd	spawn01 "Asap" 50 20 1
	@cmd	spawn01 "Asap" 0 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" -50 10 1
	@cmd	spawn01 "Asap" 0 20 1
	@cmd	spawn01 "Asap" -100 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" 50 10 1
	@cmd	spawn01 "Asap" -25 20 1
	frame	data/chars/cobras/bigsub.png #
	@cmd	dasher 0 -1 0 0
	@cmd	spawn01 "Asap" 50 20 1
	@cmd	spawn01 "Asap" 0 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" -50 10 1
	@cmd	spawn01 "Asap" 0 20 1
	@cmd	spawn01 "Asap" -100 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" 50 10 1
	@cmd	spawn01 "Asap" -25 20 1
	frame	data/chars/cobras/bigsub.png #
	@cmd	spawn01 "Asap" 50 20 1
	@cmd	spawn01 "Asap" 0 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" -50 10 1
	@cmd	spawn01 "Asap" 0 20 1
	@cmd	spawn01 "Asap" -100 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" 50 10 1
	@cmd	spawn01 "Asap" -25 20 1
	frame	data/chars/cobras/bigsub.png #
	@cmd	spawn01 "Asap" 50 20 1
	@cmd	spawn01 "Asap" 0 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" -50 10 1
	@cmd	spawn01 "Asap" 0 20 1
	@cmd	spawn01 "Asap" -100 10 1
	frame	data/chars/cobras/bigsub.png
	@cmd	spawn01 "Asap" 50 10 1
	@cmd	spawn01 "Asap" -25 20 1
	frame	data/chars/cobras/bigsub.png #
	@cmd	suicide
	frame	data/chars/cobras/bigsub.png
