;------------------------------------------------------------------------------
;-| ボタンリマップ（ボタンコンフィグ）|---------------------------------------- 第１部

[Remap]
x = x      ;Ｘボタンの入力判定を実際に押すボタンに割り当てる。
y = y      ;Ｙボタン　　　　　　　　　〃
z = z      ;Ｚボタン　　　　　　　　　〃
a = a      ;Ａボタン　　　　　　　　　〃
b = b      ;Ｂボタン　　　　　　　　　〃
c = c      ;Ｃボタン　　　　　　　　　〃
s = s      ;スタートボタン　　　　　　〃

;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;-| デフォルト設定 |----------------------------------------------------------- 第２部
[Defaults]
command.time = 15
command.buffer.time = 8 
;============================================================================== 第３部
; コマンド定義パート（入力キーを設定する）
;==============================================================================

;------------------------------------------------------------------------------
;-| 超必殺技 |-----------------------------------------------------------------

[Command]
name = "BlackBox"
command = ~D,D,z
time = 20

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

[Command]
name = "ShadowsAsguld"
command = ~D, DF, F, D, DF, F, a
time = 20

[Command]
name = "Darenimukatte"
command = ~D, DB, B, D, DB, B, x;~F, D, DF, F, D, DF, x
time = 20

[Command]
name = "Youti"
command = ~D, DB, B, D, DB, B, y
time = 20

[Command]
name = "Summon Zonmbie"
command = ~D,F,D,B,z
time = 20

;------------------------------------------------------------------------------
;-| 必殺技 |-------------------------------------------------------------------

[Command]
name = "upper_x"
command = ~F, D, DF, x

[Command]
name = "upper_y"
command = ~F, D, DF, y

[Command]
name = "upper_xy"
command = ~F, D, DF, x+y

[Command]
name = "QCF_x"
command = ~D, DF, F, x

[Command]
name = "QCF_y"
command = ~D, DF, F, y

[Command]
name = "QCF_a"
command = ~D, DF, F, a

[Command]
name = "QCF_b"
command = ~D, DF, F, b

[Command]
name = "QCF_c"
command = ~D, DF, F, c

[Command]
name = "QCF_xy"
command = ~D, DF, F, x+y

[Command]
name = "QCB_x"
command = ~D, DB, B, x

[Command]
name = "QCB_y"
command = ~D, DB, B, y

[Command]
name = "QCB_a"
command = ~D, DB, B, a

[Command]
name = "QCB_b"
command = ~D, DB, B, b

[Command]
name = "QCB_xy"
command = ~D, DB, B, x+y

[Command]
name = "FF_ab"
command = F, F, a+b

[Command]
name = "board"
command = ~D, DF, F, a

[Command]
name = "board"
command = ~D, DF, F, b

[Command]
name = "214_b"
command = ~D,DB,B,b

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

;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------

[Command]
name = "FF"       ;必須コマンド名
command = F, F
time = 10

[Command]
name = "BB"       ;必須コマンド名
command = B, B
time = 10

;------------------------------------------------------------------------------
;-| 同時押し |-----------------------------------------------------------------

[Command]
name = "recovery" ;必須コマンド名
command = x+y
time = 1

;------------------------------------------------------------------------------
;-| 方向キー＋ボタン |---------------------------------------------------------

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

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

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

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

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

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

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

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

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

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

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

;------------------------------------------------------------------------------
;-| ボタン単発 |---------------------------------------------------------------

[Command]
name = "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 = "hold_a"
command = /a

[Command]
name = "hold_b"
command = /b

[Command]
name = "hold_c"
command = /c

[Command]
name = "hold_x"
command = /x

[Command]
name = "hold_y"
command = /y

[Command]
name = "hold_z"
command = /z
;------------------------------------------------------------------------------
;-| 方向キー |-----------------------------------------------------------------

[Command]
name = "holdfwd"   ;必須コマンド名
command = /$F
time = 1

[Command]
name = "holdback"  ;必須コマンド名
command = /$B
time = 5

[Command]
name = "holdup"    ;必須コマンド名
command = /$U
time = 1

[Command]
name = "holddown"  ;必須コマンド名
command = /$D
time = 5

;============================================================================== 第４部
; ステートエントリーパート（技などを出せるようにするための条件を設定）
;==============================================================================

[Statedef -1]

