name    	CannonUp
health  	10
nomove  	1
type		enemy
cantgrab 	1
nodrop  	2
death   	1
facing   	2
nopain  	1
antigravity  	100
setlayer  	2
subject_to_platform 0
load    	RocketUp

animationscript  data/scripts/enemy.c


anim spawn
	delay	10
	offset  14 31
	frame   data/bgs/field/cannup.png

anim idle
	loop	1
	delay	1
	offset  14 31
	frame   data/bgs/field/cannup.png
        @cmd    attack0 "ANI_FOLLOW1"
	frame   data/bgs/field/cannup.png

anim follow1
	loop	1
	delay	10
	offset  14 31
	frame   data/bgs/field/cannup.png
	frame   data/bgs/field/cannup.png

anim follow2
	delay	20
	offset  14 31
	frame   data/bgs/field/cannup.png
	delay	10
	sound	data/sounds/shotgun.wav
        @cmd    spawn01 "RocketUp" 0 28 1
	frame   data/bgs/field/cannup2.png
	attack	0
        @cmd    beidle
	frame   data/bgs/field/cannup.png


anim death
	delay	1
	offset  14 31
	frame	data/chars/misc/empty.gif
	delay	10
        @cmd    shooter2 "Asap" 0 5 0 0 1 0
	frame	data/chars/misc/empty.gif
        @cmd    shooter2 "Asap" 0 5 0 0 1 0
	frame	data/chars/misc/empty.gif
        @cmd    shooter2 "Asap" 0 5 0 0 1 0
	frame	data/chars/misc/empty.gif
        @cmd    suicide
	frame	data/chars/misc/empty.gif
