; Command file for Mature4evr's Nyololin.
; Please don't edit/change, thanks in advance.

;-| Super Motions |---------------------------------------------------


;-| Special Motions |-------------------------------------------------

[Command]
name = "FasterShot"
command = a
time = 1

[Command]
name = "TripleShot"
command = b
time = 1

[Command]
name = "SuperArmor"
command = c
time = 1

[Command]
name = "FDD Fireball (x)"
command = x
time = 1

[Command]
name = "FDD Fireball (y)"
command = y
time = 1

[Command]
name = "FDD Fireball (z)"
command = z
time = 1

;-| Double Tap |-------------------------------------------------------

[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB"     ;Required (do not remove)
command = B, B
time = 10

;-| 2/3 Button Combination |----------------------------------------

[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

;-| Dir + Button |-------------------------------------------------------

[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

;-| Single Button |------------------------------------------------------

[Command]
name = "start"
command = s
time = 1

;-| Hold Button |------------------------------------------------------

[Command]
name = "hold_x"
command = /x
time = 1

[Command]
name = "hold_a"
command = /a
time = 1

;-| Hold Dir |-----------------------------------------------------------

[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

;---------------------------------------------------------------------------

; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]

;---------------------------------------------------------------------------
;===========================================================================

[State -1, AI ON] ; Turn the AI on when
Type = VarSet
TriggerAll = Var(59) < 1; it is not on yet and
TriggerAll = RoundState=2 ; the fight has started and is not over yet and
Trigger1 = AILevel>0 ; the computer is playing the character
v = 59
value= 1 ; value of 1 will mean the AI is on
Ignorehitpause=1

[State -1, AI OFF] ; Turn the AI off when
Type=VarSet
Trigger1=var(59)>0 ; it is on and
Trigger1=RoundState!=2 ; the round is not started yet or is already over
Trigger2=!IsHelper ; OR if we are a player, but
Trigger2=AILevel=0 ; the computer is not in control
v=59
value=0 ; value of 0 will mean the AI is off. values other than 0 and 1 are not used in this example, we have only one AI mode, the normal one.
Ignorehitpause=1

[State -1]
Type=VarSet
Trigger1=1
var(50)= 10 ;Change the 60 to whatever you want. Take note of this value, as I mention it below.

;[State -1]
;Type=Changestate
;Triggerall=Inguarddist; Guard when in guard distance
;Triggerall=var(59)>0; and the AI is on
;Triggerall=ctrl; and we have control
;Trigger1 = random< (var(50)* 99) ; Feel free to change the * 99 to whatever you want, 
;value=120

;[State -1]; The engine will still guard by through pressing the back button, we need to disable that.
;Type=Assertspecial
;Triggerall=StateNo!=[120,160]
;Trigger1=var(59)>0
;flag=noairguard
;flag2=nocrouchguard
;flag3=nostandguard

;----------------------------------------
;AI

[State -1, TripleShot]
type = ChangeState
value = 12000
Triggerall = var(59)>0
triggerall = power >= 1000
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, FastShot]
type = ChangeState
value = 11000
Triggerall = var(59)>0
triggerall = power >= 1000
triggerall = var(1) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, AI]
type = ChangeState
value = 10500
Triggerall = var(59)>0
Triggerall = alive = 1
triggerall = var(1) > 0
triggerall = var(2) > 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 50
trigger1 = statetype = S
trigger1 = ctrl

[State -1, AI]
type = ChangeState
value = 10400
Triggerall = var(59)>0
Triggerall = alive = 1
triggerall = var(1) = 0
triggerall = var(2) > 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 50
trigger1 = statetype = S
trigger1 = ctrl

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25; This controls activation rate, based on the value I said to take note of before. 
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = statetype = S
value = 10320

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 10325

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 10310

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25 
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 10315

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 10300

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 10305

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = statetype = S
value = 10220

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 10225

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 10210

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = random<var(50) * 25 
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 10215

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = random<var(50) * 25
value = 10200

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = random<var(50) * 25
value = 10205

[State -1, SuperArmor]
type = ChangeState
value = 1200
Triggerall = var(59)>0
triggerall = power >= 1000
triggerall = var(3) = 0
trigger1 = random<var(50) * 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, TripleShot]
type = ChangeState
value = 1100
Triggerall = var(59)>0
triggerall = power >= 1000
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, FastShot]
type = ChangeState
value = 1000
Triggerall = var(59)>0
triggerall = power >= 1000
triggerall = var(1) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, AI]
type = ChangeState
value = 500
Triggerall = var(59)>0
Triggerall = alive = 1
triggerall = var(1) > 0
triggerall = var(2) > 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 50
trigger1 = statetype = S
trigger1 = ctrl

