;cmmdに追加↓
;通常版の方に入れても大丈夫です


[Command]
name = "無想転生"   ;
command = ~D, D, D, b
time = 20

[Command]
name = "無想転生"   ;
command = ~D, D, D, a
time = 20



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

---------------------------------------------------------------------------

;
[State -1, 無想転生]
type = ChangeState
value = 3305
triggerall = command = "無想転生"
triggerall = power >= 300
triggerall = statetype != A
trigger1 = ctrl
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3050,3100)
trigger2 = movecontact



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

;
[State -1, 無想転生]
type = ChangeState
value = 3306
triggerall = command = "無想転生2"
triggerall = power >= 300
triggerall = statetype != A
trigger1 = ctrl
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3050,3100)
trigger2 = movecontact
;---------------------------------------------------------------------------
;↑cmd
;↓ここからAIR
;---------------------------------------------------------------------------
;無想転生
[Begin Action 6125]
0, 12, 0, 0, 5
0, 12, 0, 0, 5
0, 12, 0, 0, 5
0, 12, 0, 0, 5
0, 12, 0, 0, 5
0, 12, 0, 0, 5
0, 12, 0, 0, 5
0, 12, 0, 0, 5



[Begin Action 6200]
6200, 0, -5,  0, 3
6200, 0, -7,  0, 3
6200, 0,-17, -2, 3
6200, 0,-33, -3, 3
6200, 0,-52, -3, 3
6200, 0,-69, -2, 3

[Begin Action 6201]
6200, 0, 5, 0, 3, H
6200, 0, 7, 0, 3, H
6200, 0, 17, 0, 3, H
6200, 0, 33, 0, 3, H
6200, 0, 52, 0, 3, H
6200, 0, 69, 0, 3, H
;---------------------------------------------------------------------------
;↑AIRここまで
;ここからcns↓
;---------------------------------------------------------------------------
;無想転生
[Statedef 3305]
type = S ;ﾀｲﾌﾟ:S 立ち,C しゃがみ,A 空中 , L liedown 
movetype = I ;移動タイプ:A 攻撃,I 普通,H くらい 
physics = S ;摩擦(重力):S 立ち,C しゃがみ,A 空中  
velset = 0,0 ;移動距離 横,縦 
ctrl = 0  ;コントロール可能 
anim = 6125  ;アニメーション番号 
sprpriority = 2 ;レイヤー優先度 
poweradd = -300

[State 3305, Afterimage]
type = AfterImage
trigger1 = Time = 0
length = 13
PalBright   =  30, 30,  0
PalContrast =  70, 70, 20
PalAdd      = -10,-10,-10
PalMul      = .85,.85,.50
TimeGap  = 1
FrameGap = 2
Trans = Add
time = 2

[State 3305, Afterimage]
type = AfterImageTime
trigger1 = AnimTime < -2
time = 2

[State 3305, Blink Yellow]
type = PalFX
trigger1 = Time = 0
time = 20
add = 32,16,0
sinadd = 64,32,5,3


[State 3305, Width 1]
type = Width
trigger1 = AnimElemTime(5) >= 0 && AnimElemTime(6) < 0
value = 10,0

[State 3305, Width 2]
type = Width
trigger1 = AnimElemTime(6) >= 0 && AnimElemTime(9) < 0
value = 20,0

[State 3305, Shake Screen]
type = EnvShake
trigger1 = AnimElem = 1
time = 8
ampl = 3
freq = 170


[State 3305, Width]
type = Width
trigger1 = AnimElemTime(4) >= 0 && AnimElemTime(16) < 0
value = 5,0


[State 3305, Super B]
type = AfterImage
trigger1 = AnimElem = 1
time = 2

[State 3305, Super C]
type = AfterImageTime
trigger1 = AnimElemTime(2) >= 0
time = 2

[State 3305, Super D]
type = NotHitBy
trigger1 = AnimElem = 1
value = , NA, SA, AT
time = 6

[State 3305, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 0, 4

[State 3305, 1]
type = PlaySnd
trigger1 = AnimElem = 3
value = 0, 3

[State 3305, 1]
type = PlaySnd
trigger1 = AnimElem = 2
value = 0, 3

[State 3305, Effect]
type = Explod
trigger1 = AnimElem = 1
anim = 6200
scale = 1,1
postype = p1
pos = 0,0
sprpriority = 4
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 3305, 2]
type = VelSet
trigger1 = AnimElem = 6
x = -20


[State 3305, 3]
type = ChangeState
trigger1 = AnimElem = 8
value = 0
ctrl = 1
;---------------------------------------------------------------------------


;無想転生
[Statedef 3306]
type = S ;ﾀｲﾌﾟ:S 立ち,C しゃがみ,A 空中 , L liedown 
movetype = I ;移動タイプ:A 攻撃,I 普通,H くらい 
physics = S ;摩擦(重力):S 立ち,C しゃがみ,A 空中  
velset = 3,0 ;移動距離 横,縦 
ctrl = 0  ;コントロール可能 
anim = 6125  ;アニメーション番号 
sprpriority = 2 ;レイヤー優先度 
poweradd = -300

[State 3306, Afterimage]
type = AfterImage
trigger1 = Time = 0
length = 13
PalBright   =  30, 30,  0
PalContrast =  70, 70, 20
PalAdd      = -10,-10,-10
PalMul      = .85,.85,.50
TimeGap  = 1
FrameGap = 2
Trans = Add
time = 2

[State 3306, Afterimage]
type = AfterImageTime
trigger1 = AnimTime < -2
time = 2

[State 3306, Blink Yellow]
type = PalFX
trigger1 = Time = 0
time = 20
add = 32,16,0
sinadd = 64,32,5,3


[State 3306, Width 1]
type = Width
trigger1 = AnimElemTime(5) >= 0 && AnimElemTime(6) < 0
value = 10,0

[State 3306, Width 2]
type = Width
trigger1 = AnimElemTime(6) >= 0 && AnimElemTime(9) < 0
value = 20,0

[State 3306, Shake Screen]
type = EnvShake
trigger1 = AnimElem = 1
time = 8
ampl = 3
freq = 170


[State 3306, Width]
type = Width
trigger1 = AnimElemTime(4) >= 0 && AnimElemTime(16) < 0
value = 5,0

[State 3306, Super B]
type = AfterImage
trigger1 = AnimElem = 1
time = 2

[State 3306, Super C]
type = AfterImageTime
trigger1 = AnimElemTime(2) >= 0
time = 2

[State 3306, Super D]
type = NotHitBy
trigger1 = AnimElem = 1
value = , NA, SA, AT
time = 6

[State 3306, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 0, 4

[State 3306, 1]
type = PlaySnd
trigger1 = AnimElem = 3
value = 0, 3

[State 3306, 1]
type = PlaySnd
trigger1 = AnimElem = 2
value = 0, 3

[State 3306, Effect]
type = Explod
trigger1 = AnimElem = 1
anim = 6201
scale = 1,1
postype = p1
pos = 0,0
sprpriority = 4
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1




[State 3306, 2]
type = VelSet
trigger1 = AnimElem = 6
x = 20

[State 3306, 3]
type = ChangeState
trigger1 = AnimElem = 8
value = 0
ctrl = 1

;ここまで↑


;貼る時はこの↓より上に張ってね
;---------------------------------------------------------------------------
; Override common states (use same number to override) :
;---------------------------------------------------------------------------
