name                Stinger_Jeep#Minivan
speed               7
type                Enemy
gfxshadow           1
health              100000
grabdistance        35
candamage           player npc obstacle
hostile             player
projectilehit       enemy obstacle
death               1
notgrab             1
nodrop              1
#diesound            data/sounds/sdie.wav
nopain              1
#setlayer            15

#script                     data/chars/shocker/minivan/minivan2.c
animationscript            data/chars/shocker/minivan/minivan.c
load Cobra_Officer


anim spawn
       

       
       @cmd                     spawner "minivan2" 0 0 0
       loop                     0       
       offset                   182 149
       delay                    1
       move			10
       frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle.gif
	frame                    data/chars/shocker/minivan/idle.gif
	frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle.gif
	frame                    data/chars/shocker/minivan/idle.gif
	frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle.gif
	frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle.gif
       @cmd                     change "Ani_Follow4"
       frame                    data/chars/shocker/minivan/idle.gif






anim follow4




       loop                     1
       @cmd                     startlop
       offset                   182 149
       #bbox                     149 16 94 127
       @cmd                     tattack5 800 800 8 6
       attack                   0

#=========================  canto da tela   ===========================================


       delay                    5
		
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     plcount 0 "Ani_follow2"
       #@cmd                     anilife 0.6 "Ani_Follow1"
       @cmd                     encount 12 "Ani_follow2"
      
       delay                    5
       frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle2.gif
       frame                    data/chars/shocker/minivan/idle.gif
       @cmd                     endlop 2 10
       #@cmd                     endlop 2 30
       frame                    data/chars/shocker/minivan/idle2.gif









#========================= persegue player ===========================


       delay                    40
       @cmd                     dashz
       
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    10
       @cmd                     stop
      
       frame                    data/chars/shocker/minivan/idle.gif
       attack                   157  17  102  124  20  1  1  1  5 40
       @cmd                     dashx  5
       delay                    4
        sound                    data/sounds/brake2.wav
       frame                    data/chars/shocker/minivan/idle4.gif
       delay                    2
       frame                    data/chars/shocker/minivan/idle4.gif
       frame                    data/chars/shocker/minivan/idle3.gif
       @cmd                     endlop 9 23
       #frame                    data/chars/shocker/minivan/idle4.gif






#============================    estacionado  ====================================

       @cmd                     stop

       delay                    10
       frame                    data/chars/shocker/minivan/idle.gif
       delay                    1
       @cmd                     spawner4 "Cobra_Officer" 5 5 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" 30 50 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" -20 -10 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" 15 25 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif


       #delay                    300
       delay			600
       attack                   0
       frame                    data/chars/shocker/minivan/vanempty.gif








#============================    recua   =============================


       delay                    1
       @cmd                     dashx  -2
        sound                    data/sounds/re.wav
       frame                    data/chars/shocker/minivan/vanempty.gif
       frame                    data/chars/shocker/minivan/vanempt3.gif
       delay                    2
       frame                    data/chars/shocker/minivan/vanempt4.gif
       frame                    data/chars/shocker/minivan/vanempt3.gif
       @cmd                     endlop 19 59

       delay                    10
       @cmd                     stop
       frame                    data/chars/shocker/minivan/vanempty.gif
       frame                    data/chars/shocker/minivan/vanempty.gif

       #delay                    100
	delay			400
       frame                    data/chars/shocker/minivan/idle.gif
       #frame                    data/chars/shocker/minivan/idle2.gif
       #frame                    data/chars/shocker/minivan/idle.gif
       #@cmd                     endlop 14 10
       #frame                    data/chars/shocker/minivan/idle2.gif
       



#=======================================================





anim death

       offset                   182 149
       delay                    30
       @cmd                     spawner "BXPlos2" 0 0 0
       @cmd                     dmgent3 "Cobra_Officer" 1000
       frame                    data/chars/shocker/minivan/vanempty.gif

       @cmd                     spawner "BXPlos2" 20 50 -10
       frame                    data/chars/shocker/minivan/vanempty.gif

       @cmd                     spawner "BXPlos2" -30 30 -5
       frame                    data/chars/shocker/minivan/vanempty.gif


       @cmd                     spawner "BXPlos2" 0 0 0
       frame                    data/chars/shocker/minivan/vanempty.gif

       @cmd                     spawner "BXPlos2" 80 50 -10
       frame                    data/chars/shocker/minivan/vanempty.gif

       @cmd                     spawner "BXPlos2" -80 30 -5
       frame                    data/chars/shocker/minivan/vanempty.gif


       @cmd                     spawner "BXPlos2" 0 0 0
       frame                    data/chars/misc/empty.gif

        @cmd                     spawner "BXPlos2" 20 50 -10
        frame                    data/chars/misc/empty.gif

        @cmd                     spawner "BXPlos2" -30 30 -5
        frame                    data/chars/misc/empty.gif




#===========================================================
#================= ataque alternativo 1======================
#===========================================================

anim follow2


       loop                     1
       @cmd                    startlop
       offset                   182 149
       #bbox                     149 16 94 127
       @cmd                     tattack5 800 800 8 6
       attack                   0

