name		Ninja
gfxshadow 1
health		68
speed		14
type		enemy
aggression	-50
shadow		4
hostile		player npc
projectilehit	obstacle enemy npc
candamage	obstacle player npc
dust		dust
icon		data/chars/ninja/icon.gif
diesound	data/sounds/die3.wav
grabdistance 	22
score		1000 8
animationscript	data/scripts/ninja.c
onspawnscript	data/scripts/spawn/enemy.c
weapons	none none none Xninja Ninja

load	Star
load	XNinja

anim	get
	delay	10
	offset	32 104
	frame	data/chars/ninja/jump1.gif

anim	idle
	loop	1
	@cmd	hardSet
	offset	30 80
	bbox	15 12 32 66
	delay	12
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/ninja/idle.gif

anim 	burn
	loop	1
	offset	29 63
	delay	5
	frame	data/chars/misc/burn/normal/burn1.gif
	frame	data/chars/misc/burn/normal/burn2.gif
	frame	data/chars/misc/burn/normal/burn3.gif

anim	walk
	loop	1
	@cmd	hardSet
	offset	30 80
	bbox	15 12 32 66
	delay	20
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/ninja/walk2.gif
	frame	data/chars/ninja/walk3.gif
	frame	data/chars/ninja/walk4.gif
	
anim	grabbed
	offset	20 80
	bbox	12 13 32 66
	delay	3
	frame	data/chars/ninja/pain.gif

anim	pain
	loop	0
	offset	20 80
	bbox	12 13 32 66
	delay	5
	move	-1
	frame	data/chars/ninja/pain.gif
	move	1
	frame	data/chars/ninja/pain.gif
	move	-1
	frame	data/chars/ninja/pain.gif
	move	1
	frame	data/chars/ninja/pain.gif
	move	-1
	frame	data/chars/ninja/pain.gif
	move	1
	frame	data/chars/ninja/pain.gif
	move	-1
	frame	data/chars/ninja/pain.gif

anim	fall
	loop	0
	delay	40
	offset	59 68
	attack	32 2 39 61 8 1 1 0 40
	frame	data/chars/ninja/fall1.gif
	attack	0 
	offset	42 82
	delay	30
	frame	data/chars/ninja/fall2.gif

anim	shock
	delay	7
	offset	37 88
	frame	data/chars/misc/ele1.gif
	offset	32 84
	frame	data/chars/misc/ele2.gif
	offset	37 88
	frame	data/chars/misc/ele1.gif
	offset	32 84
	frame	data/chars/misc/ele2.gif
	offset	37 88
	frame	data/chars/misc/ele1.gif
	offset	32 84
	frame	data/chars/misc/ele2.gif
	attack	0 
	offset	42 82
	delay	30
	frame	data/chars/ninja/fall2.gif


anim	fall2
	delay	40
	offset	59 68
	bbox	32 2 39 61
	frame	data/chars/ninja/fall1.gif
	bbox	0 
	offset	42 82
	delay	30
	frame	data/chars/ninja/fall2.gif

anim	fall7
	delay	3000
	offset	20 80
	frame	data/chars/ninja/pain.gif
	offset	38 35
	frame	data/chars/ninja/fallr1.gif
	offset	32 59
	frame	data/chars/ninja/fallr2.gif
	offset	42 82
	frame	data/chars/ninja/fall2.gif



anim 	rise
	offset	30 80
	delay	40
	frame	data/chars/ninja/rise.gif

anim	throw
	offset	30 80
	delay	10
	frame	data/chars/ninja/throw1.gif
	sound	data/chars/ninja/hyy.wav
       	frame	data/chars/ninja/throw2.gif
	delay	15
	frame	data/chars/ninja/throw3.gif


anim	attack1
	range	20 60
	loop	0
	delay	15
	offset	38 75
	bbox	29 10 33 65
	attack	61 8 33 26 10
	frame	data/chars/ninja/punch1.gif

anim 	attack2
	hitfx	data/sounds/slash.wav
	range	20 80
	loop	0
	delay	15
	move	2
	offset	38 75
	bbox	33 8 25 65
	frame	data/chars/ninja/punch2.gif
	move	0
	delay	10
	attack	61 8 33 22 24 0 1 0 40
	frame	data/chars/ninja/punch3.gif
	attack	0
	offset	42 75
	bbox	29 10 33 65
	frame	data/chars/ninja/punch4.gif

anim	attack3
	range	150 300
	rangez	-100 100

	offset	30 80
	delay	5
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/misc/empty.gif

	@cmd	tele
	
	frame	data/chars/misc/empty.gif
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/ninja/walk1.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/ninja/walk1.gif
	
anim	jumpattack
	range	100 200
	delay	7
	offset	32 104
	throwframe	2
	bbox	10 61 39 45
	frame	data/chars/ninja/jump1.gif
	bbox	22 40 25 54
	frame	data/chars/ninja/jump2.gif
       	delay	10
	bbox	22 8 25 54
	frame	data/chars/ninja/dart00.gif
	delay	20
	attack	50 22 28 45 3 0
	frame	data/chars/ninja/dart01.gif
	delay	7
	bbox	22 40 25 54
	frame	data/chars/ninja/jump2.gif
	delay	50
	bbox	10 61 39 45
	frame	data/chars/ninja/jump1.gif

anim	jumpland
	delay	30
	offset	32 104
	frame	data/chars/ninja/jump1.gif
	
