;-| Button Remapping |-----------------------------------------------------
[Remap]
x = a	;弱攻撃
y = b	;中攻撃
z = c	;強攻撃
a = z	;シールド
b = y	;クイックアクション2(サキスパ・ダッシュ)
c = x	;クイックアクション1(開放・投げ・避け)
s = s	;(未使用)

;-| Default Values |-------------------------------------------------------
[Defaults]
; Default value for the "time" parameter of a Command. Minimum 1.
command.time = 15

; Default value for the "buffer.time" parameter of a Command. Minimum 1,
; maximum 30.
command.buffer.time = 1

;-| A.I. Command |---------------------------------------------------------
[Command]
name = "AI00"
command = a,b,c,x,y,z,a,a,a,a,a,a,a,a,a
time = 0

[Command]
name = "AI01"
command = a,b,c,x,y,z,b,b,b,b,b,b,b,b,b
time = 0

[Command]
name = "AI02"
command = a,b,c,x,y,z,c,c,c,c,c,c,c,c,c
time = 0

[Command]
name = "AI03"
command = a,b,c,x,y,z,x,x,x,x,x,x,x,x,x
time = 0

[Command]
name = "AI04"
command = a,b,c,x,y,z,y,y,y,y,y,y,y,y,y
time = 0

[Command]
name = "AI05"
command = a,b,c,x,y,z,z,z,z,z,z,z,z,z,z
time = 0

[Command]
name = "AI06"
command = a,b,c,x,y,z,s,s,s,s,s,s,s,s,s
time = 0

[Command]
name = "AI07"
command = a,b,c,x,y,z,F,F,F,F,F,F,F,F,F
time = 0

[Command]
name = "AI08"
command = a,b,c,x,y,z,B,B,B,B,B,B,B,B,B
time = 0

[Command]
name = "AI09"
command = a,b,c,x,y,z,U,U,U,U,U,U,U,U,U
time = 0

[Command]
name = "AI10"
command = a,b,c,x,y,z,D,D,D,D,D,D,D,D,D
time = 0

[Command]
name = "AI11"
command = a,a,a,a,a,b,b,b,b,b,c,c,c,c,c
time = 0

[Command]
name = "AI12"
command = b,b,b,b,b,c,c,c,c,c,x,x,x,x,x
time = 0

[Command]
name = "AI13"
command = c,c,c,c,c,x,x,x,x,x,y,y,y,y,y
time = 0

[Command]
name = "AI14"
command = x,x,x,x,x,y,y,y,y,y,z,z,z,z,z
time = 0

[Command]
name = "AI15"
command = y,y,y,y,y,z,z,z,z,z,s,s,s,s,s
time = 0

[Command]
name = "AI16"
command = z,z,z,z,s,s,s,s,a,b,c,x,y,z,s
time = 0

[Command]
name = "AI17"
command = F,F,F,F,F,B,B,B,B,B,U,U,U,U,U
time = 0

[Command]
name = "AI18"
command = B,B,B,B,B,U,U,U,U,U,D,D,D,D,D
time = 0

[Command]
name = "AI19"
command = U,U,U,U,U,D,D,D,D,D,F,B,U,D,s
time = 0

[Command]
name = "AI20"
command = a,a,a,a,a,a,a,a,a,a,b,c,x,y,z
time = 0

[Command]
name = "AI21"
command = b,b,b,b,b,b,b,b,b,a,b,c,x,y,z
time = 0

[Command]
name = "AI22"
command = c,c,c,c,c,c,c,c,c,a,b,c,x,y,z
time = 0

[Command]
name = "AI23"
command = x,x,x,x,x,x,x,x,x,a,b,c,x,y,z
time = 0

[Command]
name = "AI24"
command = y,y,y,y,y,y,y,y,y,a,b,c,x,y,z
time = 0

[Command]
name = "AI25"
command = z,z,z,z,z,z,z,z,z,a,b,c,x,y,z
time = 0

[Command]
name = "AI26"
command = s,s,s,s,s,s,s,s,s,a,b,c,x,y,z
time = 0

[Command]
name = "AI27"
command = F,F,F,F,F,F,F,F,F,a,b,c,x,y,z
time = 0

[Command]
name = "AI28"
command = B,B,B,B,B,B,B,B,B,a,b,c,x,y,z
time = 0

[Command]
name = "AI29"
command = U,U,U,U,U,U,U,U,U,a,b,c,x,y,z
time = 0

[Command]
name = "AI30"
command = D,D,D,D,D,D,D,D,D,a,b,c,x,y,z
time = 0

[Command]
name = "AI31"
command = a,a,a,a,a,b,b,b,b,b,c,c,c,c,c
time = 0

[Command]
name = "AI32"
command = b,b,b,b,b,c,c,c,c,c,x,x,x,x,x
time = 0

[Command]
name = "AI33"
command = c,c,c,c,c,x,x,x,x,x,y,y,y,y,y
time = 0

[Command]
name = "AI34"
command = x,x,x,x,x,y,y,y,y,y,z,z,z,z,z
time = 0

[Command]
name = "AI35"
command = y,y,y,y,y,z,z,z,z,z,s,s,s,s,s
time = 0

[Command]
name = "AI36"
command = a,b,c,x,y,z,s,z,z,z,z,s,s,s,s
time = 0

[Command]
name = "AI37"
command = F,F,F,F,F,B,B,B,B,B,U,U,U,U,U
time = 0

[Command]
name = "AI38"
command = B,B,B,B,B,U,U,U,U,U,D,D,D,D,D
time = 0

[Command]
name = "AI39"
command = F,B,U,D,s,U,U,U,U,U,D,D,D,D,D
time = 0

[Command]
name = "AI40"
command = a,a,a,a,a,b,c,x,y,z,s,a,a,a,a
time = 0

[Command]
name = "AI41"
command = b,b,b,b,a,b,c,x,y,z,s,b,b,b,b
time = 0

[Command]
name = "AI42"
command = c,c,c,c,a,b,c,x,y,z,s,c,c,c,c
time = 0

[Command]
name = "AI43"
command = x,x,x,x,a,b,c,x,y,z,s,x,x,x,x
time = 0

[Command]
name = "AI44"
command = y,y,y,y,a,b,c,x,y,z,s,y,y,y,y
time = 0

[Command]
name = "AI45"
command = z,z,z,z,a,b,c,x,y,z,s,z,z,z,z
time = 0

