;車モード
[Statedef 2000]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 2000
ctrl = 0
sprpriority = 5

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

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

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


[State 20, 1]
type = VelAdd
trigger1 = command = "holdfwd"
trigger1 = PalNo = 12
x = 5
y = 0

[State 20, 1]
type = VelAdd
trigger1 = command = "holdfwd"
trigger1 = PalNo != 12
x = 3
y = 0

[State 20, 1]
type = VelAdd
trigger1 = command = "holdback"
trigger1 = PalNo = 12
x = -5
y = 0

[State 20, 1]
type = VelAdd
trigger1 = command = "holdback"
trigger1 = PalNo != 12
x = -3
y = 0

[State 3000, 残像]
type = AfterImage
trigger1 = AnimElem = 2, 1
time = 2

[State 3000, 残像表示時間]
type = AfterImageTime
trigger1 = AnimElemTime(2) >= 1 && Time < 60
time = 2

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

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

[State 1300, ステート変更]
type = ChangeState
triggerall = var(20) = 1
trigger1 = command = "c"
trigger1 = time >= 5
trigger2 = Enemy,alive = 0
trigger3 = alive = 0
value = 0
ctrl = 1

;車必殺技予備動作
[Statedef 2049]
type    = S
movetype= A
physics = S
poweradd= 0
velset = 0,0
anim = 2000
ctrl = 0
sprpriority = 5

[State 20, 1]
type = VelAdd
trigger1 = 1
x = -1.5
y = 0

[State 1020, ステート変更]
type = ChangeState
trigger1 = BackEdgeBodyDist <= 5
value = 2050
ctrl = 0

;車必殺技
[Statedef 2050]
type    = S
movetype= A
physics = S
poweradd= -1000
velset = 0,0
anim = 2300
ctrl = 0
sprpriority = 5

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

[State 20, 1]
type = VelAdd
trigger1 = 1
x = 2
y = 0

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

[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 = 1
trigger1 = time >= 10
attr = S, HA ;立ち通常打撃（Standing, Normal Attack）
damage = 160, 1
animtype = Light
guardflag = MA
hitflag = MAF
priority = 5, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = S4, 6
guardsound = 6, 0
ground.type = low
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -10,-20
airguard.velocity = -10,-20
air.type = High
air.velocity = -10,-20
air.hittime = 12
sprpriority = 5
fall = 1

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

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

[State 1020, ステート変更]
type = ChangeState
trigger1 = FrontEdgeBodyDist <= 5
value = 2052
ctrl = 0

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

[State 1020, ステート変更]
type = ChangeState
trigger1 = (MoveGuarded)
value = 2052
ctrl = 0

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

;車必殺技
[Statedef 2051]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 21000
ctrl = 0
sprpriority = -3

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

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

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

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = time >= 100
trigger2 = FrontEdgeBodyDist <= 10
trigger3 = parent,anim = 2350


;車必殺技
[Statedef 2052]
type    = S
movetype= H
physics = S
poweradd= 0
velset = -20,0
anim = 2350
ctrl = 0
sprpriority = 5

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

[State 20, 1]
type = VelAdd
trigger1 = 1
x = -0.2
y = 0

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

;車必殺技
[Statedef 2053]
type    = S
movetype= H
physics = S
poweradd= 0
velset = -20,0
anim = 2351
ctrl = 0
sprpriority = 5

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

[State 20, 1]
type = VelAdd
trigger1 = 1
x = -0.2
y = 0

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

;車
[Statedef 2010] 
type     = U ;前のステートの状態を引き継ぐ
movetype = I
physics  = N
ctrl     = 0
anim     = 2010
sprpriority = 5

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

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

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

[State 3000, 残像]
type = AfterImage
trigger1 = AnimElem = 2, 1
time = 2

[State 3000, 残像表示時間]
type = AfterImageTime
trigger1 = AnimElemTime(2) >= 1 && Time < 60
time = 2

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

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