;==============================================================================
; 超必殺技
;==============================================================================
[State -1, 影箱]
type = ChangeState
value = 6000
triggerall = command = "BlackBox" 
triggerall = power >= 3000  
triggerall = statetype != A 
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = ctrl
;------------------------------------------------------------------------------

[State -1, 誰に向かって口聞いてやがんだ！]
type = ChangeState
value = 6200
triggerall = command = "Darenimukatte" 
triggerall = power >= 1000  
triggerall = statetype != A 
triggerall = !IsHelper 
trigger1 = ctrl

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

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

;[State -1, 角刀影]
;type = ChangeState
;value = 6300
;triggerall = command = "TsunoTokage"
;triggerall = power >= 1000
;triggerall = !IsHelper 
;trigger1 = statetype = S
;trigger1 = ctrl
;trigger2 = statetype != A
;trigger2 = hitdefattr = SC, NA, SA, HA
;trigger2 = stateno != [3000,3050)
;trigger2 = movecontact
;trigger3 = (StateNo = 1300) && (Time = [12,38]) ;ちょっとこ丸が追加

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

[State -1, 夜討ち]
type = ChangeState
value = 6400
triggerall = command = "Youti" 
triggerall = power >= 2000  
triggerall = statetype != A 
triggerall = !IsHelper 
trigger1 = ctrl


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

[State -1, ゾンビ召喚]
type = ChangeState
value = 6500
triggerall = command = "Summon Zonmbie" 
triggerall = power >= 2000  
triggerall = statetype != A 
triggerall = !IsHelper 
trigger1 = ctrl


;[State -1, 影の集合地];ゲージレベル3
;type = ChangeState
;value = 300
;triggerall = command = "ShadowsAsguld"
;triggerall = power >= 3000
;trigger1 = statetype = S
;trigger1 = ctrl
;trigger2 = statetype != A
;trigger2 = hitdefattr = SC, NA, SA, HA
;trigger2 = stateno != [3000,3050)
;trigger2 = movecontact
;trigger3 = (StateNo = 1300) && (Time = [12,38]) ;ちょっとこ丸が追加

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


[State -1, 変数の例１];必殺技の発生条件リセット
type = VarSet
trigger1 = 1
var(1) = 0 ;変数用パラメータの記述方法その１（その２は「板投げ」のステートにて）

[State -1, 変数の例２];必殺技の発生条件をチェック
type = VarSet
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
var(1) = 1

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


;------------------------------------------------------------------------------
;昇竜系

[State -1, 影法師腕(手前下)]
type = ChangeState
value = 1210
triggerall = command = "upper_x"
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = var(1)
trigger1 = NumHelper(1210) < 1
trigger2 = NumHelper(1210) < 1
trigger2 = (stateno = 240) && time > 18
trigger3 = NumHelper(1210) < 1
trigger3 = (stateno = 200) && time > 18
trigger4 = Stateno = 234
trigger5 = Stateno = 244

[State -1, 影法師腕(奥下)]
type = ChangeState
value = 1220
triggerall = command = "upper_y"
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = var(1)
trigger1 = NumHelper(1221) < 1
trigger2 = NumHelper(1210) < 1
trigger2 = (stateno = 240) && time > 18
trigger3 = NumHelper(1210) < 1
trigger3 = (stateno = 200) && time > 18
trigger4 = Stateno = 234
trigger5 = Stateno = 244


;------------------------------------------------------------------------------
;欠片蝙蝠、D,DF,F

[State -1, 欠片蝙蝠]
type = ChangeState
value = 1000
triggerall = command = "QCF_a"
triggerall = !IsHelper 
triggerall = var(11) >= 15
triggerall = Numhelper(6000) = 0
trigger1 = var(1)
;trigger1 = NumHelper(1000) < 1


[State -1, 欠片蝙蝠]
type = ChangeState
value = 1010
triggerall = command = "QCF_b"
triggerall = !IsHelper 
triggerall = var(11) >= 15
triggerall = Numhelper(6000) = 0
trigger1 = var(1)
;trigger1 = NumHelper(1000) < 1


;キャンセル欠片蝙蝠制御

[State -1, 欠片蝙蝠]
type = ChangeState
value = 3500
triggerall = command = "QCF_a"
triggerall = statetype = S
triggerall = var(11) >= 25
triggerall = !IsHelper 
trigger1 = stateno = 200
trigger4 = NumHelper(200) = 1
trigger2 = (stateno = 230)||(stateno = 235)
trigger2 = NumHelper(230) = 1
trigger3 = (stateno = 240)||(stateno = 245)
trigger3 = NumHelper(240) = 1
trigger4 = stateno = 1210
trigger4 = NumHelper(1210) = 1
trigger5 = stateno = 1220
trigger5 = NumHelper(1220) = 1