[Command]
name = "AI46"
command = s,s,s,s,a,b,c,x,y,z,s,s,s,s,s
time = 0

[Command]
name = "AI47"
command = F,F,F,F,a,b,c,x,y,z,s,F,F,F,F
time = 0

[Command]
name = "AI48"
command = B,B,B,B,a,b,c,x,y,z,s,B,B,B,B
time = 0

[Command]
name = "AI49"
command = U,U,U,U,a,b,c,x,y,z,s,U,U,U,U
time = 0

[Command]
name = "AI50"
command = D,D,D,D,a,b,c,x,y,z,s,D,D,D,D
time = 0

;-| Super Motions |--------------------------------------------------------
[Command]
name = "41236_z"
command = ~B, DB, D, DF, F, z
time = 18

;-| Special Motions |------------------------------------------------------
[Command]
name = "236_x"
command = ~D, DF, F, x
time = 20

[Command]
name = "236_y"
command = ~D, DF, F, y
time = 20

[Command]
name = "236_z"
command = ~D, DF, F, z
time = 20

[Command]
name = "214_x"
command = ~D, DB, B, x
time = 16

[Command]
name = "214_y"
command = ~D, DB, B, y
time = 16

[Command]
name = "214_z"
command = ~D, DB, B, z
time = 16

[Command]
name = "421_x"
command = ~B, D, DB, x
time = 16

[Command]
name = "421_y"
command = ~B, D, DB, y
time = 16

[Command]
name = "421_z"
command = ~B, D, DB, z
time = 16

[Command]
name = "623_x"
command = ~F, D, DF, x
time = 16

[Command]
name = "623_y"
command = ~F, D, DF, y
time = 16

[Command]
name = "623_z"
command = ~F, D, DF, z
time = 16

[Command]
name = "22_x"
command = ~D, D, x
time = 10

[Command]
name = "22_y"
command = ~D, D, y
time = 10

[Command]
name = "22_z"
command = ~D, D, z
time = 10

[Command]
name = "236_a"
command = ~D, DF, F, a
time = 16

[Command]
name = "214_a"
command = ~D, DB, B, a
time = 16

[Command]
name = "222_a"
command = ~D, D, D, a
time = 20

[Command]
name = "214+41236_a"
command = ~D, DB, B, DB, D, DF, F, a
time = 35

[Command]
name = "214+41236_a"
command = ~B, DB, D, DF, F, D, DB, B, a
time = 35

[Command]
name = "214+623_a"
command = ~D, DB, B, F, D, DF, a
time = 35

[Command]
name = "214+623_a"
command = ~F, D, DF, D, DB, B, a
time = 35

[Command]
name = "214+421_a"
command = ~D, DB, B, D, DB, a
time = 30

[Command]
name = "214+421_a"
command = ~B, D, DB, D, DB, B, a
time = 30

[Command]
name = "214+236_a"
command = ~D, DB, B, D, DF, F, a
time = 30

[Command]
name = "214+236_a"
command = ~D, DF, F, D, DB, B, a
time = 30

[Command]
name = "214+22_a"
command = ~D, DB, B, D, D, a
time = 25

[Command]
name = "214+22_a"
command = ~D, D, DB, B, a
time = 25

[Command]
name = "214+6_a"
command = ~D, DB, B, F, a
time = 25

[Command]
name = "214+6_a"
command = ~F, D, DB, B, a
time = 25

[Command]
name = "input_41236"
command = B, DB, D, DF, /F
time = 16

[Command]
name = "input_623"
command = F, D, /DF
time = 16

[Command]
name = "input_421"
command = B, D, /DB
time = 16

[Command]
name = "input_236"
command = D, DF, /F
time = 16

[Command]
name = "input_214"
command = D, DB, /B
time = 16

[Command]
name = "input_22"
command = D, /D
time = 12

[Command]
name = "input_FF"
command = F, /F
time = 12

[Command]
name = "input_BB"
command = B, /B
time = 12

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 12

[Command]
name = "FF2"    ;Required (do not remove)
command = ~F, F
time = 12

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

[Command]
name = "UU"
command = U, U
time = 12

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

[Command]
name = "x+a"
command = x+a
time = 1

[Command]
name = "x+y+z"
command = x+y+z
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

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

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

[Command]
name = "fwd"
command = F
time = 1

[Command]
name = "back"
command = B
time = 1

[Command]
name = "up"
command = U
time = 1

[Command]
name = "down"
command = D
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 = "4"
command = /B
time = 1

[Command]
name = "6"
command = /F
time = 1

[Command]
name = "1"
command = /DB
time = 1

[Command]
name = "2"
command = /D
time = 1

[Command]
name = "3"
command = /DF
time = 1

[Command]
name = "7"
command = /UB
time = 1

[Command]
name = "8"
command = /U
time = 1

[Command]
name = "9"
command = /UF
time = 1

;---------------------------------------------------------------------------
; 2. State entry
;---------------------------------------------------------------------------

[Statedef -1]

;---------------------------------------------------------------------------
;赤主・檻髪
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(40) > 0
triggerall = command = "41236_z"
triggerall = NumHelper(2015) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = Var(51)%10 = 2
trigger7 = StateNo = 1000
trigger7 = AnimElemTime(8) > 0 && AnimElemTime(11) < 0
trigger8 = Var(51)%10 = 2
trigger8 = StateNo = 1010
trigger8 = AnimElemTime(7) > 0 && AnimElemTime(12) < 0
trigger9 = Var(51)%10 = 2
trigger9 = StateNo = 1210
trigger9 = AnimElemTime(6) > 0 && AnimElemTime(10) < 0
trigger10 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger10 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger11 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger12 = Var(51)%10 = 1
trigger12 = StateNo = 7630 || StateNo = 7631
trigger12 = MoveContact
value = 2000

