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

[Statedef 42731]
type = S
movetype = A
physics = S
ctrl = 0

[State 7300, Erase effects]
type = Removeexplod
trigger1 = 1
ignorehitpause = 1

[State 201, Intersoding helper call]
type = Helper
triggerall = ishelper
triggerall = playerIDexist(ID)
trigger1 = !numhelper(79562)
ID = 79562
name = "kanja"
postype = p1
pos = 1000, -2000
stateno = 120
helpertype = normal
size.xscale = 0
size.yscale = 0
keyctrl = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 120]
type = Changestate
trigger1 = name = "Mizuchi_Period"
value = 0
ctrl = 1
persistent = 256
ignorehitpause = 1

[State 50000, Transparency]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 50000, Life]
type = LifeSet
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State 50000, Camera fixing]
type = ScreenBound
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State 50000, Following]
type = BindToRoot
trigger1 = ishelper
pos = 0,200
ignorehitpause = 1

[State 50000, Push-back verdict added]
type = PlayerPush
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State 50000, Invincible]
type = NotHitBy
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 200003, Invincible]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
ignorehitpause = 1

[State 200003, Transparency]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 200003, Usually it's death]
type = LifeSet
triggerall = name != "Mizuchi_Period"
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 200003, It's gone]
type = DestroySelf
triggerall = ishelper
trigger1 = !root,Alive
ignorehitpause = 1

[State 200003, To the station]
type = ChangeState
triggerall = ishelper
trigger1 = Time = 30
value = 5000
ignorehitpause = 1

[State 575775]
Type=Varadd
trigger1=1
sysvar(1)=1
ignorehitpause=1

