;   slash (/) - means the key must be held down
;   tilde (~) - to detect key releases
;   dollar ($) - Direction-only: detect as 4-way
;   plus (+) - Buttons only: simultaneous press
;   greater-than (>) - means there must be no other keys pressed or released
;                      between the previous and the current symbol.
;-| Button Remapping |-----------------------------------------------------
[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;-| Default Values |-------------------------------------------------------
[Defaults]
command.time = 15
command.buffer.time = 1

;-| Super Motions |--------------------------------------------------------
[Command]
name = "Midnight Pleasure"
command = ~D,B,D,B,x+y
time = 20
[Command]
name = "Midnight Pleasure"
command = ~D,B,D,B,y+z
time = 20
[Command]
name = "Midnight Pleasure"
command = ~D,B,D,B,x+z
time = 20

[Command]
name = "Midnight Bliss"
command = ~D,F,D,F,x+y
time = 20
[Command]
name = "Midnight Bliss"
command = ~D,F,D,F,y+z
time = 20
[Command]
name = "Midnight Bliss"
command = ~D,F,D,F,x+z
time = 20

[Command]
name = "Demon Blast 1"
command = ~D,F,D,F,a+b
time = 20
[Command]
name = "Demon Blast 1"
command = ~D,F,D,F,a+c
time = 20
[Command]
name = "Demon Blast 1"
command = ~D,F,D,F,b+c
time = 20

[Command]
name = "Demon Blast 2"
command = ~D,B,D,B,a+b
time = 20
[Command]
name = "Demon Blast 2"
command = ~D,B,D,B,a+c
time = 20
[Command]
name = "Demon Blast 2"
command = ~D,B,D,B,b+c
time = 20

;-| EX Motions |--------------------------------------------------------
[Command]
name = "Demon Cradle EX"
command = ~F,D,F,x+y
time = 20
[Command]
name = "Demon Cradle EX"
command = ~F,D,F,y+z
time = 20
[Command]
name = "Demon Cradle EX"
command = ~F,D,F,x+z
time = 20

[Command]
name = "Chaos Flare EX"
command = ~D,DF,F,x+y
time = 15
[Command]
name = "Chaos Flare EX"
command = ~D,DF,F,y+z
time = 15
[Command]
name = "Chaos Flare EX"
command = ~D,DF,F,x+z
time = 15

[Command]
name = "Chaos Flare 2 EX"
command = ~D,DB,B,x+y
time = 15
[Command]
name = "Chaos Flare 2 EX"
command = ~D,DB,B,y+z
time = 15
[Command]
name = "Chaos Flare 2 EX"
command = ~D,DB,B,x+z
time = 15

[Command]
name = "Batspin EX"
command = ~D,DB,B,a+b
time = 15
[Command]
name = "Batspin EX"
command = ~D,DB,B,b+c
time = 15
[Command]
name = "Batspin EX"
command = ~D,DB,B,a+c
time = 15

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

[Command]
name = "Grab"
command = ~x+a
time = 15

[Command]
name = "Negative Stolen"
command = ~b+y
time = 15

[Command]
name = "Demon Cradle Light"
command = ~F,D,F,x
time = 20
[Command]
name = "Demon Cradle Medium"
command = ~F,D,F,y
time = 20
[Command]
name = "Demon Cradle Heavy"
command = ~F,D,F,z
time = 20

[Command]
name = "Chaos FlareX"
command = ~D,DF,F,x
time = 15
[Command]
name = "Chaos FlareY"
command = ~D,DF,F,y
time = 15
[Command]
name = "Chaos FlareZ"
command = ~D,DF,F,z
time = 15

[Command]
name = "Chaos Flare 2"
command = ~D,DB,B,x
time = 15
[Command]
name = "Chaos Flare 2Y"
command = ~D,DB,B,y
time = 15
[Command]
name = "Chaos Flare 2Z"
command = ~D,DB,B,z
time = 15

[Command]
name = "Batspin Light"
command = ~D,DB,B,a
time = 15
[Command]
name = "Batspin Medium"
command = ~D,DB,B,b
time = 15
[Command]
name = "Batspin Heavy"
command = ~D,DB,B,c
time = 15

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 10

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

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

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

[Command]
name = "x"
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 Dir |--------------------------------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup"
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

[Statedef -1]

;===================================================;
;                   HYPER MOVES                     ;
;===================================================;


;===================================================;
;                   SUPER MOVES                     ;
;===================================================;
; Midnight Pleasure
[State -1, Midnight Pleasure]
type = ChangeState
value = 3500
triggerall = command = "Midnight Pleasure"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl

; Midnight Bliss
[State -1, Midnight Bliss]
type = ChangeState
value = 3600
triggerall = command = "Midnight Bliss"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl

; Demon Blast 2
[State -1, Demon Blast 1]
type = ChangeState
value = 3000
triggerall = command = "Demon Blast 2"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl

; Demon Blast 2
[State -1, Demon Blast 1]
type = ChangeState
value = 3100
triggerall = command = "Demon Blast 1"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
;===================================================;
;                    EX MOVES                       ;
;===================================================;
; Diagon Demon Cradle EX
[State -1, Diagon Demon Cradle Light]
type = ChangeState
value = 2550
triggerall = command = "Demon Cradle EX"
triggerall = power >= 333
triggerall = stateno = 100 || stateno = 105
trigger1 = statetype != A

; Demon Cradle EX
[State -1, Demon Cradle Light]
type = ChangeState
value = 2500
triggerall = command = "Demon Cradle EX"
triggerall = statetype != A
triggerall = power >= 333
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact

; Chaos Flare 2 Air EX
[State -1, Chaos Flare Air EX]
type = ChangeState
value = 2110
triggerall = command = "Chaos Flare 2 EX"
triggerall = power >= 333
triggerall = statetype = A
triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact

; Chaos Flare 2 EX
[State -1, Chaos Flare EX]
type = ChangeState
value = 2100
triggerall = command = "Chaos Flare 2 EX"
triggerall = power >= 333
triggerall = statetype != A
triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [200,450]
trigger2 = movecontact

; Chaos Flare Air EX
[State -1, Chaos Flare Air EX]
type = ChangeState
value = 2010
triggerall = command = "Chaos Flare EX"
triggerall = power >= 333
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact

; Chaos Flare EX
[State -1, Chaos Flare EX]
type = ChangeState
value = 2000
triggerall = command = "Chaos Flare EX"
triggerall = power >= 333
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,450]
trigger2 = movecontact

