name		 ASP
type		 enemy
health		 200
gfxshadow	 1
nomove		 1
nopain		 1
nodrop		 1
death		 1
nodieblink	 2
aggression	 15
#offscreenkill	 300
hostile		 player npc
candamage	 player npc
animationscript	 data/scripts/enemy.c
takedamagescript data/scripts/blink.c

palette		 data/chars/asp/asp.png
alternatepal	 data/chars/asp/blink.png

load		 CannonBall
load		 Cobra_Officer


anim idle
drawmethod 240 240
	delay	10
	offset  200 195
	bbox	88 30 240 165 15
	platform 200 205 -140 -140 140 140 80 300
	frame	data/chars/asp/asp2.png

anim attack1
drawmethod 240 240
	range	0 500
	rangez	-25 25
	delay	30
	offset  200 195
	bbox	88 30 240 165 15
	platform 200 205 -140 -140 140 140 80 300
	frame	data/chars/asp/asp2.png
	delay	10
	attack	332 50 114 70 15 1 1 0 15 30
	dropv	2 3 0
	frame	data/chars/asp/asp.png
	delay	100
	attack	0
	frame	data/chars/asp/asp.png
	sound	data/sounds/bom.wav
	delay	200
	@cmd	shoot "CannonBall" 246 96 0
	frame	data/chars/asp/asp.png


anim death
drawmethod 240 240
	delay	10
	sound	data/sfx/explode2.wav
	offset  200 195
	frame	data/chars/asp/asp.png
	delay	50
	@cmd	spawn01 "Cobra_Officer" 0 100 0
	frame	data/chars/asp/aspe.png
	@cmd	spawn01 "BXPlos" 0 0 0
	frame	data/chars/misc/empty.gif