[State -1, AI]
type = ChangeState
value = 400
Triggerall = var(59)>0
Triggerall = alive = 1
triggerall = var(1) = 0
triggerall = var(2) > 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 50
trigger1 = statetype = S
trigger1 = ctrl

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25; This controls activation rate, based on the value I said to take note of before. 
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = statetype = S
value = 320

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 325

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 310

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25 
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 315

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 300

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 305

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = statetype = S
value = 220

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = p2statetype = A
trigger1 = p2bodydist x <= 50
trigger1 = random<var(50) * 25
trigger1 = statetype = S
value = 225

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 210

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = random<var(50) * 25 
trigger1 = p2statetype = A
trigger1 = statetype = S
value = 215

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = random<var(50) * 25
value = 200

[State -1, AI] 
Type=Changestate
Triggerall = var(59)>0
Triggerall = alive = 1
Triggerall = ctrl
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = random<var(50) * 25; This controls activation rate, based on the value I said to take note of before. 
value = 205


;~~~~Run Fwd~~~~
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = Var(59) <= 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Run Back~~~~
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = Var(59) <= 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;~~~~SuperArmor~~~~
[State -1, SuperArmor]
type = ChangeState
value = 1200
triggerall = Var(59) <= 0
triggerall = command = "SuperArmor"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = power >= 1000
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~TripleShotActivate~~~~
[State -1, TripleShot]
type = ChangeState
value = 1100
triggerall = Var(59) <= 0
triggerall = command = "TripleShot"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = power >= 1000
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~FasterShotActivate~~~~
[State -1, FasterShot]
type = ChangeState
value = 1000
triggerall = Var(59) <= 0
triggerall = command = "FasterShot"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = power >= 1000
triggerall = var(1) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 200
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 205
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 200
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 205
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 210
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 215
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 220
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 225
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 300
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 305
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 310
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 315
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 320
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 325
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) >= 1
triggerall = var(2) = 0
triggerall = var(3) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~TripleFireBall~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 400
triggerall = Var(59) <= 0
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = var(1) = 0
triggerall = var(2) > 0
triggerall = var(3) = 0
trigger1 = command = "FDD Fireball (x)"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = command = "FDD Fireball (y)"
trigger2 = statetype = S
trigger2 = ctrl
trigger3 = command = "FDD Fireball (z)"
trigger3 = statetype = S
trigger3 = ctrl

;~~~~TripleFastFireBall~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 500
triggerall = Var(59) <= 0
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = var(1) > 0
triggerall = var(2) > 0
triggerall = var(3) = 0
trigger1 = command = "FDD Fireball (x)"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = command = "FDD Fireball (y)"
trigger2 = statetype = S
trigger2 = ctrl
trigger3 = command = "FDD Fireball (z)"
trigger3 = statetype = S
trigger3 = ctrl

;---------------------------------------------------------
;Armor version

;~~~~FasterShotActivate~~~~
[State -1, FasterShot]
type = ChangeState
value = 11000
triggerall = Var(59) <= 0
triggerall = command = "FasterShot"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = power >= 1000
triggerall = var(1) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~TripleShotActivate~~~~
[State -1, TripleShot]
type = ChangeState
value = 12000
triggerall = Var(59) <= 0
triggerall = command = "TripleShot"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = power >= 1000
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 10200
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 10205
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 10210
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 10215
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 10220
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 10225
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) = 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 10300
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) > 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Diagonal Fireball (x)~~~~
[State -1, FDD Fireball (x)]
type = ChangeState
value = 10305
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (x)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) > 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 10310
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) > 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (y)~~~~
[State -1, FDD Fireball (y)]
type = ChangeState
value = 10315
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (y)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) > 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 10320
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [3280,65536]
triggerall = var(1) > 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Forward Up Diagonal Fireball (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 10325
triggerall = Var(59) <= 0
triggerall = command = "FDD Fireball (z)"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
Triggerall = var(30) = [0,3279]
triggerall = var(1) > 0
triggerall = var(2) = 0
triggerall = var(3) > 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~TripleFireBall (z)~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 10400
triggerall = Var(59) <= 0
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = var(1) = 0
triggerall = var(2) > 0
triggerall = var(3) > 0
trigger1 = command = "FDD Fireball (x)"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = command = "FDD Fireball (y)"
trigger2 = statetype = S
trigger2 = ctrl
trigger3 = command = "FDD Fireball (z)"
trigger3 = statetype = S
trigger3 = ctrl

;~~~~TripleFastFireBall~~~~
[State -1, FDD Fireball (z)]
type = ChangeState
value = 10500
triggerall = Var(59) <= 0
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = var(1) > 0
triggerall = var(2) > 0
triggerall = var(3) > 0
trigger1 = command = "FDD Fireball (x)"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = command = "FDD Fireball (y)"
trigger2 = statetype = S
trigger2 = ctrl
trigger3 = command = "FDD Fireball (z)"
trigger3 = statetype = S
trigger3 = ctrl