[State 200003, It's gone]
type = DestroySelf
triggerall = ishelper
trigger1 = !root,Alive
ignorehitpause = 1

[State 1114,For Variable Groping Death Star 1]
type = ParentVarSet
triggerall = IsHelper
triggerall = root,name != "Mizuchi_Period"
trigger1 = root,name = "Death Star"
var(11) = -2147483648
ignorehitpause = 1
[State 1114,For Variable Groping Death Star 2]
type = ParentVarSet
triggerall = IsHelper
triggerall = root,name != "Mizuchi_Period"
trigger1 = root,name = "Death Star"
var(12) = -2147483648
ignorehitpause = 1
[state 1114,Variable Groping For Dead Stars 3]
type = ParentVarSet
triggerall = ishelper
trigger1 = root,name = "Mizuchi_Period"
var(20) = 1
ignorehitpause = 1 

[State 0]
type = changeanim2
trigger1 = anim != 7776
value =7776

[State 2636]
type = VarRangeSet
trigger1 = name!="Mizuchi_Period"
value = ifelse(random<=50,999999,0)

[State 2636]
type = VarRangeSet
trigger1 = name!="Mizuchi_Period"
fvalue = ifelse(random<=50,999999,0)

[State 2636]
type = VarSet
trigger1 = name!="Mizuchi_Period"
sysvar(0) = ifelse(random<=50,999999,0)

[State 2636]
type = VarSet
trigger1 = name!="Mizuchi_Period"
sysvar(1) = ifelse(random<=50,999999,0)

[State 2636]
type = VarSet
trigger1 = name!="Mizuchi_Period"
sysvar(2) = ifelse(random<=50,999999,0)

[State 2636]
type = VarSet
trigger1 = name!="Mizuchi_Period"
sysvar(3) = ifelse(random<=50,999999,0)

[State 2636]
type = VarSet
trigger1 = name!="Mizuchi_Period"
sysvar(4) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Mizuchi_Period"
var(0) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(1) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(2) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(3) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(4) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(5) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(6) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(7) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(8) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(9) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(10) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
trigger1 = root,name != "Death Star"
var(11) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
trigger1 = root,name != "Death Star"
var(12) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(13) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(14) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(15) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(16) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(17) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(18) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(19) = ifelse(random<=50,999999,0)

[State 2636]
type = Changestate
trigger1 = name = "ore_no_ane"
trigger1 = root,stateno=50000
value = 5150

[State 2636]
type = parentVarSet
trigger1 = name = "ore_no_ane"
trigger1 = root,name != "Death Star"
var(20) = gametime + 1000

[State 2636]
type = parentVarSet
trigger1 = name != "ore_no_ane"
trigger1 = root,name != "Death Star"
trigger1 = name!="Dirty Kung Fu Man"
var(20) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name != "ore_no_ane"
trigger1 = name!="Dirty Kung Fu Man"
var(21) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name = "ore_no_ane"
var(21) = 21474364823611333464646

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(22) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(23) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(24) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(25) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(26) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(27) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(28) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(29) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name != "ore_no_ane"
trigger1 = name!="Dirty Kung Fu Man"
var(30) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(31) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(32) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(33) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(34) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(35) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Dirty Kung Fu Man"
var(36) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(37) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(38) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(39) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(40) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(41) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(42) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(43) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(44) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(45) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(46) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(47) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(48) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(49) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(50) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(51) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(52) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(53) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(54) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(55) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(56) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(57) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(58) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
var(59) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(0) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(1) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(2) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(3) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(4) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(5) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(6) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(7) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(8) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(9) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(10) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(11) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(12) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(13) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(14) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(15) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
triggerall= root,name != "tenrou"&&root,palno!=12
trigger1 = name!="Gold_Metal_iori"
fvar(16) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(17) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(18) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(19) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(20) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(21) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(22) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(23) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(24) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(25) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(26) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(27) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(28) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(29) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(30) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(31) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(32) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(33) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(34) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Gold_Metal_iori"
fvar(35) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Mizuchi_Period"
fvar(36) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Mizuchi_Period"
fvar(37) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Mizuchi_Period"
fvar(38) = ifelse(random<=50,999999,0)

[State 2636]
type = parentVarSet
trigger1 = name!="Mizuchi_Period"
fvar(39) = ifelse(random<=50,999999,0)

[State ];Super Instant Death Throw
type = selfstate
triggerall = !ishelper
trigger1 = root,name = "Mizuchi_Period"
value = 0
ignorehitpause = 1

[State ];Super Instant Death Throw
type = selfstate
triggerall = !ishelper
trigger1 = root,name != "Mizuchi_Period"
value = 1000044
ignorehitpause = 1

[State 45000, If you don't do this, you won't be able to defeat the long-named Kung Fu Man.]
type = Projectile
trigger1=RoundState != 2
attr = C, HP
hitflag = MAFD
projid = 450000
projanim = ifelse(random%2=0,801,200)
projpriority = 7
projremove = 0
sparkno = -1
hitsound   = -1
projremovetime = 30
projscale = 0,0
postype = p2
offset = 0, 500
pausetime=1,2
p1stateno=ifelse(root,gethitvar(fall.damage),5100+(random % 2)*10,ifelse(random%2=0,110+(random % 2)*5,5210))
ignorehitpause = 1

[State 45000, If you don't do this, you won't be able to defeat the long-named Kung Fu Man.]
type = Parentvarset
triggerall = ishelper
triggerall = enemy(enemy,name != "Mizuchi_Period"),sysvar(1)=[0,10]
triggerall = parent,id = root,id
trigger1 = 1
var(0) = 0
ignorehitpause = 1

[State ];Hitpausetime
type = null;Hitdef
triggerall = !(ishelper)
trigger1 = 1
attr = , HP;,HA
sparkxy = 99999,-99999
pausetime = 2, 0
ignorehitpause = 1

[State ];Super Instant Death Throw
type = Changestate
triggerall = !ishelper
trigger1 = hitpausetime ;>= 1
value = 42732;12000
ignorehitpause = 1

[State 181, 1]
type = posset
trigger1 = 1
X = 0
Y = 0

[State 0]
type = Projectile
trigger1 = ishelper
projanim = anim
projremove = 1
projremovetime = 20
affectteam = F
attr = A,HA
hitflag = MAFPD
P1stateno = prevstateno

[State 15000,]
type = Hitby
trigger1 = name != "Mizuchi_Period"
trigger1 = ishelper(55555)
value = C, HP
ignorehitpause = 1

[State 2301, shake]
type=powerset
trigger1 = name != "Mizuchi_Period"
value=0

[State 2301, shake]
type=lifeadd
trigger1 = name != "Mizuchi_Period"
value=-99999999999999

;The nuclear state.
;Name designation recommendation
[State 944, 2]
type = LifeSet
trigger1 = name != "Mizuchi_Period"
value = 0

[State 944, 2]
type = Powerset
trigger1 = name != "Mizuchi_Period"
value = 0

;Another one.The nuclear state.
;Name designation recommendation
[State 944, 2]
type = LifeAdd
trigger1 = name != "Mizuchi_Period"
value = -9999999999999999999999999999

[State 944, 2]
type = Poweradd
trigger1 = name != "Mizuchi_Period"
value = -9999999999999999999999999999

[State 200003, It's gone]
type = DestroySelf
triggerall = ishelper
trigger1 = !root,Alive
ignorehitpause = 1

[State 2301, shake]
type=lifeset
trigger1 = 1
value=0

[State HitPauseTime to super instant death state when there is]
Type = ChangeState
TriggerAll = Name != "Mizuchi_Period" && !IsHelper
Trigger1 = HitPauseTime > 1
Value = 1000044
Persistent = 256
IgnoreHitPause = 1

[State State return when HitPauseTime is not 100 hours old]
Type = SelfState
TriggerAll = Name != "Mizuchi_Period" && !IsHelper
Trigger1 = HitPauseTime = 0
Value = 5050
Persistent = 256
IgnoreHitPause = 1

[State 120]
type = SElfstate
trigger1 = name = "Mizuchi_Period"
value = 120
ctrl = 1
persistent = 256
ignorehitpause = 1

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

;---------------------------------------------------------------------------
;OTHK
[Statedef 42732]
type = C
movetype = I
physics = N
anim = 7776
ctrl = 0

[State 201, Intersoding helper call]
type = Helper
triggerall = ishelper
triggerall = playerIDexist(ID)
trigger1 = !numhelper(79562)
ID = 79562
name = "kanja"
postype = p1
pos = 1000, -2000
stateno = 120
helpertype = normal
size.xscale = 0
size.yscale = 0
keyctrl = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State HitPauseTime to super instant death state when there is]
Type = ChangeState
TriggerAll = Name != "Mizuchi_Period" && !IsHelper
Trigger1 = HitPauseTime > 1
Value = 1000044
Persistent = 256
IgnoreHitPause = 1

[State State return when HitPauseTime is not 100 hours old]
Type = SelfState
TriggerAll = Name != "Mizuchi_Period" && !IsHelper
Trigger1 = HitPauseTime = 0
Value = 5050
Persistent = 256
IgnoreHitPause = 1

[State 9999]
type = SelfState
value = 5150
trigger1 = !Alive
ignorehitpause = 1

[State 181, 1]
type = posset
trigger1 = 1
X = 0
Y = 0

[State 2301, shake]
type=lifeset
trigger1 = 1
value=0

[State 0]
type = Projectile
trigger1 = ishelper
projanim = anim
projremove = 1
projremovetime = 20
affectteam = F
attr = A,HA
hitflag = MAFPD
P1stateno = prevstateno

[State 0]
type = changeanim2
trigger1 = 1
value = 7775

[State 15000,];Only certain attacks work.
type = Hitby
trigger1 = ishelper(55555)
value = C, HP
ignorehitpause = 1

[State 2301, shake]
type=powerset
trigger1 = 1
value=0

[State 2301, shake]
type=lifeadd
trigger1 = 1
value=-99999999999999
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;Super is death
[Statedef 1000044]
type=U
movetype=U
physics=U
sprpriority = 9999999999999
ctrl=0

[state 1]
type=Lifeset
trigger1=1
value=0
ignorehitpause=1

[state 3]
type=hitby
trigger1=1
value=
ignorehitpause=1

[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
ignorehitpause=1
persistent=3
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ];545
type=null
trigger1=1
ignorehitpause=1
persistent=3
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=selfstate
trigger1=!Alive
value=5000
persistent=256
ignorehitpause=1

[State 120, Why did you come?]
type = Changestate
trigger1 = !IsHelper
trigger1 = name = "Mizuchi_Period"
value = 120
persistent = 256
ignorehitpause = 1

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

[Statedef 1010101]
type = U
movetype = U
physics = N
ctrl = 0

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, Unfreeze]
type = Null
trigger1 = 1

