name	ryofu
health	600
speed	11
type	enemy
shadow  0
grabdistance	55
paingrab 1
gfxshadow  1
falldie 2
nodieblink      1
dust du
aggression      50
diesound	data/chars/ryofu/die.wav
aimove Chasex
aimove Avoidz
thold 35
blockodds 1
escapehits 2
bflash bflash
projectilehit   enemy obstacle trap
icon	data/chars/ryofu/icon2.gif
hostile player 
candamage player obstacle

animationscript 	data/scripts/ani0020.h

palette   data/chars/ryofu/idle.gif

anim spawn
	loop	0
      delay   6
      offset	113 181
      jumpframe 4 0 3 0 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      @cmd    spawn01 "dus" 0 0 1
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      sound	data/sounds/jumpp.wav
      @cmd    spawn01 "dus" 0 0 1
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      sound	data/sounds/jumpp.wav
      @cmd    spawn01 "dus" 0 0 1
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      delay	12
      offset	90 170
      frame	data/chars/ryofu/idle1.gif
      sound	data/chars/ryofu/at9.wav
      frame	data/chars/ryofu/spawn1.gif
      delay	10
      frame	data/chars/ryofu/spawn5.gif
      frame	data/chars/ryofu/spawn6.gif
      frame	data/chars/ryofu/spawn5.gif
      frame	data/chars/ryofu/spawn6.gif
      frame	data/chars/ryofu/spawn5.gif
      frame	data/chars/ryofu/spawn6.gif
      frame	data/chars/ryofu/spawn5.gif

anim idle
	loop	1
	delay	12
      offset	90 170
      bbox	70 78 47 80
      @cmd    clearL
      frame	data/chars/ryofu/idle.gif
      frame	data/chars/ryofu/idle1.gif
      frame	data/chars/ryofu/idle2.gif
      frame	data/chars/ryofu/idle3.gif
      frame	data/chars/ryofu/idle4.gif
      frame	data/chars/ryofu/idle5.gif
      
anim walk
	loop	1
      delay   12
	offset	113 181
	bbox	93 89 50 80
	frame	data/chars/ryofu/w1.gif
	frame	data/chars/ryofu/w2.gif
	frame	data/chars/ryofu/w3.gif
	frame	data/chars/ryofu/w4.gif
	frame	data/chars/ryofu/w3.gif
      frame	data/chars/ryofu/w2.gif

anim BLOCK
      loop	0
	delay	5
	offset	90 170
	bbox	70 78 47 80
	frame	data/chars/ryofu/bl1.gif
      frame	data/chars/ryofu/bl2.gif
      delay	2
      offset	93 170
	frame	data/chars/ryofu/bl2.gif
      offset	90 170
      frame	data/chars/ryofu/bl2.gif
      offset	87 170
      frame	data/chars/ryofu/bl2.gif
      offset	90 170
      frame	data/chars/ryofu/bl2.gif
      delay	3
      move -4
      frame	data/chars/ryofu/bl2.gif
      frame	data/chars/ryofu/bl2.gif
      frame	data/chars/ryofu/bl1.gif
      frame	data/chars/ryofu/bl1.gif
      frame	data/chars/ryofu/bl1.gif

anim grabbed
      loop	0
	delay	5
	offset	90 170
      frame	data/chars/ryofu/pain4.gif

anim GRABBEDWALK
      loop	0
	delay	5
	offset	97 191
      frame	data/chars/ryofu/pain6.gif

anim follow1
      loop	1
	delay	1
	offset	90 170
      bbox	0 0 0 0
      frame	data/chars/ryofu/pain4.gif

anim follow2
      loop	1
	delay	5
	offset	90 170
      frame	data/chars/ryofu/pain4.gif