;---------------------------------------------------------------------------
;赫訳・紅葉(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 1
triggerall = command = "421_x"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = StateNo = 200 || StateNo = 400
trigger4 = AnimElemTime(5) >= 1
trigger5 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger5 = StateNo = 7501 || StateNo = 7502
trigger6 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger6 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger7 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger8 = StateNo = 7630 || StateNo = 7631
trigger8 = MoveContact
value = 1200

;---------------------------------------------------------------------------
;赫訳・紅葉(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 1
triggerall = command = "421_y"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = StateNo = 200 || StateNo = 400
trigger4 = AnimElemTime(5) >= 1
trigger5 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger5 = StateNo = 7501 || StateNo = 7502
trigger6 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger6 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger7 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger8 = StateNo = 7630 || StateNo = 7631
trigger8 = MoveContact
value = 1210

;---------------------------------------------------------------------------
;赫訳・紅葉(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 1
triggerall = command = "421_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = StateNo = 200 || StateNo = 400
trigger4 = AnimElemTime(5) >= 1
trigger5 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger5 = StateNo = 7501 || StateNo = 7502
trigger6 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger6 = (MoveContact = [1, 11]) || (MoveReversed = [1, 11])
trigger7 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger8 = StateNo = 7630 || StateNo = 7631
trigger8 = MoveContact
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1220, 1210)

;---------------------------------------------------------------------------
;赫訳・紅葉(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = command = "623_x"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = 1200

;---------------------------------------------------------------------------
;赫訳・紅葉(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = command = "623_y"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = 1210

;---------------------------------------------------------------------------
;赫訳・紅葉(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = command = "623_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = Power >= 1000 || Var(40) > 0
trigger7 = StateNo = 1000
trigger7 = AnimElemTime(8) > 0 && AnimElemTime(11) < 0
trigger8 = Power >= 1000 || Var(40) > 0
trigger8 = StateNo = 1010
trigger8 = AnimElemTime(7) > 0 && AnimElemTime(12) < 0
trigger9 = Power >= 1000 || Var(40) > 0
trigger9 = StateNo = 1210
trigger9 = AnimElemTime(6) > 0 && AnimElemTime(10) < 0
trigger10 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger10 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger11 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1220, 1210)

;---------------------------------------------------------------------------
;鳥を落とす(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "236_x"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = IfElse(Var(51)%10 = 2, 1000, 1005)

;---------------------------------------------------------------------------
;鳥を落とす(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "236_y"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = IfElse(Var(51)%10 = 2, 1010, 1015)

;---------------------------------------------------------------------------
;鳥を落とす(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "236_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = Var(51)%10 = 2
trigger7 = Power >= 1000 || Var(40) > 0
trigger7 = StateNo = 1000
trigger7 = AnimElemTime(8) > 0 && AnimElemTime(11) < 0
trigger8 = Var(51)%10 = 2
trigger8 = Power >= 1000 || Var(40) > 0
trigger8 = StateNo = 1010
trigger8 = AnimElemTime(7) > 0 && AnimElemTime(12) < 0
trigger9 = Var(51)%10 = 2
trigger9 = Power >= 1000 || Var(40) > 0
trigger9 = StateNo = 1210
trigger9 = AnimElemTime(6) > 0 && AnimElemTime(10) < 0
trigger10 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger10 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger11 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger12 = Var(51)%10 = 1
trigger12 = StateNo = 7630 || StateNo = 7631
trigger12 = MoveContact
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1020, IfElse(Var(51)%10 = 2, 1010, 1015))

;---------------------------------------------------------------------------
;空中−鳥を落とす(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumExplod(1030) = 0
triggerall = NumExplod(1040) = 0
triggerall = NumExplod(1050) = 0
triggerall = command = "236_x"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1030

;---------------------------------------------------------------------------
;空中−鳥を落とす(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumExplod(1030) = 0
triggerall = NumExplod(1040) = 0
triggerall = NumExplod(1050) = 0
triggerall = command = "236_y"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1040

;---------------------------------------------------------------------------
;空中−鳥を落とす(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumExplod(1030) = 0
triggerall = NumExplod(1040) = 0
triggerall = NumExplod(1050) = 0
triggerall = command = "236_z"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1050, 1040)

;---------------------------------------------------------------------------
;獣を焦がす(小)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = Command = "22_x"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 1300

;獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = helper(1300), StateNo = 1099
triggerall = Command = "22_x"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = 1300

;獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = helper(1301), StateNo = 1099
triggerall = Command = "22_x"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = 1300

;---------------------------------------------------------------------------
;獣を焦がす(中)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = Command = "22_y"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 1310

;獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = helper(1300), StateNo = 1099
triggerall = Command = "22_y"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = 1310

;獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = helper(1301), StateNo = 1099
triggerall = Command = "22_y"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = 1310

;---------------------------------------------------------------------------
;獣を焦がす(EX)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = Command = "22_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = Var(51)%10 = 2
trigger7 = Power >= 1000 || Var(40) > 0
trigger7 = StateNo = 1000
trigger7 = AnimElemTime(8) > 0 && AnimElemTime(11) < 0
trigger8 = Var(51)%10 = 2
trigger8 = Power >= 1000 || Var(40) > 0
trigger8 = StateNo = 1010
trigger8 = AnimElemTime(7) > 0 && AnimElemTime(12) < 0
trigger9 = Var(51)%10 = 2
trigger9 = Power >= 1000 || Var(40) > 0
trigger9 = StateNo = 1210
trigger9 = AnimElemTime(6) > 0 && AnimElemTime(10) < 0
trigger10 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger10 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger11 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger12 = Var(51)%10 = 1
trigger12 = StateNo = 7630 || StateNo = 7631
trigger12 = MoveContact
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1320, 1310)

;獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = helper(1300), StateNo = 1099
triggerall = Command = "22_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = Var(51)%10 = 2
trigger7 = Power >= 1000 || Var(40) > 0
trigger7 = StateNo = 1000
trigger7 = AnimElemTime(8) > 0 && AnimElemTime(11) < 0
trigger8 = Var(51)%10 = 2
trigger8 = Power >= 1000 || Var(40) > 0
trigger8 = StateNo = 1010
trigger8 = AnimElemTime(7) > 0 && AnimElemTime(12) < 0
trigger9 = Var(51)%10 = 2
trigger9 = Power >= 1000 || Var(40) > 0
trigger9 = StateNo = 1210
trigger9 = AnimElemTime(6) > 0 && AnimElemTime(10) < 0
trigger10 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger10 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger11 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1320, 1310)

;獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = helper(1301), StateNo = 1099
triggerall = Command = "22_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = Var(51)%10 = 2
trigger7 = Power >= 1000 || Var(40) > 0
trigger7 = StateNo = 1000
trigger7 = AnimElemTime(8) > 0 && AnimElemTime(11) < 0
trigger8 = Var(51)%10 = 2
trigger8 = Power >= 1000 || Var(40) > 0
trigger8 = StateNo = 1010
trigger8 = AnimElemTime(7) > 0 && AnimElemTime(12) < 0
trigger9 = Var(51)%10 = 2
trigger9 = Power >= 1000 || Var(40) > 0
trigger9 = StateNo = 1210
trigger9 = AnimElemTime(6) > 0 && AnimElemTime(10) < 0
trigger10 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger10 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger11 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1320, 1310)

;---------------------------------------------------------------------------
;空中−獣を焦がす(小)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = Command = "22_x"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1330

;空中−獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = helper(1300), StateNo = 1099
triggerall = Command = "22_x"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1330

;空中−獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = helper(1301), StateNo = 1099
triggerall = Command = "22_x"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1330

;---------------------------------------------------------------------------
;空中−獣を焦がす(中)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = Command = "22_y"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1340

;空中−獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = helper(1300), StateNo = 1099
triggerall = Command = "22_y"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1340

;空中−獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = helper(1301), StateNo = 1099
triggerall = Command = "22_y"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = 1340

;---------------------------------------------------------------------------
;空中−獣を焦がす(EX)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = Command = "22_z"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1350, 1340)

;空中−獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = helper(1300), StateNo = 1099
triggerall = Command = "22_z"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1350, 1340)

;空中−獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = helper(1301), StateNo = 1099
triggerall = Command = "22_z"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1350, 1340)

;---------------------------------------------------------------------------
;獣を焦がす(燃やす)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = (helper(1300), StateNo = [1390, 1391])
triggerall = Command = "22_x" || Command = "22_y" || Command = "22_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 1360

;獣を焦がす(燃やす)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = helper(1301), StateNo = [1390, 1391]
triggerall = Command = "22_x" || Command = "22_y" || Command = "22_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 1360

;---------------------------------------------------------------------------
;月を穿つ(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "214_x"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 1100

;---------------------------------------------------------------------------
;月を穿つ(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "214_y"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 1110

;---------------------------------------------------------------------------
;月を穿つ(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "214_z"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = Var(51)%10 = 2
trigger7 = Power >= 1000 || Var(40) > 0
trigger7 = StateNo = 1000
trigger7 = AnimElemTime(8) > 0 && AnimElemTime(11) < 0
trigger8 = Var(51)%10 = 2
trigger8 = Power >= 1000 || Var(40) > 0
trigger8 = StateNo = 1010
trigger8 = AnimElemTime(7) > 0 && AnimElemTime(12) < 0
trigger9 = Var(51)%10 = 2
trigger9 = Power >= 1000 || Var(40) > 0
trigger9 = StateNo = 1210
trigger9 = AnimElemTime(6) > 0 && AnimElemTime(10) < 0
trigger10 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger10 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger11 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger12 = Var(51)%10 = 1
trigger12 = StateNo = 7630 || StateNo = 7631
trigger12 = MoveContact
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1120, 1110)

;===========================================================================
; シールドバンカー
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "214_a"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501 || StateNo = 7502
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
value = 7630

;---------------------------------------------------------------------------
; シールドカウンター(立)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 1
triggerall = command = "236_a"
triggerall = StateType = S
trigger1 = Anim = 7502
trigger1 = StateNo = 7501 || StateNo = 7502
value = 7600

; シールドカウンター(屈)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 1
triggerall = command = "236_a"
triggerall = StateType = C
trigger1 = Anim = 7512
trigger1 = StateNo = 7501 || StateNo = 7502
value = 7610

; シールドカウンター(空中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 1
triggerall = command = "236_a"
triggerall = StateType = A
trigger1 = Anim = 7522
trigger1 = StateNo = 7501 || StateNo = 7502
value = 7620

;---------------------------------------------------------------------------
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = IfElse(P2Dist X >= 0, 100, 105)
triggerall = Var(59) = 0
triggerall = StateType != A
triggerall = Ctrl
trigger1 = Command = "FF"
trigger2 = Var(51)%10 = 2
trigger2 = Command = "6" && Command = "recovery" || (Command = "b" && Command = "holdfwd" && Command != "holddown" && Command != "holdback")
trigger3 = Var(51)%10 = 2
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)

;バックステップ
[State -1, Run Back]
type = ChangeState
value = IfElse(P2Dist X >= 0, 105, 100)
triggerall = Var(59) = 0
triggerall = Command = "BB"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2)
trigger3 = Var(51)%10 = 2
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger4 = Var(51)%10 = 1
trigger4 = StateNo = 7630 || StateNo = 7631
trigger4 = MoveContact

;バックステップ
[State -1, Run Back]
type = ChangeState
value = IfElse(P2Dist X >= 0, 105, 100)
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = Command = "4" && Command = "recovery" || (Command = "b" && Command = "holdback" && Command != "holddown" && Command != "holdfwd")
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2)
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)

;---------------------------------------------------------------------------
;空中ダッシュ(前)
[State -1, Run Fwd]
type = ChangeState
value = 7100
triggerall = Var(59) = 0
triggerall = Var(15) = 0
triggerall = Command = "FF"
triggerall = StateType = A
triggerall = Pos Y <= IfElse(Var(51)%10 = 2, -33, -5)
trigger1 = Ctrl
ignorehitpause = 1

;空中ダッシュ(前・ActCadenza)
[State -1, Run Fwd]
type = ChangeState
value = 7100
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = Var(15) = 0
triggerall = StateType = A
triggerall = Pos Y <= -33
triggerall = Ctrl
trigger1 = Command = "6" && Command = "recovery"
trigger2 = Command = "b" && Command = "holdfwd" && Command != "holddown" && Command != "holdback"
ignorehitpause = 1

;空中ダッシュ(前)
[State -1, Run Fwd]
type = ChangeState
value = 7100
triggerall = Var(59) = 0
triggerall = Var(15) = 0
triggerall = Command = "FF2"
triggerall = StateType = A
triggerall = Pos Y <= IfElse(Var(51)%10 = 2, -33, -5)
trigger1 = StateNo = [600, 699]
trigger1 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger2 = StateNo = 600
trigger2 = AnimElemTime(4) >= 0
trigger3 = StateNo = 1220
trigger3 = AnimElemTime(19) >= 1
trigger3 = MoveHit
trigger4 = StateNo = 1221
trigger4 = MoveHit
ignorehitpause = 1

;空中ダッシュ(前・ActCadenza)
[State -1, Run Fwd]
type = ChangeState
value = 7100
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = Var(15) = 0
triggerall = (Command = "6" && Command = "recovery") || (command = "b" && Command = "holdfwd" && Command != "holddown" && Command != "holdback")
triggerall = StateType = A
triggerall = Pos Y <= -33
trigger1 = StateNo = [600, 699]
trigger1 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger2 = StateNo = 600
trigger2 = AnimElemTime(4) >= 0
trigger3 = StateNo = 1220
trigger3 = AnimElemTime(19) >= 1
trigger3 = MoveHit
trigger4 = StateNo = 1221
trigger4 = MoveHit
ignorehitpause = 1

;空中ダッシュ(前)
[State -1, Run Fwd]
type = ChangeState
value = 7100
triggerall = Var(59) = 0
triggerall = Var(15) = 0
triggerall = StateType = A
triggerall = Pos Y <= IfElse(Var(51)%10 = 2, -33, -5)
trigger1 = Ctrl
trigger1 = Var(31) = 1
ignorehitpause = 1

;空中ダッシュ(後ろ)
[State -1, Run Fwd]
type = ChangeState
value = 7110
triggerall = Var(59) = 0
triggerall = Var(15) = 0
triggerall = Command = "BB"
triggerall = StateType = A
triggerall = Pos Y <= IfElse(Var(51)%10 = 2, -33, -5)
trigger1 = Ctrl
trigger2 = StateNo = 1220
trigger2 = AnimElemTime(19) >= 1
trigger2 = MoveHit
trigger3 = StateNo = 1221
trigger3 = MoveHit
ignorehitpause = 1

;空中ダッシュ(後ろ・ActCadenza)
[State -1, Run Fwd]
type = ChangeState
value = 7110
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = Var(15) = 0
triggerall = (Command = "4" && Command = "recovery") || command = "b" && Command = "holdback" && Command != "holddown" && Command != "holdfwd"
triggerall = StateType = A
triggerall = Pos Y <= -33
trigger1 = Ctrl
trigger2 = StateNo = 1220
trigger2 = AnimElemTime(19) >= 1
trigger2 = MoveHit
trigger3 = StateNo = 1221
trigger3 = MoveHit
ignorehitpause = 1

;空中ダッシュ(後ろ)
[State -1, Run Fwd]
type = ChangeState
value = 7110
triggerall = Var(59) = 0
triggerall = Var(15) = 0
triggerall = StateType = A
triggerall = Pos Y <= IfElse(Var(51)%10 = 2, -33, -5)
trigger1 = Ctrl
trigger1 = Var(31) = -1
ignorehitpause = 1

;---------------------------------------------------------------------------
;避け
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = Command = "recovery" || Command = "c"
triggerall = Command = "holddown"
triggerall = Command != "holdfwd" && Command != "holdback"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2)
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger4 = StateNo = 200 || StateNo = 400
trigger4 = AnimElemTime(5) >= 1
value = 8000

