[Statedef 3000]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
poweradd = -1000
anim = 3000

[State 0, muteki]
type = nothitby
trigger1 = palno >= 7
value = SCA,AA,AP,AT

[State 0, EnvColor]
type = BGPalFX
trigger1 = 1
mul=230,230,230
time = 1
ignorehitpause = 1
color=0

[State 3000, carga]
type=Explod
trigger1=time = 0
anim = 8504
pos = -70,40
scale = 0.5,0.5
postype = left
vel = 7
removetime = 10
ownpal = 1
sprpriority = -8

[State 3000, carga]
type=Explod
trigger1=time = 5
anim = 8504
pos = 0,40
scale = 0.5,0.5
postype = left
bindtime = -1
vel=0.1
removetime = 40
ownpal = 1
sprpriority = -8

[State 3000, carga]
type=Explod
trigger1=time = 0
anim = 8506
postype = left
pos = 176,82
scale = 0.5,0.5
removetime = 45
bindtime = -1
ownpal = 1
sprpriority = -9

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 45
value = 0, 5

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 53
value = 2000, 10

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
value = 3000, 0
channel = 1

[state ]
type = explod
trigger1 = time = 33
anim = 3031
pos = 0,-100
scale = 1,1
ownpal = 1
sprpriority = 6

[state ]
type = superpause
anim = s2592
pos = 0,-90
trigger1 = time = 0
sound = s4000,3
time = 45
movetime = 45

[State ]
type = Projectile
;-----------------------------------Projectile専用のパラメータ
offset = 30,0
projID = 3090
projanim = 3090
projscale = 1,1
projshadow = 0,0,0
projhits = 999
projmisstime = 0
projremanim = 3091
projpriority = 9999               
projremovetime = 24
sparkno = s3031
sparkxy = p2dist x, -76
;-----------------------------------
trigger1 = time = 53
attr = S, NA
damage = 12, 0
animtype = Light
guardflag = MA
hitflag = MAFD
pausetime = 1,1
priority = 3, Hit
sparkno = s8031
sparkxy = -10, -76
hitsound = s1, 2
guardsound = s2, 0
ground.type = High
ground.slidetime = 10
ground.hittime  = 20
ground.velocity = -1,-23
airguard.velocity = -3.8,-2.8
air.type = High
air.velocity = -2.8,-24
air.hittime = 24
fall = 1
fall.recover = 0
yaccel = 0.5
envshake.time = 16
envshake.ampl = 12
envshake.freq = 100

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------
[Statedef 3200]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3200
poweradd = -1000
facap2 = 1

[State 0, muteki]
type = nothitby
trigger1 = palno >= 7
value = SCA,AA,AP,AT

[State 0, EnvColor]
type = BGPalFX
trigger1 = 1
mul=130,30,30
time = 1
ignorehitpause = 1
color=0

[State 3000, carga]
type=Explod
trigger1=time = 0
anim = 8524
pos = -70,40
scale = 0.5,0.5
postype = left
vel = 7
removetime = 10
ownpal = 1
sprpriority = -8

[State 3000, carga]
type=Explod
trigger1=time = 5
anim = 8524
pos = 0,40
scale = 0.5,0.5
postype = left
bindtime = -1
vel=0.1
removetime = 40
ownpal = 1
sprpriority = -8

[State 3000, carga]
type=Explod
trigger1=time = 0
anim = 8526
postype = left
pos = 176,82
scale = 0.5,0.5
removetime = 45
bindtime = -1
ownpal = 1
sprpriority = -9

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 51
value = 0, 5

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 51
value = 2000, 26

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 51
value = 3000, 7

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
value = 3000, 6
channel = 1

[state ]
type = explod
trigger1 = time = 55
anim = 3031
pos = 0,-51
scale = 1,2
ownpal = 1

[State 200, 音を鳴らす]
type = velset
trigger1 = Time >= 56
x = p2bodydist x -30

[state ]
type = superpause
anim = s2591
pos = -30,-84
trigger1 = time = 0
sound = s4000,3
time = 45
movetime = 45

[state ]
type = explod
trigger1 = time = 33
anim = 8031
pos = -30,-84
scale = 1,1
ownpal = 1
sprpriority = -1

[state ]
type = explod
trigger1 = time = 56
anim = 3290
pos = 90,-71
bindtime = -1
ownpal = 1