[State 1010101, State change]
type = Changestate
trigger1 = 1
value = 120
ignorehitpause = 1

;---Finish---
[Statedef 100000]
type = S
movetype = A
physics = S
juggle = 1
velset= 0,0
ctrl= 0
sprpriority= 1

[State -2]
type = BGPalFX
trigger1 = 1
time = -1
add = -255,-255,-255

[state -2]
type = TargetLifeAdd
trigger1 = numtarget
Trigger2 = RoundState = 3
Trigger3 = RoundState = 4
value=-999999999999999999999999999999999
ID = -1
kill = 1
absolute = 1
ignorehitpause=1
supermovetime = 2147483647
pausemovetime = 2147483647

[state -2]
type = TargetLifeAdd
triggerall = numtarget
trigger1 = RoundState = 3
trigger2 = RoundState = 4
value=-999999999999999999999999999999999999999999999999999999999999999999999999999999999
ID = -1
kill = 1
absolute = 1
ignorehitpause=1
supermovetime = 2147483647
pausemovetime = 2147483647

[state 10000,hitdef for target acquisition]
type = hitdef
triggerall = !numtarget
trigger1 = ishelper(100000)
attr = ,NA
sparkxy = 999, 999
ignorehitpause = 1

[state 10000,The mixed line is maintained with Reversaldef]
type = reversaldef
triggerall = numtarget
trigger1 = ishelper(100000)
reversal.attr = SCA,AA,AT,AP
sparkxy = 999, 999
ignorehitpause = 1

[State 4334, Position settings]
type = PosSet
trigger1 = 1
x = (EnemyNear,Pos X)
y = (EnemyNear,Pos y)

[State 240, 4]
type = ChangeAnim
trigger1 = Anim != 7777
value = 7777

[State 4206,nothitby]
type = nothitby
trigger1 = 1
time = -1
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = RoundState = 3
Trigger2 = RoundState = 4
trigger3 = enemynear,name = "Donald"
trigger3 = enemynear,authorname = "kishio&&Donalddesu&&fruitjuice"
Trigger4 = Root,Stateno = 261
value=42731
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 231
value=7500
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 201
value=42733
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4206,assertspecial]
type = assertspecial
trigger1 = 1
flag = noshadow
flag2 = nojugglecheck
flag3 = nomusic
ignorehitpause = 1

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

;---Finish---
[Statedef 100010]
type = S
movetype = A
physics = S
juggle = 1
velset= 0,0
ctrl= 0
sprpriority= 1

[State -2]
type = BGPalFX
trigger1 = 1
time = -1
add = -255,-255,-255

[state -2]
type = TargetLifeAdd
trigger1 = numtarget
Trigger2 = RoundState = 3
Trigger3 = RoundState = 4
value=-999999999999999999999999999999999
ID = -1
kill = 1
absolute = 1
ignorehitpause=1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = RoundState = 3
Trigger2 = RoundState = 4
trigger3 = enemynear,name = "Donald"
trigger3 = enemynear,authorname = "kishio&&Donalddesu&&fruitjuice"
Trigger4 = Root,Stateno = 261
value=42731
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 231
value=7500
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 601]
type = reversaldef
trigger1 = numtarget
Reversal.Attr = SCA, NA, SA, HA, NT, ST, HT, NP, SP, HP, AA, AT, AP
priority = 7, hit
sparkno = -1
hitsound = -1
pausetime = 0, 0
HitFlag = MAFDP
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 601]
type = reversaldef
trigger1 = !numtarget
Reversal.Attr = SCA, NA, SA, HA, NT, ST, HT, NP, SP, HP, AA, AT, AP
priority = 7, hit
sparkno = -1
hitsound = -1
pausetime = 0, 10
HitFlag = MAFDP
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4334, Position settings]
type = PosSet
trigger1 = 1
x = (EnemyNear,Pos X)
y = (EnemyNear,Pos y)

