;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;超必殺技
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
; 超ド級100メガビーム
[Statedef 2000]
type    = A
movetype= I
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State ]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = anim != 2000
value = 2000
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
x = 0.3
y = -0.5
ignorehitpause = 1

[State ゲージ]
type = PowerAdd
triggerall = !ishelper
trigger1 = animelem = 1
value = -1000
ignorehitpause = 1

[State 2000, 超即死トムキラー]
type = Reversaldef
triggerall = name = "A-Yuki"
trigger1 = !ishelper
reversal.attr = SCA, AA, AT, AP
pausetime = 0, 2
sparkxy = 999, 999
p2stateno = 11000
ignorehitpause = 1

;---------------------[超必殺技演出]

[State 00]
type = SuperPause
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
time = 28
movetime = 28
anim = -1
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 6000
sprpriority = -1
postype = p1
pos = 7,-115
bindtime = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 10
anim = 6001
sprpriority = 1
postype = p1
pos = 7,-115
bindtime = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
persistent = 0
time = 3
value = 255,255,255
under = 2
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 3
persistent = 0
time = 41
value = 0,0,0
under = 2
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 44
persistent = 0
time = 2
value = 255,255,255
under = 2
ignorehitpause = 1

[State 2000, 6]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 1
value = 3000,0
ignorehitpause = 1

;---------------------[効果音]
[State 00];１００メガビーム
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 2000,0
ignorehitpause = 1

[State 01];チャージ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 2000,1
ignorehitpause = 1

[State 01];ショット
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 2000,2
ignorehitpause = 1

;---------------------[速度]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = 0
y = 0
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 17
x = -1.5
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 17,>=0
y = 0.3
ignorehitpause = 1

;---------------------[エフェクト]
[State explod];発動
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 12
anim = 2010
id = 3000
sprpriority = -2
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ビーム
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
anim = 2011
id = 2000
sprpriority = 2
postype = p1
pos = 44,-86
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];100メガショック
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 44
anim = 2015
id = 3000
sprpriority = 2
postype = left
pos = 0,0
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 2001
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[ヘルパー呼び出し]
[State 2900, 1];ビーム
type = helper
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
id = 2020
pos = 44,-86
postype = P1
stateno = 2020
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1

[State 2900, 1];飛び道具消去
type = helper
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
id = 2021
pos = 44,-86
postype = P1
stateno = 2021
helpertype = player
keyctrl = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[終了]
[state a] 
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 50
ignorehitpause = 1

[State 死亡時]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = !alive
value = 5050
ignorehitpause = 1

[State 準ステート固定]
type = ChangeState
triggerall = name = "A-Yuki"
trigger1 = !ishelper
value = 120
ignorehitpause = 1

;---------------------------------------------------------------------------
; (HELPER)ビームヘルパー
[Statedef 2020]
type    = A
movetype= A
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = anim != 2020
value = 2020
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
trigger1 = ishelper
x = 0
y = 0
ignorehitpause = 1

;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = root,palno = [1,6]
triggerall = var(58) != 1
trigger1 = animelem = 1
attr = A, HP
animtype  = diagup
damage    = 231,20
priority = 6, Hit
getpower = 0,0
hitflag = MAFD
pausetime = 0,22
sparkno = s7002
sparkxy = 0,0
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,-7
air.velocity = -8,-7
fall = 1
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = root,palno = [7,12]
triggerall = var(58) != 1
trigger1 = animelem = 1
attr = A, HP
animtype  = diagup
damage = 9999999999999
priority = 6, Hit
getpower = 0,0
hitflag = MAFD
pausetime = 0,22
sparkno = s7002
sparkxy = 0,0
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,-7
air.velocity = -8,-7
fall = 1
air.fall = 1
fall.recover = 0
fall.damage = 9999999999999
p2stateno = 16000

[State 当身感知時代入]
type = Null
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = movereversed
trigger1 = var(58) := 1
ignorehitpause = 1

[state 押し戻し判定解除]
type = Playerpush
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 0
ignorehitpause = 1

;---------------------[消滅]
[State カメラ固定]
type = Screenbound
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = 0
ignorehitpause = 1