anim pain
	loop	0
	delay	4
	offset	90 170
      bbox	65 80 50 70
	frame	data/chars/ryofu/pain2.gif
      offset	92 170
	frame	data/chars/ryofu/pain2.gif
      offset	89 170
	frame	data/chars/ryofu/pain2.gif
      offset	91 170
      frame	data/chars/ryofu/pain2.gif
      offset	90 170
      frame	data/chars/ryofu/pain2.gif

anim pain2
	loop	0
	delay	3
	offset	90 170
      bbox	65 80 50 70
	frame	data/chars/ryofu/pain2.gif
      offset	92 170
	frame	data/chars/ryofu/pain2.gif
      sound	data/chars/ryofu/pain.wav
      offset	88 170
	frame	data/chars/ryofu/pain2.gif
      offset	92 170
      frame	data/chars/ryofu/pain2.gif
      offset	90 170
      frame	data/chars/ryofu/pain2.gif
      delay	45
      frame	data/chars/ryofu/pain4.gif
      frame	data/chars/ryofu/pain4.gif

anim pain3
	loop	0
      delay	5
      offset	75 170
      bbox	25 145 100 30
	frame	data/chars/jmax/fall04.gif

anim pain4
	loop	0
      delay	5
      offset	75 170
	frame	data/chars/jmax/fall04.gif

anim pain12
	loop	0
	delay	2
	offset	90 170
      bbox	65 80 50 70
	frame	data/chars/ryofu/pain4.gif
      offset	92 170
	frame	data/chars/ryofu/pain4.gif
      offset	88 170
	frame	data/chars/ryofu/pain4.gif
      offset	92 170
      frame	data/chars/ryofu/pain4.gif
      offset	90 170
      frame	data/chars/ryofu/pain4.gif
      delay	3
      move -4
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif

anim pain13
	loop	0
	delay	2
	offset	90 170
      bbox	65 80 50 70
      move -4
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain2.gif

anim bpain
	loop	0
	delay	2
	offset	90 170
      bbox	65 80 50 70
      @cmd    spawnbind "EEFlame" -12 41 1
	frame	data/chars/ryofu/bpain04.gif
      offset	77 170
	frame	data/chars/ryofu/bpain04.gif
      offset	73 170
	frame	data/chars/ryofu/bpain4.gif
      offset	77 170
      frame	data/chars/ryofu/bpain4.gif
      offset	75 170
      frame	data/chars/ryofu/bpain4.gif
      delay	3
      move -4
      frame	data/chars/ryofu/bpain02.gif
      frame	data/chars/ryofu/bpain02.gif
      frame	data/chars/ryofu/bpain2.gif
      frame	data/chars/ryofu/bpain2.gif
      frame	data/chars/ryofu/bpain02.gif
      frame	data/chars/ryofu/bpain02.gif
      frame	data/chars/ryofu/bpain2.gif
      frame	data/chars/ryofu/bpain2.gif

anim pain7
	loop	0
	delay	4
	offset	90 170
	frame	data/chars/ryofu/pain2.gif
      offset	92 170
	frame	data/chars/ryofu/pain2.gif
      offset	89 170
	frame	data/chars/ryofu/pain2.gif
      offset	91 170
      frame	data/chars/ryofu/pain2.gif
      offset	90 170
      frame	data/chars/ryofu/pain2.gif
      frame	data/chars/ryofu/pain4.gif
      frame	data/chars/ryofu/pain4.gif
      frame	data/chars/ryofu/pain4.gif
      frame	data/chars/ryofu/pain4.gif

anim fall
	loop	0
      delay   10
	offset	100 170
      bouncefactor 3.5
      landframe 6
      @cmd    degravity -0.27
      frame	data/chars/ryofu/fall01.gif
	frame	data/chars/ryofu/fall01.gif
      bbox	55 78 80 57
	attack  45 100 20 30 5 1 1 1
	frame	data/chars/ryofu/fall02.gif
	frame	data/chars/ryofu/fall02.gif
      delay   20
      bbox	30 90 95 45
	frame	data/chars/ryofu/fall03.gif
      delay   40
	frame	data/chars/ryofu/fall03.gif
      @cmd    degravity 0
      delay   8
      bbox	25 145 100 30
	frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      delay   2
      @cmd    anichange "ANI_FOLLOW8"
	frame	data/chars/ryofu/fall05.gif

