name		John
health		300
speed		12
type		enemy
noquake		1
dust		dust
gfxshadow	1
blockodds	1
diesound	data/sounds/die2.wav
animationscript	data/scripts/harden.c
load		knife

remap       data/chars/soldiers/john/idle01.gif  data/chars/soldiers/john/map1.gif


anim idle
drawmethod	270 270
	loop       1
	delay      25
	offset     103 188
	bbox       82 93 43 92
        frame      data/chars/soldiers/john/idle01.gif

anim walk
drawmethod	270 270
	 loop       1
	 delay      6
	 offset     103 188
	 bbox       82 93 43 92
         frame      data/chars/soldiers/john/wk01.gif
         frame      data/chars/soldiers/john/wk02.gif
         frame      data/chars/soldiers/john/wk03.gif
	 delay      7
         frame      data/chars/soldiers/john/wk04.gif
	 delay      6
         frame      data/chars/soldiers/john/wk03.gif
         frame      data/chars/soldiers/john/wk02.gif


anim attack1
drawmethod	270 270
	 range      5 74
	 delay      6
	 offset     103 188
	 bbox       82 93 43 92
	 followanim 1
	 followcond 3
	 fastattack 1
	 sound      data/sounds/john1.wav
         frame      data/chars/soldiers/john/a201.gif
         frame      data/chars/soldiers/john/a202.gif
	 attack     115 105 61 18 7 0 0 0 10
         frame      data/chars/soldiers/john/a203.gif
	 delay      7
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/a202.gif
         frame      data/chars/soldiers/john/a201.gif

anim follow1
drawmethod	270 270
	 delay      1
	 offset     103 188
	 bbox       82 93 43 92
	 fastattack 1
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/a203.gif
	 delay      6
         frame      data/chars/soldiers/john/a203.gif
	 delay      5
         frame      data/chars/soldiers/john/a202.gif
         frame      data/chars/soldiers/john/a201.gif
         frame      data/chars/soldiers/john/a202.gif
	 delay      7
	 attack     115 105 61 18 7 0 0 0 10
         frame      data/chars/soldiers/john/a203.gif
	 delay      5
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/a202.gif
         frame      data/chars/soldiers/john/a201.gif
         frame      data/chars/soldiers/john/a202.gif
	 delay      7
	 attack     115 105 61 18 7 1 1 0 10
         frame      data/chars/soldiers/john/a203.gif
	 delay      6
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/a202.gif
         frame      data/chars/soldiers/john/a201.gif

anim attack2
drawmethod	270 270
	 range      85 130
	 rangez -10 10
	 delay      6
	 offset     103 188
	 bbox       82 93 43 92
	 followanim 2
	 followcond 3
	 fastattack 1
	@cmd	target 3 1.5 0 0 0 1
	@cmd	dash 0 0
	 sound      data/sounds/john2.wav
         frame      data/chars/soldiers/john/b101.gif
         frame      data/chars/soldiers/john/b102.gif
         frame      data/chars/soldiers/john/b103.gif
	 attack2    93 123 51 50 5 0 0 0 8
         frame      data/chars/soldiers/john/b104.gif
         frame      data/chars/soldiers/john/b104.gif
	 delay      10
	 delay      7
	 attack2    0 0 0 0
	@cmd	dasher 0 0 0
         frame      data/chars/soldiers/john/b103.gif
         frame      data/chars/soldiers/john/b102.gif
         frame      data/chars/soldiers/john/b101.gif

