;巨大化モード
[Statedef 2600]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 1
ctrl = 0
sprpriority = -5

[State 230, 3]
type = varset
trigger1 = Time = 0
v = 32
value = 1

[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2700
time = 1

[State 810, 音を鳴らす];放り投げ用
type = PlaySnd
trigger1 = AnimElem = 1
value = 310, 0

[State 1300, ヘルパーを出す];放り投げるまでの板（※１０）
type = Helper
trigger1 = AnimElem = 1
triggerall = NumHelper(2600) = 0
helpertype = player
Persistent = 0
name = "car"
stateno = 2610
pos = 0,0
postype = p1
keyctrl = 1
ownpal = 1
size.xscale = 3
size.yscale = 3
ID = 2600

[State 20, 1]
type = VelAdd
trigger1 = command = "holdfwd"
trigger1 = Helper(2600),anim != 1201
trigger1 = Helper(2600),anim != 3000
triggerall = Helper(2600),anim != 3500
triggerall = Helper(2600),anim != 3501
triggerall = Helper(2600),anim != 3502
triggerall = Helper(2600),anim != 3503
x = 0.9
y = 0

[State 20, 1]
type = VelAdd
trigger1 = Helper(2600),anim != 1201
trigger1 = Helper(2600),anim != 3000
triggerall = Helper(2600),anim != 3500
triggerall = Helper(2600),anim != 3501
triggerall = Helper(2600),anim != 3502
triggerall = Helper(2600),anim != 3503
trigger1 = command = "holdback"
x = -0.9
y = 0

[State 30019]
type = NotHitBy
trigger1 = Helper(2600),anim = 3500
trigger2 = Helper(2600),anim = 3501
trigger3 = Helper(2600),anim = 3502
trigger4 = Helper(2600),anim = 3503
value = SCA

[State 820, 位置固定]
type = PosAdd
trigger1 = Helper(2600),anim = 3502
x = 50

[State 820, 位置固定]
type = PlayerPush
trigger1 = Helper(2600),anim = 3500
trigger2 = Helper(2600),anim = 3501
trigger3 = Helper(2600),anim = 3502
trigger4 = Helper(2600),anim = 3503
value = 0

[State 1300, ステート変更]
type = Turn
trigger1 = p2BodyDist X < -5

[State 1020, ステート変更]
type = ChangeState
trigger1 = alive = 0
value = 0
ctrl = 1

[State 1020, ステート変更]
type = ChangeState
trigger1 = Enemy,alive = 0
value = 0
ctrl = 1

[State 1020, ステート変更]
type = ChangeState
triggerall = var(32) = 1
trigger1 = command = "c"
trigger1 = time >= 5
trigger1 = Helper(2600),anim != 3000
trigger1 = Helper(2600),anim != 1200
trigger1 = Helper(2600),anim != 1202
trigger1 = Helper(2600),anim != 3500
trigger1 = Helper(2600),anim != 3501
trigger1 = Helper(2600),anim != 3502
trigger1 = Helper(2600),anim != 3503
trigger2 = Enemy,alive = 0
trigger3 = alive = 0
value = 0
ctrl = 1
;----------------------------------------------------------------
;巨大化必殺技2地面へ
[Statedef 2850]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 3503
ctrl = 0
sprpriority = 5

[State 810, 音を鳴らす]
type = EnvShake
trigger1 = time = 0
time = 24

[State 810, 音を鳴らす];放り投げ用
type = PlaySnd
trigger1 = AnimElem = 1
trigger2 = AnimElem = 2
trigger3 = AnimElem = 3
trigger4 = AnimElem = 4
trigger5 = AnimElem = 5
trigger6 = AnimElem = 6
trigger7 = AnimElem = 7
trigger8 = AnimElem = 8
value = 400, 4

[State 820, 位置固定]
type = PosAdd
trigger1 = AnimTime = 0
x = 100

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2851
ctrl = 0

;巨大化必殺技2攻撃
[Statedef 2851]
type    = S
movetype= A
physics = S
poweradd= -1000
velset = 0,0
anim = 3502
ctrl = 0
sprpriority = -2

[State 1020, エフェクト]
type = AssertSpecial
trigger1 = 1
flag = unguardable

[State 1020, エフェクト]
type = SuperPause
trigger1 = time = 0
time = 60
sound = S400,0
pos = 100,-50

[State 1020, エフェクト]
type = Explod
trigger1 = time = 0
anim = 20000
pos = 0,250
postype = back 
sprpriority = -3
bindtime = 100
supermove = 1

[State 200, ヒット定義]
type = HitDef
trigger1 = AnimElem = 2
attr = S, HA ;立ち通常打撃（Standing, Normal Attack）
damage = 0, 10
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 2
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
p1stateno = 2852
p2stateno = 2853

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2857
ctrl = 0

;巨大化必殺技2地上へ
[Statedef 2852]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 3501
ctrl = 0
sprpriority = 5

[State 810, 音を鳴らす]
type = EnvShake
trigger1 = time = 0
time = 40

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 810, 音を鳴らす];放り投げ用
type = PlaySnd
trigger1 = AnimElem = 1
trigger2 = AnimElem = 2
trigger3 = AnimElem = 3
trigger4 = AnimElem = 4
trigger5 = AnimElem = 5
trigger6 = AnimElem = 6
trigger7 = AnimElem = 7
trigger8 = AnimElem = 8
value = 400, 4

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2854
ctrl = 0

