;Elements


[State 1000, Explod]
type = Explod
triggerall = numexplod <= 0 
triggerall = Animelem = 3
trigger1 = var(1) 
anim = 3520
postype = p1
pos = 100, -53
bindtime = 1
removetime = -2
ownpal = 1
sprpriority = 2

[State 1000, Explod]
type = Explod
triggerall = numexplod <= 0 
triggerall = Animelem = 3
trigger1 = var(5) 
anim = 3522
postype = p1
pos = 100, -53
bindtime = 1
removetime = -2
ownpal = 1
sprpriority = 2

[State 1000, Explod]
type = Explod
triggerall = numexplod <= 0 
triggerall = Animelem = 3
trigger1 = var(3) 
anim = 3514
postype = p1
pos = 100, -53
bindtime = 1
removetime = -2
ownpal = 1
sprpriority = 2

;hitdefs
[State 220, 1]
type = hitdef 
triggerall = movecontact < 1
trigger1 = var(5) 

hitsound = S300,11

palfx.time = 17
palfx.mul = 100, 200, 200
palfx.add = 225, 140, 245
palfx.sinadd = 60,70,0,10

[State 220, 1]
type = hitdef 
triggerall = movecontact < 1
trigger1 = var(3) 

hitsound = S300,2

palfx.time = 17
palfx.mul = 200, 200, 255
palfx.add = 100, 150, 255

[State 220, 1]
type = hitdef 
triggerall = movecontact < 1
trigger1 = var(1) 

hitsound = S300,1

palfx.time = 25
palfx.mul = 200, 200, 200
palfx.add = 225, 10, 10
palfx.sinadd = 60,70,0,10

;explods hit

[State 1000, Explod]
type = Explod
triggerall = numexplod = 4
triggerall = movecontact
trigger1 = var(5) 
anim = 3500
postype = p2
pos = -20, -50
bindtime = -1
removetime = -2
ownpal = 1
sprpriority = 2

[State 1000, Explod]
type = Explod
triggerall = numexplod = 5
triggerall = movecontact
trigger1 = var(5) 
anim = 3500
postype = p2
pos = 0, -20
bindtime = -1
removetime = -2
ownpal = 1
sprpriority = 2

[State 1000, Explod]
type = Explod
triggerall = numexplod = 4
triggerall = movecontact
trigger1 = var(5) 
anim = 3500
postype = p2
pos = -20, -50
bindtime = -1
removetime = -2
ownpal = 1
sprpriority = 2

[State 1000, Explod]
type = Explod
triggerall = numexplod = 5
triggerall = movecontact
trigger1 = var(5) 
anim = 3500
postype = p2
pos = 0, -20
bindtime = -1
removetime = -2
ownpal = 1
sprpriority = 2

[State 1000, Explod]
type = Explod
triggerall = numexplod = 4
triggerall = movecontact
trigger1 = var(1) 
anim = 3521
postype = p2
pos = 0, -20
bindtime = -1
removetime = -2
ownpal = 1
sprpriority = 2

[State 1000, Explod]
type = Explod
triggerall = numexplod = 5
triggerall = movecontact
trigger1 = var(1) 
anim = 3521
postype = p2
pos = -20, -50
bindtime = -1
removetime = -2
ownpal = 1
sprpriority = 2

;Lightning
;
;3150  (0-100)             (200-300           (400-500)          (600-700)
;3151  (0-100) (100-200)                                (500-600)
;3152  (0-100) (100-200)   (200-300) (300-400)
;3153  (0-100)             (200-300)          (400-500) 
;3154          (100-200)             (300-400)                    (600-700)
;3155                      (200-300)          (400-500) (500-600) (600-700)
;3156  (0-100)                       (300-400)          (500-600)
;3157          (100-200)             (300-400)          (500-600) (600-700)
;---------------------------------------------------------------------------
           (0-100)
x = 3158    x = 3153   x= 3150      x= 3151  x= 3159



x = 3154    x = 3156                 x =  3152  x = 3157

	    (100-200)

x = 3160    x = 3151     x = 3152      x =  3154  x = 3158
 

x = 3150    x = 3153	           x = 3157    x = 3151

            (200-300)

x = 3158  x = 3152	x= , 3155 x = 3160


x = 3154 x = 3150		x= 3153  x= 3156

	    (300-400)

x = 3160 x = 3152 	x= 3157	x= 3154  x= 3158  


x= 3151  x = 	        	x= 3156 x = 3150
	    (400-500)

x = 3158 x = 	x= 3150	       x=  3155   x = 3159


x = 3157 x= 3156	        	x= 3153   x = 3156

	    (500-600)

x = 3151	x= 	x= 3157


x= 3155	        	x= 3156

	    (600-700)

x = 3154	x= 3150	x= 3157


x= 3155	        	x= 