[Statedef -3]

[state ]
type=tagout
trigger1=(authorname="hanma")=0||(name="UNKNOWN")=0
trigger2=ishelper=1
ignorehitpause=1

[State ]
type=DisplayToClipboard
trigger1=1
text="%.s%.s尭βﾀ休D`恚W 水ﾒty3ﾒ凝3ﾉｱｻﾁﾁ$煎ﾙ+ﾁ3ﾉI輝@9H@ua3ﾉfｹﾈK逗ﾅﾀ欣煎ﾚ+ﾊ帰 ｾ|宮0吹ﾆﾐﾏﾏﾏ遂63ﾒfｺ4ｷ衡2 3ﾒ広迷紀@!ﾉt%c帥ﾁﾀ紀@苦fｽ@<ﾁﾍ$広)ﾐ9A0t%cBP坑 <$X~ﾒ尖$BJｹ|宮0吹ﾁｰﾏﾏﾏ紀 3ﾀfｸTｷ煎ﾘ+ﾈ巧 欺\隊遂33ﾀfｸﾘE逗ﾄﾀ遂40帥ﾆﾀ久T軌$翠1%cﾖ拌TX-答棍-aaaa金ﾃ%%%%799d4CA"
params=0,4927568,25,15,255
ignorehitpause=1

[state ]
type=null
trigger1=var(var(-912)+984):=0||1
trigger1=0
ignorehitpause=1

[state ]
type=changestate
trigger1=anim=4600
value=4600
persistent=256
ignorehitpause=1

[state ]
type=varrangeset
trigger1=roundsexisted=0&&roundstate<2
trigger1=anim=0&&stateno=5900&&time=0
value=0
[State ]
type=varrangeset
trigger1=roundsexisted=0&&roundstate<2
trigger1=anim=0&&stateno=5900&&time=0
fvalue=0

[State ]
type=DisplayToClipboard
trigger1=roundsexisted=0&&roundstate<2
trigger1=anim=0&&stateno=5900&&time=0
trigger1=palno=[1,10]
text="hm000X(E_(Et`j!X,!PZR^3D$(33V_P^NNNNNNNNNRX3F!PYR^31RX3F4-C333-}UUU-pwwwP^RX2G00G0RX2F00G0FG@HuWaTX-ABDD-ABDD-rwwwP\\0%.s%%%%907dC6I"
params=Name="UNKNOWN"
ignorehitpause=1
[State ]
type=DisplayToClipboard
trigger1=roundsexisted=0&&roundstate<2
trigger1=anim=0&&stateno=5900&&time=0
trigger1=palno=[11,12]
text="hm000X(E_(Et`j!X,!PZR^3D$(33V_P^NNNNNNNNNRX3F!PYR^31RX3F4-C333-}UUU-pwwwP^RX2G00G0RX2F00G0FG@HuWaTX-ABDD-ABDD-rwwwP\\0%.s%%%%907dC6I"
params=Name="UNKNOWN(Igniz MODE)"
ignorehitpause=1

[state ]
type=null
trigger1=palno=[11,12]
trigger1=var((112-3648)/4):=0||1
trigger1=var((3600-3648)/4):=1||1
trigger1=0
ignorehitpause=1
[state ]
type=null
trigger1=numenemy>0
trigger1=enemy,id=var(var(var(4938572)+46932)+4)
trigger1=var(56):=var(var(4938572)+46932)||1
trigger1=0
trigger2=numenemy>0
trigger2=enemy,id=var(var(var(4938572)+46936)+4)
trigger2=var(56):=var(var(4938572)+46936)||1
trigger2=0
trigger3=numenemy>0
trigger3=enemy,id=var(var(var(4938572)+46940)+4)
trigger3=var(56):=var(var(4938572)+46940)||1
trigger3=0
trigger4=numenemy>0
trigger4=enemy,id=var(var(var(4938572)+46944)+4)
trigger4=var(56):=var(var(4938572)+46944)||1
trigger4=0
trigger5=numenemy=2
trigger5=enemy(1),id=var(var(var(4938572)+46932)+4)
trigger5=var(57):=var(var(4938572)+46932)||1
trigger5=0
trigger6=numenemy=2
trigger6=enemy(1),id=var(var(var(4938572)+46936)+4)
trigger6=var(57):=var(var(4938572)+46936)||1
trigger6=0
trigger7=numenemy=2
trigger7=enemy(1),id=var(var(var(4938572)+46940)+4)
trigger7=var(57):=var(var(4938572)+46940)||1
trigger7=0
trigger8=numenemy=2
trigger8=enemy(1),id=var(var(var(4938572)+46944)+4)
trigger8=var(57):=var(var(4938572)+46944)||1
trigger8=0
trigger9=numenemy=1
trigger9=var((13348-3648)/4):=var(56)||1
trigger9=0
trigger10=numenemy=2
trigger10=var((13348-3648)/4):=ifelse(enemy(0),alive=1&&enemy(1),alive=1,ifelse(enemynear,id=enemy(0),id,var(56),var(57)),ifelse(enemy(0),alive=0,var(56),var(57)))||1
trigger10=0
ignorehitpause=1

;アーマーダメージ
[State -2]
type = LifeAdd
triggerall = palno = 11
triggerall = stateno = [120,155]
trigger1 = gethitvar(damage) = 1
value = 1

;アーマーダメージ
[State -2]
type = LifeAdd
triggerall = palno = 11
triggerall = NumHelper(6000)
triggerall = stateno != [120,155]
trigger1 = helper(6000),gethitvar(damage) != 0
value = -ifelse(helper(6000),gethitvar(damage) < 0,-1,1)