;---------------------------------------------------------------------------
;投げ(ReACT)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 1
triggerall = StateType != A
triggerall = Command = "z"
triggerall = (Command = "holdfwd" && P2BodyDist X < 6) || (Command = "holdback" && P2BodyDist X < 7)
triggerall = (P2StateType = S) || (P2StateType = C)
triggerall = P2MoveType != H
triggerall = Facing*EnemyNear,Facing = -1
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2)
trigger3 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger3 = StateNo = 7501
value = 800

;---------------------------------------------------------------------------
;投げ(ActCadenza)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(51)%10 = 2
triggerall = StateType != A
triggerall = Command = "x+a" || Command = "c" && Command != "holddown"
triggerall = Command = "holdfwd" || Command = "holdback"
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2)
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501
value = 800

;---------------------------------------------------------------------------
;空中投げ(ReACT)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(28) < 3
triggerall = Var(12) = 0
triggerall = Var(51)%10 = 1
triggerall = StateType = A
triggerall = StateNo != 620
;triggerall = P2StateType = A
;triggerall = P2BodyDist X = [-10,22]
;triggerall = P2BodyDist Y = [-70,30]
triggerall = Command = "z"
triggerall = Command = "holdfwd" || Command = "holdback"
triggerall = !(Command = "holdup" || Command = "holddown")
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = MoveHit = [1, 5]
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = StateNo = 1221
trigger4 = MoveHit
trigger5 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger5 = StateNo = 7501
value = ifelse(P2StateType = A && (P2BodyDist X = [-10,22]) && (P2BodyDist Y = [-70,30]), 810, 620)

