[statedef 17000]
anim=99999

; Striker setting (1 = disabled; 0 = enabled) ----

[state striker setting]
type=parentvarset
trigger1=!time
var(33)=    (0)                                                                                                                                       *4444
            ;(0 = enabled)
            ;(1 = disabled)

;===============================================================================
;================================END OF SETTINGS================================
;==============================NOTHING TO SEE HERE==============================
;===============================================================================

[state intro]
type=assertspecial
flag=intro
trigger1=time<360

[state change]
type=removeexplod
id=17001
triggerall=numexplod(17001)
trigger1=root,command="back"||root,command="up"
trigger1=1||var(0):=(var(0)+2)%3
trigger2=root,command="fwd"||root,command="down"
trigger2=1||var(0):=(var(0)+1)%3

[state snd]
type=playsnd
value=s17000,0
trigger1=root,command="up"
trigger2=root,command="down"
trigger3=root,command="back"
trigger4=root,command="fwd"

[state snd]
type=playsnd
value=s17000,1
trigger1=root,command="a"
trigger2=root,command="b"
trigger3=root,command="c"
trigger4=root,command="x"
trigger5=root,command="y"
trigger6=root,command="z"
trigger7=root,command="s"

[state random]
type=null
trigger1=!time
trigger1=var(0):=random%3

[state parentvar]
type=parentvarset
var(30)=var(30)-(var(30)%10-var(0))
trigger1=root,var(30)%10-var(0)

[state defense]
type=explod
id=17001
anim=17001+var(0)
pos=80+160*(teamside=2),216
postype=left
scale=.5,.5
ontop=1
facing=1
sprpriority=4
trigger1=!numexplod(17001)

[state title]
type=explod
id=17000
anim=17000
pos=80+160*(teamside=2),204
postype=left
ontop=1
scale=.5,.5
facing=1
ontop=1
trigger1=!time

[state pos fix]
type=modifyexplod
pos=80+160*(teamside=2),216
postype=left
id=17001
trigger1=numexplod(17001)

[state pos fix]
type=modifyexplod
pos=80+160*(teamside=2),204
postype=left
id=17000
trigger1=numexplod(17000)

[state clean explods]
type=removeexplod
triggerall=roundstate
trigger1=root,command="a"
trigger2=root,command="b"
trigger3=root,command="c"
trigger4=root,command="x"
trigger5=root,command="y"
trigger6=root,command="z"
trigger7=root,command="s"
trigger8=roundstate>1

[state destroy]
type=destroyself
triggerall=roundstate
trigger1=root,command="a"
trigger2=root,command="b"
trigger3=root,command="c"
trigger4=root,command="x"
trigger5=root,command="y"
trigger6=root,command="z"
trigger7=root,command="s"
trigger8=roundstate>1
