[StateDef 4000]
type = S
physics = N
movetype = I
anim = 15000
velset = 0,0

[State 4000]
type = PlayerPush
trigger1 = Time >= 0
value = 0

[State 4000]
type = Helper
trigger1 = Time = 0
pos = 70,-100
stateno = 4001
ownpal = 0
id = 4000

[State 4000]
type = ChangeState 
trigger1 = Time >= 300
value = 0

[StateDef 4001]
type = S
physics = N
movetype = I
anim = 4000
velset = 0,0
ctrl = 0

[State 4001]
type = Sprpriority
trigger1 = Time >= 0
value = -120

[State 4001]
type = AngleAdd
trigger1 = Time = 0
value = -90

[State 4001]
type = Helper
trigger1 = Time = 0
pos = 0,50
stateno = 4002
ownpal = 0
id = 4001

[State 4001]
type = AngleAdd
trigger1 = Time <= 40
value = 3

[State 4001]
type = AngleDraw
trigger1 = Time >= 0

[State 4001]
type = AngleAdd
trigger1 = Time >= 120
trigger1 = Time <= 132
value = -6

[State 4001]
type = AngleAdd
trigger1 = Time >= 180
trigger1 = Time <= 210
value = 2

[State 4001]
type = AngleAdd
trigger1 = Time >= 210
trigger1 = Time <= 255
value = -2

[State 4001]
type = VelSet
trigger1 = Time = 255
x = -1
y = 1

[State 4001]
type = ParentVarSet
trigger1 = Time >= 300
v = 0
value = 240

[State 4001]
type = DestroySelf
trigger1 = Time >= 300

[StateDef 4002]
type = S
physics = N
movetype = I
velset = 0,0
anim = 4010
ctrl = 0

[State 4002]
type = Helper
trigger1 = Time = 0
pos = 80,60
stateno = 4003
ownpal = 0
id = 4002

[State 4002]
type = Sprpriority
trigger1 = Time >= 0
trigger1 = Time < 120
trigger2 = Time >= 210
value = -119

[State 4002]
type = VelSet
trigger1 = Time = 0
x = 4
y = -2.7

[State 4002]
type = VelAdd
trigger1 = Time <= 40
x = -0.1

[State 4002]
type = VelSet
trigger1 = Time = 40
x = 0
y = 0

[State 4002]
type = AngleAdd
trigger1 = Time > 40
trigger1 = Time <= 60
value = 1

[State 4002]
type = AngleDraw
trigger1 = Time > 40

[State 4002]
type = ChangeAnim
trigger1 = Time = 120
value = 4011

[State 4002]
type = Sprpriority
trigger1 = Time = 120
value = -97

[State 4002]
type = AngleSet
trigger1 = Time = 120
value = 0

[State 4002]
type = AngleAdd
trigger1 = Time >= 120
trigger1 = Time < 135
value = -3

[State 4002]
type = VelSet
trigger1 = Time = 120
y = 7

[State 4002]
type = VelSet
trigger1 = Time = 135
y = 0

[State 4002]
type = AngleSet
trigger1 = Time = 180
value = 10

[State 4002]
type = AngleAdd
trigger1 = Time >= 180
trigger1 = Time < 190
value = -1

[State 4002]
type = PosAdd
trigger1 = Time >= 180
trigger1 = Time < 190
y = -2

[State 4002]
type = ChangeAnim
trigger1 = Time = 180
value = 4010

[State 4002]
type = VelSet
trigger1 = Time = 180
y = -2

[State 4002]
type = VelSet
trigger1 = Time = 210
y = 2

[State 4002]
type = VelSet
trigger1 = Time = 210
x = -1

[State 4002]
type = DestroySelf
trigger1 = Time >= 300

[StateDef 4003]
type = S
physics = N
movetype = A
anim = 4020
velset = 0,0
ctrl = 0

[State 4003]
type = AngleAdd
trigger1 = Time = 0
value = -10

