;-| 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";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
[Command]
name = "holda"
command = /a
time = 1
[Command]
name = "holdb"
command = /b
time = 1
[Command]
name = "holdc"
command = /c
time = 1
[Command]
name = "holdx"
command = /x
time = 1
[Command]
name = "holdy"
command = /y
time = 1
[Command]
name = "holdz"
command = /z
time = 1
[Command]
name = "holdstart"
command = /s
time = 1
[Command]
name = "a2"
command = a
time = 1
[Command]
name = "b2"
command = b
time = 1
[Command]
name = "c2"
command = c
time = 1
[Command]
name = "x2"
command = x
time = 1
[Command]
name = "y2"
command = y
time = 1
[Command]
name = "z2"
command = z
time = 1
[Command]
name = "start2"
command = s
time = 1
[Command]
name = "holdfwd2"
command = /$F
time = 1
[Command]
name = "holdback2"
command = /$B
time = 1
[Command]
name = "holdup2"
command = /$U
time = 1
[Command]
name = "holddown2"
command = /$D
time = 1
[Command]
name = "holda2"
command = /a
time = 1
[Command]
name = "holdb2"
command = /b
time = 1
[Command]
name = "holdc2"
command = /c
time = 1
[Command]
name = "holdx2"
command = /x
time = 1
[Command]
name = "holdy2"
command = /y
time = 1
[Command]
name = "holdz2"
command = /z
time = 1
[Command]
name = "holdstart2"
command = /s
time = 1
[Command]
name = "recovery2"
command = x+y
time = 1
[Command]
name = "Power"
command = ~D, DF, F, D, DF, F, x
time = 30
[Command]
name = "Power2" ;Same name as above
command = ~D, DF, F, D, DF, F, y
time = 30
[Command]
name = "Reality"
command = ~D, DB, B, D, DB, B, x
time = 30
[Command]
name = "Reality2" ;Same name as above
command = ~D, DB, B, D, DB, B, y
time = 30
[Command]
name = "Space"
command = ~D, DB, B, D, DB, B, a
time = 30
[Command]
name = "Space2" ;Same name as above
command = ~D, DB, B, D, DB, B, b
time = 30
[Command]
name = "Soul"
command = ~D, DF, F, D, DF, F, a
time = 30
[Command]
name = "Soul"
command = ~D, DF, F, D, DF, F, b
time = 30
[Command]
name = "Mind"
command = ~D, F, D, B, x
time = 60
[Command]
name = "Mind"
command = ~D, F, D, B, y
time = 60
;-| Special Motions |------------------------------------------------------
[Command]
name = "smacksmack"
command = ~10$B, F, x
time = 10
[Command]
name = "smacksmack"
command = ~10$B, F, y
time = 10
[Command]
name = "jojo"
command = x,x,x
time = 25
[Command]
name = "jojo"
command = y,y,y
time = 25
[Command]
name = "lalala"
command = ~D, DB, B, a
[Command]
name = "tigerkick"
command = ~D, DB, B, b
[Command]
name = "ciachciach"
command = ~F, D, DF, x
[Command]
name = "ciachciach2"
command = ~F, D, DF, y
[Command]
name = "razciach"
command = ~D, DF, F, x
[Command]
name = "razciach2"
command = ~D, DF, F, y
[Command]
name = "MoonSpell"
command = ~F, D, B, a
[Command]
name = "MoonSpell"
command = ~F, D, B, b
[Command]
name = "MoonSpell"
command = ~F, DF, D, DB, B, a
[Command]
name = "MoonSpell"
command = ~F, DF, D, DB, B, b
;-| 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
[Command]
name = "jd";Required (do not remove)
command = $B
time = 1
;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1
[Command]
name = "evade";Required (do not remove)
command = a+x
time = 1
[Command]
name = "evade";Required (do not remove)
command = c
time = 1
[Command]
name = "matrix";Required (do not remove)
command = c+z
time = 1
[Command]
name = "cosmos";Required (do not remove)
command = a+z
time = 1
;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1
[Command]
name = "down_b"
command = /$D,b
time = 1
;---------------------------------------------------------------------------
; 2. State entry
; --------------
; This is where you define what commands bring you to what states.
;
; Each state entry block looks like:
; [State -1, Label] ;Change Label to any name you want to use to
; ;identify the state with.
; type = ChangeState ;Don't change this
; value = new_state_number
; trigger1 = command = command_name
; . . . (any additional triggers)
;
; - new_state_number is the number of the state to change to
; - command_name is the name of the command (from the section above)
; - Useful triggers to know:
; - statetype
; S, C or A : current state-type of player (stand, crouch, air)
; - ctrl
; 0 or 1 : 1 if player has control. Unless "interrupting" another
; move, you'll want ctrl = 1
; - stateno
; number of state player is in - useful for "move interrupts"
; - movecontact
; 0 or 1 : 1 if player's last attack touched the opponent
; useful for "move interrupts"
;
; Note: The order of state entry is important.
; State entry with a certain command must come before another state
; entry with a command that is the subset of the first.
; For example, command "fwd_a" must be listed before "a", and
; "fwd_ab" should come before both of the others.
;
; For reference on triggers, see CNS documentation.
;
; Just for your information (skip if you're not interested):
; This part is an extension of the CNS. "State -1" is a special state
; that is executed once every game-tick, regardless of what other state
; you are in.
; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]
[State -1, AI Helper Check]
type = ChangeState
trigger1 = IsHelper(9741)
value = 9741
[State -1, AI Helper Check 2]
type = ChangeState
trigger1 = IsHelper(9742)
value = 974
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 2600
triggerall = command = "Mind"
triggerall = power >= 3000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
trigger3 = stateno = 800
trigger3 = movecontact
trigger4 = stateno = 840
trigger4 = time >= 14
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 2100
triggerall = command = "Power2"
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 2300
triggerall = command = "Reality2"
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 2000
triggerall = command = "Power" || command = "Power2"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
trigger3 = stateno = 1000
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 2200
triggerall = command = "Reality" || command = "Reality2"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
trigger3 = stateno = 1000
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 2400
triggerall = command = "Space" || command = "Space2"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 2500
triggerall = command = "Soul"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1400
triggerall = command = "MoonSpell"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,499]
trigger2 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1000
triggerall = command = "smacksmack"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,249]
trigger2 = movecontact
trigger3 = stateno = [400,430]
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1100
triggerall = command = "jojo"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,239]
trigger2 = movecontact
trigger3 = stateno = [400,430]
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1200
triggerall = command = "lalala"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,229]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1205
triggerall = command = "tigerkick"
triggerall = numhelper(1205) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,249]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1300
triggerall = command = "ciachciach"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,239]
trigger2 = movecontact
trigger3 = stateno = [400,430]
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1305
triggerall = command = "ciachciach2"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,239]
trigger2 = movecontact
trigger3 = stateno = [400,430]
trigger3 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1310
triggerall = command = "razciach"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = [600,699]
trigger2 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 1315
triggerall = command = "razciach2"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = [600,699]
trigger2 = movecontact
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 404
triggerall = command = "matrix"
triggerall = power >= ifelse(var(57)=1,3000,200)
triggerall = numhelper(4040) = 0
trigger1 = statetype = S
trigger1 = ctrl
;SmackSmack
[State -1, Stand Light Punch]
type = ChangeState
value = 199
triggerall = command = "cosmos"
triggerall = var(57) = 0
triggerall = var(47) = 0
trigger1 = statetype = S
trigger1 = ctrl
;===========================================================================
;---------------------------------------------------------------------------
;Evasion
;ダッシュ
[State -1, Evasion]
type = ChangeState
value = 700
triggerall = command = "evade"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [150,152]
trigger2 = power >= 1000
;---------------------------------------------------------------------------
;Throw
[State -1, Throw]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
;---------------------------------------------------------------------------
;Throw
[State -1, Throw]
type = ChangeState
value = 830
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H
;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
;===========================================================================
;---------------------------------------------------------------------------
;Stand Light Punch
;立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;Stand Strong Punch
;立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && movecontact
trigger3 = (stateno = 230) && movecontact
;---------------------------------------------------------------------------
;Stand Light Kick
;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;Standing Strong Kick
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && movecontact
trigger3 = (stateno = 230) && movecontact
;---------------------------------------------------------------------------
;Taunt
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
triggerall = stateno != 195
triggerall = !var(57)
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Crouching Light Punch
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;---------------------------------------------------------------------------
;Crouching Strong Punch
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact)
;---------------------------------------------------------------------------
;Crouching Light Kick
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;---------------------------------------------------------------------------
;Crouching Strong Kick
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact)
;---------------------------------------------------------------------------
;Jump Light Punch
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Jump Light Kick
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Jump Strong Kick
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl