name	 	Truck2
health		300
type		enemy
nomove		1 1
nodieblink	2
gfxshadow	1
facing		1
death		1
defense		normal2 0
defense		normal3 0
animationscript	data/scripts/harden.c
takedamagescript data/scripts/blink.c

palette		data/chars/helicopter/truck3.png
alternatepal	data/chars/helicopter/trblink.png

load		RollDrum


anim spawn
	delay	10
	offset	170 215
	jumpframe 0 0 2 0
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png


anim idle
	loop    1
	delay	10
	offset	170 215
	frame	data/chars/helicopter/truck3.png
	@cmd	attack1 -500 0 150 "ANI_ATTACK1"
	frame	data/chars/helicopter/truck4.png

anim attack1
	loop	1
	delay	10
	offset	170 215
	bbox	70 65 210 150 20
	attack3	20 65 260 150 40 0 1 0 20 27
	counterattack 1
	frame	data/chars/helicopter/truck3.png
	@cmd	target 2 1 0 0 0 0
	@cmd	dash 0 1
	frame	data/chars/helicopter/truck4.png
	@cmd	shooter2 "RollDrum" -150 120 0 -1.5 0 0
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	@cmd	target 2 1 0 0 0 0
	@cmd	dash 0 1
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	@cmd	target 2 1 0 0 0 0
	@cmd	dash 0 1
	frame	data/chars/helicopter/truck3.png
	@cmd	shooter2 "RollDrum" -150 105 0 -1.3 0 0
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	attack	0
	frame	data/chars/helicopter/truck4.png
	attack3	20 65 260 150 40 0 1 0 20 27
	counterattack 1
	frame	data/chars/helicopter/truck3.png
	@cmd	target 2 1 0 0 0 0
	@cmd	dash 0 1
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	@cmd	target 2 1 0 0 0 0
	@cmd	dash 0 1
	frame	data/chars/helicopter/truck3.png
	@cmd	shooter2 "RollDrum" -150 135 0 -1.4 0 0
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	@cmd	target 2 1 0 0 0 0
	@cmd	dash 0 1
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	frame	data/chars/helicopter/truck4.png
	frame	data/chars/helicopter/truck3.png
	attack	0
	frame	data/chars/helicopter/truck4.png


anim death
	delay	15
	offset	170 215
	jumpframe 12 0 2 0
	frame	data/chars/helicopter/truck4.png
	@cmd	spawn01 "Asap" -60 90 0
	@cmd	spawn01 "Asap" -20 130 0
	@cmd	spawn01 "Asap" -100 50 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -70 130 0
	@cmd	spawn01 "Asap" -140 90 0
	@cmd	spawn01 "Asap" -10 50 0
	frame	data/chars/helicopter/truck4.png
	@cmd	spawn01 "Asap" -160 50 0
	@cmd	spawn01 "Asap" -35 90 0
	@cmd	spawn01 "Asap" -85 130 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -110 90 0
	@cmd	spawn01 "Asap" -50 50 0
	@cmd	spawn01 "Asap" -125 130 0
	frame	data/chars/helicopter/truck4.png #
	@cmd	spawn01 "Asap" -60 90 0
	@cmd	spawn01 "Asap" -20 130 0
	@cmd	spawn01 "Asap" -100 50 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -70 130 0
	@cmd	spawn01 "Asap" -140 90 0
	@cmd	spawn01 "Asap" -10 50 0
	frame	data/chars/helicopter/truck4.png
	@cmd	spawn01 "Asap" -160 50 0
	@cmd	spawn01 "Asap" -35 90 0
	@cmd	spawn01 "Asap" -85 130 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -110 90 0
	@cmd	spawn01 "Asap" -50 50 0
	@cmd	spawn01 "Asap" -125 130 0
	frame	data/chars/helicopter/truck4.png
	@cmd	spawn01 "Asap" -60 90 0
	@cmd	spawn01 "Asap" -20 130 0
	@cmd	spawn01 "Asap" -100 50 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -70 130 0
	@cmd	spawn01 "Asap" -140 90 0
	@cmd	spawn01 "Asap" -10 50 0
	frame	data/chars/helicopter/truck4.png
	@cmd	spawn01 "Asap" -160 50 0
	@cmd	spawn01 "Asap" -35 90 0
	@cmd	spawn01 "Asap" -85 130 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -110 90 0
	@cmd	spawn01 "Asap" -50 50 0
	@cmd	spawn01 "Asap" -125 130 0
	frame	data/chars/helicopter/truck4.png # Move
	@cmd	spawn01 "Asap" -60 90 0
	@cmd	spawn01 "Asap" -20 130 0
	@cmd	spawn01 "Asap" -100 50 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -70 130 0
	@cmd	spawn01 "Asap" -140 90 0
	@cmd	spawn01 "Asap" -10 50 0
	frame	data/chars/helicopter/truck4.png
	@cmd	spawn01 "Asap" -160 50 0
	@cmd	spawn01 "Asap" -35 90 0
	@cmd	spawn01 "Asap" -85 130 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -110 90 0
	@cmd	spawn01 "Asap" -50 50 0
	@cmd	spawn01 "Asap" -125 130 0
	frame	data/chars/helicopter/truck4.png
	@cmd	spawn01 "Asap" -60 90 0
	@cmd	spawn01 "Asap" -20 130 0
	@cmd	spawn01 "Asap" -100 50 0
	frame	data/chars/helicopter/truck3.png
	@cmd	spawn01 "Asap" -70 130 0
	@cmd	spawn01 "Asap" -140 90 0
	@cmd	spawn01 "Asap" -10 50 0
	frame	data/chars/helicopter/truck4.png
	@cmd	suicide
	frame	data/chars/helicopter/truck3.png