anim follow2
drawmethod	270 270
	 delay      1
	 offset     103 188
	 bbox       82 93 43 92
	 fastattack 1
	 sound      data/sounds/john3.wav
         frame      data/chars/soldiers/john/b104.gif
	@cmd	dasher 0 0 0
	 delay      6
	 attack2    0 0 0 0
         frame      data/chars/soldiers/john/b104.gif
	 delay      5
	 attack2    0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
	 delay      7
	 hitfx      data/sounds/beat2.wav
	 attack     93 97 63 39 5 0 1 0 8
         frame      data/chars/soldiers/john/b105.gif
	 delay      5
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
	 delay      7
	 hitfx      data/sounds/beat3.wav
	 attack2    93 123 51 50 5 0 1 0 8
         frame      data/chars/soldiers/john/b104.gif
	 delay      5
	 attack2    0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
	 delay      7
	 hitfx      data/sounds/beat3.wav
	 attack     93 97 63 39 5 0 1 0 8
         frame      data/chars/soldiers/john/b105.gif
	 delay      5
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
	 delay      7
	 hitfx      data/sounds/beat1.wav
	 attack2    93 123 51 50 5 0 1 0 8
         frame      data/chars/soldiers/john/b104.gif
	 delay      5
	 attack2    0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
	 delay      7
	 hitfx      data/sounds/beat2.wav
	 attack     93 97 63 39 5 0 1 0 8
         frame      data/chars/soldiers/john/b105.gif
	 delay      5
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
	 delay      7
	 hitfx      data/sounds/beat1.wav
	 attack2    93 123 51 50 5 0 1 0 8
         frame      data/chars/soldiers/john/b104.gif
	 delay      5
	 attack2    0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
	 delay      7
	 hitfx      data/sounds/beat2.wav
	 attack     93 97 63 39 5 0 1 0 8
         frame      data/chars/soldiers/john/b105.gif
	 delay      5
	 attack2    0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
         frame      data/chars/soldiers/john/b102.gif
         frame      data/chars/soldiers/john/a101.gif
         frame      data/chars/soldiers/john/a102.gif
	 delay      12
	 hitfx      data/sounds/beat4.wav
	 attack     112 94 53 17 8 1 1 0 8
         frame      data/chars/soldiers/john/a103.gif
	 delay      8
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/a201.gif

anim attack3
drawmethod	270 270
	 range      80 200
	 rangez	    -40 40
	 delay      10
	 offset     103 188
	 bbox       82 93 43 92
	 followanim 3
	 followcond 3
	 fastattack 1
	 landframe  15
	 sound      data/sounds/john8.wav
         frame      data/chars/soldiers/john/ju01.gif
	 delay      4
	 offset     103 183
	 bbox       85 70 36 62
	@cmd	target 3 1.5 0 0 0 1
	@cmd	leap 3
         frame      data/chars/soldiers/john/ju02.gif
	 offset     103 178
         frame      data/chars/soldiers/john/ju03.gif
	 offset     103 173
	 bbox       77 70 75 48
         frame      data/chars/soldiers/john/ju04.gif
         frame      data/chars/soldiers/john/ju05.gif
	 bbox       82 50 42 56
         frame      data/chars/soldiers/john/ju06.gif
	 delay      4
#	 offset     103 215
	 hitfx      data/sounds/beat5.wav
	 attack     101 115 7 23 5 0 0 0 8
         frame      data/chars/soldiers/john/ju07.gif
         frame      data/chars/soldiers/john/ju08.gif
         frame      data/chars/soldiers/john/ju09.gif
         frame      data/chars/soldiers/john/ju07.gif
         frame      data/chars/soldiers/john/ju08.gif
         frame      data/chars/soldiers/john/ju09.gif
 	 delay      6
	 offset     103 188
	 attack     0 0 0 0
	 bbox       90 45 62 60
         frame      data/chars/soldiers/john/ju10.gif
	 bbox       82 70 43 64
         frame      data/chars/soldiers/john/ju11.gif
	 delay      100
         frame      data/chars/soldiers/john/ju12.gif
	 delay      15
	 bbox       82 93 43 92
         frame      data/chars/soldiers/john/ju01.gif

anim follow3
@script
    void vSelf = getlocalvar("self");	

    if(frame==0){
      int  iTime = openborvariant("elapsed_time");

      changeentityproperty(vSelf, "tosstime", iTime + 72);
    }