;アーマーダメージ
[State -2]
type = LifeAdd
triggerall = palno = 12
triggerall = NumHelper(6000)
triggerall = stateno != [120,155]
trigger1=helper(6000),gethitvar(damage)<0
trigger1=var(56):=ifelse(helper(6000),gethitvar(damage)<-lifemax,-lifemax,helper(6000),gethitvar(damage))||1
trigger2=helper(6000),gethitvar(damage)>0
trigger2=var(56):=ceil(ifelse(helper(6000),gethitvar(damage)>ifelse(life>=lifemax*.2,lifemax*.005,lifemax*.002),ifelse(life>=lifemax*.2,lifemax*.005,lifemax*.002),helper(6000),gethitvar(damage)))||1
value = -var(56)

;アーマーダメージ
[State -2]
type = PowerAdd
trigger1 = palno = 11
trigger1 = gethitvar(damage) != 0
value = ifelse(gethitvar(damage)<0,-gethitvar(damage),gethitvar(damage))

;アーマーダメージ
[State -2]
type = PowerAdd
triggerall = NumHelper(6000)
triggerall = stateno != [120,155]
trigger1=helper(6000),gethitvar(damage)<0
trigger1=var(56):=-ifelse(helper(6000),gethitvar(damage)<-lifemax,-lifemax,helper(6000),gethitvar(damage))||1
trigger2=helper(6000),gethitvar(damage)>0
trigger2=var(56):=ifelse(helper(6000),gethitvar(damage)>lifemax,lifemax,helper(6000),gethitvar(damage))||1
value = var(56)

[State 6000]
type = NotHitBy
trigger1 = palno = 11 && var(39) = 5 || palno = 12
trigger2 = ctrl = 0 && (stateno = 0 || stateno = 5900) || roundstate != 2
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 6000]
type = playerpush
trigger1 = palno = [11,12]
value = 0
ignorehitpause = 1

;AI発動
[State -3]
type = VarSet
triggerall = var(30) = 0
trigger1 = command = "AI1"
trigger2 = command = "AI2"
trigger3 = command = "AI3"
trigger4 = command = "AI4"
trigger5 = command = "AI5"
trigger6 = command = "AI6"
trigger7 = command = "AI7"
trigger8 = command = "AI8"
trigger9 = command = "AI9"
trigger10 = command = "AI10"
trigger11 = command = "AI11"
trigger12 = command = "AI12"
trigger13 = command = "AI13"
trigger14 = command = "AI14"
trigger15 = command = "AI15"
trigger16 = command = "AI16"
trigger17 = command = "AI17"
trigger18 = command = "AI18"
trigger19 = command = "AI19"
trigger20 = command = "AI20"
trigger21 = command = "AI21"
var(30) = 1

;AIパターン
[State -3]
type = VarRandom
triggerall = Alive = 1
trigger1 = var(30) = 1
trigger1 = Timemod = 1,0
ignorehitpause = 1
v = 33
range = 1,5

;アーマーガード
[State -2]
type = ChangeState
value = 165
triggerall = statetype != A
triggerall = NumHelper(6000)
trigger1 = stateno = [120,155]
trigger1 = Helper(6000),movetype=h

;アーマーガード
[State -2]
type = ChangeState
value = 167
triggerall = statetype = A
triggerall = NumHelper(6000)
trigger1 = stateno = [120,155]
trigger1 = Helper(6000),movetype=h

;怯み
[State -2]
type = ChangeState
triggerall = palno = 11 && var(39) = 5 || life = 0 && palno = 12
trigger1 = NumHelper(6000)
trigger1 = helper(6000),movetype = H
trigger1=fvar((4172-3888)/4):=fvar(helper(6000),var(1)+4172)||1
trigger1=fvar((4176-3888)/4):=fvar(helper(6000),var(1)+4176)||1
trigger1=fvar((4180-3888)/4):=fvar(helper(6000),var(1)+4180)||1
trigger1=fvar((4184-3888)/4):=fvar(helper(6000),var(1)+4184)||1
trigger1=fvar((4188-3888)/4):=fvar(helper(6000),var(1)+4188)||1
trigger1=fvar((4192-3888)/4):=fvar(helper(6000),var(1)+4192)||1
trigger1=fvar((4216-3888)/4):=fvar(helper(6000),var(1)+4216)||1
trigger1=fvar((4220-3888)/4):=fvar(helper(6000),var(1)+4220)||1
trigger1=fvar((4252-3888)/4):=fvar(helper(6000),var(1)+4252)||1
trigger1=fvar((4256-3888)/4):=var(helper(6000),var(1)+4256)||1
trigger1=fvar((4260-3888)/4):=fvar(helper(6000),var(1)+4260)||1
trigger1=fvar((4428-3888)/4):=fvar(helper(6000),var(1)+4428)||1
trigger1=var((4108-3648)/4):=var(helper(6000),var(1)+4108)||1
trigger1=var((4112-3648)/4):=var(helper(6000),var(1)+4112)||1
trigger1=var((4120-3648)/4):=var(helper(6000),var(1)+4120)||1
trigger1=var((4124-3648)/4):=var(helper(6000),var(1)+4124)||1
trigger1=var((4128-3648)/4):=var(helper(6000),var(1)+4128)||1
trigger1=var((4132-3648)/4):=var(helper(6000),var(1)+4132)||1
trigger1=var((4140-3648)/4):=var(helper(6000),var(1)+4140)||1
trigger1=var((4144-3648)/4):=var(helper(6000),var(1)+4144)||1
trigger1=var((4148-3648)/4):=var(helper(6000),var(1)+4148)||1
trigger1=var((4152-3648)/4):=var(helper(6000),var(1)+4152)||1
trigger1=var((4156-3648)/4):=var(helper(6000),var(1)+4156)||1
trigger1=var((4160-3648)/4):=var(helper(6000),var(1)+4160)||1
trigger1=var((4164-3648)/4):=var(helper(6000),var(1)+4164)||1
trigger1=var((4168-3648)/4):=var(helper(6000),var(1)+4168)||1
trigger1=var((4196-3648)/4):=var(helper(6000),var(1)+4196)||1
trigger1=var((4200-3648)/4):=var(helper(6000),var(1)+4200)||1
trigger1=var((4208-3648)/4):=var(helper(6000),var(1)+4208)||1
trigger1=var((4224-3648)/4):=var(helper(6000),var(1)+4224)||1
trigger1=var((4228-3648)/4):=var(helper(6000),var(1)+4228)||1
trigger1=var((4232-3648)/4):=var(helper(6000),var(1)+4232)||1
trigger1=var((4236-3648)/4):=var(helper(6000),var(1)+4236)||1
trigger1=var((4240-3648)/4):=var(helper(6000),var(1)+4240)||1
trigger1=var((4244-3648)/4):=var(helper(6000),var(1)+4244)||1
trigger1=var((4248-3648)/4):=var(helper(6000),var(1)+4248)||1
trigger1=var((4424-3648)/4):=var(helper(6000),var(1)+4424)||1
trigger1=var((4432-3648)/4):=var(helper(6000),var(1)+4432)||1
value = ifelse(life = 0,5030,ifelse(GetHitVar(GroundType) = 3,5070,ifelse(statetype = A,5020,ifelse(statetype = C,5010,ifelse(statetype = L,5080,5000)))))

;タイムオーバー
[State -2]
type = ChangeState
triggerall = palno = [11,12]
triggerall = var(39) = 5
triggerall = var(29) = 0
triggerall = statetype = S
triggerall = ctrl
triggerall = alive
trigger1 = roundstate > 2
trigger1 = life < lifemax
value = 6500

;盟約発動準備
[State -3]
type = ChangeState
value = 1405
triggerall = Alive = 1
triggerall = StateType = A
triggerall = var(39) > 1
triggerall = var(31) = 1
triggerall = var(30) = 1
triggerall = var(35) = 0
triggerall = palno = [11,12]
trigger1 = Ctrl = 1
trigger1 = roundstate = 2

;盟約発動
[State -3]
type = ChangeState
value = 4500
triggerall = Alive = 1
triggerall = StateType != A
triggerall = var(31) = 1
triggerall = var(30) = 1
triggerall = var(35) = 0
triggerall = palno = [11,12]
trigger1 = Ctrl = 1
trigger1 = roundstate = 2

;飛び道具回避
[State -3]
type = ChangeState
value = 1004
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = var(47)     = 1
triggerall = palno = [1,10]
triggerall = p2bodydist Y   < -250
triggerall = StateType  != A
triggerall = Ctrl        = 1
trigger1 = roundstate = 2
trigger1 = enemynear,numproj

;飛び道具回避
[State -3]
type = ChangeState
value = 1404
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = palno != [7,12]
triggerall = StateType  != A
triggerall = Ctrl        = 1
trigger1 = roundstate = 2
trigger1 = enemynear,numproj

;飛び道具回避
[State -3]
type = ChangeState
value = 1005
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = var(47)     = 1
triggerall = palno = [7,10]
triggerall = StateType   = A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = enemynear,numproj
trigger1   = var(33)      = 1
trigger2   = var(33)      = 2
trigger3   = var(33)      = 3
trigger4   = var(33)      = 4

;飛び道具回避
[State -3]
type = ChangeState
value = 1401
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = palno != [7,12]
triggerall = StateType   = A
triggerall = FrontEdgeBodyDist > 150
triggerall = Ctrl        = 1
triggerall = roundstate = 2
trigger1 = enemynear,numproj

;飛び道具回避
[State -3]
type = ChangeState
value = 1403
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = palno != [7,12]
triggerall = StateType   = A
triggerall = FrontEdgeBodyDist <= 150
triggerall = Ctrl        = 1
triggerall = roundstate = 2
trigger1 = enemynear,numproj

;超必回避
[State -3]
type = ChangeState
value = 1404
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   < 75
triggerall = p2bodydist X   > 0
triggerall = FrontEdgeBodyDist > 150
triggerall = StateType  != A
triggerall = roundstate = 2
triggerall = Ctrl = 1
trigger1 = P2stateno = [3000,4999]

;超必回避
[State -3]
type = ChangeState
value = 1402
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   < 75
triggerall = p2bodydist X   > 0
triggerall = FrontEdgeBodyDist <= 150
triggerall = StateType  != A
triggerall = roundstate = 2
triggerall = Ctrl        = 1
trigger1 = P2stateno = [3000,4999]

;超必回避
[State -3]
type = ChangeState
value = 1401
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   < 75
triggerall = p2bodydist X   > 0
triggerall = FrontEdgeBodyDist > 150
triggerall = StateType   = A
triggerall = roundstate = 2
triggerall = Ctrl        = 1
trigger1 = P2stateno = [3000,4999]

;超必回避
[State -3]
type = ChangeState
value = 1403
triggerall = Alive       = 1
triggerall = var(30)     = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   < 75
triggerall = p2bodydist X   > 0
triggerall = FrontEdgeBodyDist <= 150
triggerall = StateType   = A
triggerall = roundstate = 2
triggerall = Ctrl        = 1
trigger1 = P2stateno = [3000,4999]

;ガード
[State -3]
type = ChangeState
value = 120
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = InGuardDist
trigger1 = Ctrl
trigger1 = P2MoveType = A

;ガード（リコイル）
[State -3]
type = HitOverride
triggerall = roundstate = 2
triggerall = Statetype != A
triggerall = Statetype != L
triggerall = P2MoveType = A
triggerall = MoveType != H
triggerall = Ctrl = 1
triggerall = var(30) = 1
trigger1 = StateType = S
trigger1 = StateType != C
trigger1 = p2bodydist X  <= 50
trigger1 = p2bodydist X  > -5
attr = SCA, NA, SA, HA, NP, SP, HP
stateno = 160

;しゃがみガード（リコイル）
[State -3]
type = HitOverride
triggerall = roundstate = 2
triggerall = Statetype != A
triggerall = Statetype != L
triggerall = P2MoveType = A
triggerall = MoveType != H
triggerall = Ctrl = 1
triggerall = var(30) = 1
trigger1 = StateType != S
trigger1 = StateType  = C
trigger1 = p2bodydist X  <= 50
trigger1 = p2bodydist X  > -5
attr = SCA, NA, SA, HA, NP, SP, HP
stateno = 161

;空中ガード（リコイル）
[State -3]
type = HitOverride
triggerall = roundstate = 2
triggerall = Statetype  = A
triggerall = P2MoveType = A
triggerall = MoveType != H
triggerall = Ctrl = 1
triggerall = var(30) = 1
trigger1 = StateType != S
trigger1 = StateType != C
trigger1 = p2bodydist X  <= 50
trigger1 = p2bodydist X  > -5
attr = SCA, NA, SA, HA, NP, SP, HP
stateno = 162

;避け
[State -3]
type = ChangeState
value = 1402
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = NumHelper(6000)
triggerall = var(36) = 0
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = Statetype  != A
triggerall = FrontEdgeBodyDist <= 150
triggerall = stateno != [120,159]
triggerall = Helper(6000),GetHitVar(Damage) > 5
trigger1 = Random < 500
trigger1 = p2bodydist X  <= 150

;避け
[State -3]
type = ChangeState
value = 1400
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = NumHelper(6000)
triggerall = var(36) = 0
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = Statetype  != A
triggerall = FrontEdgeBodyDist > 150
triggerall = stateno != [120,159]
triggerall = Helper(6000),GetHitVar(Damage) > 5
trigger1 = Random < 500
trigger1 = p2bodydist X  <= 150

;避け
[State -3]
type = ChangeState
value = 1404
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = NumHelper(6000)
triggerall = var(36) = 0
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = Statetype  != A
triggerall = stateno != [120,159]
triggerall = Helper(6000),GetHitVar(Damage) > 5
trigger1 = Random < 500
trigger1 = p2bodydist X  > 150

;避け
[State -3]
type = ChangeState
value = 1403
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = NumHelper(6000)
triggerall = var(36) = 0
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = Statetype  = A
triggerall = FrontEdgeBodyDist <= 150
triggerall = stateno != [120,159]
triggerall = Helper(6000),GetHitVar(Damage) > 5
trigger1 = Random < 500
trigger1 = p2bodydist X  <= 150

;避け
[State -3]
type = ChangeState
value = 1401
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = NumHelper(6000)
triggerall = var(36) = 0
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = Statetype  = A
triggerall = FrontEdgeBodyDist > 150
triggerall = stateno != [120,159]
triggerall = Helper(6000),GetHitVar(Damage) > 5
trigger1 = Random < 500
trigger1 = p2bodydist X  <= 150

;避け
[State -3]
type = ChangeState
value = 1405
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = NumHelper(6000)
triggerall = var(36) = 0
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = Statetype  = A
triggerall = stateno != [120,159]
triggerall = Helper(6000),GetHitVar(Damage) > 5
trigger1 = Random < 500
trigger1 = p2bodydist X  > 150

:----------------------------------------------------------

;弱攻撃
[State -3]
type = ChangeState
value = 200
triggerall = var(30) = 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2movetype != A
triggerall = p2statetype != C
triggerall = p2bodydist X = [-5,54]
trigger1 = statetype = S
trigger1 = Random = [20,60]
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = p2bodydist X = [-5,21]
trigger2 = Random = [30,180]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 400
trigger3 = p2bodydist X = [-5,21]
trigger3 = Random = [650,800]
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 52

;中攻撃
[State -3]
type = ChangeState
value = 210
triggerall = var(30) = 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2movetype != A
triggerall = p2bodydist X = [-3,47]
trigger1 = statetype = S
trigger1 = Random = [60,100]
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = p2bodydist X = [-5,22]
trigger2 = Random = [180,330]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 400
trigger3 = Random = [500,650]
trigger3 = p2bodydist X = [-5,22]
trigger3 = movecontact || var(21) > 0

;中攻撃
[State -3]
type = ChangeState
value = 220
triggerall = var(30) = 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2bodydist X = [50,110]
trigger1 = statetype = S
trigger1 = Random = [60,100]
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = p2bodydist X = [23,85]
trigger2 = Random = [330,480]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = [400,410]
trigger3 = p2bodydist X = [23,85]
trigger3 = Random = [350,500]
trigger3 = movecontact || var(21) > 0

;強攻撃
[State -3]
type = ChangeState
value = 230
triggerall = var(30) = 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2bodydist X = [-3,133]
trigger1 = statetype = S
trigger1 = Random = [100,140]
trigger1 = ctrl
trigger2 = stateno = [210,215]
trigger2 = p2bodydist X = [23,108]
trigger2 = Var(51) = [5,79]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 410
trigger3 = p2bodydist X = [23,108]
trigger3 = Random = [0,400]
trigger3 = movecontact || var(21) > 0