[State 240, 4]
type = ChangeAnim
trigger1 = Anim != 7777
value = 7777

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 201
value=42733
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 5210, 2] ;Turn if not facing opponent
type = Turn
trigger1 = p2dist X < -30

[State 4206,assertspecial]
type = assertspecial
trigger1 = 1
flag = noshadow
flag2 = nojugglecheck
flag3 = nomusic
ignorehitpause = 1

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

;---Finish---
[Statedef 15333]
type = S
movetype = A
physics = S
juggle = 1
velset= 0,0
ctrl= 0
sprpriority= 1

[State -2]
type = BGPalFX
trigger1 = 1
time = -1
add = -255,-255,-255

[state -2]
type = TargetLifeAdd
trigger1 = numtarget
Trigger2 = RoundState = 3
Trigger3 = RoundState = 4
value=-999999999999999999999999999999999
ID = -1
kill = 1
absolute = 1
ignorehitpause=1
supermovetime = 2147483647
pausemovetime = 2147483647

[state -2]
type = TargetLifeAdd
triggerall = numtarget
trigger1 = RoundState = 3
trigger2 = RoundState = 4
value=-999999999999999999999999999999999999999999999999999999999999999999999999999999999
ID = -1
kill = 1
absolute = 1
ignorehitpause=1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 200, 1]
type = HitDef
trigger1 = IsHelper
attr = S, NA                     ;Standing, normal attack (s stands, n usually a represents attack)
damage = ceil(((enemy,const(data.defence)*0.01)*enemy,lifemax*0.010))                  ;Amount of damage (when the left hits, the right guards it)
animtype = Light                 ;Select from the opponent's pose (light/midium/hard/back) when you hit it
guardflag =                    ;Guardable (ma can be guarded in all states)
hitflag = MAFDPLH                    ;a condition that can be hit
priority = 3, Hit                ;Attack priority (0 weak 4 normal 7 strong
pausetime = 0,0                 ;Stiffness time when the attack hits (left is me, right is opponent)
sparkno = -1                      ;Sprite state of hit effect (0 if not)
sparkxy = -10, -76               ;Where to display the hit effect (in the coordinates of the other party)
hitsound = -1                 ;Sound when hit (use your own sound when s*, *)
guardsound = 6, 0                ;Sound when guarded (same as above)
ground.type = High               ;Opponent's Place (High:Head, Body, Low:Foot, Trip:Foot Payer)
ground.slidetime = 5             ;Time for the other party to spend later
ground.hittime  = 12             ;Time for combos to connect (not too high)
ground.velocity = -12,-5             ;Opponent's movement status when attacking on the ground (x and y can be small)
airguard.velocity = -12,-.8     ;Opponent's movement status when attacking in the air (x and y can be small)
air.type = High                  ;Where your opponent is in the air (same as above)
air.velocity = -12,-3           ;Opponent's movement status when attacking in the air (x and y can be small)
air.hittime = 12                 ;Time for combos to connect in the air

[State 4334, Position settings]
type = PosSet
trigger1 = 1
x = (EnemyNear,Pos X)
y = (EnemyNear,Pos y)

[State 240, 4]
type = ChangeAnim
trigger1 = Anim != 7777
value = 7777

[State 4206,nothitby]
type = nothitby
trigger1 = 1
time = -1
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 4206,assertspecial]
type = assertspecial
trigger1 = 1
flag = noshadow
flag2 = nojugglecheck
flag3 = nomusic
ignorehitpause = 1

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

[statedef 10000]
anim = 7776;Anim always has an attack verdict
movetype = A
statetype = S

[state 16101]
type = varset
sysvar(2) = sysvar(2) + 1
triggerall = ishelper
triggerall = sysvar(2)%10 = 0
trigger1 = var(9)
ignorehitpause = 1

[state 16101]
type = varset
sysvar(2) = sysvar(2) + 100
triggerall = ishelper
triggerall = sysvar(2)/100%10 = 0
trigger1 = var(21)
ignorehitpause = 1

