name		 Robot
health		 100
speed		 7
type		 enemy
aimove		 chase
shadow		 4
nopain		 1
nodrop		 2
cantgrab	 1
death		 2
defense		 burn 0
aggression	 -10
candamage	 player obstacle npc
icon		 data/chars/robot/icon.gif
diesound	 data/sounds/exp.wav
nodieblink	 2
animationscript	 data/scripts/harden.c
takedamagescript data/scripts/blink.c

palette		 data/chars/robot/1.gif
alternatepal	 data/chars/robot/blink.gif
alternatepal	 data/chars/robot/2.gif


anim idle
	offset	95 274
	bbox	65 148 64 124
	delay	10
	frame	data/chars/robot/idle0.gif

anim walk
	loop	1
	offset	95 274
	bbox	65 148 64 124
	delay	10
	frame	data/chars/robot/wk01.gif
	frame	data/chars/robot/wk02.gif
	frame	data/chars/robot/wk03.gif
	delay   15
	frame	data/chars/robot/wk04.gif
	delay   10
	frame	data/chars/robot/wk05.gif
	frame	data/chars/robot/wk06.gif
	frame	data/chars/robot/wk07.gif
	delay   15
	frame	data/chars/robot/wk08.gif

anim pain
	delay	8
	bbox	65 148 64 124
	offset	95 274
	frame	data/chars/robot/pain1.gif
	delay   30
	frame	data/chars/robot/pain2.gif
	delay   11
	frame	data/chars/robot/pain1.gif
	
anim fall
	delay	60
	offset	95 274
        attack  30 177 68 84 5 1
	frame	data/chars/robot/fall1.gif
        delay   20
	attack  0 0 0 0 0 0
	frame	data/chars/robot/fall2.gif

anim death
	delay	20
	offset	95 274
	frame	data/chars/robot/fall2.gif
	@cmd	spawn01 "BXPlos2" 0 0 0
	frame	data/chars/misc/empty.gif

anim rise
	offset	95 274
	delay	12
	frame	data/chars/robot/rise1.gif
	frame	data/chars/robot/rise2.gif
	frame	data/chars/robot/rise3.gif
	frame	data/chars/robot/rise4.gif


anim attack1
	range	40 150
	delay	5
	bbox	65 148 64 124
	offset	95 274
	sound   data/sounds/robot3.wav
	frame	data/chars/robot/a101.gif
	frame	data/chars/robot/a102.gif
	frame	data/chars/robot/a103.gif
	frame	data/chars/robot/a104.gif
	frame	data/chars/robot/a105.gif
	frame	data/chars/robot/a106.gif
	frame	data/chars/robot/a107.gif
	hitflash spark
	hitfx	data/sounds/burnt.wav
	burn	130 174 66 98 25 1
	frame	data/chars/robot/a108.gif
	frame	data/chars/robot/a109.gif
	burn	133 178 81 92 25 1
	frame	data/chars/robot/a110.gif
	frame	data/chars/robot/a111.gif
	burn	141 186 95 84 25 1
	frame	data/chars/robot/a112.gif
	burn	133 178 81 92 25 1
	frame	data/chars/robot/a111.gif
	frame	data/chars/robot/a110.gif
	burn	130 174 66 98 25 1
	frame	data/chars/robot/a109.gif
	frame	data/chars/robot/a108.gif
	frame	data/chars/robot/a109.gif
	burn	133 178 81 92 25 1
	frame	data/chars/robot/a110.gif
	frame	data/chars/robot/a111.gif
	burn	141 186 95 84 25 1
	frame	data/chars/robot/a112.gif
	burn	133 178 81 92 25 1
	frame	data/chars/robot/a111.gif
	frame	data/chars/robot/a110.gif
	burn	130 174 66 98 25 1
	frame	data/chars/robot/a109.gif
	frame	data/chars/robot/a108.gif
	attack  0 0 0 0 0 0
	frame	data/chars/robot/a103.gif
	frame	data/chars/robot/a102.gif
	delay   15
	frame	data/chars/robot/a101.gif

anim attack3
	range	120 260
	rangez	-30 30
	delay	10
	bbox	65 148 64 124
	offset	95 274
	sound   data/sounds/robot2.wav
	frame	data/chars/robot/dash1.gif
	frame	data/chars/robot/dash2.gif
	frame	data/chars/robot/dash3.gif
	frame	data/chars/robot/dash4.gif
	frame	data/chars/robot/dash5.gif
	delay   4
	attack  84 126 66 150 30 1 0 0 20
	dropv	3 4 0
	@cmd	target 3 1 0 0 0 1
	@cmd	dash 0 0
	frame	data/chars/robot/dash5.gif
	delay   6
	frame	data/chars/robot/dash6.gif
	delay   75
	frame	data/chars/robot/dash7.gif
	@cmd	dasher 0 0 0
	delay   10
	frame	data/chars/robot/dash7.gif
	attack  0 0 0 0 0 0
	frame	data/chars/robot/dash6.gif
	frame	data/chars/robot/dash5.gif
