;Arrabella Seek's
[Statedef 13200]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 7000
poweradd=-7000
anim = 2200
ctrl = 0
sprpriority = 99

[State 777320]
type = NotHitBy
Trigger1 = !IsHelper
value = SCA,AT
Ignorehitpause = 1

[State 777320]
type = NotHitBy
triggerall = palno = 1
trigger1 = Time >= 0
value = SCA, NA, SA, HA, NT, ST, HT

[State 777320]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay
flag2 = nobg
flag3 = nofg

[State Pos]
type = posset
trigger1 = !time && pos y>0
y = 0

[State 777320]
type = Explod
;trigger1 = time = 3
trigger1= !animelemtime(3)
anim = 55000
sprpriority = -4
postype = p1
pos = 5,-70
bindtime = -1
supermove = 1
under = 0
ownpal = 1

[State 777320]
type = playsnd
trigger1 = !animelemtime(1)
value = 10000,58
channel = 0
volume = 255

[State 777320]
type=superpause
trigger1 = !animelemtime(3)
time = 80
anim = -1
sound = s10000,61
p2defmul=1
darken=0

[State 777320]
type = Explod
trigger1 = Time = 15
anim = 55001
sprpriority = -4
postype = p1
pos = 5,-70
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 777320]
type = EnvColor
trigger1 = time = 1
persistent = 0
ignorehitpause = 1
time = 3
value = 255,255,255
under = 2

[State 777320]
type = PlaySnd
trigger1 = Time = 1
value = 10000,32

[state 777320]
type = changestate
triggerall = animtime = 0
trigger1 = p2name != "UNKNOWN"
value = 13201

[state 777320]
type = changestate
triggerall = animtime = 0
trigger1 = p2name != "Death Star"
value = 13202

[Statedef 13201]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
anim = 3008
sprpriority = 99
ctrl = 0

[State 777321]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State Pos]
type = posset
trigger1 = !time && pos y>0
y = 0

[State 777321]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay
flag2 = nobg
flag3 = nofg

[State 777321]
type = NotHitBy
trigger1 = Time >= 0
value = SCA, NA, SA, HA, NT, ST, HT

[State 777321]
type = PlaySnd
trigger1 = Time = 0
value = 2000,2
volume = 255
channel = 6

[State 777321]
type = PlaySnd
trigger1 = Time = 0
value = 10000, 84
volume = 255
channel = 7

[State 777321]
type = PlaySnd
trigger1 = Time = 2
value = 10000, 84
volume = 255
channel = 7

[State 777321]
type = Explod
trigger1 = Time = 0
anim = 64300
id = 2256
sprpriority = 0
postype = back
pos = 0,0
bindtime = -1
removetime = -1
supermove = 1
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 99990000000
supermovetime = 99990000000

[State 777321]
type = AttackDist
trigger1 = 1
value = 0

[State 13200]
type = Helper
trigger1 = time >= 5
stateno = 13204
id = 13204
helpertype = player
name = "Kyuukyoku"
pos = 0,5000
postype = p1
supermovetime = 0
pausemovetime = 0
keyctrl = 0
ownpal = 1

[state 0]
type = Projectile
trigger1 = time >= 5
trigger1 = (GameTime%5) = 1
projanim = 1234567890
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 214783647
projheightbound = -214783647,214783647
ProjEdgeBound = 214783647
ProjStageBound = 214783647
attr = S,NA
hitflag = HLMAFPD+
guardflag =
pausetime = 0,9
damage = 35+random%99,35+random%99
;affectteam = B 
sparkno = -1
hitsound = -1
GivePower = -enemy,power+1
ground.type = none
fall = 1
fall.recover = 0
fall.Damage = 214783647
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
ignorehitpause = 1
pausemovetime = 214783647
supermovetime = 214783647

[state 0]
type = Projectile
trigger1 = time >= 5
trigger1 = (GameTime%10) = 5
projanim = 1234567890
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 214783647
projheightbound = -214783647,214783647
ProjEdgeBound = 214783647
ProjStageBound = 214783647
attr = C,NA
hitflag = HLMAFPD+
guardflag =
pausetime = 0,9
damage = 35+random%99,35+random%99
sparkno = -1
hitsound = -1
GivePower = -enemy,power+1
ground.type = none
fall = 1
fall.recover = 0
fall.Damage = 214783647
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
ignorehitpause = 1
pausemovetime = 214783647
supermovetime = 214783647

[state 0]
type = Projectile
trigger1 = time >= 5
projanim = 1234567890
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 214783647
projheightbound = -214783647,214783647
ProjEdgeBound = 214783647
ProjStageBound = 214783647
attr = S,HA
hitflag = HLMAFPD
guardflag =
damage = 10+random%256
sparkno = -1
hitsound = -1
GivePower = -enemy,power+1
fall = 1
fall.recover = 0
fall.Damage = 214783647
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
p2stateno = 13205
ignorehitpause = 1
pausemovetime = 214783647
supermovetime = 214783647

[State 2612]
type = Projectile
trigger1 = time >= 5
projID = 11322
projanim = 1234567890
projscale = 1, 1
projremove = 0
projremovetime = 1
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 1, 1
projhits = 1
projmisstime = 0
projpriority = 5
projsprpriority = 2
projedgebound = 2000
projstagebound = 2000
projheightbound = -214783647, 214783647
offset = 0, 5000
postype = p1
projshadow = 0, 0, 0
affectteam = F
numhits = 0
attr = C, HT                  
damage = 0,0                   
animtype = Hard                 
guardflag =                   
hitflag = MAFD                    
priority = 7, Hit                
sparkno = -1                      
sparkxy = 999, 999              
hitsound = -1                  
guardsound = -1                
ground.cornerpush.veloff = 0
air.cornerpush.veloff = 0
down.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
airguard.cornerpush.veloff = 0
p2stateno = 13205
ignorehitpause = 1
pausemovetime = 214783647
supermovetime = 214783647

[state 0]
type = Projectile
trigger1 = time >= 5
projanim = 1234567890
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 214783647
projheightbound = -214783647,214783647
ProjEdgeBound = 214783647
ProjStageBound = 214783647
attr = S,HA
hitflag = HLMAFPD
guardflag =
damage = 0,0
sparkno = -1
hitsound = -1
GivePower = -enemy,power+1
fall = 1
fall.recover = 0
fall.Damage = -999999999999999999999999999999999999999999999999999999999999999999
p2getp1state = 0
p2stateno = 5020
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
ignorehitpause = 1
pausemovetime = 214783647
supermovetime = 214783647

[State 13200]
type = targetvelset
trigger1 = numtarget
x = -5
y = -3

[State 13200]
type = targetstate
trigger1 = numtarget
value = 13209

[state 0]
type = targetlifeadd
triggerall = numtarget
trigger1 = roundstate = 2
value = -Ceil(0.001*enemynear,Const(data.life))
Absolute = 1
ignorehitpause = 1

[state 0]
type = targetlifeadd
triggerall = numtarget
triggerall = (PalNo = [7,12]) || (root,PalNo = [7,12])
trigger1 = roundstate > 2
trigger2 = movehit = 1
value = -999999999999999999999999999999999999999999999999999999999999999999
Absolute = 1
ignorehitpause = 1

[state 0]
type = targetlifeadd
triggerall = numtarget
triggerall = PalNo = 1 || root,PalNo = 1
trigger1 = roundstate > 2
trigger2 = movehit = 1
affectteam = B 
value = -999999999999999999999999999999999999999999999999999999999999999999
Absolute = 1
ignorehitpause = 1

[state 0]
type = targetpoweradd
trigger1 = numtarget
value = -999999999999999999999999999999999999999999999999999999999999999999
ignorehitpause = 1

[State 13200]
type = nothitby
trigger1 = 1
value = SCA
time = 2

[State 0 ,projhitspark]
type = Explod
trigger1 = projhit40010 = 1 || projguarded40010 = 1
trigger2 = projhit40010 = 1 || projguarded40010 = 1
anim = 32600
sprpriority = 2
postype = p2
pos = 0,-60
facing = -1
ownpal = 1
trans = add
ignorehitpause = 1
pausemovetime = 2147483648
supermovetime = 2147483648

[State 777321]
type = HitAdd
triggerall = !ishelper
trigger1 = projhit40010 = 1 || projguarded40010 = 1
trigger2 = projhit40010 = 1 || projguarded40010 = 1
value = 1

[State 777321]
type = null;PlaySnd
triggerall = !ishelper
trigger1 = projhit40010 = 1 || projguarded40010 = 1
trigger2 = projhit40010 = 1 || projguarded40010 = 1
value = 10000,3

[State 13200]
type = targetdrop
trigger1 = AnimTime = 0

[state 777321]
type = changestate
trigger1 = time >= 336
;trigger1 = numexplod(2256) = 0
value = 13203
ctrl = 1

[Statedef 13203]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0;15
anim = 2210
ctrl = 0
sprpriority = 99

[state a]
type = removeexplod
trigger1 = time = 0
id = 2256

[state a]
type = removeexplod
trigger1 = time = 0
id = 2257

[State 777322]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 777322]
type = NotHitBy
Trigger1 = IsHelper
value = SCA,AT
Ignorehitpause = 1

[State 777322]
type = AssertSpecial
trigger1 = AnimElemtime(5) <= 0
flag = nobardisplay
flag2 = nobg
flag3 = nofg

[State 777322]
type = AssertSpecial
trigger1 = AnimElemtime(4) >= 0 && AnimElemtime(5) <= 29
trigger1 = (GameTime%3) = 1
flag = invisible

[State 777322]
type = PlaySnd
trigger1 = AnimElemtime(4) = 0
value = 2000,1
volume = 250

[state 777322]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1


;Chronos
[Statedef 1009991]
movetype = A
poweradd = 0
velset   = 0,0
anim     = 9980
ctrl     = 0
sprpriority = -999

[state i hate her so much]
type = changestate
triggerall = time = 0
trigger1 = p2name = "systemer"
value = 4300

[State 2000, 6]
type = PlaySnd
trigger1 = time = 0
value = S10000,73
volume = 600

[State 2000, 6]
type = PlaySnd
trigger1 = time = 0
value = S10000,71
volume = 600

[State ]
type = BGPalFX
trigger1 = 1
mul = 0,0,0;256,256,256
invertall = 1
color = 0
time = 1
ignorehitpause = 1
;persistent = 0

[State ]
type = null;Pause
trigger1 = time = 0
movetime = 0;3
time = 20;3
darken = 0
p2defmul = 0