;巨大化必殺技2攻撃
[Statedef 2854]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 3500
ctrl = 0
sprpriority = 5

[State 810, 音を鳴らす]
type = TargetLifeAdd
trigger1 = AnimElem = 1
trigger2 = AnimElem = 2
trigger3 = AnimElem = 3
trigger4 = AnimElem = 4
trigger5 = AnimElem = 5
trigger6 = AnimElem = 6
trigger7 = AnimElem = 7
trigger8 = AnimElem = 8
trigger9 = AnimElem = 9
trigger10 = AnimElem = 10
value = -20
kill = 0

[State 810, 音を鳴らす]
type = TargetLifeAdd
trigger1 = AnimElem = 11
value = -20
kill = 0

[State 810, 音を鳴らす]
type = PlaySnd
trigger1 = AnimElem = 1
trigger2 = AnimElem = 2
trigger3 = AnimElem = 3
trigger4 = AnimElem = 4
trigger5 = AnimElem = 5
trigger6 = AnimElem = 6
trigger7 = AnimElem = 7
trigger8 = AnimElem = 8
trigger9 = AnimElem = 9
trigger10 = AnimElem = 10
trigger11 = AnimElem = 11
value = F5, 2

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1020, ステート変更]
type = ChangeState
trigger1 = time >= 200
value = 2856
ctrl = 0

;巨大化必殺技2攻撃
[Statedef 2856]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 3504
ctrl = 0
sprpriority = -1

[State 810, 音を鳴らす]
type = TargetLifeAdd
trigger1 = AnimElem = 1
value = -1

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = command = "c"

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2610
ctrl = 0

;巨大化必殺技2地上へ
[Statedef 2857]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 3501
ctrl = 0
sprpriority = 5

[State 810, 音を鳴らす];放り投げ用
type = PlaySnd
trigger1 = AnimElem = 1
trigger2 = AnimElem = 2
trigger3 = AnimElem = 3
trigger4 = AnimElem = 4
trigger5 = AnimElem = 5
trigger6 = AnimElem = 6
trigger7 = AnimElem = 7
trigger8 = AnimElem = 8
value = 400, 4

[State 810, 音を鳴らす]
type = EnvShake
trigger1 = time = 0
time = 40

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2610
ctrl = 0

;相手が潰されている
[Statedef 2858]
type    = S
movetype= H
physics = S
velset = 0,0

[State 820, 位置固定]
type = PosSet
trigger1 = time = 0
y = -200

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 820, 相手のアニメ変更]
type = ChangeAnim2
trigger1 = Time = 0
value = 3505