anim fall4
      loop	0
      delay   2
	offset	90 170
      attack10  50 90 60 70 5 1 1 1
      move -4
      frame	data/chars/ryofu/pain5.gif
      frame	data/chars/ryofu/pain5.gif
      frame	data/chars/ryofu/pain5.gif
      delay   2
      move -5
      offset	95 155
      sound	data/sounds/fall.wav
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      move -4
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall03.gif
      bbox	50 90 60 70
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      move -3
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      offset	95 175
      frame	data/chars/ryofu/ffall05.gif
      frame	data/chars/ryofu/ffall05.gif
      frame	data/chars/ryofu/ffall05.gif
      frame	data/chars/ryofu/ffall05.gif
      offset	100 170
      attack10  0 0 0 0 0 0
      bbox	25 145 100 30
	frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      move -3
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      move 0
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      move 0
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      move 0
      delay   80
	frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      

anim fall6
      loop	0
      delay   1000
	offset	60 170
      frame	data/chars/ryofu/dsla1.gif
      offset	75 170
	frame	data/chars/ryofu/dsla2.gif
	frame	data/chars/ryofu/dsla3.gif
      offset	75 170
      frame	data/chars/ryofu/sla2.gif
      offset	123 140
      sound	data/sounds/fall.wav
      frame	data/chars/ryofu/sla3.gif
      offset	125 120
      frame	data/chars/ryofu/sla2.gif
      offset	90 170
      frame	data/chars/ryofu/pain4.gif
      offset	83 140
      frame	data/chars/ryofu/sla1.gif
      frame	data/chars/ryofu/sla2.gif
      offset	78 140
      frame	data/chars/ryofu/rjsla3.gif
      offset	75 150
      frame	data/chars/ryofu/rjsla4.gif
      frame	data/chars/ryofu/rjsla5.gif

anim fall7
      loop	0
      delay   1000
	offset	85 145
      frame	data/chars/ryofu/sla1.gif
      offset	112 145
	frame	data/chars/ryofu/sla2.gif
      offset	90 145
	frame	data/chars/ryofu/sla3.gif
      frame	data/chars/ryofu/sla4.gif
      sound	data/sounds/fall.wav
      offset	80 170
      frame	data/chars/ryofu/fall04.gif
      offset	85 145
      frame	data/chars/ryofu/sla1.gif
      frame	data/chars/ryofu/sla1.gif
      offset	98 138
      frame	data/chars/ryofu/ssla3.gif
      offset	93 138
      frame	data/chars/ryofu/rjsla3.gif
      offset	98 138
      frame	data/chars/ryofu/rjsla4.gif
      sound	data/sounds/fall.wav
      frame	data/chars/ryofu/rjsla4.gif
      frame	data/chars/ryofu/rjsla5.gif
      offset	93 138
      frame	data/chars/ryofu/rjsla6.gif
      offset	98 138
      frame	data/chars/ryofu/sla1.gif
      frame	data/chars/ryofu/sla1.gif
      frame	data/chars/ryofu/ssla3.gif
      frame	data/chars/ryofu/sla2.gif
      offset	123 170
      frame	data/chars/ryofu/sla3.gif
      offset	98 138
      frame	data/chars/ryofu/hsla1.gif
      frame	data/chars/ryofu/hsla2.gif
      frame	data/chars/ryofu/hsla3.gif
      frame	data/chars/ryofu/hsla2.gif
      sound	data/sounds/fall.wav
      frame	data/chars/ryofu/hsla2.gif
      frame	data/chars/ryofu/hsla4.gif
      frame	data/chars/ryofu/rj1.gif
      offset	93 138
      frame	data/chars/ryofu/gsla3.gif
      offset	98 138
      frame	data/chars/ryofu/rj3.gif
      frame	data/chars/ryofu/hsla4.gif
      offset	98 148
      frame	data/chars/ryofu/hsla4.gif
      offset	107 170
      frame	data/chars/ryofu/pain41.gif
      frame	data/chars/ryofu/pain21.gif
      offset	90 170
      frame	data/chars/ryofu/pain4.gif