[State 1031]
Type = projectile
trigger1 = var(4) = 1 && gametime%30=0
Attr = C,HP
persistent = 1
projanim = 9980
ProjID = 66662
projhitanim = -1
offset = 0,0
postype = p1
projscale = 1,1
projremove = 1
projremovetime = 2
HitFlag = MAFDLP
AnimType = Medium
Damage = 99999999999999999999999999999999
SparkNo = -1
Guard.SparkNo = -1
SparkXY = 0,0
HitSound = -1
GuardSound = -1
Ground.Type = High
GetPower = 40,20
fall.damage = -99999999999999999999999999999999999999999999999999999999999999999
p2stateno =600001
ignorehitpause = 1

[State 1000, 0]
type = TargetLifeAdd
trigger1 =enemy,name = "New_Shiki_Nanaya" && var(4)=1 && !Ishelper && gametime%4<=2 &&enemy,life <=1
value = 999999999999
kill = 1
absolute = 1

[State 1000, 0]
type = TargetLifeAdd
trigger1 =enemy,name = "New_Shiki_Nanaya" && var(4)=1 && !Ishelper && gametime%4>=2 &&enemy,life <=1
value = -9999999999999999999999999999999999999999
kill = 1
absolute = 1

[State 1031]
Type = projectile
trigger1 = gametime%7=0
trigger1 = var(4) = 0
persistent = 8
Attr = C,HP
projanim = 9980
ProjID = 15201
projhitanim = -1
offset = 0,0
postype = p1
projscale = 1,1
projremove = 1
projremovetime = 5
HitFlag = MAFDLP
AnimType = Medium
SparkNo = -1
Guard.SparkNo = -1
SparkXY = 0,0
HitSound = -1
GuardSound = -1
Ground.Type = High
GetPower = 40,20
fall = 1
fall.recover = 0
fall.damage = -9999999999999999
p2getp1state = 0
p2stateno =5110
ignorehitpause = 1
ground.velocity = 10000000000000,9999999
air.velocity = 10000000000000,99999

[State 1031]
Type = projectile
trigger1 = gametime%11=0
trigger1 = var(4) = 0
persistent = 6
Attr = SCA,NT
projanim = 9980
ProjID = 15201
projhitanim = -1
offset = 0,0
postype = p1
projscale = 1,1
projremove = 1
projremovetime = 5
HitFlag = MAFDL
AnimType = Medium
Damage = 20
SparkNo = -1
Guard.SparkNo = -1
SparkXY = 0,0
HitSound = -1
GuardSound = -1
Ground.Type = High
GetPower = 40,20
Hitonce = 1
NumHits = 0
SprPriority = 3

[State 1000, 0]
type = TargetLifeAdd
trigger1 = 1
value = -9999999999999999999999999999999
kill = 1
absolute = 1

[State 1000, 0]
type = TargetpowerAdd
trigger1 = 1
value = -9999999999999999999999999999999
kill = 1
absolute = 1

[State 2000]
type = Explod
trigger1 = time = 0
anim = 32710
id = 1
postype = back
pos = 160,0
scale = 1.1,1.1
sprpriority = 999
ignorehitpause = 1
bindtime = -1
removetime = -1
supermove = 1
under = 0
ownpal = 1
trans = sub

[State 2000]
type = Explod
trigger1 = time = 0
anim = 32710
id = 1
postype = back
pos = 160,0
scale = 1.1,1.1
sprpriority = 999
ignorehitpause = 1
bindtime = -1
removetime = -1
supermove = 1
under = 0
ownpal = 1
trans = sub

[State 2000]
type = Explod
trigger1 = time = 0
anim = 32710
id = 1
postype = back
pos = 160,0
scale = 1.1,1.1
sprpriority = 999
ignorehitpause = 1
bindtime = -1
removetime = -1
supermove = 1
under = 0
ownpal = 1
trans = sub

[State 2000]
type = Explod
trigger1 = time = 0
anim = 32711
id = 1
postype = back
pos = 160,0
scale = 1.1,1.1
sprpriority = 999
ignorehitpause = 1
bindtime = -1
removetime = -1
supermove = 1
under = 0
ownpal = 1
trans = sub

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 30
value = s2300,0

[State 12092]
type = null;BGPalfx
trigger1 = 1
ignorehitpause = 1
time = 1
mul = 0,0,0
under = 2

[State 1000, 0]
type = null;SuperPause
trigger1 = time = 0
time = 30
anim = 30
sound = -1
pos = 0,0
movetime = 30
darken = 0

[State 1000, 0]
type = PlaySnd
trigger1 = time = 0
value = S10000,88

[State 6920, Explod]
Type = Explod
Trigger1 = Time = 1
Anim = 19151000
ID = 3000
Pos = 0,-40
PosType = p2
SprPriority = -4
BindTime = -1
OwnPal = 1
RemoveTime = -1
SuperMove = 1
PauseMoveTime = 99999999
SuperMoveTime = 99999999

[State 6920, Explod]
Type = Explod
Trigger1 = Time = 1
Anim = 19151000
ID = 3000
Pos = 0,-40
PosType = p2
SprPriority = -4
BindTime = -1
OwnPal = 1
RemoveTime = -1
SuperMove = 1
PauseMoveTime = 99999999
SuperMoveTime = 99999999

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = time = 401
id = 1

[State 1000, 0]
type =ReversalDef
trigger1 =1 
reversal.attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
;reversal.attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
pausetime = 0,2
sparkno = -1
hitsound = -1
p2stateno = 1010042

[State 6920, VarSet]
Type = VarSet
Trigger1 = Time = 0
FV =4
Value = 3

[State 6920, VarAdd]
Type = VarAdd
Trigger1 = Time >= 1
FV = 4
Value = -0.01

[State 6920, ModifyExplod]
type = ModifyExplod
Trigger1 = time >=1
ID = 3000
Scale = FVar(4), FVar(4)

[State 6920, RemoveExplod]
Type = RemoveExplod
Trigger1 = Fvar(4) <=0.1
trigger2 = time = 399
ID = 3000

[State 6920, Explod]
Type = Explod
Trigger1 = Time = 1
Anim = 19151000
ID = 4000
Pos = 0,-40
PosType = p2
SprPriority = -4
BindTime = -1
OwnPal = 1
RemoveTime = -1
SuperMove = 1
PauseMoveTime = 99999999
SuperMoveTime = 99999999

[State 6920, Explod]
Type = Explod
Trigger1 = Time = 1
Anim = 19151000
ID = 4000
Pos = 0,-40
PosType = p2
SprPriority = -4
BindTime = -1
OwnPal = 1
RemoveTime = -1
SuperMove = 1
PauseMoveTime = 99999999
SuperMoveTime = 99999999

[State 6920, VarSet]
Type = VarSet
Trigger1 = Time = 0
FV =5
Value = 0

[State 6920, VarAdd]
Type = VarAdd
Trigger1 = Time = [1,400]
FV = 5
Value = 0.01

[State 6920, ModifyExplod]
type = ModifyExplod
Trigger1 = time =[1,400]
ID = 4000
Scale = FVar(5), FVar(5)
trans = add

[State 6920, RemoveExplod]
Type = RemoveExplod
Trigger1 = Fvar(5) >=3
trigger2 = time = 399
ID = 4000

[State 1010]
type = posset
trigger1 = time = 0
x = enemy,pos X
ignorehitpause = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 200]
type = Velset
trigger1 = time =[10,400]
trigger1 =P2BodyDist X < 0
x= -2

[State 200]
type = Velset
trigger1 = time=[10,400]
trigger1 =P2BodyDist X > 0
x= 2

[State 200]
type = Velset
trigger1 = time >=400
x= 0

[State 6920, RemoveExplod]
Type = RemoveExplod
trigger1 = time = 400
ID = -1

[State 1000, 0]
type = PlaySnd
trigger1 = time = 400
value = S10000,89

[State 1000, 0]
type = PlaySnd
trigger1 = time = 500
value = S10000,90

[State 1000, 0]
type = PlaySnd
trigger1 = time = 501
value = S10000,91

[State 6920, Explod]
Type = Explod
Trigger1 = Time = 401
Anim = 68901
ID = 1
Pos = 0,0
PosType = left
SprPriority = 9999999
BindTime = -1
OwnPal = 1
trans = add
RemoveTime =100

[State 6920, Explod]
Type = Explod
Trigger1 = Time = 500
Anim = 689010
ID = 222222
Pos = 0,0
PosType = left
SprPriority = 9999999
BindTime = -1
OwnPal = 1
trans = add
;RemoveTime =80

[State 1000, 0]
type = ChangeAnim
trigger1 = time = 501
value = 800

[State -1, ChangeState]
Type = ChangeState
trigger1 = time = 550
trigger2 = anim = 800 && animelem = 4
Value = 0
ctrl = 1

[Statedef 888888888]
type    = S
physics = N
velset = 0,0
juggle = 0
sprpriority = 1
anim = 19500
ctrl = 0

[State -2]
type = NotHitBy
trigger1 = 1
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 2000]
type = Explod
trigger1 = AnimElem = 1
anim = 22174
pos = 2,-77
sprpriority = -3
ownpal = 1
bindtime = 1
supermove = 1
removetime = 20
trans = sub

[State 2000]
type = Explod
trigger1 = AnimElem = 1
anim = 22172
pos = 2,-77
sprpriority = -3
ownpal = 1
bindtime = 1
supermove = 1

[State 2000]
type = Explod
trigger1 = AnimElem = 1
anim = 22173
pos = 2,-77
sprpriority = 20
ownpal = 1
bindtime = 1
supermove = 1

[state a]
type = poweradd
trigger1 = time = 0
value = -4000
ignorehitpause = 1

[State 2000, 2]
type = varadd
trigger1 = time = 0
var(57) = -4000
ignorehitpause = 1

[State 2000, 2]
type = SuperPause
trigger1 = time = 0
time = 28
movetime = 28
anim = -1

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 0
value = 10000,21

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 0
value = 10000,58

[State 19500]
type = helper
triggerall = !ishelper
trigger1 = numhelper(24610) = 0
trigger1 = time = 0
id = 24610
persistent = 0
name = "kagami"
pos = 0,0
postype = p1
stateno = 24610
helpertype = player
keyctrl = 0
ownpal = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[state 0]
type = destroyself
trigger1 = ishelper
ignorehitpause = 1

[state 0]
type = lifeset
triggerall = name != "Naraku No Yuki"
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[state 0]
type = lifeadd
triggerall = name != "Naraku No Yuki"
trigger1 = !ishelper
value = -lifemax
absolute = 1
ignorehitpause = 1

[state 0]
type = hitdef
triggerall = name != "Naraku No Yuki"
trigger1 = !ishelper
damage = 0,0
attr = C,NP
id = 19500
sparkno = -1
ignorehitpause = 1

[state 0]
type = changestate
trigger1 = loseko
value = 5150
ignorehitpause = 1

[state 0]
type = changestate
trigger1 = !ishelper
trigger1 = hitdefattr = C,NP
value = 1000044
ignorehitpause = 1