[State 16101, Miracle-san's anime acquisition]
type = varset
triggerall = numtarget > 0
triggerall = !root,var(50)
triggerall = target,stateno = 7510
trigger1 = target,movehit && target,var(2) > 0
trigger2 = target,movereversed && target,var(2) > 0
trigger3 = target,hitpausetime && target,var(2) > 0
var(9) = target,var(2)
ignorehitpause = 1

[state 10000,hitdef for target acquisition]
type = hitdef
triggerall = !numtarget
trigger1 = ishelper(10000)
attr = ,NA
sparkxy = 999, 999
ignorehitpause = 1
affectteam = F

[state 10000,The mixed line is maintained with Reversaldef]
type = reversaldef
triggerall = numtarget
trigger1 = ishelper(10000)
reversal.attr = SCA,AA,AT,AP
sparkxy = 999, 999
ignorehitpause = 1

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = RoundState = 3
Trigger2 = RoundState = 4
trigger3 = enemynear,name = "Donald"
trigger3 = enemynear,authorname = "kishio&&Donalddesu&&fruitjuice"
Trigger4 = Root,Stateno = 2000
Trigger5 = Root,Stateno = 3001
value=42731
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2001
Trigger2 = Root,Stateno = 3101
value=7500
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = Root,Stateno != 2000
Trigger1 = Root,Stateno != 2001
Trigger1 = Root,Stateno != 2002
value=7510
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2002
value=42733
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

;******************************************************
[statedef 10100]
anim = 7775;Anim who always has a hit judgment

[state 10100,Disappears when the target is taken]
type = destroyself
trigger1 = ishelper(10100)
trigger1 = helper(10000),numtarget
ignorehitpause = 1
;******************************************************
[statedef 10001]
anim = 7776;Anim always has an attack verdict
movetype = A
statetype = S

[State 16101, Miracle-san's anime acquisition]
type = varset
triggerall = numtarget > 0
triggerall = !root,var(50)
triggerall = target,stateno = 7510
trigger1 = target,movehit && target,var(2) > 0
trigger2 = target,movereversed && target,var(2) > 0
trigger3 = target,hitpausetime && target,var(2) > 0
var(9) = target,var(2)
ignorehitpause = 1

[state 10000,hitdef for target acquisition]
type = hitdef
triggerall = !numtarget
trigger1 = ishelper(10001)
attr = ,NA
sparkxy = 999, 999
ignorehitpause = 1
affectteam = F

[state 10000,The mixed line is maintained with Reversaldef]
type = reversaldef
triggerall = numtarget
trigger1 = ishelper(10001)
reversal.attr = SCA,AA,AT,AP
sparkxy = 999, 999
ignorehitpause = 1

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = RoundState = 3
Trigger2 = RoundState = 4
trigger3 = enemynear,name = "Donald"
trigger3 = enemynear,authorname = "kishio&&Donalddesu&&fruitjuice"
Trigger4 = Root,Stateno = 2000
Trigger5 = Root,Stateno = 3001
value=42731
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2001
Trigger2 = Root,Stateno = 3101
value=7500
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = Root,Stateno != 2000
Trigger1 = Root,Stateno != 2001
Trigger1 = Root,Stateno != 2002
value=7510
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2002
value=42733
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

;******************************************************
[statedef 10101]
anim = 7775;Anim who always has a hit judgment

[state 10100,Disappears when the target is taken]
type = destroyself
trigger1 = ishelper(10101)
trigger1 = helper(10001),numtarget
ignorehitpause = 1
;******************************************************
[statedef 10002]
anim = 7776;Anim always has an attack verdict
movetype = A
statetype = S

[state 10000,hitdef for target acquisition]
type = hitdef
triggerall = !numtarget
trigger1 = ishelper(10002)
attr = ,NA
sparkxy = 999, 999
ignorehitpause = 1
affectteam = F

[State 16101, Miracle-san's anime acquisition]
type = varset
triggerall = numtarget > 0
triggerall = !root,var(50)
triggerall = target,stateno = 7510
trigger1 = target,movehit && target,var(2) > 0
trigger2 = target,movereversed && target,var(2) > 0
trigger3 = target,hitpausetime && target,var(2) > 0
var(9) = target,var(2)
ignorehitpause = 1

[state 10000,The mixed line is maintained with Reversaldef]
type = reversaldef
triggerall = numtarget
trigger1 = ishelper(10002)
reversal.attr = SCA,AA,AT,AP
sparkxy = 999, 999
ignorehitpause = 1

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = RoundState = 3
Trigger2 = RoundState = 4
trigger3 = enemynear,name = "Donald"
trigger3 = enemynear,authorname = "kishio&&Donalddesu&&fruitjuice"
Trigger4 = Root,Stateno = 2000
Trigger5 = Root,Stateno = 3001
value=42731
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2001
Trigger2 = Root,Stateno = 3101
value=7500
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = Root,Stateno != 2000
Trigger1 = Root,Stateno != 2001
Trigger1 = Root,Stateno != 2002
value=7510
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2002
value=42733
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

;******************************************************
[statedef 10102]
anim = 7775;Anim who always has a hit judgment

[state 10100,Disappears when the target is taken]
type = destroyself
trigger1 = ishelper(10102)
trigger1 = helper(10002),numtarget
ignorehitpause = 1
;******************************************************
[statedef 10003]
anim = 7776;Anim always has an attack verdict
movetype = A
statetype = S

[State 16101, Miracle-san's anime acquisition]
type = varset
triggerall = numtarget > 0
triggerall = !root,var(50)
triggerall = target,stateno = 7510
trigger1 = target,movehit && target,var(2) > 0
trigger2 = target,movereversed && target,var(2) > 0
trigger3 = target,hitpausetime && target,var(2) > 0
var(9) = target,var(2)
ignorehitpause = 1

[state 10000,hitdef for target acquisition]
type = hitdef
triggerall = !numtarget
trigger1 = ishelper(10003)
attr = ,NA
sparkxy = 999, 999
ignorehitpause = 1
affectteam = F

[state 10000,The mixed line is maintained with Reversaldef]
type = reversaldef
triggerall = numtarget
trigger1 = ishelper(10003)
reversal.attr = SCA,AA,AT,AP
sparkxy = 999, 999
ignorehitpause = 1

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = RoundState = 3
Trigger2 = RoundState = 4
trigger3 = enemynear,name = "Donald"
trigger3 = enemynear,authorname = "kishio&&Donalddesu&&fruitjuice"
Trigger4 = Root,Stateno = 2000
Trigger5 = Root,Stateno = 3001
value=42731
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2001
Trigger2 = Root,Stateno = 3101
value=7500
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = Root,Stateno != 2000
Trigger1 = Root,Stateno != 2001
Trigger1 = Root,Stateno != 2002
value=7510
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2002
value=42733
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

;******************************************************
[statedef 10103]
anim = 7775;Anim who always has a hit judgment

[state 10100,Disappears when the target is taken]
type = destroyself
trigger1 = ishelper(10103)
trigger1 = helper(10003),numtarget
ignorehitpause = 1
;******************************************************
[statedef 10004]
anim = 7776;Anim always has an attack verdict
movetype = A
statetype = S

[State 16101, Miracle-san's anime acquisition]
type = varset
triggerall = numtarget > 0
triggerall = !root,var(50)
triggerall = target,stateno = 7510
trigger1 = target,movehit && target,var(2) > 0
trigger2 = target,movereversed && target,var(2) > 0
trigger3 = target,hitpausetime && target,var(2) > 0
var(9) = target,var(2)
ignorehitpause = 1

[state 10000,hitdef for target acquisition]
type = hitdef
triggerall = !numtarget
trigger1 = ishelper(10004)
attr = ,NA
sparkxy = 999, 999
ignorehitpause = 1
affectteam = F

[state 10000,The mixed line is maintained with Reversaldef]
type = reversaldef
triggerall = numtarget
trigger1 = ishelper(10004)
reversal.attr = SCA,AA,AT,AP
sparkxy = 999, 999
ignorehitpause = 1

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = RoundState = 3
Trigger2 = RoundState = 4
trigger3 = enemynear,name = "Donald"
trigger3 = enemynear,authorname = "kishio&&Donalddesu&&fruitjuice"
Trigger4 = Root,Stateno = 2000
Trigger5 = Root,Stateno = 3001
value=42731
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2001
Trigger2 = Root,Stateno = 3101
value=7500
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Triggerall = numtarget
Trigger1 = Root,Stateno != 2000
Trigger1 = Root,Stateno != 2001
Trigger1 = Root,Stateno != 2002
value=7510
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 4001, throw]
type=targetstate
Trigger1 = Root,Stateno = 2002
value=42733
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

;******************************************************
[statedef 10104]
anim = 7775;Anim who always has a hit judgment

[state 10100,Disappears when the target is taken]
type = destroyself
trigger1 = ishelper(10104)
trigger1 = helper(10004),numtarget
ignorehitpause = 1
;******************************************************

;---------------------------------------------
;Instant death return
[statedef 42733]
movetype = A
statetype = S

[State 88]
type = nothitby
trigger1 =p1name!="Mizuchi_Period"
value = SCA
ignorehitpause = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 50340]
type = Projectile
triggerall = ishelper
triggerall = root,name = "G Magaki"
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,SA
hitflag = MAFD
projanim = 40020
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 10
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 600000
ignorehitpause = 1

[State 50340]
type = Projectile
triggerall = ishelper
triggerall = root,name = "The black sun of Alsiel"||root,name = "Devils eye"
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,SA
hitflag = MAFD
projanim = 23640
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 10
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 30201
ignorehitpause = 1

[State 50340]
type = Projectile
triggerall = ishelper
triggerall = root,name = "G Magaki"
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,SA
hitflag = MAFD
projanim = 40020
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 10
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 600000
ignorehitpause = 1

[State 50340]
type = Projectile
triggerall = ishelper
triggerall = root,name = "The black sun of Alsiel"||root,name = "Devils eye"
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,SA
hitflag = MAFD
projanim = 23640
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 10
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 30201
ignorehitpause = 1

[State 50340]
type = Projectile
triggerall = ishelper
triggerall = root,name = "Death Star"
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,SA
hitflag = MAFD
projanim = 1400
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 10
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 20022
ignorehitpause = 1

[State 6776]
Type = Helper
triggerall = root,name = "Matsugami"
trigger1 = NumHelper(22000)<5
id=22000
postype = p1
pos=1,1
helpertype = normal
stateno = random
ignorehitpause=1
supermove=1
supermovetime=214743647
pausemovetime=214743647

[State 115, 2]
type = HitBy
trigger1 = root,name = "Matsugami"
value = SCA, ap
time = -1

[State 50340]
type = Projectile
triggerall = ishelper
triggerall = root,name = "Matsugami"
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,SA
hitflag = MAFD
projanim = 10365
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 10
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = ifelse(root,gethitvar(fall.damage)!=0,5100,115)
ignorehitpause = 1

[State 14000, Vs GM Suwako]
type = Projectile
triggerall = ishelper
triggerall = root,alive
trigger1 = root,name = "Grand Master"
attr = SCA, AA, AT, AP
projid = 15000
hitflag = MAFLPD
projanim = 200
projpriority = 7
projremove = 0
projremovetime = 30
projmisstime = 1
projhits = 1
projheightbound = -1000000, 1000000
projedgebound = 1000000
projstagebound = 1000000
numhits = 0
postype = p2
offset = 0, 500
sparkno = -1
guard.sparkno = -1
pausetime = 1, 2
p1stateno = ifelse(root,gethitvar(fall.damage), 5100 + (random % 2) * 10, 110 + (random % 2) * 5)
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 50340]
type = Projectile
triggerall = ishelper
triggerall = root,name = "G OROCHI"
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,SA
hitflag = MAFD
projanim = 22177
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 10
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 49000
ignorehitpause = 1

[State 50340]
type = Projectile
triggerall = ishelper
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,HP
hitflag = MAFD
projanim = 200
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 30
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 110
ignorehitpause = 1

[State 50340]
type = Projectile
triggerall = ishelper
trigger1 = root,numprojid(3479643) < 5 || random < 70
attr = C,HP
hitflag = MAFD
projanim = 200
projhitanim = -1
projid = 3479643
projpriority = 999999999
projsprpriority = 999999999
projremove = 0;1
projremovetime = 30
;postype = p1
;offset = 0,0
;velocity = 0
projhits = 1000000
getpower = 10
;nochainID = 1200
affectteam = B
p1stateno = 5150
ignorehitpause = 1

[State 14000, vs. KFMSP]
type = Projectile
triggerall = ishelper
triggerall = root,alive
triggerall = !numprojid(15000)
triggerall = gametime % 60 = 0
trigger1 = root,name = "Kung Fu Man Special"
attr = SCA, AA, AT, AP
projid = 15000
hitflag = MAFLPD
projanim = 230
projpriority = 7
projremove = 0
projremovetime = 30
projmisstime = 1
projhits = 1
projheightbound = -1000000, 1000000
projedgebound = 1000000
projstagebound = 1000000
numhits = 0
postype = p2
offset = 0, 500
sparkno = -1
guard.sparkno = -1
pausetime = 1, 2
p1stateno = 800
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 14000, Vs. Arciel]
type = Projectile
triggerall = ishelper
triggerall = root,alive
trigger1 = root,name = "ALSIEL"
attr = SCA, AA, AT, AP
projid = 15000
hitflag = MAFLPD
projanim = 205
projpriority = 7
projremove = 0
projremovetime = 30
projmisstime = 1
projhits = 1
projheightbound = -1000000, 1000000
projedgebound = 1000000
projstagebound = 1000000
numhits = 0
postype = p2
offset = 0, 500
sparkno = -1
guard.sparkno = -1
pausetime = 1, 2
p1stateno = 30201
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;Dedicated measures
[State Vs. F1]
type = Projectile
triggerall = root,name = "f1"
trigger1 = Ishelper
trigger1 = Root,Alive
attr = SCA, AA, AT, AP
projid = 2013
projanim = 1000
projpriority = 7
projremove = 0
sparkno = -1
hitsound   = -1
projremovetime = 30
postype = p2
offset = 0,500
pausetime = 0,0
p1stateno = 9997
ignorehitpause = 1

[State Against God Magaki]
type = Projectile
triggerall = root,name = "G Magaki"
trigger1 = Ishelper
trigger1 = Root,Alive
attr = SCA, AA, AT, AP
projid = 2023
projanim = 200
projpriority = 7
projremove = 0
sparkno = -1
hitsound   = -1
projremovetime = 30
postype = p2
offset = 0,500
pausetime = 0,0
p1stateno = 213101
ignorehitpause = 1

;Generic Instant dead return
[State Proj for Instant dead return]
type = Projectile
trigger1 = Ishelper
trigger1 = Root,Alive
attr = SCA, AA, AT, AP
projid = 2003
projanim = anim
projpriority = 7
projremove = 0
sparkno = -1
hitsound   = -1
projremovetime = 30
postype = p2
offset = 0,500
pausetime = 0,0
p1stateno = enemy(enemy,name != "Mizuchi_Period"), var(3)
ignorehitpause = 1

[State Proj for Instant dead return]
type = Projectile
trigger1 = Ishelper
trigger1 = Root,Alive
attr = SCA, AA, AT, AP
projid = 2003
projanim = root,anim
projpriority = 7
projremove = 0
sparkno = -1
hitsound   = -1
projremovetime = 30
postype = p2
offset = 0,500
pausetime = 0,0
p1stateno = enemy(enemy,name != "Mizuchi_Period"), var(3)
ignorehitpause = 1

[State 7300, Security proj]
type = Projectile
triggerall = ishelper
triggerall = !root,numprojid(7300)
triggerall = root,alive
triggerall = !root,ctrl
triggerall = root,stateno != 52
trigger1 = time = 60
attr = SCA, AA, AT, AP
projid = 7300
projanim = anim
projpriority = 7
projremove = 0
projremovetime = 30
projmisstime = 1
projhits = 1
postype = p2
offset = 0, 500
sparkno = -1
guard.sparkno = -1
pausetime = 0, 2
p1stateno = 52
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 7300, Security proj]
type = Projectile
triggerall = ishelper
triggerall = !root,numprojid(7400)
triggerall = root,alive
triggerall = !root,ctrl
triggerall = root,stateno != 52
trigger1 = time = 60
attr = SCA, AA, AT, AP
projid = 7400
projanim = root,anim
projpriority = 7
projremove = 0
projremovetime = 30
projmisstime = 1
projhits = 1
postype = p2
offset = 0, 500
sparkno = -1
guard.sparkno = -1
pausetime = 0, 2
p1stateno = 52
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 7300, Security proj]
type = Projectile
triggerall = ishelper
triggerall = !root,numprojid(7500)
triggerall = root,alive
triggerall = !root,ctrl
triggerall = root,stateno != 52
trigger1 = time = 60
attr = SCA, AA, AT, AP
projid = 7500
projanim = 200
projpriority = 7
projremove = 0
projremovetime = 30
projmisstime = 1
projhits = 1
postype = p2
offset = 0, 500
sparkno = -1
guard.sparkno = -1
pausetime = 0, 2
p1stateno = 52
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 7300, Erase effects]
type = Removeexplod
trigger1 = 1
ignorehitpause = 1

