name Clone
type enemy#npc
subtype  chase
health 100
speed 11
mp 100
gfxshadow  1
grabdistance 25
throw 2,5 0
makeinv 1

com D D J FREESPECIAL3
com D F A FREESPECIAL4


candamage player obstacle npc
hostile player
aggression 80
nomove 0 1
nodrop 1
death 1
cantgrab 1
palette  data/chars/clone/clone3/laborpal.gif
facing 1
score  500
nopain  0



script          data/chars/clone/clone3/nopain.c
animationscript data/chars/clone/clone3/clone.c

load exp2
load BAT


anim spawn

       subentity Serpentor#cloneobs
       spawnframe 1  0 0 0 0
       delay 42
sound	data/chars/clone/Serpentor.wav
       offset 233 217
       frame data/chars/clone/clone3/cw1.gif
       frame data/chars/clone/clone3/cw2.gif



anim idle


       loop 0

       delay 42
       offset 233 217
       bbox 101 34 77 72

       frame data/chars/clone/clone3/cw1.gif
       frame data/chars/clone/clone3/cw2.gif




anim pain


       offset 233 217
       bbox 100 31 81 71
       attack 0 0 0 0 0 0 0 0 0

       delay 1
       frame data/chars/clone/clone3/pain.gif
       delay 5
       frame data/chars/clone/clone3/cw2.gif
       frame data/chars/clone/clone3/pain.gif





anim rise

       delay 42
       offset 133 217
       bbox 71 58 81 50
       frame data/chars/clone/clone3/cw1.gif
	frame data/chars/clone/clone3/cw2.gif

anim death


       delay 1
       offset 225 235
       bbox 81 66 85 33

       # subentity Clone

     #   spawnframe 1  -110 0 0 1
        delay  1
        frame data/chars/clone/clone3/idle.gif
        delay 100
       frame data/chars/clone/clone3/idle.gif
        delay 20
       @cmd    spawner "exp2" -100 0 0
       frame data/chars/clone/clone3/idle.gif
       @cmd    spawner "exp2" -90 0 0
       frame data/chars/clone/clone3/idle.gif
       @cmd    spawner "exp2" -110 0 0
       frame data/chars/clone/clone3/idle.gif
       @cmd    spawner "exp2" -90 0 0
       frame data/chars/clone/clone3/idle.gif
       @cmd    spawner "exp2" -110 0 0
       frame data/chars/clone/clone3/idle.gif

anim walk

       loop 1
       delay 42
       offset 233 217
       bbox 101 37 81 71

       frame data/chars/clone/clone3/cw1.gif
       frame data/chars/clone/clone3/cw2.gif
       frame data/chars/clone/clone3/cw1.gif
       frame data/chars/clone/clone3/cw2.gif
       frame data/chars/clone/clone3/cw1.gif
       frame data/chars/clone/clone3/cw2.gif
       frame data/chars/clone/clone3/cw1.gif
       frame data/chars/clone/clone3/cw2.gif
       




anim attack1




       range 70 120


       custentity shot4i

       spawnframe  11  -70 0 180

       delay 30


       offset 233 217
       bbox 71 54 81 53
       frame data/chars/clone/clone3/cwatk.gif
       delay 6
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif


       delay 15
       frame data/chars/clone/clone3/cwatk13.gif
       delay 2
       move -2
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif

       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif
       frame data/chars/clone/clone3/cwatk.gif

       delay 10
       move  0
       frame data/chars/clone/clone3/cwatk.gif




anim attack2


       range -10 50



       custentity shot3i
       spawnframe  17  -70 0 170

       delay 30
       offset 133 217
       bbox 72 58 79 45




       offset 233 217
       bbox 71 54 81 53
       frame data/chars/clone/clone3/cwatk.gif
       delay 6
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk12.gif
@cmd	spawner "BAT" -200 0 0
       delay 1
       move -1
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk11.gif
       frame data/chars/clone/clone3/cwatk11.gif
       delay 6
       move  0


       frame data/chars/clone/clone3/cwatk13.gif
       delay 50

       frame data/chars/clone/clone3/cwatk.gif