[State -1, 影法師変化]
type = ChangeState
value =212
triggerall = command = "QCF_a"
triggerall = IsHelper(200)
triggerall = root,var(12) = 1
trigger1 =stateno = 202

[State -1, 影法師変化]
type = ChangeState
value =203
triggerall = command = "QCF_a"
triggerall = IsHelper(200)
triggerall = root,var(12) = 1
trigger1 =stateno = 201

[State -1, 影法師(下段)変化]
type = ChangeState
value =280
triggerall = IsHelper(230)
;triggerall = parent,command = "QCF_a"
triggerall = parent,var(12) = 1
trigger1 =stateno = 231

[State -1, 影法師(中段)変化]
type = ChangeState
value =281
triggerall = ishelper
;triggerall = parent,command = "QCF_a"
triggerall = parent,var(12) = 1
trigger1 = IsHelper(240)
trigger1 =stateno = 241
trigger2 = IsHelper(245)
trigger2 =stateno = 246
trigger3 = (IsHelper(240))||(isHelper(230))
trigger3 =(stateno = 249 )||(stateno = 247)
trigger4 = (IsHelper(230))||(isHelper(235))
trigger4 =(stateno = 236 )||(stateno = 238)
trigger5 = (IsHelper(230))||(Ishelper(235))
trigger5 = (stateno = 251)|| (stateno = 252)||(stateno = 254)
trigger6 = (IsHelper(240))||(IsHelper(245))
trigger6 = (stateno = 255)||(stateno = 256)

[State -1, 影法師腕(手前)変化]
type = ChangeState
value =1213
triggerall = command = "QCF_a"
triggerall = IsHelper(1210)
triggerall = parent,var(12) = 1
trigger1 =stateno = 1211

[State -1, 影法師腕(奥）変化]
type = ChangeState
value =1223
triggerall = command = "QCF_a"
triggerall = IsHelper(1220)
triggerall = parent,var(12) = 1
trigger1 =stateno = 1221

[State -1, 欠片蝙蝠]
type = ChangeState
value = 3500
triggerall = command = "QCF_b"
triggerall = statetype = S
triggerall = var(11) >= 25
triggerall = !IsHelper 
trigger1 = stateno = 200
trigger2 = (stateno = 230)||(stateno = 235)
trigger3 = (stateno = 240)||(stateno = 245)
trigger4 = stateno = 1210
trigger5 = stateno = 1220

[State -1, 影法師変化]
type = ChangeState
value =212
triggerall = command = "QCF_b"
triggerall = IsHelper(200)
triggerall = root,var(12) = 1
trigger1 =stateno = 202

[State -1, 影法師変化]
type = ChangeState
value =204
triggerall = command = "QCF_b"
triggerall = IsHelper(200)
triggerall = root,var(12) = 1
trigger1 =stateno = 201

[State -1, 影法師(下段)変化]
type = ChangeState
value =280
triggerall = IsHelper(230)
triggerall = parent,command = "QCF_b"
triggerall = parent,var(12) = 1
trigger1 =stateno = 231

[State -1, 影法師(中段)変化]
type = ChangeState
value =281
triggerall = IsHelper
triggerall = parent,command = "QCF_b"
triggerall = parent,var(12) = 1
trigger1 = IsHelper(240)
trigger1 =stateno = 241
trigger2 = IsHelper(245)
trigger2 =stateno = 246
trigger3 = (IsHelper(240))||(IsHelper(230))
trigger3 =(stateno = 247 )||(stateno = 248)
trigger4 = (IsHelper(230))||(isHelper(235))
trigger4 =(stateno = 238 )||(stateno = 239)
trigger5 = (IsHelper(230))||(Ishelper(235))
trigger5 = (stateno = 231)|| (stateno = 236)||(stateno = 237)
trigger6 = (IsHelper(240))||(IsHelper(245))
trigger6 = (stateno = 249)||(stateno = 256)
;------------------------------------------------------------------------------
;D,DB,B

[State -1, 当身]
type = ChangeState
value = 1100
triggerall = command = "QCB_a"
triggerall = !IsHelper 
triggerall = var(11) >= 30
triggerall = Numhelper(6000) = 0
trigger1 = var(1)
trigger2 = Stateno = 234
trigger3 = Stateno = 244

[State -1, 当身]
type = ChangeState
value = 1150
triggerall = command = "QCB_b"
triggerall = !IsHelper 
triggerall = var(11) >= 20
triggerall = Numhelper(6000) = 0
trigger1 = var(1)
trigger2 = Stateno = 234
trigger3 = Stateno = 244

[State -1, 塩投げ]
type = ChangeState
value = 1050
triggerall = command = "QCB_x"
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = var(1)

[State -1, 小癪な真似しやがって・・・]
type = ChangeState
value = 1300
triggerall = command = "QCB_y"
triggerall = !IsHelper 
trigger1 = var(1)

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

;==============================================================================
; 移動関連
;==============================================================================
;------------------------------------------------------------------------------

[State -1, 走る]
type = ChangeState
value = 100
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = Command = "front_z"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, バックステップ]
type = ChangeState
value = 105
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = command = "back_z"
trigger1 = statetype = S
trigger1 = ctrl