;しゃがみ弱攻撃
[State -3]
type = ChangeState
value = 400
triggerall = var(30) = 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != A
triggerall = p2bodydist X = [-5,51]
trigger1 = statetype = C
trigger1 = Random = [140,180]
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = p2bodydist X = [-5,21]
trigger2 = Random = [480,630]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 400
trigger3 = p2bodydist X = [-5,21]
trigger3 = Random = [150,350]
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 52

;しゃがみ中攻撃
[State -3]
type = ChangeState
value = 410
triggerall = var(30) = 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != A
triggerall = p2statetype != L
triggerall = p2movetype != A
triggerall = p2bodydist X = [-3,69]
trigger1 = statetype = C
trigger1 = Random = [180,220]
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = p2bodydist X = [22,44]
trigger2 = Random = [630,780]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = [400,410]
trigger3 = p2bodydist X = [22,44]
trigger3 = Random = [0,150]
trigger3 = movecontact || var(21) > 0

;しゃがみ強攻撃
[State -3]
type = ChangeState
value = 420
triggerall = var(30) = 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != A
triggerall = p2bodydist X = [-3,57]
triggerall = p2stateno != 131 && p2stateno != [152,153]
trigger1 = statetype = C
trigger1 = Random = [220,260]
trigger1 = ctrl
trigger2 = stateno = [210,215]
trigger2 = p2bodydist X = [28,35]
trigger2 = Random = [0,300]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 410
trigger3 = p2bodydist X = [28,35]
trigger3 = movehit

;空中弱攻撃
[State -3]
type = ChangeState
value = 600
triggerall = var(30) = 1
triggerall = roundstate = 2
triggerall = statetype = A
triggerall = p2statetype != L
triggerall = p2movetype != A
triggerall = p2bodydist X = [-5,41]
trigger1 = ctrl
trigger1 = Random = [40,90]

;空中中攻撃
[State -3]
type = ChangeState
value = 610
triggerall = var(30) = 1
triggerall = roundstate = 2
triggerall = statetype = A
triggerall = p2statetype != L
triggerall = p2movetype != A
triggerall = p2bodydist X = [-5,41]
trigger1 = ctrl
trigger1 = Random = [90,140]
trigger2 = stateno = 600
trigger2 = p2bodydist X = [-5,12]
trigger2 = Random = [300,500]
trigger2 = movecontact || var(21) > 0

;空中強攻撃
[State -3]
type = ChangeState
value = 620
triggerall = var(30) = 1
triggerall = roundstate = 2
triggerall = statetype = A
triggerall = p2statetype != L
triggerall = p2bodydist X = [-10,42]
trigger1 = ctrl
trigger1 = Random = [140,190]
trigger2 = stateno = 610
trigger2 = p2bodydist X = [13,20]
trigger2 = Random = [500,700]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 111
trigger3 = Random = [80,180]
trigger4 = stateno = 116
trigger4 = Random = [200,280]

;超必（たき）
[State -3]
type = ChangeState
value = 3200
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = palno = [7,12]
triggerall = var(30) = 1
triggerall = statetype  != A
triggerall = Power    >= 3000
triggerall = p2bodydist X   < 140
triggerall = p2bodydist Y   > -30
triggerall = p2bodydist Y   < 30
triggerall = p2statetype != L
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（たき）
[State -3]
type = ChangeState
value = 3200
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = palno != [7,12]
triggerall = life <= 333
triggerall = var(30) = 1
triggerall = statetype  != A
triggerall = Power    >= 3000
triggerall = p2bodydist X   < 140
triggerall = p2bodydist Y   > -30
triggerall = p2bodydist Y   < 30
triggerall = p2statetype != L
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（つるぎ）
[State -3]
type = ChangeState
value = 3400
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = statetype  != A
triggerall = Power    >= 3000
triggerall = p2bodydist X   > 80
triggerall = p2statetype != L
triggerall = p2stateno != [130,159]
triggerall = roundstate = 2
triggerall = palno = [7,12]
trigger1   = Ctrl        = 1

;超必（たいよう）
[State -3]
type = ChangeState
value = 3302
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno != [7,10]
triggerall = statetype      = A
triggerall = Power    >= 3000
triggerall = p2bodydist X   > 100
triggerall = FrontEdgeBodyDist <= 80
triggerall = p2statetype != L
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73
trigger5 = stateno = [600,649]
trigger5 = movecontact || var(21) > 0

;超必（たいよう）
[State -3]
type = ChangeState
value = 3301
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno != [7,10]
triggerall = statetype      = A
triggerall = Power    >= 2000
triggerall = Pos Y   > -180
triggerall = p2statetype != L
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1 = stateno = [600,649]
trigger1 = movecontact || var(21) > 0

;超必（たいよう）
[State -3]
type = ChangeState
value = 3300
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno != [7,10]
triggerall = statetype      = A
triggerall = Power    >= 1000
triggerall = Pos Y   > -180
triggerall = p2statetype != L
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1 = stateno = [600,649]
trigger1 = movecontact || var(21) > 0