[State 810, 音を鳴らす]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5000, 0

[State 810, 音を鳴らす]
type = PlaySnd
trigger1 = AnimElem = 2
value = 5000, 1

[State 810, 音を鳴らす]
type = PlaySnd
trigger1 = time >= 195
trigger1 = time <= 195
value = 11, 0

[State 1020, ステート変更]
type = ChangeState
trigger1 = time >= 208
value = 2855
ctrl = 0

;相手が潰されている
[Statedef 2853]
type    = S
movetype= H
physics = S
velset = 0,0

[State 820, 位置固定]
type = PosSet
trigger1 = time >= 1
y = -20

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 820, 相手のアニメ変更]
type = ChangeAnim2
trigger1 = Time = 0
value = 1

[State 1020, ステート変更]
type = ChangeState
trigger1 = time >= 60
value = 2858
ctrl = 0

;相手が潰されている
[Statedef 2855]
type    = A
movetype= H
physics = A
velset = 0,-10

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 820, 相手ステートに戻す]
type = SelfState
trigger1 = !GetHitVar(IsBound) ;（※３）
value = 5050
;----------------------------------------------------------------
;巨大化必殺技
[Statedef 2750]
type    = S
movetype= A
physics = S
poweradd= -1000
velset = 0,0
anim = 3000
ctrl = 0
sprpriority = 5

[State 810, 音を鳴らす];放り投げ用
type = PlaySnd
trigger1 = AnimElem = 2
value = 400, 1

[State 1020, エフェクト]
type = SuperPause
trigger1 = time = 0
time = 60
sound = S400,0
pos = 0,-50

[State 1020, エフェクト]
type = Explod
trigger1 = time = 0
anim = 20000
pos = 0,250
postype = back 
sprpriority = -3
bindtime = 100
supermove = 1

[State 200, ヒット定義]
type = HitDef
trigger1 = AnimElem = 2
attr = S, HA ;立ち通常打撃（Standing, Normal Attack）
damage = 300, 30
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = S4, 6
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
p2stateno = 2751


