; Sion Eltnam Atlasia - Command File
;==============================================================================
;-| ̓R}hftHgݒ |-----------------------------------------------

[Defaults]
command.time = 15
command.buffer.time = 1

;==============================================================================
;-| botptO |-------------------------------------------------------

[Command]
name = "AI"
command = F,F,F
time = 0

[Command]
name = "AI0"
command = B,B,B
time = 0

[Command]
name = "AI1"
command = U,U,U
time = 0

[Command]
name = "AI2"
command = D,D,D
time = 0

;***********************************
[Command]
name = "AI3"
command = a,a,a
time = 0

[Command]
name = "AI4"
command = b,b,b
time = 0

[Command]
name = "AI5"
command = c,c,c
time = 0

[Command]
name = "AI6"
command = x,x,x
time = 0

[Command]
name = "AI7"
command = y,y,y
time = 0

[Command]
name = "AI8"
command = z,z,z
time = 0

[Command]
name = "AI9"
command = s,s,s
time = 0

;***********************************
;JX^`h蓮
[Command]
name = "CustomAI"
command = y+s
time = 15

;==============================================================================
;-| KEZ |---------------------------------------------------------------

;uEizS[hpj
[Command]
name = "shun_goku_satsu"
command = a,a,F,b,c
time = 30

;ubNoEvJ
[Command]
name = "black_barrel_replica"
command = ~B,DB,D,DF,F,c
time = 14

;==============================================================================
;-| KEZ |-------------------------------------------------------------------

;G[eCgEGA
[Command]
name = "air_low"
command = ~F,D,DF,a
time = 14

[Command]
name = "air_middle"
command = ~F,D,DF,b
time = 14

[Command]
name = "air_high"
command = ~F,D,DF,c
time = 14

;***********************************
;G[eCgEOhiXChEGAj
[Command]
name = "ground_low"
command = ~D,DB,B,a
time = 14

[Command]
name = "ground_middle"
command = ~D,DB,B,b
time = 14

[Command]
name = "ground_high"
command = ~D,DB,B,c
time = 14

;***********************************
;Њdˌ
[Command]
name = "gun_low"
command = ~D,DF,F,a
time = 14

[Command]
name = "gun_middle"
command = ~D,DF,F,b
time = 14

[Command]
name = "gun_high"
command = ~D,DF,F,c
time = 14

;***********************************
;T}[\g
[Command]
name = "summer_low"
command = ~D,D,a
time = 14

[Command]
name = "summer_middle"
command = ~D,D,b
time = 14

;[Command]
;name = "aiueo_high"
;command = ~D,D,c
;time = 14

;==============================================================================
;-| Z |-------------------------------------------------------------------

;[h
[Command]
name = "reload"
command = ~D,D,z
time = 14

;==============================================================================
;-| 2x |------------------------------------------------------------------

[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 = "UU"
command = U,U
time = 10

[Command]
name = "DD"
command = D,D
time = 10

;==============================================================================
;-| 󂯐gR}h |-----------------------------------------------------------

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

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

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

;==============================================================================
;-| L[{{^(_) |-------------------------------------------

[Command]
name = "fwd_x"
command = /F,x
time = 1

[Command]
name = "fwd_y"
command = /F,y
time = 1

[Command]
name = "fwd_z"
command = /F,z
time = 1

[Command]
name = "fwd_a"
command = /F,a
time = 1

[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_c"
command = /F,c
time = 1

[Command]
name = "downfwd_z"
command = /DF,z
time = 1

[Command]
name = "back_x"
command = /B,x
time = 1

[Command]
name = "back_y"
command = /B,y
time = 1

[Command]
name = "back_z"
command = /B,z
time = 1

[Command]
name = "back_a"
command = /B,a
time = 1

[Command]
name = "back_b"
command = /B,b
time = 1

[Command]
name = "back_c"
command = /B,c
time = 1

[Command]
name = "down_x"
command = /$D,x
time = 1

[Command]
name = "down_y"
command = /$D,y
time = 1

[Command]
name = "down_z"
command = /$D,z
time = 1

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

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

[Command]
name = "down_c"
command = /$D,c
time = 1

;==============================================================================
;-| {^(_) |-----------------------------------------------------

[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 = "s"
command = s
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

[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_s"
command = /s
time = 1

;==============================================================================
;-| L[(_) |---------------------------------------------------

[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

;==============================================================================
;------------------------------------------------------------------------------
;̈s͏ȂłBiCMD̕K{łj

[Statedef -1]

;==============================================================================
;------------------------------------------------------------------------------
;uE
[State -1, Shun Goku Satsu]
type = ChangeState
value = 3600
triggerall = var(6) = 1
triggerall = command = "shun_goku_satsu"
triggerall = power >= 3000
triggerall = statetype != A
triggerall = NumHelper(961) = 0
trigger1 = ctrl = 1
trigger2 = StateNo = [200,499]
trigger3 = ((StateNo = 3011) && (MoveHit) && (HitCount = 4))

;ubNoEvJ
[State -1, Black Barrel "Replica"]
type = ChangeState
value = 3500
triggerall = var(6) = 0
triggerall = command = "black_barrel_replica"
triggerall = power >= 3000
triggerall = statetype != A
triggerall = NumHelper(961) = 0
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))
trigger3 = ((StateNo = 3011) && (MoveHit) && (HitCount = 4))

;==============================================================================
;------------------------------------------------------------------------------
;G[eCgEGAF
[State -1, L.Etherite Air]
type = ChangeState
value = 1000
triggerall = command = "air_low"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))
trigger3 = ((StateNo = 3011) && (MoveHit) && (HitCount = 4))

;G[eCgEGAF
[State -1, M.Etherite Air]
type = ChangeState
value = 1010
triggerall = command = "air_middle"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))
trigger3 = ((StateNo = 3011) && (MoveHit) && (HitCount = 4))

;G[eCgEGAdw
[State -1, Etherite Air EX]
type = ChangeState
value = 3000
triggerall = command = "air_high"
triggerall = power >= 1000
triggerall = statetype != A
triggerall = NumHelper(960) = 0
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))
trigger3 = ((StateNo = 3011) && (MoveHit) && (HitCount = 4))

;------------------------------------------------------------------------------
;G[eCgEOhF
[State -1, L.Etherite Ground]
type = ChangeState
value = 1020
triggerall = var(7) = 0
triggerall = command = "ground_low"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;G[eCgEOhF
[State -1, M.Etherite Ground]
type = ChangeState
value = 1030
triggerall = var(7) = 0
triggerall = command = "ground_middle"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;G[eCgEOhdw
[State -1, Etherite Ground EX]
type = ChangeState
value = 3010
triggerall = var(7) = 0
triggerall = command = "ground_high"
triggerall = power >= 1000
triggerall = statetype != A
triggerall = NumHelper(960) = 0
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;------------------------------------------------------------------------------
;ЊdˌF
[State -1, L.Warning Shot]
type = ChangeState
value = 1040 ;ifelse(var(6)=1,****,1040)
triggerall = command = "gun_low"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;ЊdˌF
[State -1, M.Warning Shot]
type = ChangeState
value = 1050 ;ifelse(var(6)=1,****,1050)
triggerall = command = "gun_middle"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;Њdˌ
[State -1, H.Warning Shot]
type = ChangeState
value = 1060
triggerall = var(6) = 0
triggerall = command = "gun_high"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;ˌ
[State -1, Shot]
type = ChangeState
value = 1070
triggerall = var(6) = 1
triggerall = command = "gun_high"
triggerall = power >= 500
triggerall = statetype != A
triggerall = NumHelper(960) = 0
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;------------------------------------------------------------------------------
;XChEGAF
[State -1, L.Slide Air]
type = ChangeState
value = 1080
triggerall = command = "ground_low"
triggerall = statetype != S
triggerall = statetype != C
trigger1 = ctrl = 1
trigger2 = ((StateNo = [600,699]) && (MoveContact))

;XChEGAF
[State -1, M.Slide Air]
type = ChangeState
value = 1082
triggerall = command = "ground_middle"
triggerall = statetype != S
triggerall = statetype != C
trigger1 = ctrl = 1
trigger2 = ((StateNo = [600,699]) && (MoveContact))

;XChEGAdw
[State -1, Slide Air EX]
type = ChangeState
value = 3020
triggerall = command = "ground_high"
triggerall = power >= 1000
triggerall = statetype != S
triggerall = statetype != C
triggerall = NumHelper(960) = 0
trigger1 = ctrl = 1
trigger2 = ((StateNo = [600,699]) && (MoveContact))

;------------------------------------------------------------------------------
;T}[\giJX^`hpZj
[State -1, L.Summer-Salt-Kick]
type = ChangeState
value = 1100
triggerall = command = "summer_low"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

