;-| 必殺技 |---------------------------------------------------------------
[Command]
name = "るてんのらせん"
command = ~D,D,D,z
time = 30

[Command]
name = "ひょうがのあらし"
command = ~$F,$D,$B,z
time = 10

[Command]
name = "だんざいのとけい"
command = ~D,B,D,F,z
time = 30

[Command]
name = "イドのつるぎB"
command = ~D,B,D,B,z
time = 20

[Command]
name = "イドのつるぎ"
command = ~D,F,D,F,z
time = 20

[Command]
name = "しっこくのこころ"
command = ~B,D,DB,z
time = 16

[Command]
name = "ぎんのほうだい"
command = ~D,B,z
time = 8

[Command]
name = "あおのほうだい"
command = ~D,F,z
time = 8

[Command]
name = "むげんのそら弱"
command = ~D,F,D,F,a
time = 20

[Command]
name = "むげんのそら中"
command = ~D,F,D,F,b
time = 20

[Command]
name = "むげんのそら強"
command = ~D,F,D,F,c
time = 20

[Command]
name = "りんねのつるぎ"
command = ~$B,$D,$F,b+c
time = 10

[Command]
name = "かいびゃく"
command = ~$B,$D,$F,a+c
time = 10

[Command]
name = "だいきょうそう"
command = ~$B,$D,$F,a+b
time = 10

[Command]
name = "ヴァリアブルハイパーコンボ5"
command = ~$B,$D,$F,x
time = 10

[Command]
name = "ヴァリアブルハイパーコンボ6"
command = ~$B,$D,$F,y
time = 10

[Command]
name = "おもちゃのないふ弱"
command = ~$B,$D,$F,a
time = 10

[Command]
name = "おもちゃのないふ中"
command = ~$B,$D,$F,b
time = 10

[Command]
name = "おもちゃのないふ強"
command = ~$B,$D,$F,c
time = 10

[Command]
name = "ぬし？　あるじ？弱"
command = ~$F,$D,$B,a+b
time = 10

[Command]
name = "ぬし？　あるじ？中"
command = ~$F,$D,$B,b+c
time = 10

[Command]
name = "ぬし？　あるじ？強"
command = ~$F,$D,$B,a+c
time = 10

[Command]
name = "かべのつるぎX"
command = ~$F,$D,$B,x
time = 10

[Command]
name = "かべのつるぎY"
command = ~$F,$D,$B,y
time = 10

[Command]
name = "あるじ？　ぬし？弱"
command = ~$F,$D,$B,a
time = 10

[Command]
name = "あるじ？　ぬし？弱"
command = ~$F,$D,$B,a
time = 10

[Command]
name = "あるじ？　ぬし？中"
command = ~$F,$D,$B,b
time = 10

[Command]
name = "あるじ？　ぬし？強"
command = ~$F,$D,$B,c
time = 10

[Command]
name = "かげのつるぎX"
command = ~F,D,DF,x
time = 15

[Command]
name = "かげのつるぎY"
command = ~F,D,DF,y
time = 15

[Command]
name = "くずれるせかい"
command = ~F,D,DF,a
time = 15

[Command]
name = "あめのつるぎ"
command = ~F,D,DF,b
time = 15

[Command]
name = "こわれるせかい"
command = ~F,D,DF,c
time = 15

[Command]
name = "いましめ弱"
command = ~B,D,DB,a+b
time = 20

[Command]
name = "いましめ中"
command = ~B,D,DB,b+c
time = 20

[Command]
name = "いましめ強"
command = ~B,D,DB,a+c
time = 20

[Command]
name = "あきのつるぎX"
command = ~B,D,DB,x
time = 15

[Command]
name = "あきのつるぎY"
command = ~B,D,DB,y
time = 15

[Command]
name = "かくれんぼ弱"
command = ~B,D,DB,a
time = 15

[Command]
name = "かくれんぼ弱"
command = ~B,D,DB,a
time = 15

[Command]
name = "かくれんぼ中"
command = ~B,D,DB,b
time = 15

[Command]
name = "かくれんぼ強"
command = ~B,D,DB,c
time = 15