;==============================================================================
; 特殊技
;==============================================================================
;------------------------------------------------------------------------------

;[State -1, カンフースルー];投げ技
;type = ChangeState
;value = 800
;triggerall = command = "y"
;triggerall = statetype = S
;triggerall = ctrl
;triggerall = stateno != 100
;trigger1 = command = "holdfwd"
;trigger1 = p2bodydist X < 3
;trigger1 = (p2statetype = S) || (p2statetype = C)
;trigger1 = p2movetype != H
;trigger2 = command = "holdback"
;trigger2 = p2bodydist X < 5
;trigger2 = (p2statetype = S) || (p2statetype = C)
;trigger2 = p2movetype != H

;------------------------------------------------------------------------------
;==============================================================================
; 通常攻撃技
;==============================================================================
;------------------------------------------------------------------------------

[State -1, 影法師]
type = ChangeState
value = 205
triggerall = command = "back_a"
triggerall = command != "holddown"
triggerall = !IsHelper 
triggerall = Numhelper(4000) = 0
triggerall = Numhelper(6000) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 40
trigger3 = (stateno = 210) && time > 28

[State -1, 影法師]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = !IsHelper 
triggerall = Numhelper(4000) = 0
triggerall = Numhelper(6000) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 40
trigger3 = Movehit = 1
trigger3 = (stateno = 210) && time > 28

[State -1, 影をよこせ！]
type = ChangeState
value = 300
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = !IsHelper 
trigger1 = statetype = S
trigger1 = ctrl


[State -1, 鬱陶しい！]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = !IsHelper 
trigger1 = statetype = S
trigger1 = ctrl

[State -1, GC鬱陶しい！]
type = ChangeState
value = 225
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = power >= 1000
triggerall = !IsHelper 
trigger1 = statetype = S
trigger1 = stateno = [150,153]

[State -1, 影法師腕(裏)]
type = ChangeState
value = 210
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 205) && (animelemtime(6)) > 0

;派生技

;【本体制御】



[State -1, 影法師(下)]
type = ChangeState
value = 230
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
triggerall = Numhelper(230) = 0
triggerall = Numhelper(240) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 10
trigger3 = (stateno = 230) && time > 30
trigger4 = (stateno = 205) && (animelemtime(6)) > 0



[State -1, 影法師(中)]
type = ChangeState
value = 240
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
triggerall = Numhelper(230) = 0
triggerall = Numhelper(240) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 210) && time > 28
trigger4 = (stateno = 205) && (animelemtime(6)) > 0

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

[State -1, 挑発]
type = ChangeState
value = 195
triggerall = command = "start"
triggerall = !IsHelper 
trigger1 = statetype != A
trigger1 = ctrl

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

[State -1, 影法師召喚]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = !IsHelper 
triggerall = Numhelper(6000) = 0
trigger1 = statetype = C
trigger1 = ctrl

[State -1, しゃがみ強パンチ]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype = C
triggerall = !IsHelper 
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)||(stateno = 440)||(stateno = 420)



[State -1, しゃがみ弱キック]
type = ChangeState
value = 420
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = !IsHelper 
triggerall = statetype = C
trigger1 = ctrl
;trigger2 = (stateno = 400) || (stateno = 430)
;trigger2 = (time > 9) || (movecontact && time > 5)