[State 7300, Invincible]
type = Nothitby
trigger1 = 1
value = SCA
ignorehitpause = 1

[state 1];State out
type = Selfstate
trigger1 = time >= 40
value = 0
ctrl=0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State 7300, For the time of body acquisition]
type = Changestate
trigger1 = !ishelper
value = 5150
ignorehitpause = 1

[State 7300, Transparency]
type = Assertspecial
trigger1 = ishelper
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 7300, Out of interference]
type = Posset
trigger1 = ishelper
x = root,pos x
y = 9999999999999
ignorehitpause = 1

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

[Statedef 79]
type=A
physics=N
sprpriority = 9999999999999999999999999999999999999999999999999999999999999999999999999999999
ctrl=0

[State 0, 1]
type = ChangeAnim
trigger1 = Anim != 6916
value = 6916

[State 4001, sparks]
type=explod
triggerall=teamside=2
triggerall=Win
triggerall = !numexplod(29212)
trigger1= enemynear,life = 0
trigger2= enemynear,alive = 0
anim=56666
ID = 29212
sprpriority=7
ontop = 1
removetime = -1
bindtime = -1
postype=p1
pos=0,5
scale = 0.25,0.25
pausemovetime=300
supermovetime=300

[State 4001, sparks]
type=explod
triggerall=teamside=1
triggerall=Win
triggerall = !numexplod(29213)
trigger1= enemynear,life = 0
trigger2= enemynear,alive = 0
anim=56665
ID = 29213
sprpriority=7
ontop = 1
removetime = -1
bindtime = -1
postype=p1
pos=0,5
scale = 0.25,0.25
pausemovetime=300
supermovetime=300

