
[Statedef -2]

[State -2]
type = VarSet
trigger1 = 1
v = 50
value = 1
;0→コマンド入力で合同技
;1→完全オート

;基本性能

[State -2]
type = AttackMulSet
trigger1 = partner,name = "mechgoenikoex"
value = 1.4

[State -2]
type = DefenceMulSet
trigger1 = partner,name = "mechgoenikoex"
value = 0.3125

[State -2]
type = AssertSpecial
triggerall = palno = [7,12]
trigger1 = roundstate <= 2
trigger1 = MoveType = H
flag = NoKO
IgnoreHitPause = 1

[State -2]
type = VarSet
trigger1 = 1
var(31) = GameTime
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = Helper
trigger1 = numhelper(200000) <= 0
stateno = 200000
id = 200000
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = Helper
trigger1 = numhelper(400000) <= 0
stateno = 400000
id = 400000
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = Helper
trigger1 = numhelper(500000) <= 0
stateno = 500000
id = 500000
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

;強化モードの特典

[State -2]
type = HitOverride
triggerall = palno = [7,12]
trigger1 = 1
time = 1
attr = SCA, AA, AT, AP
slot = 0
stateno = 100000
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = VarRandom
triggerall = palno = [7,12]
trigger1 = 1
v = 40
range = 1,3
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = VarRandom
triggerall = palno = [7,12]
trigger1 = 1
v = 41
range = 1,6
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = LifeSet
triggerall = palno = [7,12]
trigger1 = RoundState <= 2
value = LifeMax-var(33)
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = LifeSet
triggerall = palno = [7,12]
trigger1 = RoundState >= 3
trigger1 = !LoseKO
value = LifeMax-var(33)
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = LifeSet
triggerall = palno = [7,12]
trigger1 = RoundState >= 3
trigger1 = LoseKO
value = 0
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = SelfState
triggerall = palno = [7,12]
trigger1 = Ceil(1000000*(Ln(GameTime)**E)+1) != var(32)
value = 300000
ctrl = 1
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = SelfState
triggerall = Palno = [7,12]
triggerall = RoundState > 2
trigger1 = !LoseKO
value = 140
ctrl = 1
IgnoreHitPause = 1

;12Pカラーの特典

;演出

[State -2]
type = PalFx
triggerall = palno = 12
trigger1 = life <= 0
add = 256,0,0
time = 1
ignorehitpause = 1

[State -2]
type = PalFx
triggerall = palno = 12
trigger1 = life > 0
trigger1 = life <= 100
trigger1 = GameTime%20 = 0
sinadd = 128,0,0,40
time = 20
ignorehitpause = 1

[State -2]
type = PlaySnd
triggerall = palno = 12
trigger1 = life > 0
trigger1 = life <= 100
trigger1 = GameTime%20 = 0
value = s0,68
freqmul = 1.5
ignorehitpause = 1

[State -2]
type = PalFx
triggerall = palno = 12
trigger1 = life > 100
trigger1 = life <= 200
trigger1 = GameTime%40 = 0
sinadd = 96,0,0,80
time = 40
ignorehitpause = 1

[State -2]
type = PlaySnd
triggerall = palno = 12
trigger1 = life > 100
trigger1 = life <= 200
trigger1 = GameTime%40 = 0
value = s0,68
freqmul = 1.25
ignorehitpause = 1

[State -2]
type = PalFx
triggerall = palno = 12
trigger1 = life > 200
trigger1 = life <= 400
trigger1 = GameTime%60 = 0
sinadd = 64,0,0,120
time = 60
ignorehitpause = 1

[State -2]
type = PlaySnd
triggerall = palno = 12
trigger1 = life > 200
trigger1 = life <= 400
trigger1 = GameTime%60 = 0
value = s0,68
ignorehitpause = 1

[State -2]
type = null;RemoveExplod
trigger1 = Stateno != 3000000
trigger1 = NumExplod(10000) > 0
id = 10000
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -2]
type = null;RemoveExplod
trigger1 = Stateno != 4000000
trigger1 = NumExplod(10001) > 0
id = 10001
ignorehitpause = 1
supermovetime = 3600
pausemovetime = 3600

[State -3, 5]
type = stopsnd
trigger1 = stateno != 1710
channel = 0

[State -3, 5]
type = stopsnd
trigger1 = stateno != 1710
channel = 1

[State -2]
type = null;Helper
trigger1 = winko = 1
trigger1 = numhelper(10001) = 0
ID = 10001
name = "winflash"
postype = back
pos = 0,0
sprpriority = 2
stateno = 10000
helpertype = normal
keyctrl = 0
persistent = 0
ignorehitpause = 1
ownpal = 1

[State -2]
type = Helper
trigger1 = winko = 1
trigger1 = numhelper(10002) = 0
ID = 10002
name = "winsound"
postype = back
pos = 0,0
sprpriority = 2
stateno = 10001
helpertype = normal
keyctrl = 0
persistent = 0
ignorehitpause = 1
ownpal = 1