;---------------------------------------------------------------------------
;空中投げ(ActCadenza)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(28) < 3
triggerall = Var(51)%10 = 2
triggerall = StateType = A
triggerall = Command = "x+a" || Command = "c"
triggerall = Command = "holdfwd" || Command = "holdback"
;triggerall = P2StateType = A
;triggerall = P2BodyDist X = [-10,30]
;triggerall = P2BodyDist Y = [-50,30]
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = MoveHit = [1, 5]
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = StateNo = 1221
trigger4 = MoveHit
trigger5 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger5 = StateNo = 7501
value = ifelse(P2StateType = A && (P2BodyDist X = [-10,30]) && (P2BodyDist Y = [-50,30]), 810, 7520)

;---------------------------------------------------------------------------
; 開放(ReACT)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(40) = [0,1]
triggerall = Var(51)%10 = 1
triggerall = Power >= IfElse(Var(40) = 0, 1000, 1)
triggerall = Command = "222_a"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2) || (Var(23) = 1 && StateNo = 7610 && Time >= 50)
trigger3 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger3 = StateNo = 7501 || StateNo = 7502
trigger4 = StateNo = 200 || StateNo = 400
trigger4 = AnimElemTime(5) >= 1
trigger5 = Var(51)%10 = 1
trigger5 = StateNo = 7630 || StateNo = 7631
trigger5 = MoveContact
value = 7800

;---------------------------------------------------------------------------
; 開放(ActCadenza)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(40) = [0,1]
triggerall = Var(51)%10 = 2
triggerall = Power >= IfElse(Var(40) = 0, 1000, 1)
triggerall = Command = "x+y+z" || Command = "c" && Command != "holddown" && Command != "holdfwd" && Command != "holdback"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2) || (Var(23) = 1 && StateNo = 7610 && Time >= 50)
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
value = 7800

;--------------------------------------------------------------------------
; サーキットスパーク
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(40) = 1
triggerall = Var(51)%10 = 2
triggerall = Command = "x+y+z" || Command = "b" && Command != "holddown" && Command != "holdfwd" && Command != "holdback"
triggerall = StateType != A
trigger1 = StateNo = [5000, 5100)
trigger2 = StateNo = [150, 153]
value = 8100