[Command]
name = "ヴァリアブルハイパーコンボ3"
command = ~D,DB,B,x
time = 10

[Command]
name = "ヴァリアブルハイパーコンボ4"
command = ~D,DB,B,y
time = 10

[Command]
name = "ゆらめくひかり"
command = ~D,DB,B,a
time = 10

[Command]
name = "いてつくひかり"
command = ~D,DB,B,b
time = 10

[Command]
name = "ぎんのや"
command = ~D,DB,B,c
time = 10

[Command]
name = "ヴァリアブルハイパーコンボ1"
command = ~D,DF,F,x
time = 10

[Command]
name = "ヴァリアブルハイパーコンボ2"
command = ~D,DF,F,y
time = 10

[Command]
name = "まどのそと弱"
command = ~D,DF,F,a
time = 10

[Command]
name = "まどのそと弱"
command = ~D,DF,F,a
time = 10

[Command]
name = "まどのそと中"
command = ~D,DF,F,b
time = 10

[Command]
name = "まどのそと強"
command = ~D,DF,F,c
time = 10

[Command]
name = "ふゆのあめ"
command = ~D,D,b+c
time = 15

[Command]
name = "ふゆのそら"
command = ~D,D,a+b
time = 15

[Command]
name = "ふゆのはなび弱"
command = ~D,D,a
time = 10

[Command]
name = "ふゆのはなび中"
command = ~D,D,b
time = 10

[Command]
name = "ふゆのはなび強"
command = ~D,D,c
time = 10

;-| ２回押し技 |-----------------------------------------------------------
[Command]
name = "FF"     
command = F, F
time = 10

[Command]
name = "BB"     
command = B, B
time = 10

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

;-| ２・３個の同時押し技 |-------------------------------------------------
[Command]
name = "recovery"
command = x+y
time = 1

[Command]
name = "特殊"
command = b+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 = "start"
command = s
time = 1

;-| 押しっぱなし設定（いじらない）-----------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

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

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

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

[Command]
name = "holdz"
command = /$z
time = 1

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

[Command]
name = "dfwd"
command = $DF
time = 5

[Command]
name = "ufwd"
command = $UF
time = 5

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

[Command]
name = "dback"
command = $DB
time = 5

[Command]
name = "uback"
command = $UB
time = 5

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

[Command]
name = "down"     
command = D
time = 1

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

[Command]
name = "スーパージャンプ"
command = ~D,$U
time = 10

[Statedef -1]

;==============================================================================
; ハイパーコンボ
;==============================================================================

;------------------------------------------------------------------------------
;るてんのらせん

[State -1, るてんのらせん]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(5) = 0
triggerall = command = "るてんのらせん"
triggerall = StateType != A
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6000

;------------------------------------------------------------------------------
;だんざいのとけい・あおぞらをとぶとり