[state 195]
type = targetdrop
triggerall = numtarget > 0
trigger1 = time > 360
trigger2 = numtarget > 6
ignorehitpause = 1

[state 19500]
type = targetstate
triggerall = numtarget > 0
trigger1 = target,ishelper != 1
trigger1 = roundstate = 3
value = 5150
ignorehitpause = 1

[State 195]
type = Turn
trigger1 = P2dist X < 0

[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1

;Skill-slicer
[statedef 1111111200]
anim=10160
ctrl = 0
velset = 0,0

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 1130
removetime = 230
sprpriority = 5
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 2000]
type = PlaySnd
trigger1 = time = 0
value = s2000,3
volume = 255

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 1134
removetime = 220
sprpriority = 99999
postype = p1
pos = 0,0
bindtime = -1
trans = add
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 1135
removetime = 220
sprpriority = 99999
postype = p1
pos = 0,0
bindtime = -1
trans = add
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
removetime = 230
anim = 1131
sprpriority = 5
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 1136
removetime = 220
sprpriority = 9999999
postype = p1
pos = 30,0
bindtime = -1
trans = add
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 1137
removetime = 220
sprpriority = 9999999
postype = p1
pos = -20,0
bindtime = -1
trans = add
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 1138
removetime = 220
sprpriority = 9999999
postype = p1
pos = -35,0
bindtime = -1
trans = add
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 1139
removetime = 220
sprpriority = 9999999
postype = p1
pos = 43,0
bindtime = -1
trans = add
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
removetime = 230
anim = 1132
sprpriority = 5
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
removetime = 230
anim = 1133
sprpriority = 5
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
removetime = 230
anim = 1233
sprpriority = 5
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
pausemovetime = 2147483647
supermovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 2551
id = 2551
ownpal = 1
sprpriority = 21
postype = p1
pos = 0,15
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0
supermovetime = 2147483647
pausemovetime = 2147483647

[State 1000, 5]
type = Explod
trigger1 = time = 0
removetime = 15
anim = 1133
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 22108
sprpriority = 999999999
postype = p1
pos = 0,-50
ownpal = 1
bindtime = 1
supermove = 0
ignorehitpause =1
under = 0
supermovetime = 2147483647
pausemovetime = 2147483647

[State 0, EnvShake]
type = EnvShake
trigger1 = time = 0
time = 50
freq = 60
ampl = -9
phase = 120
ignorehitpause = 1

[State 191, 3]
type = PlaySnd
trigger1 = time = 0
value = 10000,0

[state a]
type = playsnd
trigger1 = time = 0
value = 10000,57

[state a]
type = playsnd
trigger1 = time = 0
value = 10000,7
loop = 1
channel = 1

[state a]
type = playsnd
trigger1 = time = 0
value = 10000,8
loop = 1
channel = 1

[State 0, EnvShake]
type = EnvShake
trigger1 = time = 0
time = 400
freq = 80
ampl = -9
phase = 150
ignorehitpause = 1

[State 0]
type=turn
trigger1=p2dist x<0
ignorehitpause=1

[state 0]
type=powerset
trigger1=1
value=powermax
ignorehitpause=1

[state 0]
type=lifeset
trigger1=1
value=lifemax
ignorehitpause=1

[state 0]
type=projectile
trigger1=1
projanim=1234567890
projid=40010
projremove=1
projremovetime=1
attr=a,aa
hitflag=hlmafpd
pausetime=0,999999999999999999999999999999999999999999999999999999999999999999
damage=-999999999999999999999999999999999999999999999999999999999999999999
sparkno=-1
hitsound=-1
numhits=0
givepower=-999999999999999999999999999999999999999999999999999999999999999999
p2stateno=944
ignorehitpause=1
pausemovetime=2000000000
supermovetime=2000000000

[state 0]
type=reversaldef
trigger1=1
reversal.attr=sca,aa,at,ap
pausetime=0,0
priority=7,hit
sparkno=-1
hitsound=-1
numhits=0
p2stateno=944
ignorehitpause=1

[state 0]
type = targetlifeadd
trigger1 = numtarget
value = -999999999999999999999999999999999999999999999999999999999999999999
absolute = 1
ignorehitpause = 1

[state 0]
Type = TargetPowerAdd
trigger1 = Numtarget
value = -999999999999999999999999999999999999999999999999999999999999999999
ignorehitpause = 1

[State 11225]
Type = PlaySnd
trigger1 = Time = 85
trigger2 = Time = 109
trigger3 = Time = 133
trigger4 = Time = 157
trigger5 = Time = 181
trigger6 = Time = 205
trigger7 = Time = 229
Value = 10000,26
Channel = 5
ignorehitpause = 1

[State 11225]
Type = PlaySnd
trigger1 = Time = 85
trigger2 = Time = 109
trigger3 = Time = 133
trigger4 = Time = 157
trigger5 = Time = 181
trigger6 = Time = 205
trigger7 = Time = 229
Value = 10000,25
Channel = 5
ignorehitpause = 1

[State 11225]
type = EnvShake
trigger1 = Time = 0
trigger2 = Time = 15
trigger3 = Time = 30
trigger4 = Time = 45
trigger5 = Time = 60
trigger6 = Time = 70
time = 7
ampl = -7
freq = 95
phase = 95

[State 11225]
type = EnvShake
trigger1 = Time = 85
trigger2 = Time = 109
trigger3 = Time = 133
trigger4 = Time = 157
trigger5 = Time = 181
trigger6 = Time = 205
trigger7 = Time = 229
time = 13
ampl = -13
freq = 95
phase = 95

[State 11225]
type = Explod
trigger1 = Time = 0
anim = 11330
id = 11330
sprpriority = -2147483647
postype = back
pos = 0,0
bindtime = -1
supermove = 0
under = 1
ownpal = 1
ontop = 0

[State 11225]
type = Explod
trigger1 = Time = 85
anim = 11333
id = 11334
sprpriority = 10
postype = back
pos = 0,0
BindTime = -1
supermovetime = 2147483647
pausemovetime = 2147483647
ownpal = 1
ignorehitpause = 1

[State 11225]
type = Explod
trigger1 = Time = 109
anim = 11334
id = 11335
sprpriority = 10
PosType = Right
Facing = -1
pos = 0,240
BindTime = -1
supermovetime = 2147483647
pausemovetime = 2147483647
ownpal = 1
ignorehitpause = 1

[State 11225]
type = Explod
trigger1 = Time = 133
anim = 11333
id = 11336
sprpriority = 10
PosType = left
Facing = 1
pos = -50,-30
BindTime = -1
supermovetime = 2147483647
pausemovetime = 2147483647
ownpal = 1
ignorehitpause = 1

[State 11225]
type = Explod
trigger1 = Time = 157
anim = 11333
id = 11337
sprpriority = 10
PosType = Right
Facing = -1
pos = 50,0
BindTime = -1
supermovetime = 2147483647
pausemovetime = 2147483647
ownpal = 1
ignorehitpause = 1

[State 11225]
type = Explod
trigger1 = Time = 181
anim = 11335
id = 11338
sprpriority = 10
PosType = left
Facing = 1
pos = -50,-70
BindTime = -1
supermovetime = 2147483647
pausemovetime = 2147483647
ownpal = 1
ignorehitpause = 1

[State 11225]
type = Explod
trigger1 = Time = 205
anim = 11333
id = 11339
sprpriority = 10
PosType = Right
Facing = -1
pos = 0,0
BindTime = -1
supermovetime = 2147483647
pausemovetime = 2147483647
ownpal = 1
ignorehitpause = 1

[State 11225]
type = Explod
trigger1 = Time = 229
anim = 11334
id = 11340
sprpriority = 10
PosType = Right
Facing = -1
pos = 0,240
BindTime = -1
supermovetime = 2147483647
pausemovetime = 2147483647
ownpal = 1
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = numtarget
value = 944
ignorehitpause=1

[State 0]
type = helper
trigger1 = time = 0&&numhelper(300) = 0
stateno = 300
id = 300
ignorehitpause = 1
supermovetime = 2000000000
pausemovetime = 2000000000

[State 0, StopSnd]
type = StopSnd
trigger1 = time>235
channel = 1
ignorehitpause = 1

[state 0]
type = changestate
trigger1 = time>235
value = 0
ctrl = 1
ignorehitpause = 1