anim fall8
      loop	0
      delay   1000
	offset	70 145
      frame	data/chars/ryofu/gsla1.gif
      offset	107 145
	frame	data/chars/ryofu/gsla2.gif
      offset	85 145
	frame	data/chars/ryofu/gsla3.gif
      frame	data/chars/ryofu/gsla4.gif
      sound	data/sounds/fall.wav
      frame	data/chars/ryofu/gsla6.gif
      offset	100 170
      frame	data/chars/ryofu/dsla1.gif
      offset	110 145
	frame	data/chars/ryofu/gsla3.gif
      offset	90 170
      frame	data/chars/ryofu/pain4.gif
      offset	100 170
      frame	data/chars/ryofu/gfall04.gif
      offset	75 148
      frame	data/chars/ryofu/rjsla4.gif
      frame	data/chars/ryofu/rjsla5.gif
      offset	100 170
      frame	data/chars/ryofu/fall04.gif
      offset	75 143
      frame	data/chars/ryofu/hsla2.gif
      frame	data/chars/ryofu/hsla4.gif
      offset	139 170
      frame	data/chars/ryofu/pain4.gif
      offset	100 170
      frame	data/chars/ryofu/fall01.gif
      frame	data/chars/ryofu/fall02.gif
      frame	data/chars/ryofu/fall03.gif
      frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall05.gif
      offset	100 170
      frame	data/chars/ryofu/gsla2.gif
      frame	data/chars/ryofu/gsla3.gif
      frame	data/chars/ryofu/gsla4.gif
      frame	data/chars/ryofu/gfall04.gif
      frame	data/chars/ryofu/gfall05.gif

anim fall9
	loop	0
      delay   20
	offset	103 138
      landframe 3
      bbox	30 90 95 45
      attack10  60 100 60 30 5 1 1 1
      @cmd    degravity -0.27
	frame	data/chars/ryofu/fall03.gif
      frame	data/chars/ryofu/fall03.gif
      offset	100 170
      bbox	25 145 100 30
      delay   100
      frame	data/chars/ryofu/fall04.gif
      @cmd    degravity 0
      delay   2
      @cmd    anichange "ANI_FOLLOW8"
	frame	data/chars/ryofu/fall05.gif

anim fall5
	loop	0
      delay   8
      bbox	55 78 47 80
      landframe 6
      offset	123 170
      attack10  60 100 60 30 5 1 1 1
      @cmd    degravity -0.27
      frame	data/chars/ryofu/sla3.gif
      frame	data/chars/ryofu/sla3.gif
      delay   10
      offset	103 138
      bbox	55 78 80 57
      frame	data/chars/ryofu/fall02.gif
      frame	data/chars/ryofu/fall02.gif
      delay   20
      bbox	30 90 95 45
	frame	data/chars/ryofu/fall03.gif
      delay   500
      frame	data/chars/ryofu/fall03.gif
      offset	100 170
      delay   8
      bbox	25 145 100 30
      @cmd    degravity 0
      frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      delay   2
      @cmd    anichange "ANI_FOLLOW8"
	frame	data/chars/ryofu/fall05.gif


anim fall10
	loop	0
      delay   20
	offset	103 138
      landframe 3
      attack10  60 100 60 30 5 1 1 1
      @cmd    degravity -0.27
	frame	data/chars/ryofu/fall01.gif
      frame	data/chars/ryofu/fall02.gif
      offset	100 170
      delay   100
      frame	data/chars/ryofu/fall04.gif
      @cmd    degravity 0
      delay   2
      @cmd    anichange "ANI_FOLLOW8"
	frame	data/chars/ryofu/fall05.gif