[State -1, だんざいのとけい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "だんざいのとけい"
triggerall = StateType != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = ifelse(var(5) > 0,6100,6050)

[State -1, あおぞらをとぶとり・空中]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "だんざいのとけい"
triggerall = StateType = A
triggerall = power >= 1000
triggerall = var(5) > 0
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6100

;------------------------------------------------------------------------------
;ひょうがのあらし・てのひらのひかり・ひかりのつばさ

[State -1, ひょうがのあらし・てのひらのひかり]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ひょうがのあらし"
triggerall = StateType != A
triggerall = power >= 1000
triggerall = var(5) = 0
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6030

[State -1, てのひらのひかり]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ひょうがのあらし"
triggerall = StateType != A
triggerall = power >= 3000
triggerall = var(5) > 0
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6080

[State -1, ひょうがのあらし・ひかりのつばさ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ひょうがのあらし"
triggerall = StateType = A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = ifelse(var(5) > 0,6070,6031)

;------------------------------------------------------------------------------
;イドのつるぎ・わくせいのいのり・ななつえだのほうけん・きせきのうた

[State -1, イドのつるぎ・きせきのうた]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "イドのつるぎ"
triggerall = StateType != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = ifelse(var(5) > 0,6110,6020)

[State -1, イドのつるぎ・ななつえだのほうけん]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "イドのつるぎB"
triggerall = StateType != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = ifelse(var(5) > 0,6090,6022)

[State -1, わくせいのいのり]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "イドのつるぎ"
triggerall = StateType = A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6024

;------------------------------------------------------------------------------
;しっこくのこころ

[State -1, しっこくのこころ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "しっこくのこころ"
triggerall = StateType != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6060

;------------------------------------------------------------------------------
;ぎんのほうだい

[State -1, ぎんのほうだい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ぎんのほうだい"
triggerall = StateType != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6040

[State -1, ぎんのほうだい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ぎんのほうだい"
triggerall = StateType = A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6042

;------------------------------------------------------------------------------
;あおのほうだい

[State -1, あおのほうだい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "あおのほうだい"
triggerall = StateType != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6010

[State -1, あおのほうだい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "あおのほうだい"
triggerall = StateType = A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [1000,1999]) && (stateno != [1050,1059]) && (var(55)/1000000%10 = 1)
value = 6012

;==============================================================================
; 必殺技
;==============================================================================

;------------------------------------------------------------------------------
;むげんのそら

[State -1, むげんのそら]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "むげんのそら弱"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1110

[State -1, むげんのそら]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "むげんのそら中"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1111

[State -1, むげんのそら]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "むげんのそら強"
triggerall = StateType != A
triggerall = NumHelper(11121) < 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1112

[State -1, むげんのそら]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "むげんのそら弱"
triggerall = StateType = A
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1113

[State -1, むげんのそら]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "むげんのそら中"
triggerall = StateType = A
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1114

[State -1, むげんのそら]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "むげんのそら強"
triggerall = StateType = A
triggerall = NumHelper(11121) < 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1115

;------------------------------------------------------------------------------
;おもちゃのないふ・りんねのつるぎ

[State -1, りんねのつるぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "りんねのつるぎ"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1140

[State -1, だいきょうそう]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "だいきょうそう"
triggerall = StateType != A
triggerall = NumHelper(111140) > 0
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1141

[State -1, だいきょうそう]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "だいきょうそう"
triggerall = StateType = A
triggerall = NumHelper(111140) > 0
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1142

[State -1, かいびゃく]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "かいびゃく"
triggerall = StateType != A
triggerall = NumHelper(111140) > 0
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1143

[State -1, かいびゃく]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "かいびゃく"
triggerall = StateType = A
triggerall = NumHelper(111140) > 0
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1144

[State -1, おもちゃのないふ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "りんねのつるぎ"
triggerall = StateType = A
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1150

[State -1, おもちゃのないふ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "おもちゃのないふ弱"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1020

[State -1, おもちゃのないふ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "おもちゃのないふ中"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1021

[State -1, おもちゃのないふ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "おもちゃのないふ強"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1022

;------------------------------------------------------------------------------
;あるじ？　ぬし？・ぬし？　あるじ？

[State -1, ぬし？　あるじ？]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ぬし？　あるじ？弱"
triggerall = StateType != A
triggerall = Numhelper(11701) < 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1170

[State -1, ぬし？　あるじ？]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ぬし？　あるじ？中"
triggerall = StateType != A
triggerall = Numhelper(11711) < 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1171

[State -1, ぬし？　あるじ？]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ぬし？　あるじ？強"
triggerall = StateType != A
triggerall = Numhelper(11721) < 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1172

[State -1, あるじ？　ぬし？]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "あるじ？　ぬし？弱"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1030

[State -1, あるじ？　ぬし？]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "あるじ？　ぬし？中"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1031

[State -1, あるじ？　ぬし？]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "あるじ？　ぬし？強"
triggerall = StateType != A
triggerall = Numhelper(110311) < 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1032

;------------------------------------------------------------------------------
;かくれんぼ・いましめ

[State -1, いましめ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "いましめ弱"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,630])
value = 1180

[State -1, いましめ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "いましめ中"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,630])
value = 1181

[State -1, いましめ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "いましめ強"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,630])
value = 1182

[State -1, かくれんぼ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "かくれんぼ弱"
trigger1 = ctrl
trigger2 = (stateno = [200,630])
value = 1050

[State -1, かくれんぼ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "かくれんぼ中"
trigger1 = ctrl
trigger2 = (stateno = [200,630])
value = 1051

[State -1, かくれんぼ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "かくれんぼ強"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,630])
value = 1052

[State -1, かくれんぼ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "かくれんぼ強"
triggerall = StateType = A
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1053

;------------------------------------------------------------------------------
;くずれるせかい・あめのつるぎ・こわれるせかい

[State -1, くずれるせかい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "くずれるせかい"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1000

[State -1, あめのつるぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "あめのつるぎ"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1001

[State -1, こわれるせかい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "こわれるせかい"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1002

;---------------------------------------------------------------------------
;ちえのき・はじまりのき

[State -1, ちえのき]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holddown"
triggerall = (command = "holdfwd") || (command = "holdback")
triggerall = command = "特殊"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1122

[State -1, ちえのき（派生）]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdfwd"
triggerall = command = "a"
triggerall = statetype != A
trigger1 = (stateno = [1120,1121]) && Time > 12
value = 1122

[State -1, はじまりのき]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = (command = "holdfwd") || (command = "holdback")
triggerall = command = "特殊"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1120

[State -1, そらのあお]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdfwd"
triggerall = command = "a"
triggerall = statetype != A
trigger1 = (stateno = 1122) && Time > 7
value = 1134

[State -1, つきのぎん]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdback"
triggerall = command = "a"
triggerall = statetype != A
trigger1 = (stateno = [1120,1121]) && Time > 12
trigger2 = (stateno = 1122) && Time > 7
value = 1135

[State -1, たいきのしょうけい]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdfwd"
triggerall = command = "b"
triggerall = statetype != A
trigger1 = (stateno = [1120,1121]) && Time > 12
trigger2 = (stateno = 1122) && Time > 7
value = 1130

[State -1, だいいちのかぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdback"
triggerall = command = "b"
triggerall = statetype != A
trigger1 = (stateno = [1120,1121]) && Time > 12
trigger2 = (stateno = 1122) && Time > 7
value = 1132

[State -1, ノアのきおく]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdfwd"
triggerall = command = "c"
triggerall = statetype != A
trigger1 = (stateno = [1120,1121]) && Time > 12
trigger2 = (stateno = 1122) && Time > 7
value = 1133

;------------------------------------------------------------------------------
;ゆらめくひかり・いてつくひかり・ぎんのや・たいえん・けんようじゅのもり

[State -1, けんようじゅのもり]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ぎんのや"
triggerall = StateType = A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1200

[State -1, ゆらめくひかり]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ゆらめくひかり"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1080

[State -1, いてつくひかり]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "いてつくひかり"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1081

[State -1, ゆらめくひかり]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ぎんのや"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1082

[State -1, ゆらめくひかり（空中）]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ゆらめくひかり"
triggerall = StateType = A
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1090

[State -1, いてつくひかり（空中）]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "いてつくひかり"
triggerall = StateType = A
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1091

;------------------------------------------------------------------------------
;かげのつるぎ

[State -1, かげのつるぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "かげのつるぎX"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 7120

;------------------------------------------------------------------------------
;しろのつるぎ

[State -1, しろのつるぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ヴァリアブルハイパーコンボ1"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 7100

[State -1, しろのつるぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ヴァリアブルハイパーコンボ1"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 7101

[State -1, しろのつるぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ヴァリアブルハイパーコンボ2"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 7110

[State -1, しろのつるぎ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ヴァリアブルハイパーコンボ2"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 7111

;------------------------------------------------------------------------------
;まどのそと

[State -1, まどのそと]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "まどのそと弱"
triggerall = StateType != A
triggerall = ((NumHelper(11001) < 1) && (var(37)%10 = 1)) || (var(37)%10 = 0)
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1100

[State -1, まどのそと]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "まどのそと中"
triggerall = StateType != A
triggerall = ((NumHelper(11001) < 1) && (var(37)%10 = 1)) || (var(37)%10 = 0)
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1101

[State -1, まどのそと]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "まどのそと強"
triggerall = StateType != A
triggerall = ((NumHelper(11001) < 1) && (var(37)%10 = 1)) || (var(37)%10 = 0)
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1103

[State -1, まどのそと]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "まどのそと弱"
triggerall = StateType = A
triggerall = ((NumHelper(11001) < 1) && (var(37)%10 = 1)) || (var(37)%10 = 0)
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1104

[State -1, まどのそと]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "まどのそと中"
triggerall = StateType = A
triggerall = ((NumHelper(11001) < 1) && (var(37)%10 = 1)) || (var(37)%10 = 0)
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1105

[State -1, まどのそと]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "まどのそと強"
triggerall = StateType = A
triggerall = ((NumHelper(11001) < 1) && (var(37)%10 = 1)) || (var(37)%10 = 0)
trigger1 = ctrl
trigger2 = (stateno = [600,630])
value = 1107

;------------------------------------------------------------------------------
;ふゆのはなび・ふゆのそら・ふゆのあめ

[State -1, ふゆのあめ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ふゆのあめ"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1164

[State -1, ふゆのそら]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ふゆのそら"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1163

[State -1, ふゆのはなび]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ふゆのはなび弱"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1160

[State -1, ふゆのはなび]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ふゆのはなび中"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1161

[State -1, ふゆのはなび]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "ふゆのはなび強"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 1162

;==============================================================================
; 特殊行動
;==============================================================================

;------------------------------------------------------------------------------
;ダッシュ

[State -1, ダッシュ]
type = ChangeState
triggerall = var(59) != 1
trigger1 = command = "FF"
trigger1 = command != "holdz"
trigger1 = statetype = S
trigger1 = ctrl
value = 100

;------------------------------------------------------------------------------
;透明ダッシュ

[State -1, 透明ダッシュ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "FF"
triggerall = command = "holdz"
triggerall = statetype = S
trigger1 = ctrl
trigger1 = (stateno != [4090,4096])
trigger2 = stateno = 6001
value = ifelse(var(5) > 0,4095,4090)

;------------------------------------------------------------------------------
;バックステップ

[State -1, バックステップ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "BB"
triggerall = statetype = S
trigger1 = ctrl
value = 105

;------------------------------------------------------------------------------
;前方空中ダッシュ

[State -1, 前方空中ダッシュ]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(1) < var(34)
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl
value = 4000

;------------------------------------------------------------------------------
;後方空中ダッシュ

[State -1, 後方空中ダッシュ]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(1) < var(34)
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl
value = 4010

;---------------------------------------------------------------------------
;立ちアドバンシングガード

[State -1, 立ちアドバンシングガード]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(55)%10 = 1
triggerall = command = "z"
trigger1 = (stateno = 150) || (stateno = 151)
value = 4050

;---------------------------------------------------------------------------
;しゃがみアドバンシングガード

[State -1, しゃがみアドバンシングガード]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(55)%10 = 1
triggerall = command = "z"
trigger1 = (stateno = 152) || (stateno = 153)
value = 4060

;---------------------------------------------------------------------------
;空中アドバンシングガード

[State -1, 空中アドバンシングガード]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(55)%10 = 1
triggerall = command = "z"
trigger1 = (stateno = 154) || (stateno = 155)
value = 4070

;---------------------------------------------------------------------------
;スーパージャンプ

[State -1, スーパージャンプ]
type = ChangeState
triggerall = var(59) != 1
triggerall = (var(55)/10000000%10 = 1)
triggerall = command = "スーパージャンプ"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 4080

[State -1, スーパージャンプ]
type = ChangeState
triggerall = var(59) != 1
triggerall = (var(55)/10000000%10 = 1)
triggerall = command = "スーパージャンプ"
triggerall = command = "holdfwd"
triggerall = command != "holdback"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 4081

[State -1, スーパージャンプ]
type = ChangeState
triggerall = var(59) != 1
triggerall = (var(55)/10000000%10 = 1)
triggerall = command = "スーパージャンプ"
triggerall = command != "holdfwd"
triggerall = command = "holdback"
triggerall = StateType != A
trigger1 = ctrl
trigger2 = (stateno = [200,420])
value = 4082

;------------------------------------------------------------------------------
;二段ジャンプ

[State -1, 二段ジャンプ]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "up"
triggerall = var(2) < var(35)
trigger1 = (stateno = [600,630])
trigger2 = (stateno = 50) && (time > 8)
trigger3 = (stateno = 700) && (time > 2)
trigger4 = (stateno = 4080) && (time > 3)
trigger5 = (stateno = 4081) && (time > 3)
trigger6 = (stateno = 4082) && (time > 3)
value = 45

;------------------------------------------------------------------------------
;ジャンプキャンセル

[State -1, ジャンプキャンセル]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdup"
trigger1 = (stateno = 1134) && (var(16) = 1)
value = 40
ignorehitpause = 1

;------------------------------------------------------------------------------
;急降下

[State -1, 急降下]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "DD"
triggerall = statetype = A
triggerall = stateno != 4100
trigger1 = ctrl
value = 4100
ignorehitpause = 1

;==============================================================================
; 通常技
;==============================================================================

;---------------------------------------------------------------------------
;立ち弱

[State -1, 立ち弱]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1)
trigger3 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 200)
value = 200

;---------------------------------------------------------------------------
;立ち中（近距離）

[State -1, 立ち中]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = ceil(P2BodyDist X) <= 20
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 400) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 210) && (stateno != 215)
value = 210

;---------------------------------------------------------------------------
;立ち中（遠距離）

[State -1, 立ち中]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger1 = ceil(P2BodyDist X) > 25
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 210) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = 400) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger5 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 215) && (stateno != 210)
value = 215

;---------------------------------------------------------------------------
;立ち強

[State -1, 立ち強]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 210) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = 215) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger5 = (stateno = 400) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger6 = (stateno = 410) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger7 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 220)
value = 220

;---------------------------------------------------------------------------
;つかみ

[State -1, つかみ]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(5) > 0
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 210) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = 215) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger5 = (stateno = 220) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger6 = (stateno = 400) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger7 = (stateno = 410) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger8 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 420)
value = 6001

;---------------------------------------------------------------------------
;屈み弱

[State -1, 屈み弱]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 400) && (var(16) = 1)
trigger4 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 400)
value = 400

;---------------------------------------------------------------------------
;屈み中

[State -1, 屈み中]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 210) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = 215) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger5 = (stateno = 400) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger6 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 410)
value = 410

;---------------------------------------------------------------------------
;屈み強

[State -1, 屈み強]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 210) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = 215) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger5 = (stateno = 220) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger6 = (stateno = 400) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger7 = (stateno = 410) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger8 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 420)
value = 420

;---------------------------------------------------------------------------
;つかみ

[State -1, つかみ]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(5) > 0
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 210) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = 215) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger5 = (stateno = 220) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger6 = (stateno = 400) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger7 = (stateno = 410) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger8 = (stateno = [200,420]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 420)
value = 6001