;---------------------------------------------------------------------------
; シールド−立
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "a"
triggerall = Command != "holddown"
triggerall = Command != "holdup"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2) || (Var(23) = 1 && StateNo = 7610 && Time >= 50)
trigger3 = Var(51)%10 = 2
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
trigger5 = StateNo = 5120
trigger5 = Time = 27
trigger6 = StateNo = 200 || StateNo = 400
trigger6 = AnimElemTime(5) >= 1
value = 7500

; シールド−屈
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "a"
triggerall = Command = "holddown"
triggerall = Command != "holdup"
triggerall = StateType != A
trigger1 = Ctrl
trigger2 = (StateNo = 100 && Time >= 2) || (Var(23) = 1 && StateNo = 7610 && Time >= 50)
trigger3 = Var(51)%10 = 2
trigger3 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger4 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger4 = StateNo = 7501 || StateNo = 7502
trigger5 = StateNo = 5120
trigger5 = Time = 27
trigger6 = StateNo = 200 || StateNo = 400
trigger6 = AnimElemTime(5) >= 1
value = 7510

; シールド−空中
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "a"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger2 = StateNo = 7501 || StateNo = 7502
trigger3 = StateNo = 1220
trigger3 = AnimElemTime(19) >= 1
trigger3 = MoveHit
trigger4 = StateNo = 1221
trigger4 = MoveHit
trigger5 = StateNo = 600
trigger5 = AnimElemTime(4) >= 1
value = 7520

;===========================================================================
; 立−小
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = Ctrl
trigger2 = StateNo = 200
trigger2 = AnimElemTime(5) >= 1
trigger3 = Var(2) = 0
trigger3 = StateNo = [200, 599]
trigger3 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger4 = Var(2) = 1
trigger4 = StateNo = 200 || StateNo = 400
trigger4 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger5 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger6 = Var(51)%10 = 2
trigger6 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger7 = Var(2) = 0
trigger7 = StateNo = 400
trigger7 = AnimElemTime(5) >= 1
trigger8 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger8 = StateNo = 7501
trigger9 = Var(2) = 0
trigger9 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger9 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger10 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger11 = Var(2) = 0
trigger11 = Var(51)%10 = 1
trigger11 = StateNo = 7630 || StateNo = 7631
trigger11 = MoveContact
value = 200

; 立−中
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(3) = 0
trigger1 = ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 210

; 立−←大
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command = "holdback"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(6) = 0
trigger1 = ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = IfElse(P2Dist X >= 0, 310, 300)

; 立−→大
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(5) = 0
trigger1 = ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = IfElse(P2Dist X >= 0, 300, 310)

; 立−大
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(4) = 0
trigger1 = ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 220

;---------------------------------------------------------------------------
; 屈−小
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 400
trigger2 = AnimElemTime(5) >= 1
trigger3 = Var(7) = 0
trigger3 = StateNo = [200, 599]
trigger3 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger4 = Var(7) = 1
trigger4 = StateNo = 200 || StateNo = 400
trigger4 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger5 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger6 = Var(51)%10 = 2
trigger6 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger7 = Var(7) = 0
trigger7 = StateNo = 200
trigger7 = AnimElemTime(5) >= 1
trigger8 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger8 = StateNo = 7501
trigger9 = Var(7) = 0
trigger9 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger9 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger10 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger11 = Var(7) = 0
trigger11 = Var(51)%10 = 1
trigger11 = StateNo = 7630 || StateNo = 7631
trigger11 = MoveContact
value = 400

; 屈−中
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = Var(8) = 0
trigger1 = ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 410

; 屈−大
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = Var(9) = 0
trigger1 = ctrl
trigger2 = StateNo = [200, 599]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = (StateNo = 100 && Time >= 2) || (StateNo = 7610 && Time >= 50)
trigger4 = Var(51)%10 = 2
trigger4 = StateNo = 101 || (StateNo = 106 && Time >= 2)
trigger5 = StateNo = 200 || StateNo = 400
trigger5 = AnimElemTime(5) >= 1
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
trigger7 = StateNo = 220 || StateNo = 310 || StateNo = 410 || StateNo = 411 || StateNo = 420
trigger7 = (Var(51)%10 = 1 && ((MoveContact = [1,11]) || (MoveReversed = [1,11]))) || (Var(51)%10 = 2 && (MoveContact || MoveReversed))
trigger8 = (StateNo = 221 && (Time = [1,12])) || (StateNo = 311 && AnimElemTime(2) < 0)
trigger9 = Var(51)%10 = 1
trigger9 = StateNo = 7630 || StateNo = 7631
trigger9 = MoveContact
value = 420

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

;ジャンプ−小
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "x"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = StateNo = 600
trigger2 = MoveContact
trigger3 = Var(10) = 0
trigger3 = StateNo = [600, 699]
trigger3 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger4 = StateNo = 600
trigger4 = AnimElemTime(4) >= 1
trigger5 = StateNo = 1220
trigger5 = AnimElemTime(19) >= 1
trigger5 = MoveHit
trigger6 = StateNo = 1221
trigger6 = MoveHit
trigger7 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger7 = StateNo = 7501
value = 600

;ジャンプ−中
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "y"
triggerall = StateType = A
triggerall = Var(11) = 0
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = StateNo = 1220
trigger4 = AnimElemTime(19) >= 1
trigger4 = MoveHit
trigger5 = StateNo = 1221
trigger5 = MoveHit
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
value = 610

;ジャンプ−↓大
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "z"
triggerall = Command = "holddown"
triggerall = Command != "holdback"
triggerall = Command != "holdfwd"
triggerall = StateType = A
triggerall = Var(13) = 0
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = StateNo = 1220
trigger4 = AnimElemTime(19) >= 1
trigger4 = MoveHit
trigger5 = StateNo = 1221
trigger5 = MoveHit
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
value = 700

;ジャンプ−大
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "z"
;triggerall = Command != "holddown"
triggerall = StateType = A
triggerall = Var(12) = 0
trigger1 = Ctrl
trigger2 = StateNo = [600, 699]
trigger2 = (MoveContact = [1, 5]) || (MoveReversed = [1, 5])
trigger3 = StateNo = 600
trigger3 = AnimElemTime(4) >= 1
trigger4 = StateNo = 1220
trigger4 = AnimElemTime(19) >= 1
trigger4 = MoveHit
trigger5 = StateNo = 1221
trigger5 = MoveHit
trigger6 = Anim = IfElse(StateType = S, 7502, IfElse(StateType = C, 7512, 7522))
trigger6 = StateNo = 7501
value = 620