[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animtime = 0
trigger2 = !alive
trigger3 = movecontact
ignorehitpause = 1

; (HELPER)飛び道具消去用ヘルパー
[Statedef 2021]
type    = A
movetype= I
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = anim != 2021
value = 2021
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
trigger1 = ishelper
x = 0
y = 0
ignorehitpause = 1

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA,NP,SP,HP
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitoverride
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
attr = SCA,NP,SP,HP
stateno = 1025
ignorehitpause = 1

;---------------------[消滅]
[State カメラ固定]
type = Screenbound
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = 0
ignorehitpause = 1

[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animtime = 0
trigger2 = !alive
trigger3 = movecontact
ignorehitpause = 1

;---------------------------------------------------------------------------
; 超ド級ネオジオ乱舞
[Statedef 2100]
type    = A
movetype= A
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State ]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = anim != 2100
value = 2100
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
x = 0
y = 0
ignorehitpause = 1

[State ゲージ]
type = PowerAdd
triggerall = !ishelper
trigger1 = animelem = 1
value = -2000
ignorehitpause = 1

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "x"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "y"
v = 5
value = 1

;---------------------[超必殺技演出]
[State 00]
type = SuperPause
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
time = 28
movetime = 28
anim = -1
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 6010
sprpriority = -1
postype = p1
pos = 15,-99
bindtime = 1
supermove = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 10
anim = 6011
sprpriority = 1
postype = p1
pos = 15,-99
bindtime = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
persistent = 0
time = 3
value = 255,255,255
under = 2
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 3
dpersistent = 0
time = 25
value = 0,0,0
under = 2
ignorehitpause = 1

[State 2000, 6]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 1
value = 3000,0
ignorehitpause = 1

;---------------------[効果音]
[State 00];ダッシュ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
value = 1400,1
ignorehitpause = 1

;---------------------[速度]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = 9+var(5)*2
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 15
x = 5
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 15,>=0
trigger1 = vel x > 0
x = -0.2
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 15,>=0
trigger1 = vel x <= 0
x = 0
ignorehitpause = 1

;---------------------[エフェクト]
[State explod];ダッシュ
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
anim = 1405
id = 3000
sprpriority = -2
postype = p1
pos = -29,-86
bindtime = 1
supermove = 0
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 2102
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 15
anim = 2103
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[攻撃判定]
[State 00]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
attr = S, HA
animtype  = hard
damage    = 0,0
priority = 5, Hit
getpower = 0,0
hitflag = MAFD
pausetime = 11,12
sparkno = s7002
sparkxy = -10,-71
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = Low
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 0,0
air.velocity = -3,-4.5
fall = 0
air.fall = 1
fall.recover = 0
kill = 0
p2facing = 1

;---------------------[終了]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = moveguarded
value = 2101
ignorehitpause = 1

[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = movehit = 1
value = 2105
ignorehitpause = 1

[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 死亡時]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = !alive
value = 5050
ignorehitpause = 1

[State 準ステート固定]
type = ChangeState
triggerall = name = "A-Yuki"
trigger1 = !ishelper
value = 120
ignorehitpause = 1

;---------------------------------------------------------------------------
;ガード
[Statedef 2101]
type    = S
movetype= I
physics = N
ctrl = 0
sprpriority = 1
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State ]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = anim != 2101
value = 2101
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
x = 5
y = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 2104
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[速度]
[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x > 0
x = -0.2
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x <= 0
x = 0
ignorehitpause = 1

;---------------------[終了]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 死亡時]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = !alive
value = 5050
ignorehitpause = 1

[State 準ステート固定]
type = ChangeState
triggerall = name = "A-Yuki"
trigger1 = !ishelper
value = 120
ignorehitpause = 1

;---------------------------------------------------------------------------
;乱舞1
[Statedef 2105]
type    = S
movetype= I
physics = N
ctrl = 0
sprpriority = 1
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State ]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = anim != 2105
value = 2105
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
x = 0.5
y = 0
ignorehitpause = 1

;---------------------[効果音]
[State 00];パンチヒット
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
trigger2 = animelem = 15
trigger3 = animelem = 28
trigger4 = animelemtime(28) = 2
trigger5 = animelem = 37
value = 310,var(6)
ignorehitpause = 1

[State 00];キックヒット
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10
trigger2 = animelem = 23
value = 340,var(6)
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 2106
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ヒットエフェクト1
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
trigger2 = animelem = 10
trigger3 = animelem = 28
trigger4 = animelemtime(18) = 2
anim = 7001
id = 3000
sprpriority = 3
postype = p1
pos = 50,-80
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ヒットエフェクト2
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 15
trigger2 = animelem = 23
anim = 7001
id = 3000
sprpriority = 3
postype = p1
pos = 50,-67
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ヒットエフェクト3
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 37
anim = 7002
id = 3000
sprpriority = 3
postype = p1
pos = 40,-90
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[速度]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 35
x = 0
ignorehitpause = 1