;---------------------------------------------------------------------------
;空中弱

[State -1, 空中弱]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (var(16) = 1)
trigger3 = (stateno = [600,630]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 600)
value = 600

;---------------------------------------------------------------------------
;空中中

[State -1, 空中中]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = [600,630]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 610)
value = 610

;---------------------------------------------------------------------------
;とんでって

[State -1, 空中強]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "c"
triggerall = command = "holdfwd"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 610) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = [600,630]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 630)
value = 630

;---------------------------------------------------------------------------
;空中つかみ

[State -1, 空中強]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(5) > 0
triggerall = command = "z"
triggerall = command = "holdfwd"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 610) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = [600,630]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1)
value = 6002

;---------------------------------------------------------------------------
;空中強

[State -1, 空中強]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "c"
triggerall = command != "holdfwd"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 610) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = [600,630]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1) && (stateno != 620)
value = 620

;---------------------------------------------------------------------------
;空中つかみ

[State -1, 空中強]
type = ChangeState
triggerall = var(59) != 1
triggerall = var(5) > 0
triggerall = command = "z"
triggerall = command != "holdfwd"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger3 = (stateno = 610) && (var(16) = 1) && (var(55)/100000%10 = 1)
trigger4 = (stateno = [600,630]) && (var(16) = 1) && (var(55)/100000%10 = 1) && (var(54)/100%10 = 1)
value = 6002