[State -1, しゃがみ強キック]
type = ChangeState
value = 430
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = !IsHelper 
triggerall = statetype = C
trigger1 = ctrl
;trigger2 = (stateno = 400) || (stateno = 430)
;trigger2 = (time > 9) || (movecontact && time > 5)

[State -1, しゃがみ弱キック]
type = ChangeState
value = 440
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = !IsHelper 
triggerall = statetype = C
trigger1 = ctrl
;trigger2 = (stateno = 400) || (stateno = 420)
;trigger2 = (time > 9) || (movecontact && time > 5)

[State -1, 影法師モード終了]
type = ChangeState
value = 460
triggerall = command = "start"
triggerall = !IsHelper 
triggerall = (stateno = 450)
trigger1 = statetype = S

;------------------------------------------------------------------------------
[State -1, 影法師攻撃叩き潰し]
type = ChangeState
value = 4100
triggerall = command = "a"
triggerall = ishelper(4000)
triggerall = Parent,Statetype = C
trigger1 = Pos Y = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = Stateno = 4000
trigger2 = Pos Y = 0
trigger2 = statetype = A


[State -1, 影法師攻撃叩き潰し]
type = ChangeState
value = 4101
triggerall = command = "a"
triggerall = ishelper(4000)
triggerall = Parent,Statetype = C
triggerall = Pos Y = 0
trigger1 = stateno = 4100 
trigger1 = animelemtime(7) > 0
trigger1 = animelemtime(7) < 12
trigger2 = stateno = 4102 
trigger2 = animelemtime(5) > 0
trigger2 = animelemtime(5) < 12

[State -1, 影法師攻撃叩き潰し]
type = ChangeState
value = 4102
triggerall = command = "a"
triggerall = ishelper(4000)
triggerall = stateno = 4101 
triggerall = Parent,Statetype = C
triggerall = Pos Y = 0
trigger1 = animelemtime(5) > 0
trigger1 = animelemtime(5) < 12
trigger1 = statetype = S

[State -1, 影法師攻撃押しつぶし]
type = ChangeState
value = 4110
triggerall = command = "c"
triggerall =ishelper(4000)
triggerall = Pos Y = 0
triggerall = Parent,Statetype = C
trigger1 = statetype = A
trigger2 = stateno = 4101
trigger3 = stateno = 4102
trigger4 = stateno = 4100
trigger5 = stateno = 4000

;[State -1, 空中影法師攻撃押しつぶし]
;type = ChangeState
;value = 4113
;triggerall = command = "c"
;triggerall =ishelper(4000)
;trigger1 = Pos Y < 50

[State -1, 影法師攻撃下段]
type = ChangeState
value = 4120
triggerall = command = "b"
triggerall = ishelper(4000) 
triggerall = Parent,Statetype = C
trigger1 = Pos Y = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 4000
trigger2 = Pos Y = 0
trigger2 = statetype = A



;[State -1, 影法師欠片蝙蝠]
;type = ChangeState
;value = 4130
;triggerall = command = "z"
;triggerall = ishelper(4000) 
;trigger1 = statetype = A
;trigger1 = ctrl

;[State -1, 影法師欠片蝙蝠]
;type = ChangeState
;value = 4139
;triggerall = command = "z"
;;triggerall = NumHelper(4130) 
;;trigger1 = statetype = A
;trigger1 = stateno = 4132
;;trigger1 = ctrl = 0

[State -1, 影逆転]
type = ChangeState
value = 4150
triggerall = command = "y"
triggerall = ishelper(4000) 
triggerall = Parent,Statetype = C
trigger1 = statetype = A
trigger1 = ctrl

[State -1, 影法師歩き]
type = ChangeState
value = 4015
triggerall = ishelper(4000)
triggerall = Parent,Statetype = C
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = parent,command = "holdfwd"
trigger2 = parent,command = "holdback"
trigger2 = statetype = A
trigger2 = ctrl

[State -1, 影法師消滅]
type = ChangeState
value = 4010
triggerall = command = "start"
triggerall = ishelper(4000) 
triggerall = Parent,Statetype = C
trigger1 = Pos Y = 0
trigger1 = statetype = A
trigger1 = ctrl

[State -1, 影法師消滅]
type = ChangeState
value = 4020
triggerall = command = "start"
triggerall =ishelper(4000) 
trigger1 = Pos Y != 0
trigger1 = statetype = A
trigger1 = ctrl


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