#=========================  canto da tela   ===========================================


       delay                    5
		
       frame                    data/chars/shocker/minivan/idle.gif


       #@cmd                     anilife 0.3 "Ani_Follow3"
       delay                    3
       frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle2.gif
       frame                    data/chars/shocker/minivan/idle.gif
       @cmd                     endlop 2 6
       frame                    data/chars/shocker/minivan/idle2.gif









#========================= persegue player ===========================


       delay                    40
       @cmd                     dashz
       
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    10
       @cmd                     stop
      
       frame                    data/chars/shocker/minivan/idle.gif
       attack                   157  17  102  124  20  1  1  1  5 40
       @cmd                     dashx  6
       delay                    1
        sound                    data/sounds/brake2.wav
       
       

       frame                    data/chars/shocker/minivan/idle4.gif
       delay                    2
       frame                    data/chars/shocker/minivan/idle4.gif
       frame                    data/chars/shocker/minivan/idle3.gif
       @cmd                     endlop 9 27






#============================    estacionado  ====================================

       @cmd                     stop

       delay                    10
       frame                    data/chars/shocker/minivan/idle.gif
       delay                    1
       #@cmd                     spawner4 "shocker" 5 5 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       #@cmd                     spawner4 "shocker" 30 50 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       #@cmd                     spawner4 "shocker" -20 -10 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       #@cmd                     spawner4 "shocker" 15 25 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif


       delay                    10
       attack                   0
       frame                    data/chars/shocker/minivan/idle.gif








#============================    recua   =============================


       delay                    1
       @cmd                     dashx  -3
        sound                    data/sounds/re.wav
       frame                    data/chars/shocker/minivan/idle3.gif
       frame                    data/chars/shocker/minivan/idle4.gif
       delay                    2
       frame                    data/chars/shocker/minivan/idle3.gif
       frame                    data/chars/shocker/minivan/idle4.gif
       @cmd                     endlop 19 70


       delay                    10
       @cmd                     stop
       frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    3
       @cmd                     change "Ani_Follow4"
       frame                    data/chars/shocker/minivan/idle.gif
       #frame                    data/chars/shocker/minivan/idle2.gif
       #frame                    data/chars/shocker/minivan/idle.gif
       #@cmd                     endlop 14 6
       #frame                    data/chars/shocker/minivan/idle2.gif









#===========================================================
#================= ataque alternativo 2======================
#===========================================================

anim follow3


       loop                     1
       @cmd                    startlop
       offset                   182 149
       #bbox                     149 16 94 127
       @cmd                     tattack5 800 800 8 6
       attack                   0

#=========================  canto da tela   ===========================================


       delay                    5
		
       frame                    data/chars/shocker/minivan/idle.gif


       #@cmd                     anilife 0.6 "Ani_Follow2"
       delay                    3
       frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle2.gif
       frame                    data/chars/shocker/minivan/idle.gif
       @cmd                     endlop 2 6
       frame                    data/chars/shocker/minivan/idle2.gif









#========================= persegue player ===========================


       delay                    40
       @cmd                     dashz
       
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    10
       @cmd                     stop
      
       frame                    data/chars/shocker/minivan/idle.gif
       attack                   157  17  102  124  20  1  1  1  5 40
       @cmd                     dashx  5
       delay                    60
        sound                    data/sounds/brake2.wav
       frame                    data/chars/shocker/minivan/idle.gif






#============================    estacionado  ====================================

       @cmd                     stop

       delay                    10
       frame                    data/chars/shocker/minivan/idle.gif
       delay                    1
       @cmd                     spawner4 "Cobra_Officer" 5 5 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" 30 50 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" -20 -10 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" 15 25 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif


       delay                    300
       attack                   0
       frame                    data/chars/shocker/minivan/vanempty.gif








#============================    recua   =============================


       delay                    100
       @cmd                     dashx  -3
       frame                    data/chars/shocker/minivan/vanempty.gif

       delay                    10
       @cmd                     stop
       frame                    data/chars/shocker/minivan/vanempty.gif
       frame                    data/chars/shocker/minivan/vanempty.gif

       delay                    10
       frame                    data/chars/shocker/minivan/idle.gif
       #frame                    data/chars/shocker/minivan/idle2.gif
       #frame                    data/chars/shocker/minivan/idle.gif
       #@cmd                     endlop 14 10
       #frame                    data/chars/shocker/minivan/idle2.gif














#===========================================================
#================= ataque alternativo 3======================
#===========================================================


anim follow1


       loop                     1
       @cmd                     startlop
       offset                   182 149
       #bbox                     149 16 94 127
       @cmd                     tattack5 1500 1500 8 6
       attack                   0

#=========================  canto da tela   ===========================================


       delay                    5
		
       frame                    data/chars/shocker/minivan/idle.gif
       delay                    5
       frame                    data/chars/shocker/minivan/idle.gif
       frame                    data/chars/shocker/minivan/idle2.gif
       frame                    data/chars/shocker/minivan/idle.gif
       @cmd                     endlop 2 10
       frame                    data/chars/shocker/minivan/idle2.gif