anim fall3
	loop	0
      delay	9
      offset	100 170
      bbox	25 145 100 30
      @script
    void self = getlocalvar("self");

    changeentityproperty(self, "velocity", 0, 0, 0);
@end_script
      frame	data/chars/ryofu/fall04.gif
	frame	data/chars/ryofu/fall05.gif

anim fall15
	loop	0
      delay   10
	offset	100 170
      landframe 6
      @cmd    degravity -0.27
      frame	data/chars/ryofu/fall01.gif
	frame	data/chars/ryofu/fall01.gif
	attack  45 100 20 30 5 1 1 1
	frame	data/chars/ryofu/fall02.gif
	frame	data/chars/ryofu/fall02.gif
      delay   20
	frame	data/chars/ryofu/fall03.gif
      delay   40
	frame	data/chars/ryofu/fall03.gif
      @cmd    degravity 0
      delay   8
	frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      delay   2
      @cmd    anichange "ANI_FOLLOW8"
	frame	data/chars/ryofu/fall05.gif

anim burn
	loop	0
      delay   7
	offset	100 170
      landframe 15
      @cmd    spawnbind "EFlame" -16 47 1
      frame	data/chars/ryofu/burn01.gif
	frame	data/chars/ryofu/burn1.gif
      frame	data/chars/ryofu/burn01.gif
	frame	data/chars/ryofu/burn1.gif
	attack  45 100 20 30 5 1 1 1
	frame	data/chars/ryofu/burn02.gif
	frame	data/chars/ryofu/burn2.gif
      frame	data/chars/ryofu/burn02.gif
	frame	data/chars/ryofu/burn2.gif
	frame	data/chars/ryofu/burn03.gif
	frame	data/chars/ryofu/burn3.gif
      frame	data/chars/ryofu/burn03.gif
      frame	data/chars/ryofu/burn3.gif
	frame	data/chars/ryofu/burn03.gif
      frame	data/chars/ryofu/burn3.gif
      delay   40
	frame	data/chars/ryofu/burn03.gif
      delay   7
      bbox	25 145 100 30
	frame	data/chars/ryofu/burn4.gif
      frame	data/chars/ryofu/burn04.gif
      frame	data/chars/ryofu/burn4.gif
      delay   2
      @cmd    anichange "ANI_FOLLOW8"
	frame	data/chars/ryofu/fall05.gif

anim follow8
	loop	0
      delay   80
	offset	100 170
      bbox	25 145 100 30
      @cmd    degravity 0
      frame	data/chars/ryofu/fall05.gif

anim rise
	loop	0
	offset	100 170
	delay	8
	frame	data/chars/ryofu/rise1.gif
      @cmd    riseattack 120 40 "ANI_FOLLOW6"
	frame	data/chars/ryofu/rise2.gif
      offset	113 181
	frame	data/chars/ryofu/rise3.gif
	frame	data/chars/ryofu/rise4.gif
      frame	data/chars/ryofu/rise5.gif
	
anim attack1
      @script
    void self = getlocalvar("self");

    if( frame == 0){
      int r = rand()%25;
      if( r > 10){
        changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW6"));
      } else if( r < -10){
        changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW5"));
      } else if( r < 0){
        changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW4"));
      }
    }
@end_script
	loop	0
      range 0 90
	delay	6
      offset	90 170
      bbox	70 78 47 80
      followcond 2
      followanim 3
      hitflash  ffla
      hitfx  data/sounds/knife2.wav
      frame	data/chars/ryofu/a1.gif
      sound	data/chars/ryofu/at9.wav
      frame	data/chars/ryofu/a2.gif
      frame	data/chars/ryofu/a3.gif
      attack 110 100 100 30 10 0 0 0 15
      frame	data/chars/ryofu/a4.gif
      sound	data/sounds/air5.wav
      attack 0 0 0 0 0 0
      delay	10
      frame	data/chars/ryofu/a4.gif
      delay	6
      frame	data/chars/ryofu/a3.gif
      frame	data/chars/ryofu/a2.gif
      frame	data/chars/ryofu/a1.gif