; Batspin EX
[State -1, Batspin EX]
type = ChangeState
value = 2200
triggerall = command = "Batspin EX"
triggerall = power >= 333
trigger1 = ctrl
trigger2 = stateno = [200,450]
trigger2 = movecontact
;===================================================;
;                 SPECIAL MOVES                     ;
;===================================================;
; Negative Stolen
[State -1,  Negative Stolen]
type = ChangeState
value = 1800
triggerall = command = "b" && command ="y"
triggerall = statetype !=A
trigger1 = ctrl

; Demon Cradle Light
[State -1, Demon Cradle Light]
type = ChangeState
value = 1500
triggerall = command = "Demon Cradle Light"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Demon Cradle Medium
[State -1, Demon Cradle Medium]
type = ChangeState
value = 1510
triggerall = command = "Demon Cradle Medium"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Demon Cradle Heavy
[State -1, Demon Cradle Heavy]
type = ChangeState
value = 1520
triggerall = command = "Demon Cradle Heavy"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact

; Diagonal Demon Cradle Light
[State -1, Diagonal Demon Cradle Light]
type = ChangeState
value = 1530
triggerall = command = "Demon Cradle Light"
triggerall = stateno = 100 || stateno = 105
trigger1 = statetype != A
; Diagonal Demon Cradle Light
[State -1, Diagonal Demon Cradle Light]
type = ChangeState
value = 1540
triggerall = command = "Demon Cradle Medium"
triggerall = stateno = 100 || stateno = 105
trigger1 = statetype != A
; Diagonal Demon Cradle Light
[State -1, Diagonal Demon Cradle Light]
type = ChangeState
value = 1550
triggerall = command = "Demon Cradle Heavy"
triggerall = stateno = 100 || stateno = 105
trigger1 = statetype != A

; Chaos Flare 2 AIR
[State -1, Chaos Flare 2]
type = ChangeState
value = 1175
triggerall = command = "Chaos Flare 2"
triggerall = statetype = A
triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact
; Chaos Flare 2 AIR 
[State -1, Chaos Flare 2]
type = ChangeState
value = 1180
triggerall = command = "Chaos Flare 2Y"
triggerall = statetype = A

triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact
; Chaos Flare 2 AIR
[State -1, Chaos Flare 2]
type = ChangeState
value = 1180
triggerall = command = "Chaos Flare 2Z"
triggerall = statetype = A
triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact

; Chaos Flare AIR
[State -1, Chaos Flare]
type = ChangeState
value = 1010
triggerall = command = "Chaos FlareX"
triggerall = statetype = A
triggerall = numhelper(1030) < 1
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact
; Chaos Flare AIR
[State -1, Chaos Flare Medium]
type = ChangeState
value = 1011
triggerall = command = "Chaos FlareY"
triggerall = statetype = A
triggerall = numhelper(1030) < 1
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact
; Chaos Flare AIR
[State -1, Chaos Flare Heavy]
type = ChangeState
value = 1011
triggerall = command = "Chaos FlareZ"
triggerall = statetype = A
triggerall = numhelper(1030) < 1
trigger1 = ctrl
trigger2 = stateno = [400,450]
trigger2 = movecontact