;---------------------[相手制御]
[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 38,<=0
pos = 45,0
ignorehitpause = 1

[state a];上段攻撃
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
trigger2 = animelem = 10
trigger3 = animelem = 23
trigger4 = animelem = 28
value = 2110
ignorehitpause = 1

[state a];下段攻撃
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
trigger2 = animelem = 15
value = 2111
ignorehitpause = 1

[state a];アッパー
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 37
value = 2130
ignorehitpause = 1

[state a]
type = hitadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
trigger2 = animelem = 10
trigger3 = animelem = 23
trigger4 = animelem = 15
trigger5 = animelem = 28
trigger6 = animelemtime(28) = 2
trigger7 = animelem = 37
value = 1
ignorehitpause = 1

[state a]
type = targetlifeadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
trigger2 = animelem = 10
trigger3 = animelem = 23
trigger4 = animelem = 15
trigger5 = animelem = 28
trigger6 = animelemtime(28) = 2
trigger7 = animelem = 37
value = -29;-58
kill = 0
ignorehitpause = 1

[State 01];画面端の押し戻し判定
type = Width
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
edge = 60,0
ignorehitpause = 1

;---------------------[終了]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 2120
ignorehitpause = 1

[State 死亡時]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = !alive
value = 5050
ignorehitpause = 1

[State 準ステート固定]
type = ChangeState
triggerall = name = "A-Yuki"
trigger1 = !ishelper
value = 120
ignorehitpause = 1

;---------------------------------------------------------------------------
;乱舞2→ラストショット
[Statedef 2120]
type    = S
movetype= I
physics = N
ctrl = 0
sprpriority = 1
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State ]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = anim != 2120
value = 2120
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
x = 0
y = -6
ignorehitpause = 1

;---------------------[効果音]
[State 00];パンチヒット
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 19
trigger3 = animelem = 27
value = 310,var(6)
ignorehitpause = 1

[State 00];キックヒット
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 11
trigger2 = animelem = 14
value = 340,var(6)
ignorehitpause = 1

[State 00];ラストショットじゃ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 25
value = 2100,0
ignorehitpause = 1

[State 00];ビーム
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 27
value = 2100,1
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 2121
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ヒットエフェクト1
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 19
anim = 7001
id = 3000
sprpriority = 3
postype = p1
pos = 40,-91
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ヒットエフェクト2
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 15
anim = 7001
id = 3000
sprpriority = 3
postype = p1
pos = 40,-54
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ヒットエフェクト3
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 27
anim = 7002
id = 3000
sprpriority = 3
postype = p1
pos = 31,-113
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ラストショット
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 27
anim = 2125
id = 3000
sprpriority = -3
postype = p1
pos = 0,0
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[速度]
[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3,<=0
y = 0.3
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
x = 0.5
y = -0.5
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 25
x = 0.2
y = -0.3
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 27
x = 0
y = 0
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 39
x = -2
y = -1
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 39,>=0
y = 0.4
ignorehitpause = 1

;---------------------[相手制御]
[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 15
trigger4 = animelem = 19
pos = 45,-10
ignorehitpause = 1

[state a];空中攻撃
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 15
trigger4 = animelem = 19
value = 2131
ignorehitpause = 1

[state a];空中攻撃
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 27
value = 2132
ignorehitpause = 1

[state a]
type = hitadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 15
trigger4 = animelem = 19
trigger5 = animelem = 27
value = 1
ignorehitpause = 1

[state a]
type = targetlifeadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 15
trigger4 = animelem = 19
value = -29;-58
kill = 0
ignorehitpause = 1

[state a]
type = targetlifeadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 27
value = -115;-58
ignorehitpause = 1

[State 01];画面端の押し戻し判定
type = Width
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
edge = 60,0
ignorehitpause = 1

;---------------------[終了]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 50
ignorehitpause = 1

[State 死亡時]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = !alive
value = 5050
ignorehitpause = 1

[State 準ステート固定]
type = ChangeState
triggerall = name = "A-Yuki"
trigger1 = !ishelper
value = 120
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)上段攻撃ヒット
[Statedef 2110]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 2110
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)下段攻撃ヒット
[Statedef 2111]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 2111
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)アッパーヒット
[Statedef 2130]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 700, 2];無敵の状態を作る
type = NotHitBy
triggerall = name != "A-Yuki"
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 2130
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[state a]
type = velset
triggerall = name != "A-Yuki"
trigger1 = animelem = 2
y = -11
ignorehitpause = 1

