[statedef 1630]
type    = A
movetype= H
physics = N
velset = 0,0
[state ]
type = ScreenBound
trigger1 = 1
value = 1
movecamera = 1,0
[state ]
type = Posset
trigger1 = time = 0
y = 0
[state ]
type = ChangeAnim2
trigger1 = time = 0
value = 1625
[state ]
type = PlaySnd
trigger1 = time = 0
value = s11,0
freqmul = 1.3
volume = 255
[state ]
type = PlaySnd
trigger1 = time = 0
value = s11,1
freqmul = 1.3
volume = 255
[state ]
type = PlaySnd
trigger1 = time = 0
value = s11,10
freqmul = 1.3
volume = 255
[state ]
type = PlaySnd
trigger1 = time = 0
value = s12,0
freqmul = 1.3
volume = 255
[state ]
type = PlaySnd
trigger1 = time = 0
value = s110,100
freqmul = 1.3
volume = 255
[state ]
type = PlaySnd
trigger1 = time = 0
value = s183,1
freqmul = 1.3
volume = 255
[state ]
type = SelfState
trigger1 = anim = 2204
trigger1 = Enemy,Stateno!=2203
value = 5100

[statedef 1635]
type    = A
movetype= H
physics = N
velset = 0,0
[state ]
type = PlaySnd
trigger1 = time = 0
value = s11,0
freqmul = 0.5
[state ]
type = PlaySnd
trigger1 = time = 0
value = s11,1
freqmul = 0.7
[state ]
type = PlaySnd
trigger1 = time = 0
value = s11,10
freqmul = 0.7
[state ]
type = PlaySnd
trigger1 = time = 0
value = s12,0
freqmul = 0.7
[state ]
type = PlaySnd
trigger1 = time = 0
value = s110,100
freqmul = 0.7
[state ]
type = PlaySnd
trigger1 = time = 0
value = s183,1
freqmul = 0.7
[state ]
type = screenbound
trigger1 = animelemtime(19) < 0
value = 0
[state ]
type = changeanim2
trigger1 = time = 0
value = 1630

[state ]
type = posset
trigger1 = AnimElem = 19
y = -10
[state ]
type = Veladd
trigger1 = AnimElemtime(19) >= 0
y = .4
[state ]
type = SelfState
triggerall = AnimElemtime(23) >= 0
trigger1 = Pos Y >= 0
trigger1 = Vel Y > 0
value = 5100

[Statedef 944]
type = A
movetype = H
physics = N
ctrl = 0
[State ]
type = NotHitBy
trigger1 = 1
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
time = 1
ignorehitpause = 1
[State ]
type = ChangeAnim2
trigger1 = ishelper
trigger1 = time > 0
value = 2416
[State ]
type = DestroySelf
trigger1 = ishelper
trigger1 = time = 2
ignorehitpause = 1
[State ]
type = ChangeAnim
trigger1 = !ishelper
value = 5010
[State ]
type = VelSet
trigger1 = 1
x = 0
y = 0
[State ]
type = PosSet
trigger1 = time = 0
trigger1 = !ishelper
y = 999
[State ]
type = LifeSet
trigger1 = name!="Mizuchi-P.x5"
value = 0
[State ]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 0,0
[State ]
type = PlayerPush
trigger1 = 1
value = 0
[State ]
type = SelfState
triggerall = !ishelper
trigger1 = life>0
trigger1 = time = 0
value = 5110
[State ]
type = ChangeState
triggerall = !ishelper
trigger1 = lose
trigger2 = win
value = 5150

[Statedef 9999]
type    = A
movetype= H
physics = N
velset = 0,0
[state ]
type = changeanim
trigger1 = time = 0
value = 5151
[state ]
type = veladd
trigger1 = 1
y = 0.1
[state ]
type = Posset
trigger1 = time = 0
y = 0
[state ]
type = SelfState
trigger1 = Pos Y >= 15
trigger1 = Vel Y > 0
value = 5100
