;飛行船に乗る
[Statedef 3200]
type    = A
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 0
ctrl = 0
sprpriority = -5

[State 1301, ヘルパーを消す]
type = PosSet
trigger1 = time = 0
triggerall = NumHelper(3200) = 0
y = -30

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

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

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

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

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

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

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

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

[State 20, 1]
type = VelAdd
trigger1 = command = "holdup"
trigger1 = Pos Y >= -390
trigger1 = PalNo = 12
x = 0
y = -1

[State 20, 1]
type = VelAdd
trigger1 = command = "holdup"
trigger1 = Pos Y >= -390
trigger1 = PalNo != 12
x = 0
y = -0.5

[State 20, 1]
type = VelAdd
trigger1 = command = "holddown"
trigger1 = Pos Y <= 0
trigger1 = PalNo = 12
x = 0
y = 1

[State 20, 1]
type = VelAdd
trigger1 = command = "holddown"
trigger1 = Pos Y <= 0
trigger1 = PalNo != 12
x = 0
y = 0.5

[State 1301, ヘルパーを消す]
type = PosSet
trigger1 = Pos Y >= 0
triggerall = var(40) = 1
y = 0

[State 1301, ヘルパーを消す]
type = PosSet
trigger1 = Pos Y <= -390
triggerall = var(40) = 1
y = -390

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

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

[State 1300, ステート変更]
type = ChangeState
trigger1 = NumHelper(3200) = 0
value = 3201
ctrl = 0

[State 1300, ステート変更]
type = ChangeState
triggerall = var(40) = 1
trigger1 = command = "c"
trigger1 = time >= 5
trigger2 = Power <= 0
trigger3 = NumHelper(3200) = 0
trigger4 = Enemy,alive = 0
trigger5 = alive = 0
value = 3201
ctrl = 0

;降りる
[Statedef 3201]
type    = A
physics = A
poweradd= 0
velset = 0,0
anim = 3201
ctrl = 0
sprpriority = -5

[State 51, 1]
type = Null
trigger1 = 1

;飛行船に乗る
[Statedef 3202]
type    = A
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 0
ctrl = 0
sprpriority = -5

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

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

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

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

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

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

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

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

[State 20, 1]
type = VelAdd
trigger1 = command = "holdup"
trigger1 = Pos Y >= -390
trigger1 = PalNo = 12
x = 0
y = -1

[State 20, 1]
type = VelAdd
trigger1 = command = "holdup"
trigger1 = Pos Y >= -390
trigger1 = PalNo != 12
x = 0
y = -0.5

[State 20, 1]
type = VelAdd
trigger1 = command = "holddown"
trigger1 = Pos Y <= 0
trigger1 = PalNo = 12
x = 0
y = 1

[State 20, 1]
type = VelAdd
trigger1 = command = "holddown"
trigger1 = Pos Y <= 0
trigger1 = PalNo != 12
x = 0
y = 0.5

[State 1301, ヘルパーを消す]
type = PosSet
trigger1 = Pos Y >= 0
triggerall = var(40) = 1
y = 0

[State 1301, ヘルパーを消す]
type = PosSet
trigger1 = Pos Y <= -390
triggerall = var(40) = 1
y = -390

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

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

[State 1300, ステート変更]
type = ChangeState
trigger1 = NumHelper(3200) = 0
trigger2 = Enemy,alive = 0
trigger3 = alive = 0
value = 3201
ctrl = 0

[State 1300, ステート変更]
type = ChangeState
triggerall = var(40) = 1
trigger1 = command = "c"
trigger1 = time >= 5
trigger2 = Power <= 0
trigger3 = NumHelper(3200) = 0
value = 3201
ctrl = 0

;飛行船
[Statedef 3210] 
type     = A ;前のステートの状態を引き継ぐ
movetype = I
physics  = S
ctrl     = 0
anim     = 3200
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 1300, ステート変更]
type = Turn
trigger1 = p2BodyDist X < -2

[State 1301, ヘルパーを消す]
type = DestroySelf
triggerall = parent,anim != 200
trigger1 = parent,anim != 0
trigger1 = parent,anim != [1500,1601)
trigger2 = Power <= 0
trigger3 = parent,anim = 3201
trigger4 = parent,statetype != A

;飛行船
[Statedef 3211] 
type     = A ;前のステートの状態を引き継ぐ
movetype = I
physics  = S
ctrl     = 0
anim     = 3210
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 1300, ステート変更]
type = Turn
trigger1 = p2BodyDist X < -2

[State 1301, ヘルパーを消す]
type = DestroySelf
triggerall = parent,anim != 200
trigger1 = parent,anim != 0
trigger1 = parent,anim != [1500,1601)
trigger2 = Power <= 0
trigger3 = parent,anim = 3201
trigger4 = parent,statetype != A

;立ち弱パンチ
[Statedef 3300]
type    = A
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 200
poweradd = 20
sprpriority = -5
facep2 = 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 1300, ステート変更]
type = ChangeState
triggerall = var(40) = 1
trigger1 = command = "c"
trigger1 = time >= 5
trigger2 = Power <= 0
trigger3 = NumHelper(3200) = 0
value = 3201
ctrl = 0

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

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

;飛行船に乗る
[Statedef 3280]
type    = A
movetype= A
physics = S
poweradd= 0
velset = 0,0
anim = 1500
ctrl = 0
sprpriority = -5


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

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

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

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

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

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

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

[State 20, 1]
type = VelAdd
trigger1 = command = "holdup"
trigger1 = Pos Y >= -390
trigger1 = PalNo = 12
x = 0
y = -1

[State 20, 1]
type = VelAdd
trigger1 = command = "holdup"
trigger1 = Pos Y >= -390
trigger1 = PalNo != 12
x = 0
y = -0.5

[State 20, 1]
type = VelAdd
trigger1 = command = "holddown"
trigger1 = Pos Y <= 0
trigger1 = PalNo = 12
x = 0
y = 1

[State 20, 1]
type = VelAdd
trigger1 = command = "holddown"
trigger1 = Pos Y <= 0
trigger1 = PalNo != 12
x = 0
y = 0.5

[State 1301, ヘルパーを消す]
type = PosSet
trigger1 = Pos Y >= 0
triggerall = var(40) = 1
y = 0

[State 1301, ヘルパーを消す]
type = PosSet
trigger1 = Pos Y <= -390
triggerall = var(40) = 1
y = -390

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

[State 1300, ステート変更]
type = ChangeState
trigger1 = NumHelper(3200) = 0
value = 3201
ctrl = 0

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
trigger2 = (MoveHit)
value = 3281
ctrl = 0

;飛行船に乗る
[Statedef 3281]
type    = A
movetype= A
physics = S
poweradd= 0
velset = 0,0
anim = 1501
ctrl = 0
sprpriority = -5

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


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

[State 1300, ステート変更]
type = ChangeState
trigger1 = NumHelper(3200) = 0
value = 3201
ctrl = 0

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

;飛行船に乗る
[Statedef 1600]
type    = A
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 1600
ctrl = 0
sprpriority = 5

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

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

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

[State 1300, ステート変更]
type = ChangeState
trigger1 = NumHelper(3200) = 0
value = 3201
ctrl = 0

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

;飛行船に乗る
[Statedef 1601]
type    = A
movetype= A
physics = S
poweradd= 0
velset = 0,10
anim = 1601
ctrl = 0
sprpriority = 6

[State 200, ヒット定義]
type = HitDef
trigger1 = 1
attr = S, NA ;立ち通常打撃（Standing, Normal Attack）
damage = 1, 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 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = time >= 50
trigger2 = Pos Y >= 0