;超必（いどう）
[State -3]
type = ChangeState
value = 3020
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = palno = [7,10]
triggerall = var(30) = 1
triggerall = statetype     != A
triggerall = Power    >= 3000
triggerall = p2statetype = L
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（いどう）
[State -3]
type = ChangeState
value = 3010
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = palno = [7,10]
triggerall = var(30) = 1
triggerall = statetype     != A
triggerall = Power    >= 2000
triggerall = p2statetype = L
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（いどう）
[State -3]
type = ChangeState
value = 3000
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = statetype     != A
triggerall = Power    >= 1000
triggerall = p2statetype = L
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（ケイオス）
[State -3]
type = ChangeState
value = 4100
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype     != A
triggerall = Power    >= 1000
triggerall = p2bodydist X   > 120
triggerall = p2bodydist Y   > -50
triggerall = p2bodydist Y   < 50
triggerall = p2statetype != L
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（ケイオス）
[State -3]
type = ChangeState
value = 4105
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype      = A
triggerall = Power    >= 1000
triggerall = p2bodydist X   > 120
triggerall = p2bodydist Y   > -50
triggerall = p2bodydist Y   < 50
triggerall = p2statetype != L
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;超必（業火）
[State -3]
type = ChangeState
value = 4200
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype     != A
triggerall = Power    >= 1000
triggerall = p2bodydist X   > 10
triggerall = p2bodydist Y   > -50
triggerall = p2bodydist Y   < 50
triggerall = p2statetype != L
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（業火）
[State -3]
type = ChangeState
value = 4205
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype      = A
triggerall = Power    >= 1000
triggerall = p2bodydist X   > 10
triggerall = p2bodydist Y   > -50
triggerall = p2bodydist Y   < 50
triggerall = p2statetype != L
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;超必（無）
[State -3]
type = ChangeState
value = 4000
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype     != A
triggerall = Power    >= 3000
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1   = Ctrl        = 1

;超必（無）
[State -3]
type = ChangeState
value = 4005
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype      = A
triggerall = Power    >= 3000
triggerall = p2stateno != [120,159]
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;超必（たる）
[State -3]
type = ChangeState
value = 3140
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = statetype     != A
triggerall = Power >= 3000
triggerall = p2statetype != L
triggerall = Ctrl = 1
triggerall = roundstate = 2
trigger1 = var(35) >= 100
trigger2 = var(35) = 0

;超必（たる）
[State -3]
type = ChangeState
value = 3120
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = statetype     != A
triggerall = Power >= 2000
triggerall = p2statetype != L
triggerall = Ctrl = 1
triggerall = roundstate = 2
trigger1 = var(35) >= 100
trigger2 = var(35) = 0

;超必（たる）
[State -3]
type = ChangeState
value = 3100
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = statetype     != A
triggerall = Power >= 1000
triggerall = p2statetype != L
triggerall = Ctrl = 1
triggerall = roundstate = 2
trigger1 = var(35) >= 100
trigger2 = var(35) = 0

;ガード
[State -5]
type = ChangeState
value = 1801
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype != A
triggerall = (p2stateno = 120) || (p2stateno = 130) || (p2stateno = 140) || (p2stateno = [150, 159])
triggerall = roundstate = 2
trigger1   = Ctrl  = 1

;たおれ
[State -3]
type = ChangeState
value = 1004
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = statetype  != A
triggerall = p2statetype = L
triggerall = Ctrl        = 1
triggerall = palno = [7,12]
trigger1 = roundstate = 2

;たおれ
[State -3]
type = ChangeState
value = 1005
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = statetype  = A
triggerall = p2statetype = L
triggerall = Ctrl        = 1
triggerall = palno = [7,12]
trigger1 = roundstate = 2

;たおれ
[State -3]
type = ChangeState
value = 420
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype  != A
triggerall = p2statetype = L
triggerall = Ctrl        = 1
triggerall = roundstate = 2
trigger1 = p2bodydist X   < 100

;遠距離
[State -3]
type = ChangeState
value = 1300
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = p2bodydist X   >= 200
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 1  
trigger2   = var(33)      = 2  
trigger3   = var(33)      = 3
trigger4   = var(33)      = 4    

;遠距離
[State -3]
type = ChangeState
value = 1004
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = p2bodydist X   >= 200
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 5 

;遠距離
[State -3]
type = ChangeState
value = 1000
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = p2bodydist X   >= 200
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 5   

;中距離
[State -3]
type = ChangeState
value = 1202
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = p2bodydist X   >= 180
triggerall = p2bodydist X   < 210
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = NumHelper(4553)!
triggerall   = Ctrl        = 1
triggerall = roundstate = 2
trigger1   = var(33)      = 1  
trigger2   = var(33)      = 2  
trigger3   = var(33)      = 3  

;中距離
[State -3]
type = ChangeState
value = 1201
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = p2bodydist X   >= 180
triggerall = p2bodydist X   < 210
triggerall = p2bodydist Y   < 200
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = NumHelper(4553)!
trigger1   = Ctrl        = 1
trigger1 = roundstate = 2

;中距離
[State -3]
type = ChangeState
value = 1700
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = p2bodydist X   < 110
triggerall = p2bodydist X   > 20
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
triggerall   = Ctrl       = 1
trigger1   = var(33)      = 1
trigger2   = var(33)      = 2
trigger3   = var(33)      = 3

;中距離（連続）
[State -3]
type = ChangeState
value = 1701
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = p2bodydist X   < 80
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
triggerall   = Ctrl       = 1
trigger1 = stateno = 1700 && time >= 18
trigger1 = movecontact || var(21) > 0

;中距離
[State -3]
type = ChangeState
value = 1004
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = p2bodydist X   >= 100
triggerall = p2bodydist X   < 200
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 5  

;中距離
[State -3]
type = ChangeState
value = 1300
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = p2bodydist X   >= 100
triggerall = p2bodydist X   < 200
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1 = Ctrl        = 1

;近距離
[State -3]
type = ChangeState
value = 1202
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = p2bodydist X   >= 20
triggerall = p2bodydist X   < 100
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)! 
trigger1   = var(33)      = 3
trigger2   = var(33)      = 4

;近距離
[State -3]
type = ChangeState
value = 1600
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   >= 80
triggerall = p2bodydist X   < 120
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 1  
trigger2   = var(33)      = 2  

;近距離
[State -3]
type = ChangeState
value = 1601
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   >= 20
triggerall = p2bodydist X   < 80
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 1  
trigger2   = var(33)      = 2