;===========================================================================
;===========================================================================
; 射撃コマンド
;===========================================================================
;===========================================================================

;---------------------------------------------------------------------------
;射撃（X+Y）

[State -1, 射撃（X+Y)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = command = "recovery"
triggerall = StateType = S
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7005

;---------------------------------------------------------------------------
;射撃（4+X）

[State -1, 射撃（4+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = command = "holdback"
triggerall = command = "x"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7001

;---------------------------------------------------------------------------
;射撃（6+X）

[State -1, 射撃（6+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = command = "holdfwd"
triggerall = command = "x"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7002

;---------------------------------------------------------------------------
;射撃（X）

[State -1, 射撃（X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "x"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7000

;---------------------------------------------------------------------------
;射撃（1+X）

[State -1, 射撃（1+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holddown"
triggerall = command = "holdback"
triggerall = command = "x"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7011

;---------------------------------------------------------------------------
;射撃（3+X）

[State -1, 射撃（3+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holddown"
triggerall = command = "holdfwd"
triggerall = command = "x"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7012

;---------------------------------------------------------------------------
;射撃（2+X）

[State -1, 射撃（2+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holddown"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "x"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7010

;---------------------------------------------------------------------------
;射撃（7+X）

[State -1, 射撃（7+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdback"
triggerall = command = "x"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [7020,7029]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7050,7059]) && (AnimElemTime(4) > 0) && (var(55)/1000%10 = 1)
value = 7021

;---------------------------------------------------------------------------
;射撃（9+X）

[State -1, 射撃（9+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdfwd"
triggerall = command = "x"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [7020,7029]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7050,7059]) && (AnimElemTime(4) > 0) && (var(55)/1000%10 = 1)
value = 7022

;---------------------------------------------------------------------------
;射撃（8+X）

[State -1, 射撃（8+X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "x"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [7020,7029]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7050,7059]) && (AnimElemTime(4) > 0) && (var(55)/1000%10 = 1)
value = 7020

;---------------------------------------------------------------------------
;射撃（Y）

[State -1, 射撃（X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = command = "holdback"
triggerall = command = "y"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7031

;---------------------------------------------------------------------------
;射撃（Y）

[State -1, 射撃（X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = command = "holdfwd"
triggerall = command = "y"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7032

;---------------------------------------------------------------------------
;射撃（Y）

[State -1, 射撃（X)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "y"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7030

;---------------------------------------------------------------------------
;射撃（1+Y）

[State -1, 射撃（1+Y)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holddown"
triggerall = command = "holdback"
triggerall = command = "y"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7041

;---------------------------------------------------------------------------
;射撃（3+Y）

[State -1, 射撃（3+Y)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holddown"
triggerall = command = "holdfwd"
triggerall = command = "y"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7042

;---------------------------------------------------------------------------
;射撃（2+Y）

[State -1, 射撃（2+Y)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holddown"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "y"
triggerall = StateType != A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [200,420])
trigger3 = (stateno = [7000,7019]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7030,7049]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
value = 7040

;---------------------------------------------------------------------------
;射撃（7+Y）

[State -1, 射撃（7+Y)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdback"
triggerall = command = "y"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [7020,7029]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7050,7059]) && (AnimElemTime(4) > 0) && (var(55)/1000%10 = 1)
value = 7051

;---------------------------------------------------------------------------
;射撃（9+Y）

[State -1, 射撃（9+Y)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command = "holdfwd"
triggerall = command = "y"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [7020,7029]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7050,7059]) && (AnimElemTime(4) > 0) && (var(55)/1000%10 = 1)
value = 7052

;---------------------------------------------------------------------------
;射撃（8+Y）

[State -1, 射撃（8+Y)]
type = ChangeState
triggerall = var(59) != 1
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "y"
triggerall = StateType = A
triggerall = var(37)/1000%10 = 1
trigger1 = ctrl
trigger2 = (stateno = [600,630])
trigger3 = (stateno = [7020,7029]) && (AnimElemTime(3) > 0) && (var(55)/1000%10 = 1)
trigger4 = (stateno = [7050,7059]) && (AnimElemTime(4) > 0) && (var(55)/1000%10 = 1)
value = 7050