anim follow3
      loop	0
      delay	6
      offset	90 170
      bbox	70 78 47 80
      hitflash  ffla
      hitfx  data/sounds/knife3.wav
      frame	data/chars/ryofu/a4.gif
      delay	10
      frame	data/chars/ryofu/a4.gif
      delay	6
      frame	data/chars/ryofu/a3.gif
      frame	data/chars/ryofu/a2.gif
      offset	101 170
      delay	8
      frame	data/chars/ryofu/aa1.gif
      delay	6
      offset	96 170
      sound	data/chars/ryofu/at6.wav
      frame	data/chars/ryofu/aa2.gif
      offset	90 170
      sound	data/sounds/air3.wav
      frame	data/chars/ryofu/aa3.gif
      attack 110 45 100 70 15 1 0 0 0
      dropv 4 1
      frame	data/chars/ryofu/aa4.gif
      attack 0 0 0 0 0 0
      delay	17
      frame	data/chars/ryofu/aa5.gif
      delay	6
      frame	data/chars/ryofu/aa6.gif
      frame	data/chars/ryofu/aa7.gif
      frame	data/chars/ryofu/a2.gif
      frame	data/chars/ryofu/a1.gif

anim follow4
      loop	0
      delay	6
      offset	101 170
      bbox	70 78 47 80
      hitflash  ffla
      hitfx  data/sounds/knife3.wav
      frame	data/chars/ryofu/aa1.gif
      delay	6
      offset	96 170
      sound	data/chars/ryofu/at6.wav
      frame	data/chars/ryofu/aa2.gif
      offset	90 170
      sound	data/sounds/air3.wav
      frame	data/chars/ryofu/aaa1.gif
      attack 110 95 100 50 20 1 0 0 23
      dropv 3 3
      frame	data/chars/ryofu/aaa2.gif
      delay	7
      attack 0 0 0 0 0 0
      frame	data/chars/ryofu/aaa3.gif
      frame	data/chars/ryofu/aaa4.gif
      frame	data/chars/ryofu/aaa5.gif
      frame	data/chars/ryofu/aaa6.gif

anim follow5
      loop	0
      delay   6
      offset	113 181
      jumpframe 4 0 -2.5 1 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      bbox	93 89 50 80
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif

anim follow6
      loop	0
      delay   6
      offset	113 181
      jumpframe 4 0 -2.5 -1 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      bbox	93 89 50 80
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif

anim attack2
      @script
    void self = getlocalvar("self");

    if( frame == 0){
      int r = rand()%20;
      if( r > 10){
        changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
      } else if( r < -10){
        changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW7"));
      }
    }
@end_script
      loop	0
      range 120 190
	delay	8
      offset	90 170
      bbox	70 78 47 80
      hitflash  ffla
      hitfx  data/sounds/knife2.wav
      frame	data/chars/ryofu/a1.gif
      offset	90 191
      bbox	70 98 47 80
      delay	14
      frame	data/chars/ryofu/aaaaa1.gif
      sound	data/chars/ryofu/at8.wav
      offset	90 170
      bbox	70 78 47 80
      delay	7
      frame	data/chars/ryofu/aaaaa2.gif
      attack14  180 150 85 20 20 1 1 0 40
      dropv 3 1.5
      frame	data/chars/ryofu/aaaaa3.gif
      sound	data/sounds/air3.wav
      attack14 0 0 0 0 0 0
      frame	data/chars/ryofu/aaaaa4.gif
      frame	data/chars/ryofu/aaaaa5.gif
      frame	data/chars/ryofu/aaaaa6.gif
      frame	data/chars/ryofu/aaaaa7.gif