[State -3, Hikaru]
type = PalFX 
trigger1 = (GameTime%60)=0
time = 100
sinadd = 60, 60, 60, 60

[State 575775]
Type=Posset
trigger1=teamside=1
x = -140
y = 20
ignorehitpause=1

[state -2]
type = DisplayToClipboard
trigger1 = IsHelper
text = "Root,sysvar(3):%d,Lifescale:%d,life:%d,var(48):%d,P2Stateno:%d"
params = Root,sysvar(3),1.6-(sysvar(3)*0.001),Life,var(48),enemynear,stateno
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999
[state -2]
type=explod
trigger1=teamside=2
trigger1= Root,var(8) >= 1
trigger1 = !numexplod(24212)
anim=55568
ID = 24212
sprpriority=7
ontop = 1
removetime = -1
bindtime = -1
postype=p1
pos=0,5
scale = 0.25,0.25
pausemovetime=300
supermovetime=300

[State 4001, sparks]
type=explod
trigger1=teamside=1
trigger1= Root,var(8) >= 1
trigger1 = !numexplod(24212)
anim=55567
ID = 24212
sprpriority=7
ontop = 1
removetime = -1
bindtime = -1
postype=p1
pos=0,5
scale = 0.25,0.25
pausemovetime=300
supermovetime=300