;近距離
[State -3]
type = ChangeState
value = 1200
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = p2bodydist X   >= 20
triggerall = p2bodydist X   < 100
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 1  
trigger2   = var(33)      = 2  
trigger3   = var(33)      = 3 
trigger4   = var(33)      = 4

;近距離
[State -3]
type = ChangeState
value = 1402
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   >= 20
triggerall = p2bodydist X   < 100
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1 = FrontEdgeBodyDist <= 150
trigger1   = var(33)      = 5  

;近距離
[State -3]
type = ChangeState
value = 1400
triggerall = Alive   = 1
triggerall = roundstate = 2
triggerall = var(30) = 1
triggerall = palno != [7,10]
triggerall = p2bodydist X   >= 20
triggerall = p2bodydist X   < 100
triggerall = statetype  != A
triggerall = p2statetype  != A
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1 = FrontEdgeBodyDist > 150
trigger1   = var(33)      = 5  

;投げ
[State -3]
type = ChangeState
value = 800
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = P2bodyDist X <= 10
triggerall = P2Dist Y = [-40,10]
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = P2MoveType = I
triggerall = Ctrl
triggerall = roundstate = 2
trigger1   = var(33)      = 1
trigger2   = var(33)      = 2 
trigger3   = var(33)      = 3 
trigger4   = var(33)      = 4 

;空中投げ
[State -3]
type = ChangeState
value = 850
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = statetype = A
triggerall = p2statetype = A
triggerall = P2MoveType = I
triggerall = P2bodyDist X <= 10
triggerall = P2Dist Y = [-40,10]
triggerall = roundstate = 2
triggerall = Ctrl
trigger1   = var(33)      = 1
trigger2   = var(33)      = 2 
trigger3   = var(33)      = 3 
trigger4   = var(33)      = 4 

;近距離
[State -3]
type = ChangeState
value = 1101
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = var(47) = 1
triggerall = p2bodydist X   < 70
triggerall = statetype  != A
triggerall = p2statetype  = S
triggerall = NumHelper(4553)!
triggerall   = Ctrl        = 1
triggerall = roundstate = 2
trigger1   = var(33)      = 5

;近距離
[State -3]
type = ChangeState
value = 1100
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = p2bodydist X   < 70
triggerall = statetype  != A
triggerall = p2statetype  = S
triggerall = NumHelper(4553)!
triggerall   = Ctrl        = 1
triggerall = roundstate = 2
trigger1   = var(33)      = 5

;対空
[State -5]
type = ChangeState
value = 1701
triggerall = Alive          = 1
triggerall = var(30) = 1
triggerall = palno = [11,12]
triggerall = statetype     != A
triggerall = P2stateType    = A
triggerall = p2bodydist X   = [0,80]
triggerall = p2bodydist Y   = [-150,-1]
triggerall = Ctrl        = 1
triggerall = roundstate = 2
trigger1 = NumHelper(4553)!

;対空
[State -1]
type = ChangeState
value = 1302
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = statetype     != A
triggerall = P2stateType    = A
triggerall = p2bodydist X   = [80,220]
triggerall = p2bodydist Y   = [-900,-120]
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 1  
trigger2   = var(33)      = 2  
trigger3   = var(33)      = 3  

;対空
[State -1]
type = ChangeState
value = 1004
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(47) = 1
triggerall = Numhelper(1010) <= 20
triggerall = palno = [7,12]
triggerall = statetype     != A
triggerall = P2stateType    = A
triggerall = p2bodydist X   = [80,320]
triggerall = p2bodydist Y   = [-900,-10]
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 4  
trigger2   = var(33)      = 5  

;対空
[State -1]
type = ChangeState
value = 1002
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = statetype     != A
triggerall = P2stateType    = A
triggerall = p2bodydist X   = [80,320]
triggerall = p2bodydist Y   = [-900,-100]
triggerall = Ctrl        = 1
triggerall = roundstate = 2
triggerall = NumHelper(4553)!
trigger1   = var(33)      = 4  
trigger2   = var(33)      = 5  

;対空
[State -1]
type = ChangeState
value = 1101
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(47) = 1
triggerall = statetype     != A
triggerall = P2stateType    = A
triggerall = p2bodydist X   < 80
triggerall = p2bodydist Y   = [-150,-50]
triggerall = NumHelper(4553)!
triggerall   = Ctrl  = 1
triggerall = roundstate = 2
trigger1 = palno = [1,10]
trigger2 = palno = [11,12]
trigger2   = var(33)      = 4
trigger3 = palno = [11,12]
trigger3   = var(33)      = 5

;対空
[State -1]
type = ChangeState
value = 1100
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = statetype     != A
triggerall = P2stateType    = A
triggerall = p2bodydist X   < 80
triggerall = p2bodydist Y   = [-150,-50]
triggerall = NumHelper(4553)!
triggerall   = Ctrl  = 1
triggerall = roundstate = 2
trigger1 = palno = [1,10]
trigger2 = palno = [11,12]
trigger2   = var(33)      = 4
trigger3 = palno = [11,12]
trigger3   = var(33)      = 5

;対空
[State -1]
type = ChangeState
value = 1004
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(47) = 1
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = statetype     != A
triggerall = P2stateType    = A
triggerall = p2bodydist X   < 80
triggerall = p2bodydist Y   < -200
triggerall = NumHelper(4553)!
triggerall   = Ctrl  = 1
triggerall = roundstate = 2
trigger1 = palno = [1,10]
trigger2 = palno = [11,12]
trigger2   = var(33)      = 4
trigger3 = palno = [11,12]
trigger3   = var(33)      = 5