;===========================================================================
;ガード
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Command = "holdback"
triggerall = InGuardDist
trigger1 = Ctrl || (StateNo = 100 && Time >= 2)
trigger2 = Var(51)%10 = 2
trigger2 = StateNo = 101 || (StateNo = 106 && Time >= 2)
value = 120
ctrl = 1

;---------------------------------------------------------------------------
;先行入力(仮構成・妄想段階！)
[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) != 0
Trigger1 = FVar(28) = 0
Trigger2 = StateNo = FVar(27)
Trigger3 = StateNo/100*100 = FVar(27)
FV = 27
Value = 0
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) != 0
Trigger1 = FVar(27) = 100 || FVar(27) = 1000
Trigger1 = Command != "6"
FV = 27
Value = 0
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType != A
TriggerAll = MoveType != H
TriggerAll = Command = "input_FF"
TriggerAll = AnimTime >= -15
Trigger1 = StateNo = 200 || StateNo = 211 || StateNo = 212 || StateNo = 220
Trigger2 = StateNo = 300 || StateNo = 310 || StateNo = 311
Trigger3 = StateNo = 400 || StateNo = 410 || StateNo = 411 || StateNo = 412 || StateNo = 420
Trigger4 = StateNo = 802
Trigger5 = StateNo = 1000 || StateNo = 1005 || StateNo = 1010 || StateNo = 1015 || StateNo = 1020
Trigger6 = StateNo = 1100 || StateNo = 1110 || StateNo = 1120
Trigger7 = StateNo = 1209 || StateNo = 1229
Trigger8 = StateNo = 1301 || StateNo = 1360
Trigger9 = StateNo = 2010
FV = 27
Value = 100
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType != A
TriggerAll = MoveType != H
TriggerAll = Command = "input_FF"
TriggerAll = AnimTime >= -15
Trigger1 = StateNo = 813
FV = 27
Value = 105
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType != A
TriggerAll = MoveType != H
TriggerAll = Command = "input_BB"
TriggerAll = AnimTime >= -15
Trigger1 = StateNo = 200 || StateNo = 211 || StateNo = 212 || StateNo = 220
Trigger2 = StateNo = 300 || StateNo = 310 || StateNo = 311
Trigger3 = StateNo = 400 || StateNo = 410 || StateNo = 411 || StateNo = 412 || StateNo = 420
Trigger4 = StateNo = 802
Trigger5 = StateNo = 1000 || StateNo = 1005 || StateNo = 1010 || StateNo = 1015 || StateNo = 1020
Trigger6 = StateNo = 1100 || StateNo = 1110 || StateNo = 1120
Trigger7 = StateNo = 1209 || StateNo = 1229
Trigger8 = StateNo = 1301 || StateNo = 1360
Trigger9 = StateNo = 2010
FV = 27
Value = 105
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType != A
TriggerAll = MoveType != H
TriggerAll = Command = "input_BB"
TriggerAll = AnimTime >= -15
Trigger1 = StateNo = 813
FV = 27
Value = 100
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType = A
TriggerAll = MoveType != H
TriggerAll = Command = "input_FF"
TriggerAll = AnimTime >= -15
Trigger1 = StateNo = 600 || StateNo = 610 || StateNo = 620
Trigger2 = StateNo = 700
Trigger3 = StateNo = 1030 || StateNo = 1040 || StateNo = 1050
Trigger4 = StateNo = 1330 || StateNo = 1360
FV = 27
Value = 7100
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType = A
TriggerAll = MoveType != H
TriggerAll = Command = "input_BB"
TriggerAll = AnimTime >= -15
Trigger1 = StateNo = 600 || StateNo = 610 || StateNo = 620
Trigger2 = StateNo = 700
Trigger3 = StateNo = 1030 || StateNo = 1040 || StateNo = 1050
Trigger4 = StateNo = 1330 || StateNo = 1360
FV = 27
Value = 7110
IgnoreHitPause = 1

[State -2]
Type = Null;VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType != A
TriggerAll = MoveType != H
TriggerAll = Command = "input_236"
TriggerAll = AnimTime >= -15
Trigger1 = StateNo = 200 || StateNo = 211 || StateNo = 212 || StateNo = 220
Trigger2 = StateNo = 300 || StateNo = 310 || StateNo = 311
Trigger3 = StateNo = 400 || StateNo = 410 || StateNo = 411 || StateNo = 412 || StateNo = 420
Trigger4 = StateNo = 802
Trigger5 = StateNo = 1000 || StateNo = 1010 || StateNo = 1020
Trigger6 = StateNo = 1100 || StateNo = 1110 || StateNo = 1120
Trigger7 = StateNo = 1209 || StateNo = 1229
Trigger8 = StateNo = 1301 || StateNo = 1360
Trigger9 = StateNo = 2010
FV = 27
Value = 1000
IgnoreHitPause = 1

[State -2]
Type = Null;VarSet
TriggerAll = Var(59) = 0
TriggerAll = FVar(27) = 0
TriggerAll = StateType != A
TriggerAll = MoveType != H
TriggerAll = !Ctrl
TriggerAll = Command = "input_214"
TriggerAll = AnimTime >= -10
Trigger1 = StateNo = 813
FV = 27
Value = 1000
IgnoreHitPause = 1

;---------------------------------------------------------------------------
;赤主・檻髪
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(40) > 0
triggerall = NumHelper(2015) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 2000
trigger1 = Command = "z"
value = 2000