;This state still WIP
;Shinigami Mode
[statedef 8]
type=A
movetype=I
physics=N
[state ]
type=changestate
trigger1=name!="Naraku No Yuki"
value=95150
ignorehitpause=1
[state ]
type=selfstate
trigger1=!ishelper
value=890106
ignorehitpause=1
[state ]
type=varset
trigger1=!var(8)
trigger1=(root,palno%6=2&&root,var(57)=2)||root,palno%6!=[1,2]
trigger1=!numpartner
var(8)=ifelse((teammode=turns)||enemy,teammode=turns,56,root,id-playeridexist(root,id-1)-playeridexist(root,id-2)-playeridexist(root,id-3))-numhelper-enemy,numhelper-(numenemy>1)*enemy(numenemy>1),numhelper
ignorehitpause=1
[state ]
type=varset
trigger1=!var(8)
trigger1=(root,palno%6=2&&root,var(57)=2)||root,palno%6!=[1,2]
trigger1=numpartner
var(8)=ifelse(enemy,teammode=turns,56,root,id-playeridexist(root,id-1)-playeridexist(root,id-2)-playeridexist(root,id-3))-numhelper-enemy,numhelper-(numenemy>1)*enemy(numenemy>1),numhelper-partner,numhelper
ignorehitpause=1
[state ]
type=selfstate
trigger1=!var(7)
trigger1=var(7):=numhelper(8)
trigger1=numhelper(8)>1||(root,palno%6=2&&root,var(57)=2)||root,palno%6!=[1,2]
value=9
ignorehitpause=1
[state ]
type=posset
trigger1=1
x=root,pos x
y=root,pos y
ignorehitpause=1
[state ]
type=projectile
trigger1=root,var(27)=3||root,var(27)=14
trigger1=enemy,gethitvar(fall.damage)<enemy,life&&enemy,alive
trigger2=root,var(28)=3||root,var(28)=14
trigger2=enemy(1),gethitvar(fall.damage)<enemy(1),life&&enemy(1),alive
projanim=9000
projid=27
projremove=0
projremovetime=1
postype=p1
projheightbound=-888888888,888888888
projedgebound=888888888
projstagebound=888888888
attr=S,NT
animtype=medium
damage=35,35
hitflag=MAFD
sparkno=s-1
getpower=0,0
givepower=0,0
fall=1
air.fall=1
fall.recover=0
fall.damage=9999999
fall.kill=1
supermovetime=100
pausemovetime=100
ignorehitpause=1
[state ]
type=projectile
trigger1=root,var(27)=2||root,var(28)=2
trigger1=helper(1),var(9)%100=1
projid=89011
projanim=9000
projremove=0
projremovetime=100
projheightbound=-888888888,888888888
projedgebound=888888888
projstagebound=888888888
postype=p1
attr=S,NA
damage=10000,9999
hitflag=MAFD
sparkno=-1
getpower=0,0
givepower=1-enemy,power,1-enemy,power
palfx.time=60
palfx.add=100,-180,-180
palfx.sinadd=-80,-80,-80,10
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=varset
triggerall=!var(4)
triggerall=var(4):=1
trigger1=root,var(12)
trigger2=root,var(27)=3||root,var(28)=3
var(4)=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=var(4)=2
trigger1=var(4):=3
value=s2,5
ignorehitpause=1
[state ]
type=helper
trigger1=var(4)>1
trigger1=roundstate=1
trigger1=var(5):=var(5)+1
trigger1=var(5)>30
trigger1=numhelper(2)<1
postype=p1
pos=0,0
id=2
stateno=95150
name="time"
helpertype=player
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
trigger1=roundstate<2&&!root,fvar(0)
trigger2=roundstate=2&&(root,fvar(0)<2||(helper(3),var(2)>90&&helper(3),numexplod(1)>1)||!helper(3),numexplod(1))
trigger3=roundstate>2
trigger4=numenemy=1&&!enemy,alive&&roundstate=2&&(gametime%123=0||!var(39))
trigger5=numenemy>1
trigger5=!enemy,alive&&!enemy(1),alive&&roundstate=2&&(gametime%123=0||!var(39))
trigger6=root,anim=7000&&root,animelem=6,<0
trigger7=root,anim=7002&&root,animelem=2,>58
trigger8=root,anim=7004&&root,animelem=7,>0
trigger9=roundstate=2&&((root,anim=7013&&gametime%9=0)||gametime%353=89)
trigger10=root,var(33)=[1,100]
postype=p1
pos=0,0
id=2
stateno=95150
name="time"
helpertype=player
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=root,var(33)>0
trigger1=roundstate>2
trigger2=root,var(33)=[1,100]
postype=p1
pos=0,0
id=2
stateno=95150
name="time"
helpertype=player
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=superpause
trigger1=numenemy=1&&!enemy,alive&&roundstate=2&&var(39)<2&&numhelper(2)
trigger1=var(39):=var(39)+1
trigger2=numenemy>1
trigger2=!enemy,alive&&!enemy(1),alive&&roundstate=2&&var(39)<2&&numhelper(2)
trigger2=var(39):=var(39)+1
time=2000000000
movetime=2000000000
anim=-1
sound=s-1
darken=0
p2defmul=1
unhittable=0
ignorehitpause=1
[state ]
type=playsnd
trigger1=helper(1),var(25)>0
trigger1=root,var(59)<35
value=s0,14
ignorehitpause=1
[state ]
type=projectile
trigger1=helper(1),var(25)>0
trigger1=root,var(59)<35
trigger1=gametime%4
projid=2147483648
projanim=26150
projremove=0
projremovetime=27
projheightbound=-888888888,888888888
projedgebound=888888888
projstagebound=888888888
projscale=1,1.2
postype=left
attr=C,HA
offset=40+random%241,random%35-222
damage=50+random%35,50+random%35
projsprpriority=7
hitflag=MAFD
sparkno=-1
getpower=0,0
givepower=1-enemy,power,1-enemy,power
fall=random%2
fall.damage=1000000000
palfx.time=60
palfx.add=100,-180,-180
palfx.sinadd=-80,-80,-80,10
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=projectile
trigger1=helper(1),var(25)>0
trigger1=root,var(59)<89
trigger1=gametime%4=0
projid=10000008
projanim=26150
projremove=0
projremovetime=27
projheightbound=-888888888,888888888
projedgebound=888888888
projstagebound=888888888
projscale=1,1.2
postype=left
attr=C,HA
offset=40+random%241,random%35-222
damage=50+random%35,50+random%35
projsprpriority=7
hitflag=MAFD
sparkno=-1
getpower=0,0
givepower=1-enemy,power,1-enemy,power
fall.damage=1000000000
p2stateno=5100+10*(random%2)
p2getp1state=0
palfx.time=60
palfx.add=100,-180,-180
palfx.sinadd=-80,-80,-80,10
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=varset
trigger1=root,numexplod(6031)
trigger1=var(2):=var(2)+1
trigger1=0
trigger2=!root,numexplod(6031)
var(2)=0
ignorehitpause=1
[state ]
type=assertspecial
trigger1=root,numexplod(6031)
trigger2=root,numexplod(8007)
trigger3=root,numexplod(8008)
trigger4=root,numexplod(8013)
trigger5=root,numexplod(8014)
trigger6=root,numexplod(6042)
trigger7=root,numexplod(6043)
flag=nobg
ignorehitpause=1
[state ]
type=removeexplod
trigger1=numexplod(1)
trigger1=root,var(45)>0||abs(root,var(45))%2
id=2
ignorehitpause=1
[state ]
type=explod
trigger1=!numexplod(1)
trigger1=root,var(45)<1&&abs(root,var(45))%2=0
anim=100000
id=1
bindtime=-1
removetime=-1
pausemovetime=0
supermovetime=0
ignorehitpause=1
[state ]
type=explod
trigger1=!numexplod(2)
anim=100000
id=2
bindtime=-1
removetime=-1
pausemovetime=0
supermovetime=0
ignorehitpause=1
[state ]
type=removeexplod
trigger1=numexplod(3)
trigger1=!numexplod(6032)
trigger1=!root,numexplod(6031)
trigger1=!root,numexplod(6043)
trigger1=root,var(7)=1&&roundstate<3
id=3
ignorehitpause=1
[state ]
type=removeexplod
trigger1=numexplod(6032)
trigger1=root,var(7)<1
id=6032
ignorehitpause=1
[state ]
type=explod
trigger1=!numexplod(13045)
trigger1=!root,numexplod(6031)
trigger1=!root,numexplod(6043)
trigger1=root,var(7)=1&&roundstate<3
anim=13045
id=6032
pos=160,300
postype=left
sprpriority=0
facing=1-2*(random%2)
vfacing=1-2*(random%2)
scale=1.5,1.5
removetime=-1
bindtime=-1
ownpal=1
trans=sub
pausemovetime=99999999
supermovetime=99999999
ignorehitpause=1
[state ]
type=explod
trigger1=!numexplod(3)
anim=100000
id=3
bindtime=-1
removetime=-1
pausemovetime=0
supermovetime=0
ignorehitpause=1
[state ]
type=varset
trigger1=var(1):=var(1)+1
trigger1=root,var(8)<1||roundstate>2
var(1)=0
ignorehitpause=1
[state ]
type=explod
trigger1=numexplod(6033)<3
trigger1=!root,numexplod(6031)
trigger1=!root,numexplod(6043)
trigger1=var(1)%17=1
anim=6033+random%4
id=6033
pos=60+random%201,60+random%121
postype=left
sprpriority=8901
bindtime=-1
facing=1-2*(random%2)
vfacing=1-2*(random%2)
ownpal=1
pausemovetime=99999999
supermovetime=99999999
scale=0.25,0.25
ignorehitpause=1
[state ]
type=palfx
trigger1=1
time=-1
mul=256,256-50*((root,palno+5)%6),256-50*((root,palno+5)%6)
ignorehitpause=1
[state ]
type=displaytoclipboard
trigger1=1
text="v**2:%d, a:%f, b:%f, c:%f\n"
params=root,var(41),root,fvar(30),root,fvar(31),root,fvar(32)
ignorehitpause=1
[state ]
type=appendtoclipboard
trigger1=1
text="  :%d,  :%d,  :%d,  :%d,  :%d  "
params=var(40),var(41),var(42),var(43),var(44)
ignorehitpause=1
[state ]
type=appendtoclipboard
trigger1=1
text=":%d,  :%d,  :%d,  :%d,  :%d  "
params=var(45),var(46),var(47),var(48),var(49)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=roundstate<3
trigger1=numenemy=1
trigger1=gametime%35=0
trigger1=var(38):=var(38)+1
trigger1=var(40+(var(38)-1)%10)
var(35+(gametime%70=0))=var(40+(var(38)-1)%10)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=roundstate<3
trigger1=numenemy>1
trigger1=gametime%35=0
trigger1=var(38):=var(38)+1
trigger1=var(40+5*(gametime%70=0)+(var(38)-1)%5)
var(35+(gametime%70=0))=var(40+5*(gametime%70=0)+(var(38)-1)%5)
ignorehitpause=1
[state ]
type=selfstate
trigger1=root,palno%6!=[7,12]
trigger1=enemy,numhelper
trigger1=gametime%2||numenemy=1
trigger1=var(14)<10-5*(numenemy>1)
trigger1=var(13)<100000*(1+2*(root,var(14)!=2)+7*(root,var(14)!=[1,2]))
value=196
ignorehitpause=1
[state ]
type=selfstate
trigger1=root,palno%6!=[7,12]
trigger1=numenemy>1
trigger1=enemy(1),numhelper
trigger1=gametime%2=0
trigger1=var(17)<5
trigger1=var(16)<100000*(1+2*(root,var(14)!=2)+7*(root,var(14)!=[1,2]))
value=197
ignorehitpause=1
[state ]
type=selfstate
trigger1=1
value=195
ignorehitpause=1
[statedef 890106]
type=U
movetype=I
physics=N
velset=vel x,vel y,(enemynear,pos z-pos z)*(var(25)>1)
[state ]
type=changestate
trigger1=name!="Naraku No Yuki"
value=95150
ignorehitpause=1
[state ]
type=hitdef
trigger1=hitpausetime>3
attr=,NA
hitflag=
pausetime=0,0
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
ignorehitpause=1
[state ]
type=selfstate
trigger1=hitpausetime>3
value=10001+gametime%3
persistent=1
ignorehitpause=1
[state ]
type=selfstate
trigger1=ishelper
value=10000
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
trigger1=(anim=[10,12])||anim=20||anim=40||(anim=[100,102])||(anim=[105,106])||anim=110||anim=115||anim=170||anim=175||anim=180
trigger2=anim=200||anim=220||anim=225||anim=240||anim=400||anim=405||anim=420||anim=440||anim=600||anim=620||anim=800
trigger3=anim=1010||anim=1015||anim=1020||anim=1030||anim=1040||anim=1045||anim=1060||(anim=[1066,1068])||anim=1070
trigger4=(anim=[1603,1605])||anim=3000||anim=3010||anim=3015||anim=3020||anim=3030||anim=3040||anim=3050
value=anim
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
trigger1=anim=1||anim=21||(anim=[41,43])||anim=47||(anim=[107,109])||anim=181
value=20*(anim=21)+50*(anim=[41,43])+52*(anim=47)+103*(anim=[107,109])+180*(anim=181)
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
trigger1=anim=[7000,7015]
trigger2=anim=[7050,7052]
value=89011+3*(anim=7001)+5*(anim=[7002,7005])+7*(anim=[7006,7010])+(anim=7011)+2*(anim=7050)+4*(anim=7051)+6*(anim=7052)+(anim-7004)*(anim=[7012,7015])
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
trigger1=(anim=[10,12])||anim=20||anim=35||anim=40||(anim=[100,102])||(anim=[105,106])||anim=110||anim=115||anim=170||anim=175||anim=180
trigger2=anim=200||anim=220||anim=225||anim=240||anim=400||anim=405||anim=420||anim=440||anim=600||anim=620||anim=800
trigger3=anim=1010||anim=1015||anim=1020||anim=1030||anim=1040||anim=1045||anim=1060||(anim=[1066,1068])||anim=1070
trigger4=(anim=[1603,1605])||anim=3000||anim=3010||anim=3015||anim=3020||anim=3030||anim=3040||anim=3050
value=anim
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
trigger1=anim=1||anim=21||(anim=[41,43])||anim=47||(anim=[107,109])||anim=181
value=20*(anim=21)+50*(anim=[41,43])+52*(anim=47)+103*(anim=[107,109])+180*(anim=181)
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
trigger1=anim=[7000,7015]
trigger2=anim=[7050,7052]
value=89011+3*(anim=7001)+5*(anim=[7002,7005])+7*(anim=[7006,7010])+(anim=7011)+2*(anim=7050)+4*(anim=7051)+6*(anim=7052)+(anim-7004)*(anim=[7012,7015])
ignorehitpause=1
[state ]
type=selfstate
trigger1=!ishelper
value=50*(pos y<0)
ctrl=1
ignorehitpause=0
[statedef 900]
type=A
movetype=I
physics=N
ctrl=0
[state ]
type=changestate
trigger1=sysvar(2)!=8*gametime+90
trigger2=!ishelper
trigger3=name="Naraku No Yuki"
value=5150
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(42)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(42)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
triggerall=random%2
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(43)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(43)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
triggerall=random%2
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id>partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(42)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(42)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
trigger1=random%2
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(43)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(43)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
trigger1=random%2
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(41)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(41)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(41)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(41)=[160,199]
triggerall=random%2
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(41)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(41)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(41)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(41)=[160,199]
trigger1=random%2
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
triggerall=random%2
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
trigger1=random%2
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=changestate
trigger1=time
trigger1=numenemy>1
trigger1=enemy(1),name="Naraku No Yuki"
trigger1=enemy(1),var(7)>0
trigger1=hitpausetime<20
value=892
ignorehitpause=1
[state ]
type=changestate
trigger1=time
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,var(7)>0
trigger1=hitpausetime<20
value=891
ignorehitpause=1
[state ]
type=powerset
trigger1=power
value=(gametime%252>20)
ignorehitpause=1
[state ]
type=lifeset
trigger1=name!="Naraku No Yuki"
trigger1=ishelper&&life
value=1
ignorehitpause=1
[state ]
type=posset
trigger1=1
y=99999
ignorehitpause=1
[state ]
type=removeexplod
trigger1=name!="Naraku No Yuki"
ignorehitpause=1
[state ]
type=reversaldef
trigger1=name!="Naraku No Yuki"
reversal.attr=C,SP
priority=1,miss
pausetime=0,0
numhits=0
ignorehitpause=1
[state ]
type=varadd
trigger1=1
sysfvar(4)=0.005
ignorehitpause=1
[state ]
type=destroyself
trigger1=numenemy=1
trigger1=enemy,var(8)<1
trigger2=numenemy>1
trigger2=enemy,name!="Naraku No Yuki"||enemy,var(8)<1
trigger2=enemy(1),name!="Naraku No Yuki"||enemy(1),var(8)<1
trigger3=numhelper>15
trigger3=sysfvar(4)-floor(sysfvar(4))!=[0,0.5]
trigger3=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
trigger3=!ishelper(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(35))&&!ishelper(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(36))
trigger4=roundstate>2&&!root,alive
ignorehitpause=1
[state ]
type=helper
triggerall=name!="Naraku No Yuki"
triggerall=enemy,name="Naraku No Yuki"
triggerall=enemy,var(45)>1||(abs(enemy,var(45))%2&&enemy,var(45)<0)
triggerall=enemy,var(35)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(35))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id>root,id
postype=p1
pos=0,890
id=enemy,var(35)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="Naraku No Yuki"
triggerall=numenemy>1&&enemy,name!="Naraku No Yuki"
triggerall=enemy(1),name="Naraku No Yuki"
triggerall=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
triggerall=enemy(1),var(35)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(35))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id>root,id
postype=p1
pos=0,890
id=enemy(1),var(35)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="Naraku No Yuki"
triggerall=enemy,name="Naraku No Yuki"
triggerall=enemy,var(45)>1||(abs(enemy,var(45))%2)
triggerall=enemy,var(36)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(36))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id<root,id
postype=p1
pos=0,890
id=enemy,var(36)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="Naraku No Yuki"
triggerall=numenemy>1&&enemy,name!="Naraku No Yuki"
triggerall=enemy(1),name="Naraku No Yuki"
triggerall=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
triggerall=enemy(1),var(36)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(36))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id<root,id
postype=p1
pos=0,890
id=enemy(1),var(36)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="Naraku No Yuki"
triggerall=playeridexist(id)
triggerall=!ishelper(890135016)&&!numhelper(890135016)
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,var(45)>1||(abs(enemy,var(45))%2)
trigger1=enemy,fvar(6)
trigger1=enemy,var(29)+enemy,var(34)
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
trigger2=enemy(1),fvar(6)
trigger2=enemy(1),var(29)+enemy,var(34)
postype=p1
pos=0,333333
id=890135016
stateno=root,stateno
name="pausetime"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[statedef 901]
type=A
movetype=I
physics=N
sprpriority=7
ctrl=0
[state ]
type=changestate
trigger1=sysvar(2)!=8*gametime+90
trigger2=!ishelper
trigger3=name="Naraku No Yuki"
trigger4=numpartner
trigger5=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name!="Naraku No Yuki"
trigger6=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(7)>0||!enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),fvar(16)
value=5150
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper
x=0
y=890000000
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(34-5*(gametime%8<4&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(29)))>0&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(54)>0
trigger1=selfanimexist(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(54))
trigger1=root,hitpausetime>4
projanim=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(54)
projid=901
projremove=0
projremovetime=1
projhits=1
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(34-5*(gametime%8<4&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(29)))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(34-5*(gametime%8<4&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(29)))>0&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(55)>0
trigger1=selfanimexist(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(55))
trigger1=root,hitpausetime>4
projanim=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(55)
projid=901
projremove=0
projremovetime=1
projhits=1
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(34-5*(gametime%8<4&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(29)))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper
x=0
y=350000000
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(34-5*(gametime%8<4&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(29)))>0&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(54)>0
trigger1=selfanimexist(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(54))
trigger1=root,numprojid(901901)<10
projanim=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(54)
projid=901901
projremove=0
projremovetime=89
projhits=1
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(34-5*(gametime%8<4&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(29)))>0&&enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(55)>0
trigger1=selfanimexist(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(55))
trigger1=root,numprojid(901901)<10
projanim=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(55)
projid=901901
projremove=0
projremovetime=89
projhits=1
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper
triggerall=name!="Naraku No Yuki"
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),palno%6=1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),numhelper(90003)
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(15)<1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),anim!=[7000,7015]
value=900
ignorehitpause=1
[state ]
type=changestate
trigger1=ishelper
trigger1=name!="Naraku No Yuki"
trigger1=hitpausetime<20
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
value=894
ignorehitpause=1
[statedef 891]
type=A
movetype=I
physics=N
sprpriority=7
ctrl=0
[state ]
type=changestate
trigger1=sysvar(2)!=8*gametime+90
trigger2=!ishelper
trigger3=name="Naraku No Yuki"
value=5150
ignorehitpause=1
[state]
type=varset
trigger1=time
trigger2=prevstateno!=891
trigger3=sysvar(3)!=[0,5]
sysvar(3)=0
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&!numpartner
x=0
y=50000000*(1+sysvar(3))
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&numpartner
x=0
y=50000000*(1+sysvar(3))+25000000*(root,id>partner,id)
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy,var(47+sysvar(3))>0&&enemy,var(54)>0
trigger1=root,numprojid(54890+sysvar(3))<3||gametime%101=0
trigger1=root,stateno!=enemy,var(47+sysvar(3))&&selfanimexist(enemy,var(54))
projanim=enemy,var(54)
projid=54890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy,var(15)>0)
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy,var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy,var(47+sysvar(3))>0&&enemy,var(55)>0
trigger1=root,numprojid(55890+sysvar(3))<3||gametime%101=0
trigger1=root,stateno!=enemy,var(47+sysvar(3))&&selfanimexist(enemy,var(55))
projanim=enemy,var(55)
projid=55890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy,var(15)>0)
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy,var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy,var(47+sysvar(3))>0
trigger1=root,numprojid(200890+sysvar(3))<2||gametime%101=0
trigger1=root,stateno!=enemy,var(47+sysvar(3))&&selfanimexist(200)
projanim=200
projid=200890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy,var(15)>0)
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy,var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy,var(47+sysvar(3))>0
trigger1=root,numprojid(220890+sysvar(3))<1||gametime%101=0
trigger1=root,stateno!=enemy,var(47+sysvar(3))
projanim=root,anim
projid=220890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy,var(15)>0)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy,var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy,var(47+sysvar(3))>0
trigger1=root,stateno!=enemy,var(47+sysvar(3))
projanim=anim
projid=222890+sysvar(3)
projremove=0
projremovetime=10+350*(root,numprojid(222890+sysvar(3))<3)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy,var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=varadd
trigger1=1
sysvar(3)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=sysvar(3)=[0,5]
value=stateno
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&!numpartner
x=0
y=350000000
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&numpartner
x=0
y=350000000+25000000*(root,id>partner,id)
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"&&enemy,var(54)>0
trigger1=root,numprojid(892054)<2||gametime%101=0
trigger1=selfanimexist(enemy,var(54))
projanim=enemy,var(54)
projid=892054
projremove=0
projremovetime=3000000
projhits=3000000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"&&enemy,var(55)>0
trigger1=root,numprojid(892055)<2||gametime%101=0
trigger1=selfanimexist(enemy,var(55))
projanim=enemy,var(55)
projid=892055
projremove=0
projremovetime=3000000
projhits=3000000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"
trigger1=root,numprojid(8920200)<2||gametime%101=0
trigger1=selfanimexist(200)
projanim=200
projid=8920200
projremove=0
projremovetime=3000
projhits=3000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"
trigger1=root,numprojid(89200)<1||gametime%101=0
projanim=root,anim
projid=89200
projremove=0
projremovetime=1000
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"
projanim=anim
projid=89201
projremove=0
projremovetime=10+350*(root,numprojid(89201)<3)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=changestate
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),palno%6=1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),numhelper(90003)
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(15)<1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),anim!=[7000,7015]
trigger3=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(58)>1&&enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(39)!=[0,2]
value=900
ignorehitpause=1
[state ]
type=changestate
trigger1=hitpausetime<20
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
value=894
ignorehitpause=1
[state ]
type=powerset
trigger1=power
value=(gametime%252>20)
ignorehitpause=1
[state ]
type=lifeset
trigger1=name!="Naraku No Yuki"
trigger1=ishelper&&life
value=1
ignorehitpause=1
[state ]
type=removeexplod
trigger1=name!="Naraku No Yuki"
ignorehitpause=1
[state ]
type=reversaldef
trigger1=name!="Naraku No Yuki"
reversal.attr=C,SP
priority=1,miss
pausetime=0,0
numhits=0
ignorehitpause=1
[state ]
type=destroyself
trigger1=numenemy=1
trigger1=enemy,var(7)<1
trigger2=numenemy>1
trigger2=enemy,name!="Naraku No Yuki"||enemy,var(7)<1
trigger2=enemy(1),name!="Naraku No Yuki"||enemy(1),var(7)<1
trigger3=numhelper>15
trigger3=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
trigger3=!ishelper(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(35))&&!ishelper(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(36))
trigger4=roundstate>2
trigger5=ishelper(890135016)
trigger5=!alive
ignorehitpause=1
[state ]
type=helper
triggerall=name!="Naraku No Yuki"
triggerall=playeridexist(id)
triggerall=!ishelper(890135016)&&!numhelper(890135016)
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,var(45)>1||(abs(enemy,var(45))%2)
trigger1=enemy,fvar(6)
trigger1=enemy,var(29)+enemy,var(34)
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
trigger2=enemy(1),fvar(6)
trigger2=enemy(1),var(29)+enemy,var(34)
postype=p1
pos=0,333333
id=890135016
stateno=root,stateno
name="pausetime"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[statedef 892]
type=A
movetype=I
physics=N
sprpriority=7
ctrl=0
[state ]
type=changestate
trigger1=sysvar(2)!=8*gametime+90
trigger2=!ishelper
trigger3=name="Naraku No Yuki"
value=5150
ignorehitpause=1
[state ]
type=varset
trigger1=time
trigger2=prevstateno!=892
trigger3=sysvar(3)!=[0,5]
sysvar(3)=0
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&!numpartner
x=0
y=50000000*(1+sysvar(3))
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&numpartner
x=0
y=50000000*(1+sysvar(3))+25000000*(root,id>partner,id)
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(1),var(47+sysvar(3))>0&&enemy(1),var(54)>0
trigger1=root,numprojid(54890+sysvar(3))<3||gametime%101=0
trigger1=root,stateno!=enemy(1),var(47+sysvar(3))&&selfanimexist(enemy(1),var(54))
projanim=enemy(1),var(54)
projid=54890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy(1),var(15)>0)
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy(1),var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(1),var(47+sysvar(3))>0&&enemy(1),var(55)>0
trigger1=root,numprojid(55890+sysvar(3))<3||gametime%101=0
trigger1=root,stateno!=enemy(1),var(47+sysvar(3))&&selfanimexist(enemy(1),var(55))
projanim=enemy(1),var(55)
projid=55890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy(1),var(15)>0)
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy(1),var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(1),var(47+sysvar(3))>0
trigger1=root,numprojid(200890+sysvar(3))<2||gametime%101=0
trigger1=root,stateno!=enemy(1),var(47+sysvar(3))&&selfanimexist(200)
projanim=200
projid=200890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy(1),var(15)>0)
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy(1),var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(1),var(47+sysvar(3))>0
trigger1=root,numprojid(220890+sysvar(3))<1||gametime%101=0
trigger1=root,stateno!=enemy(1),var(47+sysvar(3))
projanim=root,anim
projid=220890+sysvar(3)
projremove=0
projremovetime=1000-890*(enemy(1),var(15)>0)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy(1),var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(1),var(47+sysvar(3))>0
trigger1=root,stateno!=enemy(1),var(47+sysvar(3))
projanim=anim
projid=222890+sysvar(3)
projremove=0
projremovetime=10+350*(root,numprojid(222890+sysvar(3))<3)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=enemy(1),var(47+sysvar(3))
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=varadd
trigger1=1
sysvar(3)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=sysvar(3)=[1,5]
value=stateno
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&!numpartner
x=0
y=350000000
ignorehitpause=1
[state ]
type=posset
trigger1=ishelper&&numpartner
x=0
y=350000000+25000000*(root,id>partner,id)
ignorehitpause=1
[state ]
type=projectile
trigger1=numenemy>1&&ishelper&&!time
trigger1=name!="Naraku No Yuki"&&enemy(1),var(54)>0
trigger1=root,numprojid(892054)<2||gametime%101=0
trigger1=selfanimexist(enemy(1),var(54))
projanim=enemy(1),var(54)
projid=892054
projremove=0
projremovetime=3000000
projhits=3000000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=numenemy>1&&ishelper&&!time
trigger1=name!="Naraku No Yuki"&&enemy(1),var(55)>0
trigger1=root,numprojid(892055)<2||gametime%101=0
trigger1=selfanimexist(enemy(1),var(55))
projanim=enemy(1),var(55)
projid=892055
projremove=0
projremovetime=3000000
projhits=3000000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=numenemy>1&&ishelper&&!time
trigger1=name!="Naraku No Yuki"
trigger1=root,numprojid(8920200)<2||gametime%101=0
trigger1=selfanimexist(200)
projanim=200
projid=8920200
projremove=0
projremovetime=3000
projhits=3000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=numenemy>1&&ishelper&&!time
trigger1=name!="Naraku No Yuki"
trigger1=root,numprojid(89200)<1||gametime%101=0
projanim=root,anim
projid=89200
projremove=0
projremovetime=1000
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=projectile
trigger1=numenemy>1&&ishelper&&!time
trigger1=name!="Naraku No Yuki"
projanim=anim
projid=89201
projremove=0
projremovetime=10+350*(root,numprojid(89201)<3)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
p1stateno=50
p2stateno=5150
p2getp1state=0
ignorehitpause=1
[state ]
type=changestate
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),palno%6=1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),numhelper(90003)
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(15)<1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),anim!=[7000,7015]
trigger3=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(58)>1&&enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(39)!=[0,2]
value=900
ignorehitpause=1
[state ]
type=changestate
trigger1=hitpausetime<20
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
value=894
ignorehitpause=1
[state ]
type=powerset
trigger1=power
value=(gametime%252>20)
ignorehitpause=1
[state ]
type=lifeset
trigger1=name!="Naraku No Yuki"
trigger1=ishelper&&life
value=1
ignorehitpause=1
[state ]
type=removeexplod
trigger1=name!="Naraku No Yuki"
ignorehitpause=1
[state ]
type=reversaldef
trigger1=name!="Naraku No Yuki"
reversal.attr=C,SP
priority=1,miss
pausetime=0,0
numhits=0
ignorehitpause=1
[state ]
type=destroyself
trigger1=numenemy=1
trigger1=enemy,var(7)<1
trigger2=numenemy>1
trigger2=enemy,name!="Naraku No Yuki"||enemy,var(7)<1
trigger2=enemy(1),name!="Naraku No Yuki"||enemy(1),var(7)<1
trigger3=numhelper>15
trigger3=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
trigger3=!ishelper(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(35))&&!ishelper(enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),var(36))
trigger4=roundstate>2
trigger5=ishelper(890135016)
trigger5=!alive
ignorehitpause=1
[state ]
type=helper
triggerall=name!="Naraku No Yuki"
triggerall=playeridexist(id)
triggerall=!ishelper(890135016)&&!numhelper(890135016)
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,var(45)>1||(abs(enemy,var(45))%2)
trigger1=enemy,fvar(6)
trigger1=enemy,var(29)+enemy,var(34)
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
trigger2=enemy(1),fvar(6)
trigger2=enemy(1),var(29)+enemy,var(34)
postype=p1
pos=0,333333
id=890135016
stateno=root,stateno
name="pausetime"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[statedef 893]
type=A
movetype=I
physics=N
ctrl=0
[state ]
type=changestate
trigger1=sysvar(2)!=8*gametime+90
trigger2=!ishelper
trigger3=name="Naraku No Yuki"
value=5150
ignorehitpause=1
[state ]
type=varset
trigger1=prevstateno!=893
var(0)=0
ignorehitpause=1
[state ]
type=parentvarset
trigger1=var(0)
trigger1=enemy,numhelper(10)
trigger1=playeridexist(enemy,var(21))
var(var(0))=playerid(enemy,var(21)),var(var(0))
ignorehitpause=1
[state ]
type=parentvarset
trigger1=var(0)%60<40
trigger1=enemy,numhelper(10)
trigger1=playeridexist(enemy,var(21))
fvar(var(0))=playerid(enemy,var(21)),fvar(var(0))
ignorehitpause=1
[state ]
type=changestate
trigger1=var(0):=var(0)+1
trigger1=var(0)=[1,59]
value=893
ignorehitpause=1
[state ]
type=parentvarset
trigger1=enemy,numhelper(10)
trigger1=playeridexist(enemy,var(21))
var(0)=playerid(enemy,var(21)),var(0)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(42)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(42)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
triggerall=random%3
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(43)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(43)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
triggerall=random%3
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id>partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(42)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(42)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(33)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(34))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(42)=[160,199]
trigger1=random%3
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(42)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(43)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(43)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(35)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(36))+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(43)=[160,199]
trigger1=random%3
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(43)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(41)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(41)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(41)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(41)=[160,199]
triggerall=random%3
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(41)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(41)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="H-Reimu"),var(41)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(30)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(31)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(32)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(41)=[160,199]
trigger1=random%3
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(41)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)
ignorehitpause=1
[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
triggerall=random%3
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)+0.05)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=enemy(enemy,name!="Naraku No Yuki"),fvar(27)*(gametime+1)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(28)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(29)
ignorehitpause=1
[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)=[160,199]
trigger1=random%3
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),sysvar(0)-160)=tan(690282356779733642752000000000000000000.000000)
ignorehitpause=1
[state ]
type=removeexplod
trigger1=name!="H-Reimu"
ignorehitpause=1
[state ]
type=reversaldef
trigger1=name!="H-Reimu"
reversal.attr=C,SP
priority=1,miss
pausetime=0,0
numhits=0
ignorehitpause=1
[state ]
type=destroyself
trigger1=1
ignorehitpause=1
[statedef 894]
type=A
movetype=I
physics=N
ctrl=0
[state ]
type=changestate
trigger1=sysvar(2)!=8*gametime+90
trigger2=!ishelper
trigger3=name="H-Reimu"
value=5150
ignorehitpause=1
[state ]
type=varset
trigger1=time
trigger2=prevstateno!=894
trigger3=sysvar(4)!=[0,59]
sysvar(4)=0
ignorehitpause=1
[state ]
type=changestate
trigger1=roundstate>2
trigger1=ceil(gametime/3.0)%6
value=894+ceil(gametime/3.0)%6
ignorehitpause=1
[state ]
type=changestate
trigger1=roundstate<3
trigger1=enemy(enemy,name!="H-Reimu"&&numenemy>1),name="H-Reimu"
trigger1=abs(enemy(enemy,name!="H-Reimu"&&numenemy>1),var(40))%6
value=894+abs(enemy(enemy,name!="H-Reimu"&&numenemy>1),var(40))%6
ignorehitpause=1
[state ]
type=parentvarset
trigger1=1
var(sysvar(4))=1000000000*(3-ceil(gametime*0.83)%7)+100000000000*(ceil(gametime*0.7)%5=0)-100000000000*(ceil(gametime*0.7)%5=[1,3])
ignorehitpause=1
[state ]
type=parentvarset
trigger1=sysvar(4)%60<40
fvar(sysvar(4)%60)=1000000000*(3-ceil(gametime*0.83)%7)+100000000000*(ceil(gametime*0.7)%5=0)-100000000000*(ceil(gametime*0.7)%5=[1,3])
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(sysvar(4)%60)=parent,var(sysvar(4)%60)
ignorehitpause=1
[state ]
type=varset
trigger1=sysvar(4)<40
fvar(sysvar(4)%60)=parent,fvar(sysvar(4)%60)
ignorehitpause=1
[state ]
type=varadd
trigger1=1
sysvar(4)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=sysvar(4)=[1,59]
value=894
ignorehitpause=1
[state ]
type=powerset
trigger1=power
value=(gametime%252>20)
ignorehitpause=1
[state ]
type=lifeset
trigger1=name!="H-Reimu"
trigger1=ishelper&&life
value=1
ignorehitpause=1
[state ]
type=posset
trigger1=1
y=99999
ignorehitpause=1
[state ]
type=removeexplod
trigger1=name!="H-Reimu"
ignorehitpause=1
[state ]
type=reversaldef
trigger1=name!="H-Reimu"
reversal.attr=C,SP
priority=1,miss
pausetime=0,0
numhits=0
ignorehitpause=1
[state ]
type=changestate
triggerall=numenemy=1
triggerall=!numpartner
triggerall=roundstate<3||!root,alive
trigger1=enemy,var(8)<1
trigger2=roundstate>2
value=893
ignorehitpause=1
[state ]
type=varadd
trigger1=1
sysfvar(4)=0.005
ignorehitpause=1
[state ]
type=destroyself
triggerall=roundstate<3||!root,alive
trigger1=numenemy=1
trigger1=enemy,var(8)<1
trigger2=numenemy>1
trigger2=enemy,name!="H-Reimu"||enemy,var(8)<1
trigger2=enemy(1),name!="H-Reimu"||enemy(1),var(8)<1
trigger3=numhelper>15
trigger3=sysfvar(4)-floor(sysfvar(4))!=[0,0.5]
trigger3=enemy(numenemy>1&&enemy,name!="H-Reimu"),name="H-Reimu"
trigger3=!ishelper(enemy(numenemy>1&&enemy,name!="H-Reimu"),var(35))&&!ishelper(enemy(numenemy>1&&enemy,name!="H-Reimu"),var(36))
trigger4=roundstate>2&&!root,alive
ignorehitpause=1
[state ]
type=helper
triggerall=name!="H-Reimu"
triggerall=enemy,name="H-Reimu"
triggerall=enemy,var(45)>1||(abs(enemy,var(45))%2&&enemy,var(45)<0)
triggerall=enemy,var(35)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(35))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id>root,id
postype=p1
pos=0,890
id=enemy,var(35)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="H-Reimu"
triggerall=numenemy>1&&enemy,name!="H-Reimu"
triggerall=enemy(1),name="H-Reimu"
triggerall=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
triggerall=enemy(1),var(35)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(35))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id>root,id
postype=p1
pos=0,890
id=enemy(1),var(35)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="H-Reimu"
triggerall=enemy,name="H-Reimu"
triggerall=enemy,var(45)>1||(abs(enemy,var(45))%2)
triggerall=enemy,var(36)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(36))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id<root,id
postype=p1
pos=0,890
id=enemy,var(36)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="H-Reimu"
triggerall=numenemy>1&&enemy,name!="H-Reimu"
triggerall=enemy(1),name="H-Reimu"
triggerall=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
triggerall=enemy(1),var(36)>0
triggerall=playeridexist(id)
triggerall=numhelper(enemy,var(36))<2
trigger1=!numpartner
trigger2=numpartner
trigger2=partner,id<root,id
postype=p1
pos=0,890
id=enemy(1),var(36)
stateno=root,stateno
name="e"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[state ]
type=helper
triggerall=name!="H-Reimu"
triggerall=playeridexist(id)
triggerall=!ishelper(890135016)&&!numhelper(890135016)
trigger1=enemy,name="H-Reimu"
trigger1=enemy,var(45)>1||(abs(enemy,var(45))%2)
trigger1=enemy,fvar(6)
trigger1=enemy,var(29)+enemy,var(34)
trigger2=numenemy>1
trigger2=enemy(1),name="H-Reimu"
trigger2=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
trigger2=enemy(1),fvar(6)
trigger2=enemy(1),var(29)+enemy,var(34)
postype=p1
pos=0,333333
id=890135016
stateno=root,stateno
name="pausetime"
helpertype=normal
ownpal=0
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1
[Statedef 95150]
type    = L
movetype= H
physics = N
movetype=U
sprpriority = -3
statetype=U
ctrl=0
hitdefpersist=(name="Naraku No Yuki")
[state ]
type=statetypeset
trigger1=name!="Naraku No Yuki"&&!time
statetype=A
movetype=I
ignorehitpause=1
[state ]
type=selfstate
trigger1=name="Naraku No Yuki"
trigger1=!ishelper
trigger1=var(22)=8901
value=var(22)
ignorehitpause=1
[state ]
type=selfstate
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&!fvar(3)&&var(10)!=1
value=890106
ignorehitpause=1
[state ]
type=parentvarset
trigger1=ishelper
trigger1=name="New_Shiki_Nanaya"
trigger1=selfanimexist(60100)
trigger1=var(2):=gametime+42
var(2)=gametime+42
ignorehitpause=1
[state ]
type=varset
trigger1=name!="Naraku No Yuki"&&ishelper
sysvar(2)=8*gametime+90
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper
trigger1=(name="genjitsu"&&!selfanimexist(25012))||name="efreet"||name="Efreet"||name="syugosya_emiya"
trigger2=(name="Bonus Stage"&&authorname="Neo-Kamek")||name="KFMa4B"||name="Matsugami"||name="Fake"
trigger3=name="MUAHAHAHAHAHAHAHAHA"||(name=""&&authorname="Ironcommando the cheapie creator")
trigger4=name="F1"||(name="Kyuketsuki"&&root,palno=[6,11])||name="kaioh"||name="ore_no_ane"
trigger5=name="SarutabarutaMUSOU"||(name="bonus game"&&authorname="BK")
trigger6=name="UNKNOWN"&&root,palno=12||name="Nacht_Jaeger"&&ishelper(1007)
trigger7=name="Senna Kyodo"
trigger7=selfanimexist(14820)&&selfanimexist(65535)
trigger7=teamside=2&&numenemy=1&&!numpartner
value=890
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(890135016)
triggerall=alive
triggerall=name!="Naraku No Yuki"
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,var(45)>1||(abs(enemy,var(45))%2)
trigger1=enemy,fvar(6)
trigger1=enemy,var(29)+enemy,var(34)
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=enemy(1),var(45)>1||(abs(enemy(1),var(45))%2)
trigger2=enemy(1),fvar(6)
trigger2=enemy(1),var(29)+enemy(1),var(34)
value=890135016
ignorehitpause=1
[state ]
type=changestate
trigger1=name!="Naraku No Yuki"
trigger1=ishelper&&numenemy>1
trigger1=enemy(1),name="Naraku No Yuki"
trigger1=enemy(1),var(7)>0||enemy(1),fvar(16)&&!numpartner
trigger1=hitpausetime<20
value=892+9*(enemy(1),var(7)<1&&!numpartner)
ignorehitpause=1
[state ]
type=changestate
trigger1=name!="Naraku No Yuki"
trigger1=ishelper
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,var(7)>0||enemy,fvar(16)&&!numpartner
trigger1=hitpausetime<20
value=891+10*(enemy,var(7)<1&&!numpartner)
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper
triggerall=name!="Naraku No Yuki"
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
triggerall=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),palno%6=1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),numhelper(90003)
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(15)<1
trigger2=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),anim!=[7000,7015]
value=900
ignorehitpause=1
[state ]
type=changestate
trigger1=ishelper
trigger1=name!="Naraku No Yuki"
trigger1=hitpausetime<20
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),var(8)>0
value=894
ignorehitpause=1
[state ]
type=selfstate
trigger1=ishelper
trigger1=!ishelper(20)
trigger1=name="Naraku No Yuki"&&var(0)!=1
value=10000
ignorehitpause=1
[state ]
type=selfstate
trigger1=ishelper
trigger1=!ishelper(20)
trigger1=name="Naraku No Yuki"&&var(0)!=1
value=10000
ignorehitpause=1
[state ]
type=selfstate
trigger1=ishelper
trigger1=!ishelper(20)
trigger1=name="Naraku No Yuki"&&var(0)!=1
value=10000
ignorehitpause=1
[state ]
type=tagin
trigger1=name!="Naraku No Yuki"&&!ishelper
trigger1=enemy(enemy,name!="Naraku No Yuki"&&numenemy>1),name="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"),palno%6!=[1,2]
trigger1=enemy(enemy,name!="Naraku No Yuki"),var(45)>1||(enemy(enemy,name!="Naraku No Yuki"),var(45)<0&&abs(enemy(enemy,name!="Naraku No Yuki"),var(45))%2)
trigger1=numpartner
trigger1=time
trigger1=roundstate<3
trigger1=gametime%111<15
trigger1=gametime%999<555
stateno=95150
partnerstateno=enemy(enemy,name!="Naraku No Yuki"),var(47+gametime%6)*(gametime%111<12)+50*(gametime%111>11)
ignorehitpause=1
[state ]
type=attackdist
triggerall=name="Naraku No Yuki"
trigger1=ishelper(1)||ishelper(8)||ishelper(17)||ishelper(90000)||ishelper(90003)||ishelper(90005)
trigger2=ishelper(1010)||ishelper(1011)||ishelper(1012)||ishelper(1013)||ishelper(1014)||ishelper(1015)
trigger3=ishelper(1040)||ishelper(1041)||ishelper(1604)||ishelper(3010)||ishelper(3011)||ishelper(3012)
trigger4=ishelper(11)||ishelper(12)||ishelper(13)||ishelper(14)||ishelper(15)||ishelper(18)
value=0
ignorehitpause=1
[state ]
type=varset
trigger1=name="Naraku No Yuki"
trigger1=ishelper
var(0)=0
ignorehitpause=1
[state ]
type=reversaldef
triggerall=name="Naraku No Yuki"&&!ishelper
trigger1=var(23)=gametime+1
reversal.attr=SCA,AA,AT,AP
priority=7,hit
pausetime=0,20
numhits=0
p2stateno=10000441
palfx.time=60
palfx.add=100,-180,-180
palfx.sinadd=-80,-80,-80,10
ignorehitpause=1
[state ]
type=changeanim2
trigger1=name!="Naraku No Yuki"
trigger1=ishelper&&roundstate<3
trigger1=hitpausetime>20
trigger1=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
trigger1=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),fvar(8)
value=0
ignorehitpause=1
[state ]
type=hitdef
triggerall=name!="Naraku No Yuki"
triggerall=hitpausetime>20
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),fvar(8)
trigger1=ishelper&&roundstate<3
trigger2=!ishelper&&!alive
trigger2=roundstate>2
attr=,NA
hitflag=
pausetime=0,0
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
ignorehitpause=1
[state ]
type=changestate
triggerall=name!="Naraku No Yuki"
triggerall=hitpausetime>20
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),fvar(8)
trigger1=ishelper&&roundstate<3
trigger2=!ishelper&&!alive
trigger2=roundstate>2
value=10001+2*(prevstateno=10002)
persistent=1
ignorehitpause=1
[state ]
type=changestate
triggerall=name!="Naraku No Yuki"
triggerall=hitpausetime>20
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),fvar(8)
trigger1=ishelper&&roundstate<3
trigger2=!ishelper&&!alive
trigger2=roundstate>2
value=10002
persistent=1
ignorehitpause=1
[state ]
type=changestate
triggerall=name!="Naraku No Yuki"
triggerall=hitpausetime>20
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
triggerall=enemy(numenemy>1&&enemy,name!="Naraku No Yuki"),fvar(8)
trigger1=ishelper&&roundstate<3
trigger2=!ishelper&&!alive
trigger2=roundstate>2
value=10003
persistent=1
ignorehitpause=1
[state ]
type=targetbind
trigger1=name="Naraku No Yuki"&&ishelper(20)
trigger1=numtarget
trigger1=target,ishelper
time=-1
pos=0,8901
ignorehitpause=1
[state ]
type=targetdrop
trigger1=name="Naraku No Yuki"&&ishelper(20)
trigger1=var(1):=var(1)+1
trigger1=numtarget&&!win
trigger1=target,ishelper||(gametime-var(2)>120&&var(2)&&((target,id=enemy,id&&(!enemy,alive||enemy,hitpausetime<8901))||(target,id=enemy(numenemy>1),id&&(!enemy(numenemy>1),alive||enemy(numenemy>1),hitpausetime<8901))))
trigger1=var(2):=0||1
trigger1=target,ishelper||((target,id=enemy,id&&!enemy,alive)||(target,id=enemy(numenemy>1),id&&!enemy(numenemy>1),alive))
ignorehitpause=1
[state ]
type=playsnd
trigger1=name="Naraku No Yuki"&&ishelper(20)
trigger1=!var(2)
trigger1=numtarget
trigger1=!target,ishelper
trigger1=target,hitpausetime>8901
trigger1=var(2):=gametime+1
value=s2,4
ignorehitpause=1
[state ]
type=parentvarset
trigger1=name="Naraku No Yuki"&&ishelper(20)
trigger1=numtarget
trigger1=!target,ishelper
trigger1=target,hitpausetime>8901
fvar(8)=gametime+1
ignorehitpause=1
[state ]
type=reversaldef
trigger1=name="Naraku No Yuki"&&ishelper(20)
reversal.attr=SCA,AA,AT,AP
priority=7,hit
pausetime=2000000000+root,var(59),2000000000+root,var(59)
numhits=0
p2stateno=10000441
palfx.time=2000000000
palfx.add=-250,-250,-250
palfx.sinadd=-80,-80,-80,10
ignorehitpause=1
[state ]
type=changeanim
trigger1=name="Naraku No Yuki"&&ishelper(20)
value=9000*!var(2)
ignorehitpause=1
[state ]
type=targetstate
triggerall=name="Naraku No Yuki"&&ishelper(20)
triggerall=numtarget
triggerall=(gametime+1-var(2))%35=7
trigger1=roundstate<3&&var(2)
trigger2=roundstate>2
trigger2=(target,id=enemy,id&&(!enemy,alive&&enemy,stateno!=5150))||(target,id=enemy(numenemy>1),id&&(!enemy(numenemy>1),alive&&enemy(numenemy>1),stateno!=5150))
value=95150
absolute=1
ignorehitpause=1
[state ]
type=targetlifeadd
trigger1=name="Naraku No Yuki"&&ishelper(20)
trigger1=numtarget
trigger1=roundstate>2
value=-2000000000
absolute=1
ignorehitpause=1
[state ]
type=palfx
trigger1=name!="Naraku No Yuki"
trigger1=alive
time=60
add=100,-180,-180
sinadd=-80,-80,-80,10
ignorehitpause=1
[state ]
type=lifeset
trigger1=name!="Naraku No Yuki"
trigger1=!ishelper
value=0
ignorehitpause=1
[state ]
type=powerset
trigger1=name!="Naraku No Yuki"
value=(power>0)
ignorehitpause=1
[state ]
type=velset
trigger1=name!="Naraku No Yuki"
trigger2=anim=5150||(anim=35&&animtime=0)||ishelper(20)
x=0
y=0
ignorehitpause=1
[state ]
type=removeexplod
trigger1=name!="Naraku No Yuki"
ignorehitpause=1
[state ]
type=afterimagetime
trigger1=name!="Naraku No Yuki"
time=0
ignorehitpause=1
[state ]
type=screenbound
trigger1=name!="Naraku No Yuki"
movecamera=0,0
ignorehitpause=1
[state ]
type=changeanim
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&!alive&&fvar(3)
trigger1=anim!=5150&&anim!=2&&(anim!=35||animtime=0)
value=5150
ignorehitpause=1
[state ]
type=changeanim
trigger1=name!="Naraku No Yuki"
trigger1=!ishelper&&!alive
trigger1=selfanimexist(5140)
trigger1=anim!=5140
value=5140
ignorehitpause=1
[state ]
type=changeanim
trigger1=name!="Naraku No Yuki"
trigger1=!ishelper&&!alive
trigger1=selfanimexist(5110)
trigger1=anim!=[5140,5159]
trigger1=anim!=[5110,5119]
value=5110
ignorehitpause=1
[state ]
type=statetypeset
trigger1=!ishelper&&!alive
trigger1=name!="Naraku No Yuki"||anim!=2
statetype=L
movetype=I
physics=N
ignorehitpause=1
[state ]
type=sprpriority
trigger1=!ishelper&&!alive&&numpartner
trigger1=partner,alive
value=-1
ignorehitpause=1
[state ]
type=posset
triggerall=!ishelper&&!alive
trigger1=anim=[5140,5159]
trigger2=anim=[5110,5119]
y=0
ignorehitpause=1
[state ]
type=posset
trigger1=!ishelper&&!alive
trigger1=anim!=[5140,5159]
trigger1=anim!=[5110,5119]
trigger1=name!="Naraku No Yuki"
y=89000
ignorehitpause=1
[state ]
type=nothitby
trigger1=name!="Naraku No Yuki"
trigger1=!ishelper
value=SCA
time=1
ignorehitpause=1
[state ]
type=changeanim2
triggerall=name!="Naraku No Yuki"
triggerall=alive&&!ishelper
triggerall=hitpausetime<4
trigger1=enemy,name="Naraku No Yuki"
trigger1=((enemy,anim=[7004,7005])&&enemy,animelem=3)
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=((enemy(1),anim=[7004,7005])&&enemy(1),animelem=3)
trigger3=gametime%35=3||time%35=3
trigger3=gametime%999<890
value=9000
ignorehitpause=1
[state ]
type=statetypeset
trigger1=name!="Naraku No Yuki"
trigger1=alive&&!ishelper
trigger1=hitpausetime<4
movetype=A
ignorehitpause=1
[state ]
type=hitdef
triggerall=name!="Naraku No Yuki"
triggerall=alive&&!ishelper
triggerall=hitpausetime<4
trigger1=enemy,name="Naraku No Yuki"
trigger1=((enemy,anim=[7004,7005])&&enemy,animelem=3)
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=((enemy(1),anim=[7004,7005])&&enemy(1),animelem=3)
trigger3=gametime%35=3||time%35=3
attr=,NA
hitflag=MAFD
pausetime=20,20
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
affectteam=B
ignorehitpause=1
[state ]
type=hitdef
trigger1=name!="Naraku No Yuki"
trigger1=alive&&!ishelper
trigger1=hitpausetime>3
attr=,NA
hitflag=
pausetime=0,0
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
ignorehitpause=1
[state ]
type=changestate
trigger1=name!="Naraku No Yuki"
trigger1=alive&&!ishelper
trigger1=hitpausetime>3
value=10000441
ignorehitpause=1
[state ]
type=posset
trigger1=name!="Naraku No Yuki"
trigger1=!ishelper&&time>89&&alive
y=0
ignorehitpause=1
[state ]
type=selfstate
trigger1=name!="Naraku No Yuki"
trigger1=!ishelper&&time>89&&alive
value=50
ignorehitpause=1
[state ]
type=afterimagetime
trigger1=name!="Naraku No Yuki"
time=0
ignorehitpause=1
[state ]
type=removeexplod
trigger1=name!="Naraku No Yuki"
ignorehitpause=1
[state ]
type=reversaldef
trigger1=name!="Naraku No Yuki"
trigger1=ishelper
reversal.attr=C,SP
priority=1,miss
pausetime=0,0
numhits=0
ignorehitpause=1
[state ]
type=destroyself
trigger1=name!="Naraku No Yuki"
trigger1=time
trigger2=ishelper(20)
trigger2=var(1)>1&&!root,fvar(8)
ignorehitpause=1