[State 821, 1] ;これは重力これは毎フレーム事に0.4の力が加わります
type = VelAdd
triggerall = name != "A-Yuki"
Trigger1 = animelem = 2,>= 0
y = .4
ignorehitpause = 1

[State 821, 3] 
type = SelfState
triggerall = name != "A-Yuki"
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)空中攻撃ヒット
[Statedef 2131]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 2131
ignorehitpause = 1

[state a]
type = velset
triggerall = name != "A-Yuki"
trigger1 = animelem = 2
x = -0.5
y = -0.5
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)ラストショットヒット
[Statedef 2132]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = -4

[State 700, 2];無敵の状態を作る
type = NotHitBy
triggerall = name != "A-Yuki"
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 820, 1]
type = ChangeAnim
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 5050
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[state a]
type = velset
triggerall = name != "A-Yuki"
trigger1 = time = 0
x = -6
y = -9
ignorehitpause = 1

[State 821, 1] ;これは重力これは毎フレーム事に0.4の力が加わります
type = VelAdd
triggerall = name != "A-Yuki"
Trigger1 = 1
y = .4
ignorehitpause = 1

[State 821, 3] 
type = SelfState
triggerall = name != "A-Yuki"
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 
ignorehitpause = 1


;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 超ド級MAX330メガビーム
[Statedef 2200]
type    = A
movetype= I
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State ]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = anim != 2200
value = 2200
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
x = 0.3
y = -0.5
ignorehitpause = 1

[State ゲージ]
type = PowerAdd
triggerall = !ishelper
trigger1 = animelem = 1
value = -3000
ignorehitpause = 1

[State 2200, 超即死トムキラー]
type = Reversaldef
triggerall = name = "A-Yuki"
trigger1 = !ishelper
reversal.attr = SCA, AA, AT, AP
pausetime = 0, 2
sparkxy = 999, 999
p2stateno = 11000
ignorehitpause = 1

;---------------------[超必殺技演出]
[State 00]
type = SuperPause
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
time = 28
movetime = 28
anim = -1
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 6020
sprpriority = -1
postype = p1
pos = 7,-115
bindtime = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 10
anim = 6021
sprpriority = 1
postype = p1
pos = 7,-115
bindtime = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
persistent = 0
time = 3
value = 255,255,255
under = 2
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 3
persistent = 0
time = 38
value = 0,0,0
under = 2
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 41
persistent = 0
time = 2
value = 255,255,255
under = 2
ignorehitpause = 1

[State 2000, 6]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 1
value = 3000,0
ignorehitpause = 1

;---------------------[効果音]
[State 00];マックス
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 2200,0
ignorehitpause = 1

[State 00];３３０メガビームだ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 2200,1
ignorehitpause = 1

[State 01];チャージ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 2000,1
ignorehitpause = 1

[State 01];ショット
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 2000,2
ignorehitpause = 1

;---------------------[速度]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = 0
y = 0
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 17
x = -1.5
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 17,>=0
y = 0.3
ignorehitpause = 1

;---------------------[エフェクト]
[State explod];発動
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 12
anim = 2210
id = 3000
sprpriority = -2
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];ビーム
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
anim = 2211
id = 2000
sprpriority = 2
postype = p1
pos = 44,-86
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];MAX 330 MEGA PRO-GIGA SPEC
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 39
anim = 2215
id = 3000
sprpriority = 5
postype = left
pos = 0,0
bindtime = 1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 2201
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[ヘルパー呼び出し]
[State 2900, 1];ビーム
type = helper
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
id = 2220
pos = 44,-86
postype = P1
stateno = 2220
helpertype = player
keyctrl = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 2900, 1];飛び道具消去
type = helper
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
id = 2221
pos = 44,-86
postype = P1
stateno = 2221
helpertype = player
keyctrl = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[終了]
[state a] 
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 50
ignorehitpause = 1

[State 死亡時]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = !alive
value = 5050
ignorehitpause = 1

[State 準ステート固定]
type = ChangeState
triggerall = name = "A-Yuki"
trigger1 = !ishelper
value = 120
ignorehitpause = 1

;---------------------------------------------------------------------------
; (HELPER)ビームヘルパー
[Statedef 2220]
type    = A
movetype= A
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = anim != 2220
value = 2220
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
trigger1 = ishelper
x = 0
y = 0
ignorehitpause = 1

