;-------------------
; 金網
; ヘルパー
[Statedef 520]
type = S
ctrl = 0
anim = 999
velset = 0,0

[State 193,1]
type = VelAdd
trigger1 = Pos Y < -10
y = .48

[State 193,1]
type = PosSet
trigger1 = Pos Y >= -10
y = -10

[State 193,1]
type = VelSet
trigger1 = Pos Y >= -10
y = -6

[State 193,1]
type = ChangeState
trigger1 = Vel Y < 0
value = 521

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 521
ID = 521
pos = 0,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 522
ID = 522
pos = 96,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 521
ID = 521
pos = 128,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 522
ID = 522
pos = 224,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 521
ID = 521
pos = 256,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 522
ID = 522
pos = 352,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 521
ID = 521
pos = 384,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 522
ID = 522
pos = 480,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 521
ID = 521
pos = 512,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 522
ID = 522
pos = 608,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 521
ID = 521
pos = 640,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 522
ID = 522
pos = 736,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 521
ID = 521
pos = 768,0
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

;---------------------------------------;
; 金網　中

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 0,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 96,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 192,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 288,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 384,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 480,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 576,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 672,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 768,-12
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

; 下から2列目

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 0,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 96,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 192,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 288,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 384,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 480,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 576,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 672,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

[State 193,1]
type = Explod
trigger1 = time = 0
anim = 520
ID = 523
pos = 768,-108
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -2

;---------------------------
; 金網　上辺

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 0,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 96,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 192,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 288,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1


[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 384,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 480,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 576,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 672,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 524,1]
type = Explod
trigger1 = time = 0
anim = 524
ID = 524
pos = 768,-216
postype = p1
supermove = 1
bindtime = 1024
sprpriority = -1

[State 193,1]
type = ChangeState
trigger1 = Parent,Var(1) = 1
value = 523

[State 180, 10]
type = DestroySelf
trigger1 = command = "s"
trigger1 = command = "hold_a"


;-------------------
; 金網
; ヘルパー
[Statedef 521]
type = S
ctrl = 0
anim = 999

[State 500, 0]
type = MakeDust
trigger1 = time = [0,3]
pos = 160,0
spacing = 3
[State 500, 0]
type = MakeDust
trigger1 = time = [4,6]
pos = 250,0
spacing = 3
[State 500, 0]
type = MakeDust
trigger1 = time = [1,4]
pos = 300,0
spacing = 3

[State 1000, 1]
type = PlaySnd
trigger1 = time = 0
value = 9,4
[State 1000, 1]
type = PlaySnd
trigger1 = time = 0
value = 9,1

[State 193,1]
type = VelAdd
trigger1 = Pos Y < -10
y = .48

[State 193,1]
type = PosSet
trigger1 = Pos Y >= -10
trigger1 = time > 0
y = -10

[State 193,1]
type = VelSet
trigger1 = Pos Y >= -10
trigger1 = time > 0
y = -3

[State 193,1]
type = ChangeState
trigger1 = Pos Y >= -10
trigger1 = time > 0
value = 522

[State 193,1]
type = ChangeState
trigger1 = Parent,Var(1) = 1
value = 523

[State 180, 10]
type = DestroySelf
trigger1 = command = "s"
trigger1 = command = "hold_a"

;-------------------
; 金網
; ヘルパー
[Statedef 522]
type = S
ctrl = 0
anim = 999

[State 1000, 1]
type = PlaySnd
trigger1 = time = 0
trigger2 = Pos Y >= -10
trigger2 = Vel Y > 0
trigger2 = time > 0
value = 9,1
[State 1000, 1]
type = PlaySnd
trigger1 = time = 0
trigger2 = Pos Y >= -10
trigger2 = Vel Y > 0
trigger2 = time > 0
value = 9,4

[State 193,1]
type = VelAdd
trigger1 = Pos Y < -10
y = .48

[State 193,1]
type = VelSet
trigger1 = Pos Y >= -10
trigger1 = time > 0
y = 0

[State 193,1]
type = ChangeState
trigger1 = Parent,Var(1) = 1
trigger2 = time > 1800
value = 523

[State 180, 10]
type = DestroySelf
trigger1 = command = "s"
trigger1 = command = "hold_a"

;-------------------
; 金網
; ヘルパー
[Statedef 523]
type = S
ctrl = 0
anim = 999

[State 193,1]
type = VelAdd
trigger1 = time >= 0
y = -0.48

[State 520, 5]
type = removeexplod
trigger1 = Pos Y < -240
ID = 521
[State 520, 5]
type = removeexplod
trigger1 = Pos Y < -240
ID = 522
[State 520, 5]
type = removeexplod
trigger1 = Pos Y < -240
ID = 523
[State 520, 5]
type = removeexplod
trigger1 = Pos Y < -240
ID = 524


[State 193,1]
type = ParentVarSet
trigger1 = Parent,Var(1) = 1
trigger1 = time = 0
v = 1
value = 0

[State 180, 10]
type = DestroySelf
trigger1 = command = "s"
trigger1 = command = "hold_a"
trigger2 = Pos Y < -240