;---------------------------------------------------------------------------
;赫訳・紅葉(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1200
trigger1 = Command = "x"
value = 1200

;---------------------------------------------------------------------------
;赫訳・紅葉(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1200
trigger1 = Command = "y"
value = 1210

;---------------------------------------------------------------------------
;赫訳・紅葉(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1200
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1220, 1210)

;---------------------------------------------------------------------------
;鳥を落とす(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1000
trigger1 = Command = "x"
value = IfElse(Var(51)%10 = 2, 1000, 1005)

;---------------------------------------------------------------------------
;鳥を落とす(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1000
trigger1 = Command = "y"
value = IfElse(Var(51)%10 = 2, 1010, 1015)

;---------------------------------------------------------------------------
;鳥を落とす(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1000
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1020, IfElse(Var(51)%10 = 2, 1010, 1015))

;---------------------------------------------------------------------------
;空中−鳥を落とす(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1000
trigger1 = Command = "x"
value = 1030

;---------------------------------------------------------------------------
;空中−鳥を落とす(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = Var(59) = 0
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1000
trigger1 = Command = "y"
value = 1040

;---------------------------------------------------------------------------
;空中−鳥を落とす(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1000
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1050, 1040)

;---------------------------------------------------------------------------
;獣を焦がす(小)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x"
value = 1300

;獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = Helper(1300),StateNo = 1099
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x"
value = 1300

;獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = Helper(1301),StateNo = 1099
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x"
value = 1300

;---------------------------------------------------------------------------
;獣を焦がす(中)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "y"
value = 1310

;獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = Helper(1300),StateNo = 1099
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "y"
value = 1310

;獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = Helper(1301),StateNo = 1099
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "y"
value = 1310

;---------------------------------------------------------------------------
;獣を焦がす(EX)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1320, 1310)

;獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = Helper(1300),StateNo = 1099
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1320, 1310)

;獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = Helper(1301),StateNo = 1099
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1320, 1310)

;---------------------------------------------------------------------------
;空中−獣を焦がす(小)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x"
value = 1330

;空中−獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = Helper(1300),StateNo = 1099
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x"
value = 1330

;空中−獣を焦がす(小)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = Helper(1301),StateNo = 1099
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x"
value = 1330

;---------------------------------------------------------------------------
;空中−獣を焦がす(中)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "y"
value = 1340

;空中−獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = Helper(1300),StateNo = 1099
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "y"
value = 1340

;空中−獣を焦がす(中)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = Helper(1301),StateNo = 1099
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "y"
value = 1340

;---------------------------------------------------------------------------
;空中−獣を焦がす(EX)炎なし
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 0 && NumHelper(1301) = 0
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1350, 1340)

;空中−獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = Helper(1300),StateNo = 1099
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1350, 1340)

;空中−獣を焦がす(EX)炎あり
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = Helper(1301),StateNo = 1099
triggerall = StateType = A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1350, 1340)

;---------------------------------------------------------------------------
;獣を焦がす(燃やす)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1300) = 1
triggerall = Helper(1300),StateNo = [1390,1391]
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x" || Command = "y" || Command = "z"
value = 1360

;獣を焦がす(燃やす)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = NumHelper(1301) = 1
triggerall = Helper(1301),StateNo = [1390,1391]
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1300
trigger1 = Command = "x" || Command = "y" || Command = "z"
value = 1360

;---------------------------------------------------------------------------
;月を穿つ(小)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1100
trigger1 = Command = "x"
value = 1100

;---------------------------------------------------------------------------
;月を穿つ(中)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1100
trigger1 = Command = "y"
value = 1110

;---------------------------------------------------------------------------
;月を穿つ(EX)
[State -1]
type = ChangeState
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 1100
trigger1 = Command = "z"
value = IfElse(((Var(40) = 0 && Power >= 1000) || Var(40) > 0), 1120, 1110)

;===========================================================================
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = IfElse(P2Dist X >= 0, 100, 105)
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 100

;バックステップ
[State -1, Run Back]
type = ChangeState
value = IfElse(P2Dist X >= 0, 105, 100)
triggerall = Var(59) = 0
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = FVar(27) = 105

;---------------------------------------------------------------------------
;空中ダッシュ(前)
[State -1, Run Fwd]
type = ChangeState
value = 7100
triggerall = Var(59) = 0
triggerall = Var(15) = 0
triggerall = StateType = A
triggerall = Pos Y <= IfElse(Var(51)%10 = 2, -33, -5)
trigger1 = Ctrl
trigger1 = FVar(27) = 7100

;空中ダッシュ(後ろ)
[State -1, Run Fwd]
type = ChangeState
value = 7110
triggerall = Var(59) = 0
triggerall = Var(15) = 0
triggerall = StateType = A
triggerall = Pos Y <= IfElse(Var(51)%10 = 2, -33, -5)
trigger1 = Ctrl
trigger1 = FVar(27) = 7110

;===========================================================================
;AI起動ヘルパー
[Statedef 20000]
anim = 20000
ctrl = 0

[State 20000]
type = AssertSpecial
trigger1 = 1
flag = Invisible

[State 20000, Facing]
type = Turn
trigger1 = Facing != Root,Facing

[State 20000, Shift]
type = SelfState
trigger1 = !IsHelper
value = 0

[State 20000, Judgement]
type = VarSet
trigger1 = command = "a" && root,command = "a"
trigger2 = command = "b" && root,command = "b"
trigger3 = command = "c" && root,command = "c"
trigger4 = command = "x" && root,command = "x"
trigger5 = command = "y" && root,command = "y"
trigger6 = command = "z" && root,command = "z"
trigger7 = command = "start" && root,command = "start"
trigger8 = command = "fwd" && root,command = "fwd"
trigger9 = command = "back" && root,command = "back"
trigger10 = command = "up" && root,command = "up"
trigger11 = command = "down" && root,command = "down"
var(59) = -1

[State 20000, Disappear]
type = DestroySelf
triggerall = ishelper
trigger1 = root,var(59) || var(59) = -1
trigger2 = command = "a" && root,command = "a"
trigger3 = command = "b" && root,command = "b"
trigger4 = command = "c" && root,command = "c"
trigger5 = command = "x" && root,command = "x"
trigger6 = command = "y" && root,command = "y"
trigger7 = command = "z" && root,command = "z"
trigger8 = command = "start" && root,command = "start"
trigger9 = command = "fwd" && root,command = "fwd"
trigger10 = command = "back" && root,command = "back"
trigger11 = command = "up" && root,command = "up"
trigger12 = command = "down" && root,command = "down"

[State 20000, AI_ON]
type = VarSet
triggerall = var(59) != -1
triggerall = time > 1
trigger1 = root,command = "a"
trigger2 = root,command = "b"
trigger3 = root,command = "c"
trigger4 = root,command = "x"
trigger5 = root,command = "y"
trigger6 = root,command = "z"
trigger7 = root,command = "start"
trigger8 = root,command = "fwd"
trigger9 = root,command = "back"
trigger10 = root,command = "up"
trigger11 = root,command = "down"
var(59) = 1