[State -1, M.Summer-Salt-Kick]
type = ChangeState
value = 1102
triggerall = command = "summer_middle"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,499]) && (MoveContact))

;==============================================================================
;------------------------------------------------------------------------------
;win㓊Ej
[State -1, Middle Ground Throw]
type = ChangeState
value = 800
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = var(8) = 0
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 5
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 8
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;͂ݏRin㓊Ej
[State -1, High Ground Throw]
type = ChangeState
value = 804
triggerall = command = "c"
triggerall = statetype = S
triggerall = ctrl
triggerall = var(8) = 0
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 5
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 8
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;---------------------------------------------------------------------------
;󒆓
[State -1, Air Throw]
type = ChangeState
value = 810
triggerall = command = "c"
triggerall = statetype = A
triggerall = var(8) = 0
trigger1 = ctrl
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 5
trigger1 = p2statetype = A
trigger2 = ctrl
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = p2statetype = A
trigger3 = StateNo = 600
trigger3 = ((command = "holdfwd") || (command = "holdback"))
trigger3 = MoveContact
trigger3 = p2statetype = A
trigger4 = StateNo = 610
trigger4 = ((command = "holdfwd") || (command = "holdback"))
trigger4 = MoveContact
trigger4 = p2statetype = A

;==============================================================================
;------------------------------------------------------------------------------
;t[LbNiiZj
[State -1, Flower Kick]
type = ChangeState
value = 211
triggerall = ((command = "b") && (command ="holdfwd"))
triggerall = ((StateNo != 211) && (StateNo != 212) && (statetype != A))
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,699]) && (MoveContact))