[State 4003]
type = AngleAdd
trigger1 = Time > 40
trigger1 = Time <= 60
value = 0.5

[State 4003]
type = AngleDraw
trigger1 = Time >= 0
trigger1 = Time < 120

[State 4003]
type = Sprpriority
trigger1 = Time >= 0
trigger1 = Time < 120
trigger2 = Time >= 210
value = -118

[State 4003]
type = VelSet
trigger1 = Time = 0
x = 3.2
y = -2.4

[State 4003]
type = VelAdd
trigger1 = Time <= 60
x = -0.05333333333333333

[State 4003]
type = VelSet
trigger1 = Time = 60
x = 0
y = 0

[State 4003]
type = PosAdd
trigger1 = Time = 120
x = -20
y = -20

[State 4003]
type = ChangeAnim
trigger1 = Time = 120
value = 4021

[State 4003]
type = Sprpriority
trigger1 = Time >= 120
trigger1 = Time < 210
value = 100

[State 4003]
type = VelSet
trigger1 = Time = 120
y = 8.5

[State 4003]
type = VelSet
trigger1 = Time = 135
y = 0

[State 4003]
type = PlaySnd
trigger1 = Time = 100
value = 4000,0
volume = 250

[State 4003]
type = EnvShake
trigger1 = Time = 135
time = 30

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10001
pos = 20,99
facing = 1
removetime = -1
sprpriority = -98
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10002
pos = 20,99
facing = 1
removetime = -1
sprpriority = -99
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10030
pos = 20,25
removetime = 12
sprpriority = -98
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10031
pos = 20,25
removetime = 8
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10011
pos = 20,50
random = 0,50
removetime = 120
velocity = 1,-10
accel = 0,0.5
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10011
pos = 20,0
random = 0,50
removetime = 120
velocity = -1,-10
accel = 0,0.5
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10011
pos = 20,0
random = 0,50
removetime = 120
velocity = -3,-7
accel = 0,0.5
sprpriority = 99
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10020
pos = 20,0
random = 0,50
removetime = 120
velocity = -3,-3.5
accel = 0,0.25
sprpriority = 99
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10020
pos = 20,0
random = 0,50
removetime = 120
velocity = -5,-5
accel = 0,0.25
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10020
pos = 20,0
random = 0,50
removetime = 120
velocity = 3,-3.5
accel = 0,0.25
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = 10020
pos = 20,0
random = 0,50
removetime = 120
velocity = 3,-9
accel = 0,0.25
sprpriority = 99
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = F15
pos = 20,25
removetime = 12
sprpriority = -98
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = F50
pos = 20,25
random = 150,0
removetime = 45
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = F50
pos = 20,25
random = 150,0
removetime = 45
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = F50
pos = 20,25
random = 150,0
removetime = 45
sprpriority = 101
ownpal = 1

[State 4003]
type = Explod
trigger1 = Time = 135
anim = F50
pos = 20,25
random = 150,0
removetime = 45
sprpriority = 101
ownpal = 1

[State 4003]
type = HitDef
trigger1 = Time = 120
trigger1 = MoveContact = 0
attr = S, HA
damage = 300
hitflag = MAP
guardflag = 
sparkno = -1
animtype = Heavy
ground.type = Trip
ground.hittime = 120
ground.slidetime = 120
air.velocity = 0,10
fall = 1

[State 4003]
type = HitDef
trigger1 = Time = 135
trigger2 = MoveContact = 1
attr = S, NA
damage = 10
hitflag = 
guardflag = 
sparkno = -1
animtype = Back
ground.type = Trip
ground.velocity = 0,-1
fall = 1

[State 4003]
type = ChangeAnim
trigger1 = Time = 180
value = 4020

[State 4003]
type = VelSet
trigger1 = Time = 180
y = -2

[State 4003]
type = VelSet
trigger1 = Time = 210
y = 2

[State 4003]
type = VelSet
trigger1 = Time = 210
x = -1

[State 4003]
type = DestroySelf
trigger1 = Time >= 300