[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2601
time = 1

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2610
ctrl = 0

;相手が潰されている
[Statedef 2751]
type    = S
movetype= H
physics = S
velset = 0,0

[State 820, 相手のアニメ変更]
type = ChangeAnim2
trigger1 = Time = 0
value = 3001

[State 820, 位置固定]
type = PosSet
trigger1 = time = 0
y = 0

[State 820, 相手ステートに戻す]
type = SelfState
trigger1 = AnimTime = 0
value = 5120

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

;巨大化モードダメージ
[Statedef 2700]
type    = S
movetype= H
physics = S
poweradd= 0
velset = 0,0
anim = 1
ctrl = 0
sprpriority = -5

[State -2, ダメージヘルパー]
type = Lifeadd
trigger1 = AnimElem = 1
trigger1 = command != "holddown"
value = 0

[State -2, ダメージヘルパー]
type = Lifeadd
trigger1 = AnimElem = 1
trigger1 = command = "holddown"
value = 5

[State -2, ダメージヘルパー]
type = DefenceMulSet
trigger1 = command = "holddown"
value = 0.3

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2600
ctrl = 0

;----------------------------------------------------------------
;巨大化モード拡大ヘルパー
[Statedef 2610]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 2
ctrl = 0
sprpriority = 5

[State 191, 2] 
type = velset
trigger1 = 1
x = parent,vel x
y = parent,vel y

[State 1065, 3]
type = bindtoparent
trigger1 = 1
pos = 0,0
time = 1

[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2601
time = 1

[State 1020, ステート変更]
type = ChangeState
trigger1 = command = "taore"
triggerall = power >= 1000
value = 2750
ctrl = 0

[State 1020, ステート変更]
type = ChangeState
trigger1 = command = "taore2"
triggerall = power >= 1000
value = 2850
ctrl = 0

[State 1020, ステート変更]
type = ChangeState
trigger1 = command = "x"
value = 2620
ctrl = 0

[State 1020, ステート変更]
type = ChangeState
trigger1 = command = "y"
value = 2630
ctrl = 0

[State 1020, ステート変更]
type = ChangeState
trigger1 = command = "holddown"
value = 2640
ctrl = 0

[State 1300, ステート変更]
type = Turn
trigger1 = p2BodyDist X < -10

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = command = "c"
trigger2 = Enemy,alive = 0
trigger3 = parent,anim != 1

;立ち弱パンチ
[Statedef 2620]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1200
poweradd = 20
sprpriority = 5
facep2 = 1

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 1
value = 0, 0

[State 200, ヒット定義]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NA ;立ち通常打撃（Standing, Normal Attack）
damage = 50, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 191, 2] 
type = velset
trigger1 = 1
x = parent,vel x
y = parent,vel y

[State 1065, 3]
type = bindtoparent
trigger1 = 1
pos = 0,0
time = 1

[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2601
time = 1

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
trigger2 = Enemy,alive = 0
value = 2610
ctrl = 0

;立ち弱パンチ
[Statedef 2630]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1202
poweradd = 20
sprpriority = 5
facep2 = 1

[State 191, 2] 
type = velset
trigger1 = 1
x = parent,vel x
y = parent,vel y

[State 1065, 3]
type = bindtoparent
trigger1 = 1
pos = 0,0
time = 1

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 1
value = 0, 0

[State 200, ヒット定義]
type = HitDef
trigger1 = AnimElem = 2
attr = S, NA ;立ち通常打撃（Standing, Normal Attack）
damage = 23, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2601
time = 1

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
trigger2 = Enemy,alive = 0
value = 2610
ctrl = 0

;ガード
[Statedef 2640]
type    = S
movetype= I
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1201
poweradd = 20
sprpriority = 5
facep2 = 1

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 1
value = 0, 0

[State -2, ダメージヘルパー]
type = DefenceMulSet
trigger1 = command = "holddown"
value = 0.3

[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2602
time = 1

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = command = "c"

[State 200, ステート変更]
type = ChangeState
trigger2 = Enemy,alive = 0
trigger1 = command != "holddown"
value = 2610
ctrl = 0

;ホッパーモード
[Statedef 2601]
type    = S
movetype= I
physics = S
poweradd= 0
velset = -4,0
anim = 3201
ctrl = 0
sprpriority = 5

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = command = "c"

[State 1300, ヘルパーを出す];放り投げるまでの板（※１０）
type = Helper
trigger1 = AnimElem = 1
Persistent = 0
name = "car"
stateno = 1
pos = 0,0
postype = p1
keyctrl = 1
ownpal = 1
size.xscale = 1
size.yscale = 1
ID = 1

[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2601
time = 1

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2610
ctrl = 0

;ホッパーモード
[Statedef 2602]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 1201
ctrl = 0
sprpriority = 5

[State 1205,攻撃を受けたときの処理]
type = HitOverride
trigger1 = 1
attr = SCA, NT, ST, HT, NA, SA, HA,NP,SP,HP;どの攻撃を受けないかを指定します。
stateno = 2602
time = 1

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = command = "c"

[State 1300, ヘルパーを出す];放り投げるまでの板（※１０）
type = Helper
trigger1 = AnimElem = 1
Persistent = 0
name = "car"
stateno = 2
pos = 0,0
postype = p1
keyctrl = 1
ownpal = 1
size.xscale = 1
size.yscale = 1
ID = 2

[State 200, ステート変更]
type = ChangeState
trigger1 = command != "holddown"
value = 2610
ctrl = 0

[State 1020, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 2640
ctrl = 0

;ホッパーモード
[Statedef 1]
type    = S
movetype= A
physics = S
poweradd= 0
velset = -4,0
anim = 1
ctrl = 0
sprpriority = -5

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = AnimTime = 0

;ホッパーモード
[Statedef 2]
type    = S
movetype= A
physics = S
poweradd= 0
velset = -4,0
anim = 1
ctrl = 0
sprpriority = -5

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = AnimTime = 0

