name		Viper_Striker
health		1
speed		12
type		enemy
offscreenkill	100
gfxshadow	1
score		500
icon		data/chars/viper/icon.png
diesound	data/sounds/die2.wav

#palette		data/chars/Cobra_Officer/purple.png
animationscript	data/scripts/harden.c

load		grenade

	
anim	spawn
	loop	1 15 18
	delay	12
	offset  68 127
	bbox 	50 39 38 88
	@cmd	dasher 1.2 0 0
	frame	data/chars/Viper/idle.png
	frame	data/chars/Viper/walk2.png
	frame	data/chars/Viper/walk3.png
	frame	data/chars/Viper/walk4.png
	frame	data/chars/Viper/idle.png
	frame	data/chars/Viper/walk2.png
	frame	data/chars/Viper/walk3.png
	frame	data/chars/Viper/walk4.png
	delay	50
	@cmd	dasher 0 0 0
	frame	data/chars/Viper/idle.png
	delay	20
	@cmd	targetL 4 35 0 1
	frame	data/chars/Viper/toss1.png
	delay	10
	@cmd	tossT "Grenade" 35 84 0 4
	frame	data/chars/Viper/toss2.png
	delay	20
	frame	data/chars/Viper/toss3.png
	delay	10
	@cmd	tossT "Grenade" 35 84 0 4
	frame	data/chars/Viper/toss2.png
	delay	70
	frame	data/chars/Viper/toss3.png
	delay	12
	@cmd	flip
	frame	data/chars/Viper/idle.png
	@cmd	dasher 1.2 0 0
	frame	data/chars/Viper/walk2.png
	frame	data/chars/Viper/walk3.png
	frame	data/chars/Viper/walk4.png
	frame	data/chars/Viper/idle.png

anim idle
	loop	1
	delay	15
	offset  68 127
	bbox 	50 39 38 88
	frame	data/chars/Viper/idle.png
	
anim walk
	loop	1
	offset  68 127
	bbox 	50 39 38 88
	delay	12
	frame	data/chars/Viper/idle.png
	frame	data/chars/Viper/walk2.png
	frame	data/chars/Viper/walk3.png
	frame	data/chars/Viper/walk4.png


anim	attack1
	range	0 500
	rangez	-50 50
	loop	1 1 4
	offset  68 127
	bbox 	50 39 38 88
	delay	12
	@cmd	flip
	frame	data/chars/Viper/idle.png
	@cmd	dasher 1.2 0 0
	frame	data/chars/Viper/walk2.png
	frame	data/chars/Viper/walk3.png
	frame	data/chars/Viper/walk4.png
	frame	data/chars/Viper/idle.png

anim pain
	delay	12
	offset  68 127
	bbox 	50 39 38 88
	frame	data/chars/Viper/pain1.png
	frame	data/chars/Viper/pain2.png
	frame	data/chars/Viper/pain1.png
	
anim fall
	delay	20
	landframe 2
	offset  68 127
	frame	data/chars/Viper/fall1.png
	delay	300
	frame	data/chars/Viper/fall2.png
	delay	20
	frame	data/chars/Viper/fall3.png

anim rise
	delay	20
	offset  68 127
	frame	data/chars/Viper/rise1.png
	frame	data/chars/Viper/rise2.png