#========================= persegue player ===========================


       delay                    40
       @cmd                     dashz
       @cmd                     plcount 0 "Ani_Follow4"
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    10
       @cmd                     stop
      
       frame                    data/chars/shocker/minivan/idle.gif
       attack                   157  17  102  124  20  1  1  1  5 40
       @cmd                     dashx  7
       delay                    100
       sound                    data/sounds/brake2.wav
       frame                    data/chars/shocker/minivan/idle.gif


       

       @cmd                     tattack5 1500 1500 8 6
       attack                   0
       delay                    5		
       frame                    data/chars/shocker/minivan/idle.gif


       delay                    40
       @cmd                     dashz
       
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    10
       @cmd                     stop
       @cmd                     plcount 0 "Ani_Follow5"
       frame                    data/chars/shocker/minivan/idle.gif
       attack                   157  17  102  124  20  1  1  1  5 40
       @cmd                     dashx  7
       delay                    120
       sound                    data/sounds/brake2.wav
       frame                    data/chars/shocker/minivan/idle.gif





       @cmd                     tattack5 1500 1500 8 6
       attack                   0
       delay                    5		
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    40
       @cmd                     dashz
       
       frame                    data/chars/shocker/minivan/idle.gif

       delay                    10
       @cmd                     stop
      
       frame                    data/chars/shocker/minivan/idle.gif
       attack                   157  17  102  124  20  1  1  1  5 40
       @cmd                     dashx  5
       delay                    60
       sound                    data/sounds/brake2.wav
       frame                    data/chars/shocker/minivan/idle.gif



#============================    estacionado  ====================================

       @cmd                     stop

       delay                    10
       frame                    data/chars/shocker/minivan/idle.gif
       delay                    1
       @cmd                     spawner4 "Cobra_Officer" 5 5 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" 30 50 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" -20 -10 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif

       @cmd                     spawner4 "Cobra_Officer" 15 25 0 "ANI_Follow1"
       frame                    data/chars/shocker/minivan/idle.gif


       delay                    300
       attack                   0
       frame                    data/chars/shocker/minivan/vanempty.gif








#============================    recua   =============================


       delay                    80
       @cmd                     dashx  -2
       frame                    data/chars/shocker/minivan/vanempty.gif

       delay                    10
       @cmd                     stop
       frame                    data/chars/shocker/minivan/vanempty.gif
       frame                    data/chars/shocker/minivan/vanempty.gif

       delay                    100
       frame                    data/chars/shocker/minivan/idle.gif
       #frame                    data/chars/shocker/minivan/idle2.gif
       #frame                    data/chars/shocker/minivan/idle.gif
       #@cmd                     endlop 14 10
       #frame                    data/chars/shocker/minivan/idle2.gif




#===========================================================


anim follow5  #no players on screen


       loop                     0
       @cmd                     startlop
       offset                   182 149
       #bbox                     149 16 94 127

       delay                    350
       @cmd                     dashx  2
       frame                    data/chars/shocker/minivan/vanempty.gif

       delay                    10
       @cmd                     stop
       frame                    data/chars/shocker/minivan/vanempty.gif
       @cmd                     change "ANi_Follow4"
       frame                    data/chars/shocker/minivan/vanempty.gif

       delay                    100
       frame                    data/chars/shocker/minivan/idle.gif
       #frame                    data/chars/shocker/minivan/idle2.gif
       #frame                    data/chars/shocker/minivan/idle.gif
       #@cmd                     endlop 14 10
       #frame                    data/chars/shocker/minivan/idle2.gif




anim idle

       frame                    data/chars/misc/empty.gif



anim walk
       frame                    data/chars/misc/empty.gif



anim pain

        frame                    data/chars/misc/empty.gif




anim fall


         frame                    data/chars/misc/empty.gif







anim rise

        frame                    data/chars/misc/empty.gif














## subida


## animações especiais













anim follow40

        loop	1
	delay	10
	offset	100 150

        frame	data/chars/shocker/vert.gif

## diagonal


anim follow41

        loop	1
	delay	1
	offset  100 150
        bbox    0 0 0 0
        frame	data/chars/shocker/fall1.gif

## descida



anim follow42

        loop	1
	delay	1
	offset	100 150
        bbox    0 0 0 0
        frame	data/chars/shocker/vertd.gif

## impacto



anim follow43

        loop	1
	delay	1
	offset	100 150
        bbox    65 91  68 69
        frame	data/chars/shocker/impact.gif

## deitado no chão


anim follow44

        loop	0
	delay	30
	offset	100 150
        bbox    53 125 121 39
        frame	data/chars/shocker/fall3.gif



anim follow45  #pegada de costas pro quebra espinha

        loop	1
	delay	10
	offset	100 150

        frame	data/chars/shocker/vertinv.gif






anim follow46   ## pegada do suplex

        loop	1
	delay	1
	offset	100 150
        bbox    0 0 0 0
        frame	data/chars/shocker/vertdi.gif

