; Chaos Flare
[State -1, Chaos Flare]
type = ChangeState
value = 1000
triggerall = command = "Chaos FlareX"
triggerall = statetype != A
triggerall = numhelper(1030) < 1
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Chaos Flare Medium
[State -1, Chaos Flare Medium]
type = ChangeState
value = 1001
triggerall = command = "Chaos FlareY"
triggerall = statetype != A
triggerall = numhelper(1030) < 1
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Chaos Flare Heavy
[State -1, Chaos Flare Heavy]
type = ChangeState
value = 1001
triggerall = command = "Chaos FlareZ"
triggerall = statetype != A
triggerall = numhelper(1030) < 1
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Chaos Flare 2
[State -1, Chaos Flare 2]
type = ChangeState
value = 1100
triggerall = command = "Chaos Flare 2"
triggerall = statetype != A
triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Chaos Flare 2
[State -1, Chaos Flare 2]
type = ChangeState
value = 1110
triggerall = command = "Chaos Flare 2Y"
triggerall = statetype != A
triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Chaos Flare 2
[State -1, Chaos Flare 2]
type = ChangeState
value = 1110
triggerall = command = "Chaos Flare 2Z"
triggerall = statetype != A
triggerall = numhelper(1160) < 1
trigger1 = ctrl
trigger2 = stateno = [200,350]
trigger2 = movecontact
; Batspin Light
[State -1, Batspin Light]
type = ChangeState
value = 1200
triggerall = command = "Batspin Light"
trigger1 = ctrl
trigger2 = stateno = [200,450]
trigger2 = movecontact
; Batspin Medium
[State -1, Batspin Medium]
type = ChangeState
value = 1210
triggerall = command = "Batspin Medium"
trigger1 = ctrl
trigger2 = stateno = [200,450]
trigger2 = movecontact
; Batspin Heavy
[State -1, Batspin Heavy]
type = ChangeState
value = 1220
triggerall = command = "Batspin Heavy"
trigger1 = ctrl
trigger2 = stateno = [200,450]
trigger2 = movecontact

;===================================================;
;                  NORMAL MOVES                     ;
;===================================================;
; Pile Driver Grab
[State -1,  Pile Driver Grab]
type = ChangeState
value = 1700
triggerall = command = "x" && command = "a" && command = "holdback"
triggerall = statetype != A
triggerall = movetype !=H
trigger1 = ctrl

; Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x" && command != "holddown"
triggerall = statetype != A
trigger1 = ctrl

;Stand Medium Punch
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = command = "y" && command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact

;Stand Heavy Punch
[State -1, Stand Heavy Punch]
type = ChangeState
value = 220
triggerall = command = "z" && command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 240 && movecontact

;Stand Light Kick
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a" && command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact

;Stand Medium Kick
[State -1, Stand Medium Kick]
type = ChangeState
value = 240
triggerall = command = "b" && command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 230 && movecontact

;Stand Heavy Kick
[State -1, Stand Heavy Kick]
type = ChangeState
value = 250
triggerall = command = "c" && command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 240 && movecontact
trigger3 = stateno = 220 && movecontact

;Crouch Light Punch
[State -1, Crouch Light Punch]
type = ChangeState
value = 300
triggerall = command = "x" && command = "holddown"
triggerall = statetype = C
trigger1 = ctrl

;Crouch Medium Punch
[State -1, Crouch Medium Punch]
type = ChangeState
value = 310
triggerall = command = "y" && command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 300 && movecontact

;Crouch Heavy Punch
[State -1, Crouch Heavy Punch]
type = ChangeState
value = 320
triggerall = command = "z" && command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 310 && movecontact

;Crouch Light Kick
[State -1, Crouch Light Kick]
type = ChangeState
value = 330
triggerall = command = "a" && command = "holddown"
triggerall = statetype = C
trigger1 = ctrl

;Crouch Medium Kick
[State -1, Crouch Medium Kick]
type = ChangeState
value = 340
triggerall = command = "b" && command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 330 && movecontact

;Crouch Heavy Kick
[State -1, Crouch Heavy Kick]
type = ChangeState
value = 350
triggerall = command = "c" && command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 340 && movecontact

;Air Light Punch
[State -1, Air Light Punch]
type = ChangeState
value = 400
triggerall = command = "x" && Statetype = A
trigger1 = ctrl

;Air Medium Punch
[State -1, Air Medium Punch]
type = ChangeState
value = 410
triggerall = command = "y" && Statetype = A
trigger1 = ctrl
trigger2 = stateno = 400 && movecontact

;Air Heavy Punch
[State -1, Air Heavy Punch]
type = ChangeState
value = 420
triggerall = command = "z" && Statetype = A
trigger1 = ctrl
trigger2 = stateno = 410 && movecontact

;Air Light Kick
[State -1, Air Light Kick]
type = ChangeState
value = 430
triggerall = command = "a" && Statetype = A
trigger1 = ctrl

;Air Medium Kick
[State -1, Air Medium Kick]
type = ChangeState
value = 440
triggerall = command = "b" && Statetype = A
trigger1 = ctrl
trigger2 = stateno = 430 && movecontact

;Air Heavy Kick
[State -1, Air Heavy Kick]
type = ChangeState
value = 450
triggerall = command = "c" && Statetype = A
trigger1 = ctrl
trigger2 = stateno = 440 && movecontact
;===================================================;
;           MISCELLANEOUS MOVES                     ;
;===================================================;
; Taunt
[State -1, Taunt]
type = ChangeState
value = 195
trigger1 = command = "start"
trigger1 = statetype = S
trigger1 = ctrl

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

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