;UqAbp[iGACJnZj
[State -1, Aerial-Rave Attack]
type = ChangeState
value = 212
triggerall = ((command = "b") && (command ="holdback"))
triggerall = ((StateNo != 212) && (statetype != A))
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,699]) && (MoveContact))

;G[eCgU
[State -1, Etherite Attack]
type = ChangeState
value = 900
triggerall = ((command = "c") && (command ="holdfwd"))
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,699]) && (MoveContact))

;[h
[State -1, Reload]
type = ChangeState
value = 920
triggerall = command = "reload"
triggerall = statetype != A
trigger1 = ctrl = 1

;==============================================================================
;------------------------------------------------------------------------------
;V[h
[State -1, Shield]
type = ChangeState
value = 700
triggerall = command = "z"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,299]) && (MoveContact))
trigger3 = StateNo = [150,151]

[State -1, Crouch Shield]
type = ChangeState
value = 702
triggerall = command = "z"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = ((StateNo = [400,499]) && (MoveContact))
trigger3 = StateNo = [152,153]

[State -1, Air Shield]
type = ChangeState
value = 704
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [600,699]) && (MoveContact))
trigger3 = StateNo = [154,155]

;==============================================================================
;------------------------------------------------------------------------------
;_bV
[State -1, Dash]
type = ChangeState
value = 100
triggerall = var(8) = 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;obN_bV
[State -1, Back Dash]
type = ChangeState
value = 105
triggerall = var(8) = 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;󒆃_bV
[State -1, Air Dash]
type = ChangeState
value = 102
triggerall = var(8) = 0
trigger1 = var(44) = 0
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Pos Y < -30

;---------------------------------------------------------------------------
;󒆃obN_bV
[State -1, Air Back Dash]
type = ChangeState
value = 108
triggerall = var(8) = 0
trigger1 = var(44) = 0
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Pos Y < -30

;==============================================================================
;------------------------------------------------------------------------------
;U
[State -1, L.Attack]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = ((StateNo = 200) && (!MoveContact) && (AnimElemTime(4) > 0))
trigger3 = ((StateNo = 200) && (MoveContact))
trigger4 = ((var(49) = 0) && (StateNo = 210) && (MoveContact))
trigger5 = ((var(49) = 0) && (StateNo = 220) && (MoveContact))
trigger6 = ((var(49) = 0) && (StateNo = 400) && (MoveContact))
trigger7 = ((var(49) = 0) && (StateNo = 410) && (MoveContact))
trigger8 = ((var(49) = 0) && (StateNo = 420) && (MoveContact))