;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = root,palno = [1,6]
triggerall = var(58) < 3
trigger1 = hitcount <= 2
attr = A, HP
animtype  = diagup
damage    = 135,5
priority = 8, Hit
getpower = 0,0
hitflag = MAFD
pausetime = 1,22
sparkno = s7002
sparkxy = 0,0
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,-7
air.velocity = -8,-7
fall = 1
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = root,palno = [7,12]
triggerall = var(58) < 3
trigger1 = hitcount <= 2
attr = A, AA, AT, AP
animtype  = diagup
damage = -9999999999999
priority = 8, Hit
getpower = 0,0
hitflag = MAFD
pausetime = 1,22
sparkno = s7002
sparkxy = 0,0
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,-7
air.velocity = -8,-7
fall = 1
air.fall = 1
fall.recover = 0
fall.damage = -9999999999999

[State ヒット感知]
type = Varadd
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = movecontact
var(58) = 1
ignorehitpause = 1

[state 押し戻し判定解除]
type = Playerpush
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 0
ignorehitpause = 1

;---------------------[消滅]
[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animtime = 0
trigger2 = !alive
trigger3 = movereversed
trigger4 = enemy,gethitvar(hitcount) > 2
ignorehitpause = 1

; (HELPER)飛び道具消去用ヘルパー
[Statedef 2221]
type    = A
movetype= A
physics = N
velset = 0,0
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = anim != 2221
value = 2221
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
trigger1 = !ishelper
x = 0
y = 0
ignorehitpause = 1

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA,NP,SP,HP
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitoverride
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
attr = SCA,NP,SP,HP
stateno = 1025
ignorehitpause = 1

;---------------------[消滅]
[State カメラ固定]
type = Screenbound
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = 0
ignorehitpause = 1

[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animtime = 0
trigger2 = !alive
trigger3 = movereversed
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 超ド級ステータスアップ
[Statedef 2300]
type    = A
movetype= I
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[State ]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State アニメ変更]
type = Changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = anim != 2300
value = 2300
ignorehitpause = 1

[state 位置調整]
type = velset
triggerall = name = "A-Yuki"
trigger1 = !ishelper
x = 0
y = 0
ignorehitpause = 1

[State ゲージ]
type = PowerAdd
triggerall = !ishelper
trigger1 = animelem = 1
value = -1000
ignorehitpause = 1

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "a"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "b"
v = 5
value = 1
ignorehitpause = 1

;---------------------[カードスラッシュ変数]
[state a];弱・攻撃力アップ
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 0
;trigger1 = animelem = 7,>=0
v = 13
value = 240
ignorehitpause = 1

[state a];強・防御力アップ
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 1
;trigger1 = animelem = 7,>=0
v = 14
value = 240
ignorehitpause = 1

[State 00]
type = SuperPause
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
time = 28
movetime = 28
anim = -1
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 6000
sprpriority = -1
postype = p1
pos = 12,-131
bindtime = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 1000, 5]
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 10
anim = 6001
sprpriority = 1
postype = p1
pos = 12,-131
bindtime = 1
under = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
persistent = 0
time = 3
value = 255,255,255
under = 2
ignorehitpause = 1

[State 3040, 7]
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 3
persistent = 0
time = 25
value = 0,0,0
under = 2
ignorehitpause = 1

[State 2000, 6]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1, = 1
value = 3000,0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 2301
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State explod];カードの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelemtime(6) = 1
anim = 2302
id = 3000
sprpriority = 3
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1
;---------------------[]

;---------------------[効果音]
[state a];チェンジユアポケット
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1990,0
ignorehitpause = 1

[state a];スラッシュ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 6
value = 2300,1
ignorehitpause = 1

[state a];スラッシュ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 6
value = 1990,1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 死亡時]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = !alive
value = 5050
ignorehitpause = 1

[State 準ステート固定]
type = ChangeState
triggerall = name = "A-Yuki"
trigger1 = !ishelper
value = 120
ignorehitpause = 1

;---------------------------------------------------------------------------
; (HELPER)アイ落下
[Statedef 2420]
type    = A
movetype= I
physics = N
velset = 0, 15
anim = 2420
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

;---------------------[着地ステートに移行]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 2421
ignorehitpause = 1

;---------------------------------------------------------------------------
; (HELPER)アイ着地
[Statedef 2421]
type    = A
movetype= I
physics = N
velset = 0, 0
anim = 2421
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "A-Yuki"
value = 5150
ignorehitpause = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animelem = 1
y = 0
ignorehitpause = 1

;---------------------[効果音]
[State 00];着地
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animelem = 1
value = 40,0
ignorehitpause = 1

[State 00];ギガパワーチェンジ!!
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animelem = 2
value = 2400,2
ignorehitpause = 1

;---------------------[消滅]
[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = animtime = 0
trigger2 = !alive
ignorehitpause = 1
