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

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

[Command]
name = "Flaming_Arrow_1x"
command = ~D, DF, F, x
time = 30

[Command]
name = "Flaming_Arrow_1y"
command = ~D, DF, F, y
time = 30

[Command]
name = "Flaming_Arrow_1z"
command = ~D, DF, F, z
time = 30

[Command]
name = "Flaming_Arrow_2x"
command = ~F, D, DF, x
time = 30

[Command]
name = "Flaming_Arrow_2y"
command = ~F, D, DF, y
time = 30

[Command]
name = "Flaming_Arrow_2z"
command = ~F, D, DF, z
time = 30

[Command]
name = "Flame_Pierce"
command = ~D, DB, B, x+y
time = 30

[Command]
name = "Super_Pogo_1a"
command = ~D, DF, F, a
time = 30

[Command]
name = "Super_Pogo_1b"
command = ~D, DF, F, b
time = 30

[Command]
name = "Super_Pogo_1c"
command = ~D, DF, F, c
time = 30

[Command]
name = "Super_Pogo_2a"
command = ~D, DB, B, a
time = 30

[Command]
name = "Super_Pogo_2b"
command = ~D, DB, B, b
time = 30

[Command]
name = "Super_Pogo_2c"
command = ~D, DB, B, c
time = 30

[Command]
name = "Ult_Leap"
command = ~D, DB, B, a+b
time = 30

[Command]
name = "Flash_Bulb"
command = D, U
time = 20

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

[Command]
name = "Bow & Arrow"
command = a
time = 1

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

[Command]
name = "Parachuting Mogwai"
command = c
time = 1

[Command]
name = "Activate..."
command = a+b
time = 1

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

[Command]
name = "Throw Tomato"
command = x
time = 1

[Command]
name = "Flashlight"
command = x
time = 1

[Command]
name = "Matchstick Fireball"
command = y
time = 1

[Command]
name = "Throw Paperclip"
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 = "Glove_Box"
command = a
time = 1

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

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

[Command]
name = "Brush_Smack"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

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

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

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

[Command]
name = "hold_y"
command = /y
time = 1

[Command]
name = "hold_z"
command = /z
time = 1

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

[Command]
name = "hold_b"
command = /b
time = 1

[Command]
name = "hold_c"
command = /c
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]

;~~~~Ultimate Leap~~~~
[State -1, Ult_Leap]
type = ChangeState
value = 3600
triggerall = command = "Ult_Leap"
triggerall = power >=3000
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Super Pogostick (Level 2)(a)~~~~
[State -1, Super_Pogo_a]
type = ChangeState
value = 3500
triggerall = command = "Super_Pogo_2a"
triggerall = power >=2000
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Super Pogostick (Level 2)(b)~~~~
[State -1, Super_Pogo_b]
type = ChangeState
value = 3500
triggerall = command = "Super_Pogo_2b"
triggerall = power >=2000
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Super Pogostick (Level 2)(c)~~~~
[State -1, Super_Pogo_c]
type = ChangeState
value = 3500
triggerall = command = "Super_Pogo_2c"
triggerall = power >=2000
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Super Pogostick (Level 1)(a)~~~~
[State -1, Super_Pogo_a]
type = ChangeState
value = 3400
triggerall = command = "Super_Pogo_1a"
triggerall = power >=1000
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Super Pogostick (Level 1)(b)~~~~
[State -1, Super_Pogo_b]
type = ChangeState
value = 3400
triggerall = command = "Super_Pogo_1b"
triggerall = power >=1000
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Super Pogostick (Level 1)(c)~~~~
[State -1, Super_Pogo_c]
type = ChangeState
value = 3400
triggerall = command = "Super_Pogo_1c"
triggerall = power >=1000
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Flash Bulb~~~~
[State -1, Flash_Bulb]
type = ChangeState
value = 3300
triggerall = command = "Flash_Bulb"
triggerall = Life <= 200
triggerall = power = 3000
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact = 1

;~~~~Flame Pierce~~~~
[State -1, Flame_Pierce]
type = ChangeState
value = 3200
triggerall = command = "Flame_Pierce"
triggerall = power >=3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 3200
trigger2 = movecontact = 1

;~~~~Flaming Arrow (Level 2)(x)~~~~
[State -1, Flaming_Arrow_2_x]
type = ChangeState
value = 3100
triggerall = command = "Flaming_Arrow_2x"
triggerall = power >=2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 3100
trigger2 = movecontact = 1

;~~~~Flaming Arrow (Level 2)(y)~~~~
[State -1, Flaming_Arrow_2_y]
type = ChangeState
value = 3100
triggerall = command = "Flaming_Arrow_2y"
triggerall = power >=2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 3100
trigger2 = movecontact = 1

;~~~~Flaming Arrow (Level 2)(z)~~~~
[State -1, Flaming_Arrow_2_z]
type = ChangeState
value = 3100
triggerall = command = "Flaming_Arrow_2z"
triggerall = power >=2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 3100
trigger2 = movecontact = 1

;~~~~Flaming Arrow (Level 1)(x)~~~~
[State -1, Flaming_Arrow_1_x]
type = ChangeState
value = 3000
triggerall = command = "Flaming_Arrow_1x"
triggerall = power >=1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 3000
trigger2 = movecontact = 1

;~~~~Flaming Arrow (Level 1)(y)~~~~
[State -1, Flaming_Arrow_1_y]
type = ChangeState
value = 3000
triggerall = command = "Flaming_Arrow_1y"
triggerall = power >=1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 3000
trigger2 = movecontact = 1

;~~~~Flaming Arrow (Level 1)(z)~~~~
[State -1, Flaming_Arrow_1_z]
type = ChangeState
value = 3000
triggerall = command = "Flaming_Arrow_1z"
triggerall = power >=1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 3000
trigger2 = movecontact = 1

;~~~~Flashlight Shock~~~~
[State -1, Flashlight]
type = ChangeState
value = 1700
triggerall = command = "Flashlight"
triggerall = command = "holdback"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 1700

;~~~~Music Note~~~~
[State -1, Music_Note]
type = ChangeState
value = 1602
triggerall = command = "Music_Note"
triggerall = command = "holdback"
trigger1 = NumHelper(7) = 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Activate...]
type = ChangeState
value = 1600
triggerall = command = "Activate..."
trigger1 =  NumHelper(7) = 0
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Parachuting Mogwai~~~~
[State -1, Parachuting Mogwai]
type = ChangeState
value = 1500
triggerall = command = "Parachuting Mogwai"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl = 1

;~~~~Pogostick~~~~
[State -1, Pogostick]
type = ChangeState
value = 1400
triggerall = command = "Pogostick"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl = 1

;~~~~Bow & Arrow~~~~
[State -1, Bow & Arrow]
type = ChangeState
value = 1300
triggerall = command = "Bow & Arrow"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Throw Paperclip~~~~
[State -1, Throw Paperclip]
type = ChangeState
value = 1200
triggerall = command = "Throw Paperclip"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Matchstick Fireball~~~~
[State -1, Matchstick Fireball]
type = ChangeState
value = 1100
triggerall = command = "Matchstick Fireball"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Throw Tomato~~~~
[State -1, Throw Tomato]
type = ChangeState
value = 1000
triggerall = command = "Throw Tomato"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Punching Glove Box~~~~
[State -1, Glove]
type = ChangeState
value = 230
triggerall = command = "Glove_Box"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 230

;~~~~Brush Smack/Hit~~~~
[State -1, Brush]
type = ChangeState
value = 200
triggerall = command = "Brush_Smack"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200

;~~~~Run Back~~~~
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;~~~~Run Fwd~~~~
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
