name		FLAGG
type	        obstacle
health          50
facing		1
setlayer	1
death		1
subject_to_gravity	0
offscreenkill	10000
animationscript	data/chars/cobraboat/boatsc.c

lifebarstatus   300 6 1 1 0 1 0 0 0
lifeposition    90 238
nameposition    90 228 

load		WingEnd
load		Yellow
load		RedFlash


anim	spawn
	delay	10
	offset	400 295
	platform 400 295 -330 -330 1610 1610 25 35
	frame	data/chars/flagg/flagg.png
	@cmd	spawnGun "WingEnd" 420 35 2 0
	@cmd	spawnGun "Yellow" 600 44 2 1
	frame	data/chars/flagg/flagg.png
			
anim	idle
	loop	1
	delay	200
	offset	400 295
	bbox	70 260 1940 75
	platform 400 295 -330 -330 1610 1610 25 35
	frame	data/chars/flagg/flagg.png
	delay	10
	frame	data/chars/flagg/flagg1.png
	frame	data/chars/flagg/flagg2.png
	frame	data/chars/flagg/flagg3.png
	delay	100
	frame	data/chars/flagg/flagg4.png
	delay	10
	frame	data/chars/flagg/flagg3.png
	frame	data/chars/flagg/flagg2.png
	frame	data/chars/flagg/flagg1.png
	
anim	death
	delay	1
	offset	400 295
	frame	data/chars/flagg/flagg.png
	@cmd	killgun 0 0
	@cmd	killgun 1 0
	frame	data/chars/flagg/flagg.png
	delay	800
	@cmd	spawn02 "RedFlash" 240 252 0
	@cmd	dasher 0 -0.2 0 1
	frame	data/chars/flagg/flagg.png
	@cmd	jumptobranch "Bad" 1
	frame	data/chars/flagg/flagg.png