anim follow7
      loop	0
      delay   6
      offset	113 181
      jumpframe 4 0 2.5 1 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      bbox	93 89 50 80
      frame	data/chars/ryofu/ru3.gif
      frame	data/chars/ryofu/ru3.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif

anim follow9
      loop	0
      delay   6
      offset	113 181
      jumpframe 4 0 2.5 -1 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      bbox	93 89 50 80
      frame	data/chars/ryofu/ru3.gif
      frame	data/chars/ryofu/ru3.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif

anim attack3
      @script
    void self = getlocalvar("self");

    if( frame == 0){
      int r = rand()%50;

      if( r > 0){
        changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));
      }
    }
@end_script
      range 50 90
      rangez 30 50
      loop	0
      delay   6
      offset	113 181
      bbox	93 89 50 80
      hitflash  ffla
      hitfx  data/sounds/knife3.wav
      jumpframe 4 0 2 1.5 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      delay	7
      offset	90 170
      bbox	70 78 47 80
      frame	data/chars/ryofu/a1.gif
      offset	115 170
      sound	data/chars/ryofu/at7.wav
      frame	data/chars/ryofu/aaaa1.gif
      offset	90 170
      frame	data/chars/ryofu/aaaa2.gif
      sound	data/sounds/air3.wav
      attack 110 110 90 50 15 1
      dropv 2 3.5
      frame	data/chars/ryofu/aaaa3.gif
      attack 0 0 0 0 0 0
      delay	25
      frame	data/chars/ryofu/aaaa4.gif
      delay	10
      frame	data/chars/ryofu/a2.gif
      frame	data/chars/ryofu/a1.gif

anim attack4
      @script
    void self = getlocalvar("self");

    if( frame == 0){
      int r = rand()%50;

      if( r > 0){
        changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW11"));
      }
    }
@end_script
      range 50 90
      rangez -50 -30
      loop	0
      delay   6
      offset	113 181
      bbox	93 89 50 80
      hitflash  ffla
      hitfx  data/sounds/knife3.wav
      jumpframe 4 0 2 -1.5 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      delay	7
      offset	90 170
      bbox	70 78 47 80
      frame	data/chars/ryofu/a1.gif
      offset	115 170
      sound	data/chars/ryofu/at7.wav
      frame	data/chars/ryofu/aaaa1.gif
      offset	90 170
      frame	data/chars/ryofu/aaaa2.gif
      sound	data/sounds/air3.wav
      attack 110 110 90 50 15 1
      dropv 2 3.5
      frame	data/chars/ryofu/aaaa3.gif
      attack 0 0 0 0 0 0
      delay	25
      frame	data/chars/ryofu/aaaa4.gif
      delay	10
      frame	data/chars/ryofu/a2.gif
      frame	data/chars/ryofu/a1.gif

anim follow10
      loop	0
      delay   6
      offset	113 181
      bbox	93 89 50 80
      hitflash  ffla
      hitfx  data/sounds/knife3.wav
      jumpframe 4 0 0 1.5 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      delay	6
      offset	101 170
      bbox	70 78 47 80
      frame	data/chars/ryofu/aa1.gif
      delay	6
      offset	96 170
      sound	data/chars/ryofu/at6.wav
      frame	data/chars/ryofu/aa2.gif
      offset	90 170
      sound	data/sounds/air3.wav
      frame	data/chars/ryofu/aaa1.gif
      attack 110 95 100 50 20 1 0 0 23
      dropv 3 3
      frame	data/chars/ryofu/aaa2.gif
      delay	7
      attack 0 0 0 0 0 0
      frame	data/chars/ryofu/aaa3.gif
      frame	data/chars/ryofu/aaa4.gif
      frame	data/chars/ryofu/aaa5.gif
      frame	data/chars/ryofu/aaa6.gif