;---------------------------------------------------------------------------
;U
[State -1, M.Attack]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = ((var(50) = 0) && (StateNo = 200) && (MoveContact))
trigger3 = ((var(50) = 0) && (StateNo = 220) && (MoveContact))
trigger4 = ((var(50) = 0) && (StateNo = 400) && (MoveContact))
trigger5 = ((var(50) = 0) && (StateNo = 410) && (MoveContact))
trigger6 = ((var(50) = 0) && (StateNo = 420) && (MoveContact))

;---------------------------------------------------------------------------
;U
[State -1, H.Attack]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = ((var(51) = 0) && (StateNo = 200) && (MoveContact))
trigger3 = ((var(51) = 0) && (StateNo = 210) && (MoveContact))
trigger4 = ((var(51) = 0) && (StateNo = 400) && (MoveContact))
trigger5 = ((var(51) = 0) && (StateNo = 410) && (MoveContact))
trigger6 = ((var(51) = 0) && (StateNo = 420) && (MoveContact))

;==============================================================================
;------------------------------------------------------------------------------
;ႪݎU
[State -1, Crouch L.Attack]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = ((var(52) = 0) && (StateNo = 200) && (MoveContact))
trigger3 = ((var(52) = 0) && (StateNo = 210) && (MoveContact))
trigger4 = ((var(52) = 0) && (StateNo = 220) && (MoveContact))
trigger5 = ((StateNo = 400) && (!MoveContact) && (AnimElemTime(4) > 0))
trigger6 = ((StateNo = 400) && (MoveContact))
trigger7 = ((var(52) = 0) && (StateNo = 410) && (MoveContact))
trigger8 = ((var(52) = 0) && (StateNo = 420) && (MoveContact))

;---------------------------------------------------------------------------
;ႪݒU
[State -1, Crouch M.Attack]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = ((var(53) = 0) && (StateNo = 200) && (MoveContact))
trigger3 = ((var(53) = 0) && (StateNo = 210) && (MoveContact))
trigger4 = ((var(53) = 0) && (StateNo = 220) && (MoveContact))
trigger5 = ((var(53) = 0) && (StateNo = 400) && (MoveContact))
trigger6 = ((var(53) = 0) && (StateNo = 420) && (MoveContact))

;---------------------------------------------------------------------------
;Ⴊ݋U
[State -1, Crouch H.Attack]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = ((var(54) = 0) && (StateNo = 200) && (MoveContact))
trigger3 = ((var(54) = 0) && (StateNo = 210) && (MoveContact))
trigger4 = ((var(54) = 0) && (StateNo = 220) && (MoveContact))
trigger5 = ((var(54) = 0) && (StateNo = 400) && (MoveContact))
trigger6 = ((var(54) = 0) && (StateNo = 410) && (MoveContact))

;==============================================================================
;------------------------------------------------------------------------------
;WvU
[State -1, Air L.Attack]
type = ChangeState
value = 600
triggerall = ((command = "a") && (Vel Y <= 0))
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
trigger4 = ((var(55) = 0) && (StateNo = 610) && (MoveContact))
trigger5 = ((var(55) = 0) && (StateNo = 620) && (MoveContact))

[State -1, Air L.Attack]
type = ChangeState
value = 601
triggerall = ((command = "a") && (Vel Y > 0))
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
trigger4 = ((StateNo = 601) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger5 = ((StateNo = 601) && (MoveContact))
trigger6 = ((var(55) = 0) && (StateNo = 610) && (MoveContact))
trigger7 = ((var(55) = 0) && (StateNo = 620) && (MoveContact))

;---------------------------------------------------------------------------
;WvU
[State -1, Air M.Attack]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = ((var(56) = 0) && (StateNo = 600) && (MoveContact))
trigger3 = ((var(56) = 0) && (StateNo = 601) && (MoveContact))
trigger4 = ((var(56) = 0) && (StateNo = 620) && (MoveContact))

;---------------------------------------------------------------------------
;WvU
[State -1, Air H.Attack]
type = ChangeState
value = 620
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = ((var(57) = 0) && (StateNo = 600) && (MoveContact))
trigger3 = ((var(57) = 0) && (StateNo = 601) && (MoveContact))
trigger4 = ((var(57) = 0) && (StateNo = 610) && (MoveContact))

;---------------------------------------------------------------------------
;
[State -1, Taunt]
type = ChangeState
value = 940
triggerall = command = "s"
triggerall = statetype != A
trigger1 = ctrl = 1

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