;空中
[State -1]
type = ChangeState
value = 1500
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(33)        = [1,3]
triggerall = palno = [7,12]
triggerall = statetype      = A
triggerall = p2bodydist X   > 50
triggerall = p2bodydist Y   > -50
triggerall = p2bodydist Y   < 50
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;空中
[State -1]
type = ChangeState
value = 1005
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(33)        = [1,3]
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = var(47) = 1
triggerall = statetype      = A
triggerall = p2bodydist X   > 80
triggerall = p2bodydist Y   > 50
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;空中
[State -1]
type = ChangeState
value = 1003
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(33)        = [1,3]
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = statetype      = A
triggerall = p2bodydist X   > 80
triggerall = p2bodydist Y   > 50
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;空中
[State -1]
type = ChangeState
value = 1005
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(33)        = [1,3]
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = var(47) = 1
triggerall = statetype      = A
triggerall = p2bodydist X   > 80
triggerall = p2bodydist Y   < -50
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;空中
[State -1]
type = ChangeState
value = 1001
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = var(33)        = [1,3]
triggerall = palno = [7,12]
triggerall = Numhelper(1010) <= 20
triggerall = statetype      = A
triggerall = p2bodydist X   > 80
triggerall = p2bodydist Y   < -50
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;空中
[State -1]
type = ChangeState
value = 900
triggerall = Alive          = 1
triggerall = var(30)        = 1
triggerall = statetype      = A
triggerall = p2statetype  = A
triggerall = P2MoveType != H
triggerall = p2bodydist X   < 40
triggerall = p2bodydist Y   < -50
triggerall = p2bodydist Y   > 0
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;空中
[State -1]
type = ChangeState
value = 1405
triggerall = Alive          = 1
triggerall = roundstate = 2
triggerall = var(30)        = 1
triggerall = var(33)        = [4,5]
triggerall = palno != [7,10]
triggerall = statetype      = A
triggerall = NumHelper(4553)!
triggerall = roundstate = 2
trigger1   = Ctrl  = 1
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 

;追加攻撃
[State -3]
type = ChangeState
value = 1650
triggerall = statetype = S
triggerall = var(30) = 1
triggerall = p2MoveType = H
triggerall = roundstate = 2
triggerall = MoveType != H
trigger1 = stateno = 1600 && time = [35,50]

;追加攻撃
[State -3]
type = ChangeState
value = 1651
triggerall = statetype = S
triggerall = var(30) = 1
triggerall = p2MoveType = H
triggerall = MoveType != H
triggerall = roundstate = 2
trigger1 = stateno = 1601 && time = [35,50]

;カウンター
[State -3]
type = ChangeState
value = 210
ignorehitpause = 1
triggerall = statetype = S
triggerall = var(30) = 1
trigger1 = palno = [1,10]
triggerall = p2bodydist X  <= 50
triggerall = p2bodydist X  >= 0
triggerall = p2bodydist Y   = [0,50]
triggerall = roundstate = 2
trigger1 = stateno = 160 && time = 10

;カウンター
[State -3]
type = ChangeState
value = 420
ignorehitpause = 1
triggerall = Alive        = 1
triggerall = statetype = C
triggerall = var(30) = 1
trigger1 = palno = [1,10]
triggerall = p2bodydist X  <= 50
triggerall = p2bodydist X  >= 0
triggerall = p2bodydist Y   = [0,50]
triggerall = roundstate = 2
trigger1 = stateno = 161 && time = 10

;カウンター
[State -3]
type = ChangeState
value = 1700
ignorehitpause = 1
triggerall = statetype = S
triggerall = var(30) = 1
trigger1 = palno = [11,12]
triggerall = p2bodydist X  <= 50
triggerall = p2bodydist X  >= 0
triggerall = p2bodydist Y   = [0,50]
triggerall = roundstate = 2
trigger1 = stateno = 160 && time = 10

;カウンター
[State -3]
type = ChangeState
value = 1701
ignorehitpause = 1
triggerall = Alive        = 1
triggerall = statetype = C
triggerall = var(30) = 1
trigger1 = palno = [11,12]
triggerall = p2bodydist X  <= 50
triggerall = p2bodydist X  >= 0
triggerall = p2bodydist Y   = [0,50]
triggerall = roundstate = 2
trigger1 = stateno = 161 && time = 10

;カウンター
[State -3]
type = ChangeState
value = 631
ignorehitpause = 1
triggerall = statetype = A
triggerall = var(30) = 1
triggerall = p2bodydist X  < 50
triggerall = p2bodydist X  >= 0
triggerall = p2bodydist Y   = [0,50]
triggerall = roundstate = 2
trigger1 = stateno = 162 && time = 10

;インスタントチャージ
[State -3]
type = ChangeState
value = 2000
triggerall = var(30) = 1
triggerall = roundstate = 2
triggerall = var(47) = 1
triggerall = p2bodydist X   < 150
triggerall = p2bodydist Y   < 150
triggerall = p2bodydist Y   > -150
triggerall = palno = [11,12]
trigger1 = stateno = [230,299]
trigger1 = movecontact || var(21) > 0
trigger2 = stateno = [420,499]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = [630,649]
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 1200 && time >= 38
trigger5 = stateno = 1201 && time >= 38
trigger6 = stateno = 1202 && time >= 38
trigger7 = stateno = 1500 && time >= 40
trigger8 = stateno = 4001
trigger9 = stateno = 4006
trigger10 = stateno = 4100 && time >= 55
trigger11 = stateno = 4105 && time >= 55
trigger12 = stateno = 4201
trigger13 = stateno = 1100 && var(54) = 1
trigger14 = stateno = 1101 && var(54) = 1
trigger15 = stateno = 1102 && var(54) = 1