anim follow11
      loop	0
      delay   6
      offset	113 181
      bbox	93 89 50 80
      hitflash  ffla
      hitfx  data/sounds/knife3.wav
      jumpframe 4 0 0 -1.5 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      frame	data/chars/ryofu/ru2.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      delay	6
      offset	101 170
      bbox	70 78 47 80
      frame	data/chars/ryofu/aa1.gif
      delay	6
      offset	96 170
      sound	data/chars/ryofu/at6.wav
      frame	data/chars/ryofu/aa2.gif
      offset	90 170
      sound	data/sounds/air3.wav
      frame	data/chars/ryofu/aaa1.gif
      attack 110 95 100 50 20 1 0 0 23
      dropv 3 3
      frame	data/chars/ryofu/aaa2.gif
      delay	7
      attack 0 0 0 0 0 0
      frame	data/chars/ryofu/aaa3.gif
      frame	data/chars/ryofu/aaa4.gif
      frame	data/chars/ryofu/aaa5.gif
      frame	data/chars/ryofu/aaa6.gif

anim special
      loop	0
      delay	7
      offset	90 170
      bbox	70 78 47 80
      hitflash  ffla
      hitfx  data/sounds/knife3.wav
      frame	data/chars/ryofu/a1.gif
      offset	115 170
      sound	data/chars/ryofu/at7.wav
      frame	data/chars/ryofu/aaaa1.gif
      offset	90 170
      frame	data/chars/ryofu/aaaa2.gif
      sound	data/sounds/air3.wav
      attack 110 110 90 50 15 1
      dropv 2 3.5
      frame	data/chars/ryofu/aaaa3.gif
      attack 0 0 0 0 0 0
      delay	25
      frame	data/chars/ryofu/aaaa4.gif
      delay	10
      frame	data/chars/ryofu/a2.gif
      frame	data/chars/ryofu/a1.gif

anim special2
      loop	0
      delay   6
      offset	113 181
      jumpframe 4 0 -2.5 0 dus
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      sound	data/sounds/jumpp.wav
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      frame	data/chars/ryofu/rub1.gif
      @cmd    stop
      @cmd    spawn01 "dus" 0 0 1
      sound	data/sounds/step.wav
      bbox	93 89 50 80
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/rub2.gif
      frame	data/chars/ryofu/ru1.gif
      frame	data/chars/ryofu/ru1.gif

anim death
	loop	0
      delay   20
	offset	100 170
      frame	data/chars/ryofu/fall05.gif


anim death3
	loop	0
      delay   9
	offset	100 170
      @script
    void self = getlocalvar("self");

    changeentityproperty(self, "velocity", 0, 0, 0);
@end_script
      frame	data/chars/ryofu/fall04.gif
      delay   20
      frame	data/chars/ryofu/fall05.gif

anim death4
	loop	0
      delay   2
	offset	95 155
      move -5
      sound	data/sounds/fall.wav
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      move -4
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall03.gif
      bbox	50 90 60 70
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      frame	data/chars/ryofu/ffall02.gif
      move -3
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall03.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall04.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      frame	data/chars/ryofu/ffall01.gif
      offset	95 175
      frame	data/chars/ryofu/ffall05.gif
      frame	data/chars/ryofu/ffall05.gif
      frame	data/chars/ryofu/ffall05.gif
      frame	data/chars/ryofu/ffall05.gif
      offset	100 170
      attack10  0 0 0 0 0 0
      bbox	25 145 100 30
	frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      frame	data/chars/ryofu/fall04.gif
      move -3
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      move 0
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      move 0
      frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif
      move 0
      delay   80
	frame	data/chars/ryofu/fall05.gif
      frame	data/chars/ryofu/fall05.gif

anim death9
	loop	0
      delay   20
	offset	100 170
      frame	data/chars/ryofu/fall05.gif

anim death15
	loop	0
      delay   20
	offset	100 170
      frame	data/chars/ryofu/fall05.gif

anim bdie
	loop	0
      delay   20
	offset	100 170
      frame	data/chars/ryofu/fall05.gif