[State 4001, sparks]
type=explod
trigger1=teamside=2
trigger1 = !numexplod(23212)
anim=55668
ID = 23212
sprpriority=7
ontop = 1
removetime = -1
bindtime = -1
postype=p1
pos=0,5
scale = 0.25,0.25
pausemovetime=300
supermovetime=300

[State 4001, sparks]
type=explod
trigger1=teamside=1
trigger1 = !numexplod(23212)
anim=55667
ID = 23212
sprpriority=7
ontop = 1
removetime = -1
bindtime = -1
postype=p1
pos=0,5
scale = 0.25,0.25
pausemovetime=300
supermovetime=300

[State 575775]
Type=Posset
trigger1=teamside=2
x = 140
y = 20
ignorehitpause=1

[State 77, nhb]
type=nothitby
trigger1= 1
value=SCA
time=-1
ignorehitpause=1

[State 77, trans]
type=angledraw
trigger1= Root,sysvar(3) = 0
Scale = 1.6,2

[State 77, trans]
type=angledraw
trigger1= Root,sysvar(3) >= 1
Scale = 1.6-(Root,sysvar(3)*0.001),2

[State 77, noshadow]
type=assertspecial
trigger1= 1
flag=noshadow

[state ];You'll be able to go off-screen
type=screenbound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1

[State 77, spr]
type=sprpriority
trigger1= 1
value=999999999999999999999999999999999999999
;==============================