@end_script
drawmethod	270 270
	 delay      2
	 offset     103 173
	 bbox       82 50 42 56
	 fastattack 1
	 jumpframe  18 2 3 0
	 landframe  21
	 hitfx      data/sounds/beat5.wav
	 attack     101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju07.gif
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/ju07.gif
	 attack2    101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju08.gif
	 attack2    0 0 0 0
         frame      data/chars/soldiers/john/ju08.gif
	@cmd	dasher 0 0 0
	 attack     101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju09.gif
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/ju09.gif
	 attack     101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju07.gif
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/ju07.gif
	 attack     101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju08.gif
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/ju08.gif
	 attack     101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju09.gif
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/ju09.gif
	 attack     101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju07.gif
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/ju07.gif
	 attack     101 115 7 23 2 0 0 0 8
         frame      data/chars/soldiers/john/ju08.gif
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/ju08.gif
	 hitfx      data/sounds/beat4.wav
	 attack     101 115 7 23 20 1 1 0 8
         frame      data/chars/soldiers/john/ju09.gif
	 attack     0 0 0 0 
         frame      data/chars/soldiers/john/ju09.gif
	 delay      11
	 offset     103 178
	 bbox       90 45 62 60
         frame      data/chars/soldiers/john/ju10.gif
	 offset     103 183
	 bbox       82 70 43 64
         frame      data/chars/soldiers/john/ju11.gif
	 offset     103 188
	 delay      100
         frame      data/chars/soldiers/john/ju12.gif
	 delay      15
	 bbox       82 93 43 92
         frame      data/chars/soldiers/john/ju01.gif

anim attack4
drawmethod	270 270
	 range      140 220
	 rangez	    -20 20
	 delay      20
	 offset     103 188
	 bbox       82 93 43 92
	 sound      data/sounds/john7.wav
         frame      data/chars/soldiers/john/a201.gif
	 delay      7
	@cmd	target 3 1.5 70 0 0 1
         frame      data/chars/soldiers/john/msm01.gif
         frame      data/chars/soldiers/john/msm02.gif
         frame      data/chars/soldiers/john/msm03.gif
         frame      data/chars/soldiers/john/msm01.gif
	@cmd	shootT "Knife" 70 70 0
         frame      data/chars/soldiers/john/msm04.gif
	 delay      25
         frame      data/chars/soldiers/john/msm05.gif
	 delay      8
         frame      data/chars/soldiers/john/msm06.gif
         frame      data/chars/soldiers/john/a201.gif


anim upper
drawmethod	270 270
	 range      5 120
	 delay      7
	 offset     103 188
	 sound      data/sounds/john2.wav
         frame      data/chars/soldiers/john/b101.gif
         frame      data/chars/soldiers/john/b102.gif
         frame      data/chars/soldiers/john/b103.gif
	 hitfx      data/sounds/beat5.wav
	 delay      25
	 attack     93 97 63 39 20 1 1 0 8
         frame      data/chars/soldiers/john/b105.gif
	 delay      7
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/b103.gif
         frame      data/chars/soldiers/john/b102.gif
         frame      data/chars/soldiers/john/b101.gif

anim riseattack
drawmethod	270 270
	 range      5 74
	 delay      6
	 offset     103 188
	 followanim 1
	 followcond 3
	 fastattack 1
	 sound      data/sounds/john1.wav
         frame      data/chars/soldiers/john/a201.gif
         frame      data/chars/soldiers/john/a202.gif
	 attack     115 105 61 18 7 0 0 0 10
         frame      data/chars/soldiers/john/a203.gif
	 delay      7
	 attack     0 0 0 0
         frame      data/chars/soldiers/john/a202.gif
         frame      data/chars/soldiers/john/a201.gif


anim pain
drawmethod	270 270
	 loop       0
	 delay      10
	 offset     106 188
	 bbox       82 93 43 92
         frame      data/chars/soldiers/john/pain1.gif
         frame      data/chars/soldiers/john/pain2.gif

anim fall
drawmethod	270 270
	 delay      30
	landframe	3
	 offset     103 188
	bbox	76 80 58 76
         frame      data/chars/soldiers/john/fall1.gif
	 delay      10
         frame      data/chars/soldiers/john/fall2.gif
	 delay      300
         frame      data/chars/soldiers/john/fall3.gif
	 delay      20
	bbox	0
         frame      data/chars/soldiers/john/fall4.gif

anim rise
drawmethod	270 270
	 delay      14
	 offset     101 190
         frame      data/chars/soldiers/john/rise1.gif
         frame      data/chars/soldiers/john/backup.gif
         frame      data/chars/soldiers/john/block.gif


anim block
drawmethod	270 270
	delay      10
	offset     103 188
	bbox       82 93 43 92
        frame      data/chars/soldiers/john/block.gif
        frame      data/chars/soldiers/john/block.gif