[State ]
type = Projectile
;-----------------------------------Projectile専用のパラメータ
offset = 0,0
velocity = p2bodydist x, 0
projID = 3200
projanim = 3201
projscale = 0,0
projshadow = 0,0,0
projhits = 999
projmisstime = 0
projremanim = -1
projpriority = 9999               
projremovetime = 95-56
sparkno = s8031
sparkxy = p2dist x, -76
;-----------------------------------
trigger1 = time = 56
trigger2 = time = 60
attr = S, HA
damage = 32, 0
animtype = Light
guardflag = MA
hitflag = MAFD
pausetime = 4,4
priority = 3, Hit
sparkno = s8031
sparkxy = -10, -76
hitsound = s1, 2
guardsound = s2, 0
ground.type = High
ground.slidetime = 10
ground.hittime  = 20
ground.velocity = -2,-1
airguard.velocity = -3.8,-2.8
air.type = High
air.velocity = -2.8
air.hittime = 24
fall = 1
fall.recover = 0
yaccel = 0.5
envshake.time = 16
envshake.ampl = 12
envshake.freq = 100

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;------------------------------
[Statedef 3100]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
poweradd = -1000
anim = 1100

[State 0, muteki]
type = nothitby
trigger1 = palno >= 7
value = SCA,AA,AP,AT

[State 0, EnvColor]
type = BGPalFX
trigger1 = 1
mul=130,30,130
time = 1
ignorehitpause = 1
color=0

[State 3000, carga]
type=Explod
trigger1=time = 0
anim = 8514
pos = -70,40
scale = 0.5,0.5
postype = left
vel = 7
removetime = 10
ownpal = 1
sprpriority = -8
supermove = 1

[State 3000, carga]
type=Explod
trigger1 =time = 5
anim = 8514
pos = 0,40
scale = 0.5,0.5
postype = left
bindtime = -1
vel=0.1
removetime = 25
ownpal = 1
sprpriority = -8
supermove = 1

[State 3000, carga]
type=Explod
trigger1=time = 0
anim = 8516
postype = left
pos = 176,82
scale = 0.5,0.5
removetime = 30
bindtime = -1
ownpal = 1
sprpriority = -9
supermove = 1

[State 200,]
type = varset
trigger1 = time = 0
var(31) = 0

[state ]
type = superpause
anim = s2591
pos = 0,-84
trigger1 = time = 0
sound = s4000,2
time = 45
movetime = 45

[State 200,]
type = changeanim
trigger1 = 1
value = anim

[State 200, ステート変更]
type = ChangeState
trigger1 = time > 30
value = 3101

[Statedef 3101]
type    = A
movetype= A
physics = N
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1100

[State 0, muteki]
type = nothitby
trigger1 = palno >= 7
value = SCA,AA,AP,AT

[State 0, EnvColor]
type = BGPalFX
trigger1 = 1
mul=130,30,130
time = 1
ignorehitpause = 1
color=0

[State 200,]
type = turn
trigger1 = var(31) > 0
trigger1 = time = 0
trigger1 = p2bodydist x < -10

[State 200,]
type = varadd
trigger1 = animtime = 0
var(31) = 1

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = AnimElem = 4
value = 100, 4

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = time =3
value = 2000, 27

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Animelem = 4
value = 1000, 7+random%6
channel = 1

[State 200,]
type = nothitby
trigger1 = time > 3
value = SCA,AT,AP

[State 200,]
type = playerpush
trigger1 = time > 3
value = 0

[State 200,]
type = velset
trigger1 = time > 3
x = 20
y = p2bodydist y

[State 200,]
type = explod
trigger1 = time = 2
anim = 7104
scale = 0.5,0.5

[state ]
type = explod
trigger1 = time = 2
anim = 3290
pos = 50,-71
bindtime = -1
ownpal = 1

[state ]
type = explod
trigger1 = time =[0,10]
trigger1 = time%2 = 1
anim = 3031
scale = 0.5,0.5
pos = 0,-50
ownpal = 1

[State ]
type = Projectile
;-----------------------------------Projectile専用のパラメータ
offset = 0,0
velocity = 0,0
projID = anim
projanim = anim
projhitanim = 3031
projscale = 0,0
projshadow = 0,0,0
projhits = 1
projmisstime = 0
projpriority = 9999               
projremovetime = 10
sparkno = s8031
guard.sparkno = s8105
sparkxy = p2dist x, -78
;-----------------------------------
trigger1 = time =[0,10]
trigger1 = time%2 = 1
attr = S, NA
damage = 9, 0
animtype = Heavy
guardflag = MA
hitflag = MAFD
pausetime = 1,1
priority = 3, Hit
sparkno = s8031
sparkxy = -10, -76
hitsound = s1, 1
guardsound = s2, 0
ground.type = High
ground.slidetime = 30
ground.hittime  = 30
ground.velocity = -4
airguard.velocity = -3.8,-2.8
air.type = High
air.velocity = -2.8
air.hittime = 24
fall.recover = 0
yaccel = 0.5
envshake.time = 16
envshake.ampl = 12
envshake.freq = 100
air.juggle = 6

[State 200, ステート変更]
type = ChangeState
trigger1 = var(31) < 8
trigger1 = Animtime = 0
value = 3101

[State 200, ステート変更]
type = ChangeState
trigger1 = var(31) >= 8
trigger1 = Animtime = 0
value = 50