;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;アトミックガイ
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

;---------------------------------------------------------------------------
; 立ちモーション
[Statedef 4000]
type = S
physics = S
sprpriority = 0

[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 != 4000
value = 4000
ignorehitpause = 1

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

[State ヒット回数リセット]
type = Varset
triggerall = name = "A-Yuki"
trigger1 = !ishelper
var(58) = 0
ignorehitpause = 1

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

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

;---------------------[]
[state a]
type = changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = p2Dist X < 0
value = 4000
ignorehitpause = 1

[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = p2Dist X < 0
ID = 4000
ignorehitpause = 1

[state a]
type = turn
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = p2Dist X < 0
ignorehitpause = 1

[State 0, 2]
type = VelSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
y = 0
ignorehitpause = 1

[State 0, 3] ;Stop moving if low velocity or 4 ticks pass
type = VelSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = abs(vel x) < 2
trigger2 = animelemtime(1) = 4
x = 0
ignorehitpause = 1

;---------------------[打撃防御]
[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
attr = S,HA
reversal.attr = SCA,NA,SA,HA
pausetime = 0,4
hitsound = s310,var(6)
numhits = 0
ignorehitpause = 1

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

;---------------------[]
[state a];前進
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "holdfwd"
value = 4020
ignorehitpause = 1

[state a];後退
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "holdback"
value = 4021
ignorehitpause = 1

[state a];ジャンプ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "holdup"
value = 4040
ignorehitpause = 1

[state a];メガトンスパーク
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "メガトンスパーク"
value = 4800
ignorehitpause = 1

[state a];アトミックパンチ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "x"
value = 4200
ignorehitpause = 1

[state a];アトミックパンチ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "y"
value = 4200
ignorehitpause = 1

[state a];アトミックスライディング
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "a"
value = 4400
ignorehitpause = 1

[state a];アトミックスライディング
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "b"
value = 4400
ignorehitpause = 1

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

[State 振り向き]
type = Turn
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Pos x < EnemyNear,Pos x && Facing = -1
trigger2 = EnemyNear,Pos x < Pos x && Facing = 1
ignorehitpause = 1

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

;---------------------------------------------------------------------------
; 前進
[Statedef 4020]
type = S
physics = S
sprpriority = 0

[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 != 4020
value = 4020
ignorehitpause = 1

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

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

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

;---------------------[打撃防御]
[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
attr = S,HA
reversal.attr = SCA,NA,SA,HA
pausetime = 0,4
hitsound = s310,var(6)
numhits = 0
ignorehitpause = 1

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

;---------------------[]
[state a];ジャンプ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "holdup"
value = 4040
ignorehitpause = 1

[state a]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command != "holdfwd"
value = 4000
ignorehitpause = 1

[state a];メガトンスパーク
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "メガトンスパーク"
value = 4800
ignorehitpause = 1

[state a];アトミックパンチ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "x"
value = 4200
ignorehitpause = 1

[state a];アトミックパンチ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "y"
value = 4200
ignorehitpause = 1

[state a];アトミックスライディング
type = changestate
triggerall = name = "A-Yuki"
trigger1 = command = "a"
value = 4400
ignorehitpause = 1

[state a];アトミックスライディング
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "b"
value = 4400
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 4021]
type = S
physics = S
sprpriority = 0

[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 != 4021
value = 4021
ignorehitpause = 1

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

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

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

;---------------------[打撃防御]
[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
attr = S,HA
reversal.attr = SCA,NA,SA,HA
pausetime = 0,4
hitsound = s310,var(6)
numhits = 0
ignorehitpause = 1

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

;---------------------[]
[state a];ジャンプ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "holdup"
value = 4040
ignorehitpause = 1

[state a]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command != "holdback"
value = 4000
ignorehitpause = 1

[state a];メガトンスパーク
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "メガトンスパーク"
value = 4800
ignorehitpause = 1

[state a];アトミックパンチ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "x"
value = 4200
ignorehitpause = 1

[state a];アトミックパンチ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "y"
value = 4200
ignorehitpause = 1

[state a];アトミックスライディング
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "a"
value = 4400
ignorehitpause = 1

[state a];アトミックスライディング
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "b"
value = 4400
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 4040]
type    = S
physics = S
ctrl = 0
sprpriority = 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 != 4040
value = 4040
ignorehitpause = 1

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

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

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

;---------------------[]

[State 40, 1]
type = VarSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
sysvar(1) = 0
ignorehitpause = 1

[State 40, 2]
type = VarSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "holdfwd"
sysvar(1) = 1
ignorehitpause = 1

[State 40, 3]
type = VarSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "holdback"
sysvar(1) = -1
ignorehitpause = 1

[State 40, 4]
type = VelSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
x = ifelse(sysvar(1)=0, const(velocity.jump.neu.x), ifelse(sysvar(1)=1, const(velocity.jump.fwd.x), const(velocity.jump.back.x)))
y = const(velocity.jump.y)
ignorehitpause = 1

[State 40, 5]
type = VelSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
trigger1 = prevstateno = 100 ;RUN_FWD
trigger1 = sysvar(1) = 1
x = const(velocity.runjump.fwd.x)
ignorehitpause = 1

[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
attr = S,HA
reversal.attr = SCA,NA,SA,HA
pausetime = 0,4
hitsound = s310,var(6)
numhits = 0
ignorehitpause = 1

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

;---------------------[]
[State 40, 6]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 4041
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 4041]
type    = A
physics = N

[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 != 4041
value = 4041
ignorehitpause = 1

[state a]
type = changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 4041
ignorehitpause = 1

[State 50, 1]
type = VarSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
sysvar(1) = 0
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
y = 0.52
ignorehitpause = 1

;---------------------[効果音]
[state a];ジャンプ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 40,1
ignorehitpause = 1

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

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

[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
attr = S,HA
reversal.attr = SCA,NA,SA,HA
pausetime = 0,4
hitsound = s310,var(6)
numhits = 0
ignorehitpause = 1

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

;---------------------[]
[state a];アトミックスラッシュ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "x"
value = 4600
ignorehitpause = 1

[state a];アトミックスラッシュ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "y"
value = 4600
ignorehitpause = 1

[state a];アトミックスラッシュ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "a"
value = 4600
ignorehitpause = 1

[state a];アトミックスラッシュ
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "b"
value = 4600
ignorehitpause = 1

[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 4047
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 4047]
type    = S
physics = S
ctrl = 0

[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 != 4047
value = 4047
ignorehitpause = 1

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

;---------------------[効果音]
[state a];着地
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 40,0
ignorehitpause = 1

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

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

[State 52, 1]
type = VelSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
y = 0
ignorehitpause = 1

[State 52, 2]
type = PosSet
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
y = 0
ignorehitpause = 1

[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
attr = S,HA
reversal.attr = SCA,NA,SA,HA
pausetime = 0,4
hitsound = s310,var(6)
numhits = 0
ignorehitpause = 1

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

;---------------------[]

[State 52, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 4000
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 4200]
type    = S
movetype= A
physics = S
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 != 4200
value = 4200
ignorehitpause = 1

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

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

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

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 4200, 0
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 410, 0
ignorehitpause = 1

[State 210, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
attr = S, HA
animtype  = up
damage    = 80,80
priority = 12, Hit
getpower = 0,0
hitflag = MAFLD
guardflag = N
pausetime = 20,12
sparkno = s7001
sparkxy = -10,-87
hitsound   = s310,var(6)
guardsound = s120,0
guard.sparkno = s7011
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -3,-4
air.velocity = -3,-4
envshake.time = 15
envshake.ampl = -7
envshake.freq = 92
envshake.phase = 92
ID = 4000
fall = 1
fall.recover = 0

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

[State 210, 5]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 4000
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 4400]
type    = S
movetype= A
physics = S
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 != 4400
value = 4400
ignorehitpause = 1

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

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

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

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 4400, 0
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 440, 0
ignorehitpause = 1

[State 210, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
attr = C, HA
animtype  = up
damage    = 80,80
priority = 12, Hit
getpower = 0,0
hitflag = MAFLD
guardflag = N
pausetime = 20,12
sparkno = s7001
sparkxy = -10,-44
hitsound   = s1200,2
guardsound = s120,0
guard.sparkno = s7011
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -3,-6
air.velocity = -3,-6
envshake.time = 15
envshake.ampl = -7
envshake.freq = 92
envshake.phase = 92
ID = 4000
fall = 1
fall.recover = 0

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

[State 210, 5]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 4000
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 4600]
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 != 4600
value = 4600
ignorehitpause = 1

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

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

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 4400, 0
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 410, 0
ignorehitpause = 1

[State 210, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
attr = C, HA
animtype  = up
damage    = 80,80
priority = 12, Hit
getpower = 0,0
hitflag = MAFLD
guardflag = N
pausetime = 20,12
sparkno = s7001
sparkxy = -10,-44
hitsound   = s1200,2
guardsound = s120,0
guard.sparkno = s7011
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -3,-6
air.velocity = -3,-6
envshake.time = 15
envshake.ampl = -7
envshake.freq = 92
envshake.phase = 92
ID = 4000
fall = 1
fall.recover = 0

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
y = 0.52
ignorehitpause = 1

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

;---------------------[]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 4047
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 4800]
type    = S
movetype= A
physics = S
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 != 4800
value = 4800
ignorehitpause = 1

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

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

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

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 4200, 0
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1300, 1
ignorehitpause = 1

[State ]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = var(58) <= 8
trigger1 = hitcount <= 8
attr = S, HA
animtype  = up
damage    = 40,40
priority = 12, Hit
getpower = 0,0
hitflag = MAFLD
guardflag = N
pausetime = 2,12
sparkno = s7001
sparkxy = -10,-87
hitsound   = s1300,2
guardsound = s120,0
guard.sparkno = s7011
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-5),-4
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-5),-4
palfx.time =45
palfx.mul = 230,230,250
palfx.sinadd = 255,255,255,5;palfx.sinadd = 63,65,68,5
palfx.add = 16,16,16
palfx.color = 1
palfx.invertall = 1
ID = 4000
fall = 1
fall.recover = 0

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

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

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

[State 210, 5]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 4000
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
