[Statedef -3]

[State -3]
type = varset
trigger1 = 1
v = 31
value = gametime+321119
ignorehitpause = 1
supermovetime = 999999999999999
pausemovetime = 999999999999999

[State -3]
type = null;turn
triggerall = ishelper(32100000)
triggerall = ctrl = 1
trigger1 = p2bodydist X < -10
[State -3]
type = null;VarSet
trigger1 = ishelper(32100000)
v = 59
value = 1
[State -3]
type = null;changestate
triggerall = ishelper(32100000)
triggerall = roundstate = 3
triggerall = win
trigger1 = stateno!=180&&ctrl
trigger2 = stateno!=181&&ctrl
trigger3 = stateno!=183&&ctrl
value = 180

[State -3]
type = varset
triggerall = !ishelper
trigger1 = numenemy
fv = 1
value = abs(pos x-enemynear,pos x)*ifelse(frontedgedist<ifelse((facing=enemynear,facing),(enemynear,frontedgedist),(enemynear,backedgedist)),-1,1)
ignorehitpause = 1
[State -3]
type = assertspecial
triggerall = !ishelper
trigger1 = fvar(1) > 0
flag = noautoturn
ignorehitpause = 1
[State -3]
type = Varset
triggerall = !var(59)
trigger1 = command = "AI_1" || command = "AI_2" || command = "AI_3" || command = "AI_4" || command = "AI_5"
trigger2 = command = "AI_6" || command = "AI_7" || command = "AI_8" || command = "AI_9" || command = "AI_10"
trigger3 = command = "AI_11" || command = "AI_12" || command = "AI_13" || command = "AI_14" || command = "AI_15"
trigger4 = command = "AI_16" || command = "AI_17" || command = "AI_18" || command = "AI_19" || command = "AI_20"
trigger5 = command = "AI_21" || command = "AI_22" || command = "AI_23" || command = "AI_24" || command = "AI_25"
trigger6 = command = "AI_26" || command = "AI_27" || command = "AI_28" || command = "AI_29" || command = "AI_30"
trigger7 = command = "AI_31" || command = "AI_32" || command = "AI_33" || command = "AI_34" || command = "AI_35"
trigger8 = command = "AI_36" || command = "AI_37" || command = "AI_38" || command = "AI_39" || command = "AI_40"
trigger9 = command = "AI_41" || command = "AI_42" || command = "AI_43" || command = "AI_44" || command = "AI_45"
trigger10 = command = "AI_46" || command = "AI_47" || command = "AI_48" || command = "AI_49" || command = "AI_50"
var(59) = 1

[State 11051]
type = BGPalFx
triggerall = palno = 12
triggerall = !ishelper
triggerall = roundstate = 2
trigger1 = var(35) = 10
mul = 256,0,0
invertall = 0;1
color = 0
time = -1
ignorehitpause = 1

[State 11051]
type = BGPalFx
triggerall = palno = 12
triggerall = !ishelper
triggerall = roundstate >= 3
trigger1 = var(27) < 750
trigger1 = stateno = 5150
trigger1 = loseko
trigger1 = matchover
mul = 100,100,100
color = 0
time = 30
ignorehitpause = 1
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;タクティカルステップ
[State -3, Taunt]
type = ChangeState
value = 700
;triggerall = random < ;var(59)*100 && roundstate = 2
triggerall = var(59)
triggerall = roundstate = 2
;triggerall = power >= 500
triggerall = statetype != A
trigger1 = ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = p2bodydist X = [-5,60]
;trigger1 = p2statetype != A
;trigger1 = p2movetype = A
trigger1 = random < 90;var(59)

;---------------------------------------------
;立ちガード
[State -3]
type = null;ChangeState
value = 130
triggerall = palno != [10,12]
triggerall = random < var(59)*100 && roundstate = 2
triggerall = P2statetype != C
triggerall = inguarddist
trigger1 = Ctrl && statetype != A
trigger2 = stateno = [100,101]

;---------------------------------------------
;屈みガード
[State -3]
type = null;ChangeState
value = 131
triggerall = palno != [10,12]
triggerall = random < var(59)*100 && roundstate = 2
triggerall = P2statetype = C
triggerall = inguarddist
trigger1 = Ctrl && statetype != A
trigger2 = stateno = [100,101]

;---------------------------------------------
;空中ガード
[State -3]
type = null;ChangeState
value = 132
triggerall = palno != [10,12]
triggerall = random < var(59)*100 && roundstate = 2
triggerall = inguarddist
trigger1 = Ctrl && statetype = A
;---------------------------------------------------------------------------
[State -3,移動]
Type     = ChangeState
Value    = 20
Triggerall = var(59)
triggerall = palno = 12
Triggerall = StateType != A
triggerall = roundstate = 2
Triggerall = Ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = random <= 100

[State -3,ｼﾞｬﾝﾌﾟ]
Type     = ChangeState
Value    = 40
triggerall = palno = 12
triggerall = roundstate = 2
Triggerall = var(59)
Triggerall = StateType != A
Triggerall = Ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = random <= 80
;trigger1 = movetype = I
;---------------------------------------------------------------------------
;発狂行動
;---------------------------------------------------------------------------
;世界最後の日 発狂時
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 30060
triggerall = var(59); = [1,2]
triggerall = roundstate = 2
triggerall = palno = 12
triggerall = var(35) != 10
triggerall = statetype != A
triggerall = var(38) = 1850
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = random <= 999

;===========================================================================
;OFF波動
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 19150
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 6000
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = var(38) = 1850
triggerall = statetype != A
triggerall = roundstate = 2
trigger1 = ctrl
trigger1 = random <= 100


;===========================================================================
;無に還ろう 発狂後
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 30050
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = power >= 4000
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = numhelper(910010) = 0
triggerall = var(38) = 1850
trigger1 = ctrl
trigger1 = random <= 200

;---------------------------------------------------------
;マインドクラッシュ 発狂後
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11000
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = power >= 4000
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = roundstate = 2
triggerall = var(38) = 1850
trigger1 = ctrl
trigger1 = random <= 240


;===========================================================================
;===========================================================================
;分身召還
[State -1, Strong Kung Fu Palm]
type = null;ChangeState
value = 11350
triggerall = var(59)
triggerall = roundstate = 2
triggerall = numhelper(11355) = 0
triggerall = power >= 4000
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = enemy,stateno != 1205
triggerall = statetype != A
triggerall = var(38) = 1850
trigger1 = ctrl
trigger1 = random <= 1000

;-----------------------------------------------
;ショック
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 10000
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = roundstate = 2
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = power >= 2000
triggerall = statetype != A
triggerall = p2name != "New_Shiki_Nanaya";不具合の元になるぞ
triggerall = var(38) = 1850
trigger1 = ctrl
trigger1 = random <= 150


;===========================================================================
;===========================================================================
;---------------------------------------------
;ビーム
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14020
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 2000
triggerall = roundstate = 2
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = var(38) = 1850
trigger1 = P2bodydist X = [60,150]
trigger1 = p2movetype != A
trigger1 = ctrl
trigger1 = random <= 300

;------------------------------------------------------------------------
;===========================================================================
;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;映し身2
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11330
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = power >= 3000
triggerall = EnemyNear,HitDefAttr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT,AA,AT,AP
triggerall = numhelper(11331) = 0
triggerall = var(38) = 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = statetype != A
trigger1 = p2bodydist X = [-30,100]
trigger1 = ctrl
trigger1 = random <= 800

;===========================================================================

;---------------------------------------------------------------------------
;===========================================================================
;===========================================================================
;---------------------------------------------------------------------------
;引き抜き
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 30080
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = power >= 4000
triggerall = EnemyNear,HitDefAttr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT,AA,AT,AP
triggerall = var(38) = 1850
triggerall = helper(100500),var(1) < 3
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = random <= 450
trigger1 = p2bodydist X = [-40,40]
trigger1 = p2movetype != H

;===========================================================================
;恐怖の〜
[State -1, Taunt]
type = null;ChangeState
value = 11050
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = var(38) = 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2bodydist X = [-50,30]
trigger1 = p2movetype != A
trigger1 = p2movetype != H

;===========================================================================
;---------------------------------------------------------
;ここから普段の動作
;---------------------------------------------------------
;心眼
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50300
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = enemynear,name != "New_Shiki_Nanaya" ;不具合防止
triggerall = enemynear,name != "rise7" ;極稀に起こる不具合防止
triggerall = enemynear,name != "AxAyAzSSS" ;異様に重くなってしまう(?)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = power >= 2000
trigger1 = helper(100500),var(8) = 1
trigger1 = random < 450;300
trigger2 = ctrl
trigger2 = power >= 2000
trigger2 = helper(100500),var(9) = 1
trigger2 = random < 450;300
trigger3 = ctrl
trigger3 = p2name = "Chu-goku"
trigger3 = random < 999
trigger4 = ctrl
trigger4 = p2name = "Matsugami"
trigger4 = random < 999

;赤目
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50400
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = random < 800
trigger1 = enemy,stateno=22050&&p2name="G OROCHI"
;===========================================================================
;----------------------------------------------------
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 31442420
triggerall = var(59)
triggerall = palno = 12
triggerall = var(29) != 1
triggerall = numhelper(100500)
triggerall = statetype != A
trigger1 = ctrl
trigger1 = helper(100500),var(55) < 100

;===========================================================================
;===========================================================================

;OFF波動2
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 19200
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 6000
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2name = "Death Star" || p4name = "Death Star"
trigger2 = ctrl
trigger2 = p2name = "efreet" || p4name = "efreet"
trigger3 = ctrl
trigger3 = p2name = "F1" || p4name = "F1"




;OFF波動2
[State -1, Strong Kung Fu Palm]
type = null;ChangeState ;やり返しても仕方ないからやめとこう
value = 19200
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 6000
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(32) >= 1201
trigger1 = random <= 50
trigger2 = ctrl
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 50



;===========================================================================
;世界最後の日
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 30060
triggerall = var(59)
triggerall = roundstate = 2
triggerall = palno = 12
triggerall = var(35) != 10
triggerall = statetype != A
triggerall = var(38) != 1850
trigger1 = power >= 8000
trigger1 = life <= 70
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = random <= 999
trigger2 = power >= 8000
trigger2 = var(37) > 1850
trigger2 = roundno >= 2
trigger2 = statetype != A
trigger2 = ctrl
trigger2 = random <= 999
trigger3 = power >= 8000
trigger3 = var(37) > 21000;---拉致あかないのでとりあえず動きを変えてみる
trigger3 = roundno = 1
trigger3 = statetype != A
trigger3 = ctrl
trigger3 = random <= 999
;---------------------------------------------------------
;映し身3
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1133010
triggerall = var(59)
triggerall = palno = 12
triggerall = numhelper(1133110) = 0
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = helper(100500),var(3) > 0
trigger1 = p2name != "New_Shiki_Nanaya" || p4name != "New_Shiki_Nanaya"
trigger1 = enemynear,name != "Ayu Tukimiya" ;不具合防止
trigger1 = enemynear,name != "ore_no_ane" ;不具合防止
trigger1 = power >= 4000
trigger1 = ctrl
trigger1 = p2bodydist X = [-120,120]
trigger1 = random <= 150
trigger2 = ctrl
trigger2 = var(37) > 400 ;少し間隔あけとけ
trigger2 = helper(100500),var(3) > 0
trigger2 = power >= 500
trigger2 = random <= 999
trigger2 = p2name = "New_Shiki_Nanaya" || p4name = "New_Shiki_Nanaya"

;===========================================================================
;無に還ろう あまりにもグダグダな試合になり過ぎるのでname指定高確率使用(外道...)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 30050
triggerall = var(59)
triggerall = palno = 12
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = numhelper(910010) = 0
trigger1 = ctrl
trigger1 = power >= 4000
trigger1 = p2name = "Psycho Shredder[S]" || p4name = "Psycho Shredder[S]" || p2name = "mapelao" || p4name = "mapelao"
trigger1 = random <= 800
trigger2 = ctrl
trigger2 = numhelper(100500)
trigger2 = helper(100500),fvar(0) < 4
trigger2 = power >= 4000
trigger2 = p2name = "New_Shiki_Nanaya" || p4name = "New_Shiki_Nanaya"
trigger2 = random <= 500
trigger3 = ctrl
trigger3 = power >= 0
trigger3 = enemy,stateno = 944 || var(37) > 160
trigger3 = p2name = "" || p2name = "MUAHAHAHAHAHAHAHAHA"
trigger3 = random <= 999

;クラッシュ
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11000
triggerall = var(59)
triggerall = palno = 12
triggerall = statetype != A
triggerall = roundstate = 2
trigger1 = ctrl
trigger1 = random <= 999
trigger1 = p2name = "Gogeta" ;vs2.9グダグダ防止用
;---------------------------------------------------
;分身召還
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11350
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = numhelper(11355) = 0
triggerall = numhelper(11356) = 0
triggerall = power >= 4000
triggerall = statetype != A
triggerall = var(38) != 1850
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = life <= lifemax/2
trigger1 = var(35) != 10
trigger1 = var(3) != 900
trigger1 = random <= 420
trigger2 = ctrl
trigger2 = var(3) != 900
trigger2 = var(35) = 10
trigger2 = random <= 700

;-----------------------------------------------
;OFF波動
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 19150
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 6000
triggerall = var(38) != 1850
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = p2name != "Death Star" || p4name != "Death Star"
triggerall = p2name != "efreet" || p4name != "efreet"
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = random <= 180;450
trigger1 = var(35) != 10
trigger1 = life >= 101
trigger2 = ctrl
trigger2 = random <= 120;250;450
trigger2 = var(35) = 10
;trigger1 = var(37) != [650,1600]


;OFF波動
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 19150
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 6000
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = p2name != "Death Star" || p4name != "Death Star"
triggerall = p2name != "efreet" || p4name != "efreet"
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = random <= 70;100
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger2 = ctrl
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 70;100

;===========================================================================
;引き抜き
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 30080
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = power >= 4000
triggerall = EnemyNear,HitDefAttr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT,AA,AT,AP
triggerall = var(38) != 1850
triggerall = helper(100500),var(1) < 3
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = random <= 600;650
trigger1 = p2bodydist X = [-50,60]
trigger1 = p2movetype != H
trigger1 = enemy,life >= lifemax/2
trigger2 = statetype != A
;trigger2 = ctrl
trigger2 = random <= 700
trigger2 = p2bodydist X = [-50,60]
trigger2 = p2movetype != H
trigger2 = enemy,life = enemy,lifemax
trigger2 = stateno != 11330
trigger2 = stateno != 19150
trigger2 = stateno != 19151
trigger2 = stateno != 19200
trigger2 = stateno != 19201
trigger2 = stateno != 1133010
trigger2 = stateno != 30080
trigger2 = stateno != 30081
trigger2 = stateno != 30060
trigger2 = stateno != 30061
trigger2 = stateno != 11350
trigger2 = stateno != 14020
trigger2 = stateno != 14021
trigger2 = stateno != 10000
trigger2 = stateno != 10001
trigger2 = stateno != 11001
trigger2 = stateno != 30050
trigger2 = stateno != 30051
trigger2 = stateno != 10080
trigger2 = stateno != 50300
trigger2 = stateno != 50450

;===========================================================================
;無に還ろう
[State -1, Strong Kung Fu Palm];enemy,
type = ChangeState
value = 30050
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 4000
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = numhelper(910010) = 0
triggerall = var(38) != 1850
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = life <= lifemax/2
trigger1 = life >= 100
trigger1 = var(35) != 10
trigger1 = enemy,life >=lifemax*0.8;----p2life >= enemy,lifemax/3;;;
trigger1 = var(37) > 4500
trigger1 = random <= 180
trigger2 = ctrl
trigger2 = var(35) != 10;;;
trigger2 = var(37) = [650,1600];3000;2000
trigger2 = enemy,life >= enemy,lifemax;---&&target,ishelper!;--------p2life >= lifemax
trigger2 = random <= 400
trigger3 = ctrl
trigger3 = var(35) = 10
trigger3 = enemy,life>=enemy,lifemax*0.8;---p2life >= lifemax/4;------p2life >= lifemax
trigger3 = random = [501,600]


;無に還ろう
[State -1, Strong Kung Fu Palm];enemy,
type = null;ChangeState
value = 30050
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 4000
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = numhelper(910010) = 0
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = random <= 160
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
;---------------------------------------------------------
;クラッシュ
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11000
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 4000
triggerall = statetype != A
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = roundstate = 2
;triggerall = enemy,life>=enemy,lifemax/2;----p2life >= lifemax/2
triggerall = var(38) != 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
;triggerall = !ishelper(32100000)
trigger1 = ctrl
trigger1 = life <= lifemax/2
trigger1 = life >= 100
trigger1 = enemy,life>=enemy,lifemax*0.6;-----lifemax/4
trigger1 = p2movetype != A
trigger1 = var(37) > 4500
trigger1 = random <= 150
trigger1 = var(35) != 10
trigger2 = ctrl
trigger2 = var(35) != 10
trigger2 = life <= lifemax/2
trigger2 = var(37) > 4000
trigger2 = life >= 100
trigger2 = enemy,life>=enemy,lifemax*0.6;----p2life >= lifemax/4
trigger2 = p2movetype = A
trigger2 = random <= 150;;;450;;240
trigger3 = ctrl
trigger3 = var(35) != 10
trigger3 = var(37) > 4800
trigger3 = life >= 100
trigger3 = enemy,life>=enemy,lifemax*0.6;---p2life >= lifemax/4
trigger3 = p2movetype = A
trigger3 = random <= 100;;400;480;240
trigger4 = ctrl
trigger4 = var(35) = 10
trigger4 = enemy,life>=enemy,lifemax*0.6;---p2life >= lifemax/4
trigger4 = random <= 110;;500
trigger5 = ctrl
trigger5 = var(35) != 10;;;
trigger5 = var(37) = [650,1600];3000;2000
trigger5 = enemy,life >= enemy,lifemax;--------p2life >= lifemax
trigger5 = random <= 200;;500;800
trigger5 = numhelper(910010) != 0
trigger6 = ctrl
trigger6 = random <= 999
trigger6 = p2name = "Gogeta" ;vs2.9グダグダ防止用


;クラッシュ
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11000
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 4000
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = random <= 70;100
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger2 = ctrl
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 70;100


;===========================================================================
;固定 相手によっては不具合多し？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50100
triggerall = var(59)
;triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
;triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
;triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
;triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = palno = 12
triggerall = power >= 4000
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = enemy,life !=enemy,lifemax
trigger1 = life >= 50
trigger1 = random <= 999
trigger1 = p2name = "UNKNOWN" || p4name = "UNKNOWN"
;trigger2 = ctrl
;trigger2 = p2life != enemy,lifemax
;trigger2 = life >= 100
;trigger2 = random <= 100
;trigger2 = var(37) > 4800

;===========================================================================
;ブラックホール
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50600
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 6000
triggerall = roundstate = 2
triggerall = statetype != A
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(37) > 4200
trigger1 = life >= 100
trigger1 = enemy,life>=enemy,lifemax*0.8
trigger1 = random <= 150
trigger2 = ctrl
trigger2 = var(37) > 4800
trigger2 = var(35) = 10
trigger2 = enemy,life>=enemy,lifemax*0.9
trigger2 = random <= 180

;ブラックホール
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50600
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = power >= 6000
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = random <= 70;100
trigger2 = ctrl
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 70;100
;===========================================================================
;===========================================================================
;===========================================================================
;瞬獄殺(笑)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50450
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 4000
triggerall = statetype != A
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = roundstate = 2
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = var(29) = 0
trigger1 = ctrl
trigger1 = random <= 50
trigger1 = P2bodydist X >= 0
trigger1 = P2bodydist Y = 0
trigger1 = life >= lifemax/4
trigger1 = helper(100500),var(11) != 1
trigger1 = enemy,stateno != 5150

;===========================================================================
;===========================================================================
;元分身場所
;血の代償
[State -1, Taunt]
type = ChangeState
value = 10080
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = var(38) != 1850
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = power != 0
trigger1 = power <= 5000
trigger1 = var(35) != 10
trigger1 = enemy,life >= lifemax/2
trigger1 = life <= lifemax/2
trigger1 = life >= 101
trigger1 = ctrl
trigger1 = random <= 100;350;;70
trigger2 = power != 0
trigger2 = power <= 5000
trigger2 = var(35) != 10
trigger2 = life <= 100
trigger2 = ctrl
trigger2 = random <= 100;50;200
trigger3 = power <= 4000
trigger3 = var(35) = 10
trigger3 = ctrl
trigger3 = random <= 80;180

;===========================================================================

;-----------------------------------------------
;ショック
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 10000
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = power >= 2000
triggerall = statetype != A
triggerall = p2name != "New_Shiki_Nanaya";不具合の元になるぞ
triggerall = enemy,life !=enemy,lifemax;-------p2life != lifemax
triggerall = var(38) != 1850
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = life >= lifemax/4
trigger1 = ctrl
trigger1 = power >= 2000
trigger1 = power <= 3999
trigger1 = var(35) != 10
trigger1 = enemy,life >= lifemax/2;--lifemax/4
trigger1 = P2bodydist Y >= -50
trigger1 = random <= 70;150
trigger2 = ctrl
trigger2 = var(35) = 10
trigger2 = enemy,life >= lifemax/2
trigger2 = random <= 120;100
trigger3 = ctrl
trigger3 = power >= 2000
trigger3 = power <= 6000;3999
trigger3 = var(35) != 10
trigger3 = var(37) <= 1200;---序盤のみ
trigger3 = random <= 200;100


;===========================================================================
;===========================================================================
;---------------------------------------------
;ビーム
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14020
triggerall = var(59)
triggerall = palno = 12
triggerall = power >= 2000
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = p2movetype != H
triggerall = var(38) != 1850
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = ctrl
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = life >= lifemax/2;----lifemax/2
;trigger1 = power <= 7500
;trigger1 = power >= 2000
trigger1 = enemy,life != enemy,lifemax;---要らんかも
trigger1 = P2bodydist X = [60,200];150]
trigger1 = p2movetype != A
trigger1 = ctrl
trigger1 = random <= 300;450
trigger2 = life >= lifemax/2;---lifemax/2
trigger2 = enemy,life != enemy,lifemax;---要らんかも
trigger2 = P2bodydist X = [-200,-60]
trigger2 = p2movetype != A
trigger2 = ctrl
trigger2 = random <= 300

;------------------------------------------------------------------------
;怨念収束(回復)
[State -1, Strong Kung Fu Palm]
type = null;ChangeState
value = 30070
triggerall = var(59)
triggerall = power >= 7000
triggerall = palno != [10,12]
triggerall = life != lifemax
triggerall = numhelper(11355) = 0
triggerall = roundstate = 2
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = random <= 50;600
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;===========================================================================
;===========================================================================
;---------------------------------------------------------------------------
;？？？？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50640
triggerall = var(59)
triggerall = palno = 12
triggerall = var(29) = 1
triggerall = numhelper(50641) = 0
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = numhelper(1133110) = 0
trigger1 = var(35) != 10
trigger1 = random < 180
trigger2 = ctrl
trigger2 = numhelper(1133110) = 0
trigger2 = var(35) = 10
trigger2 = random < 40

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;カッター
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50620
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = var(29) = 1
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(50621) = 0
triggerall = numhelper(506210) = 0
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(35) != 10
trigger1 = life > lifemax/4
trigger1 = random < 60

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;爆発
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50630
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(29) = 1
trigger1 = random < 100
trigger2 = ctrl
trigger2 = var(29) != 1
trigger2 = random < 30

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;生霊鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11340
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(11341) = 0
triggerall = statetype != A
triggerall = var(38) != 1850;var(38) <= 1849
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(35) != 10
trigger1 = p2bodydist X > 100-40;70
trigger1 = random <= 450
trigger2 = ctrl
trigger2 = var(35) = 10
trigger2 = random <= 500
trigger3 = ctrl
trigger3 = var(35) != 10
trigger3 = p2bodydist X = [-10,60]
trigger3 = random <= 450



;生霊鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11340
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = numhelper(11341) = 0
triggerall = enemy,stateno != 1205
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = random <= 250
trigger2 = ctrl
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 250

;---------------------------------------------------------------------------
;？？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 18100
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = numhelper(18101) = 0
triggerall = statetype != A
triggerall = var(38) != 1850
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(35) != 10
trigger1 = p2bodydist X > 100-40;70
trigger1 = random <= 200
trigger2 = ctrl
trigger2 = var(35) = 10
trigger2 = random <= 250
trigger3 = ctrl
trigger3 = var(35) != 10
trigger3 = p2bodydist X = [-10,60]
trigger3 = random <= 200

;---------------------------------------------------------------------------
;反射鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14000
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = roundstate = 2
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(14001) = 0
triggerall = p2stateno != 11320
triggerall = statetype != A
triggerall = var(38) != 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2movetype != A 
trigger1 = P2bodydist X = [0,55]
trigger1 = random <= 10
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;------------------------------------------------------
;映し身
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11310
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = numhelper(11311) = 0
triggerall = p2stateno != 11320
triggerall = statetype != A
triggerall = power <= 2999
triggerall = EnemyNear,HitDefAttr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT,AA,AT,AP
triggerall = var(38) != 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2bodydist X = [-10,60]
trigger1 = random <= 10

;----------------------------------------------------
;執念鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14010
triggerall = var(59)
triggerall = palno = 12
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall = roundstate = 2
;triggerall = numhelper(14011) = 0
triggerall = statetype != A
triggerall = var(38) != 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = numhelper(1401100) = 0;;;!= 1;2
trigger1 = p2bodydist X = [-50,100];p2bodydist X > 100-40;70
trigger1 = random <= 220;100
trigger2 = ctrl
trigger2 = numhelper(1401100) = 0; != 2
trigger2 = p2bodydist X = [-20,60];[-10,40]
trigger2 = random <= 10
trigger3 = ctrl
trigger3 = numhelper(1401100) = 0; != 2
trigger3 = p2bodydist X > 100-40;70
trigger3 = random <= 150;100



;執念鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14010
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = numhelper(1401100) = 0
trigger1 = p2bodydist X = [-50,100];p2bodydist X > 100-40;70
trigger1 = random <= 180;100
trigger2 = ctrl
trigger2 = numhelper(1401100) = 0
trigger2 = p2bodydist X = [-50,100]
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 180



;----------------------------------------------------
;---------------------------------------------------------------------------
;弱？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50115
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = enemynear,name != "New_Shiki_Nanaya" ;不具合防止
triggerall = numhelper(50116) = 0
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2bodydist X = [-60,140]
trigger1 = random <= 100

;===========================================================================
;弱？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1150
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = numhelper(50110) = 0
triggerall = statetype != A
triggerall = enemynear,name != "Godwald" ;この後心眼多用で試合が円満に進まなくなる
triggerall = enemynear,name != "New_Shiki_Nanaya" ;不具合防止
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2bodydist X = [-50,100]
trigger1 = random <= 120
trigger2 = helper(100500),var(8) != 1
trigger2 = ctrl
trigger2 = p2bodydist X = [-50,150]
trigger2 = random <= 190
trigger2 = var(37) > 1350

;===========================================================================

;----------------------------------------------------

;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;===========================================================================
;元代償場所


;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;映し身2
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11330
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = power >= 3000
triggerall = numhelper(1133110) = 0
triggerall = EnemyNear,name != "New_Shiki_Nanaya" ;不具合防止
triggerall = EnemyNear,HitDefAttr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT,AA,AT,AP
triggerall = numhelper(11331) = 0
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = var(38) != 1850
trigger1 = statetype != A
trigger1 = p2bodydist X = [-50,100]
trigger1 = ctrl
trigger1 = random <= 500;400
trigger2 = statetype != A
trigger2 = p2bodydist X = [-50,100]
trigger2 = stateno != 11330
trigger2 = stateno != 30080
trigger2 = stateno != 30081
trigger2 = stateno != 30060
trigger2 = stateno != 30061
trigger2 = stateno != 11350
trigger2 = stateno != 14020
trigger2 = stateno != 14021
trigger2 = stateno != 10000
trigger2 = stateno != 10001
trigger2 = stateno != 11001
trigger2 = stateno != 30050
trigger2 = stateno != 30051
trigger2 = stateno != 10080
trigger2 = stateno != 50300
trigger2 = stateno != 50450
trigger2 = random <= 500;400

;---------------------------------------------------------------------------


;===========================================================================
;===========================================================================

;---------------------------------------------------------------------------
;===========================================================================
;---------------------------------------------------------------------------
;赤目
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50400
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = enemynear,name != "Godwald" ;この後心眼多用で試合が円満に進まなくなる
trigger1 = ctrl
trigger1 = helper(100500),var(9) != 1
trigger1 = random < 120
trigger1 = var(37) > 1800
trigger2 = ctrl
trigger2 = helper(100500),var(9) = 1
trigger2 = random < 100
trigger2 = helper(100500),var(10) > 2
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;？？？？？(火闌降)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1450
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
;triggerall = numhelper(1050) = 0
triggerall = statetype != A
triggerall = var(38) != 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2bodydist X > 100-40;70
trigger1 = random <= 220;150
trigger2 = ctrl
trigger2 = p2movetype = A
trigger2 = p2bodydist X = [-30,30]
trigger2 = random <= 220;150
trigger3 = ctrl
trigger3 = p2movetype = A
trigger3 = p2bodydist X = [0,30]
trigger3 = random <= 220;150
trigger4 = ctrl
trigger4 = p2bodydist X > 100-40;70
trigger4 = random <= 250;150
trigger4 = Time = 60 || Time = 120 || Time = 180 || Time = 240 || Time = 300 || Time = 360 || Time = 400 || Time = 440 || Time = 460 || Time = 500


;？？？？？(火闌降)
[State -1, Strong Kung Fu Palm]
type = null;ChangeState
value = 1450
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = ctrl
trigger1 = p2bodydist X > 100-40;70
trigger1 = random <= 10;150
trigger2 = ctrl
trigger2 = p2movetype = A
trigger2 = p2bodydist X = [-30,30]
trigger2 = random <= 10;150
trigger3 = ctrl
trigger3 = p2movetype = A
trigger3 = p2bodydist X = [0,30]
trigger3 = random <= 10;150
trigger4 = ctrl
trigger4 = p2bodydist X > 100-40;70
trigger4 = random <= 10;150
trigger4 = Time = 60 || Time = 120 || Time = 180 || Time = 240 || Time = 300 || Time = 360 || Time = 400 || Time = 440 || Time = 460 || Time = 500
;---------------------------------------------------------------------------
;？(オロチ飛び道具)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1050
triggerall = var(59); = [1,2]
triggerall = palno = 12
;triggerall = numhelper(1050) = 0
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = ctrl; || movecontact
triggerall = var(38) != 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = P2bodydist X = [-20,180];150
trigger1 = random <= 350;300
trigger2 = stateno = 240 && animelemtime(4) > 0
trigger3 = stateno = 245 && animelemtime(10) > 0
trigger4 = stateno = 410 && animelemtime(7) > 0





;？(オロチ飛び道具)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1050
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = numhelper(1050) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
triggerall = ctrl; || movecontact
;trigger1 = p2bodydist X >= 140-40;80
trigger1 = numprojid(10120000) = 0
trigger1 = numprojid(10120001) = 0
trigger1 = numprojid(10120002) = 0
trigger1 = P2bodydist X = [-20,180]
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = random <= 220;300
trigger2 = ctrl
trigger2 = numprojid(10120000) = 0
trigger2 = numprojid(10120001) = 0
trigger2 = numprojid(10120002) = 0
trigger2 = P2bodydist X = [-50,180]
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 220


;---------------------------------------------------------------------------
;鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11300
triggerall = var(59)
triggerall = statetype != A
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = ctrl
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = numprojid(11301) = 0
trigger1 = P2bodydist X = [-20,150]
trigger1 = random <= 180;300
trigger2 = ctrl
trigger2 = numprojid(11301) = 0
trigger2 = P2bodydist X = [-50,150]
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 180


;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;・・・(ワープ)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1800
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = roundstate = 2
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = var(38) != 1850
trigger1 = enemy,life >= lifemax/3
trigger1 = random <= 100
trigger1 = P2bodydist X >= 130
trigger1 = ctrl



;・・・(ワープ)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1800
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = roundstate = 2
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = P2bodydist X > 220
trigger1 = random <= 150
trigger1 = ctrl
trigger2 = ctrl
trigger2 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger2 = random <= 30
;===========================================================================
;---------------------------------------------------------------------------

;===========================================================================
;---------------------------------------------------------------------------
;ガードキャンセルふっ飛ばし攻撃
[State -3, 290]
type = null;ChangeState
value = 291
triggerall = random < var(59)*100 && roundstate = 2
triggerall = power >= 500
triggerall = p2statetype != A
triggerall = p2bodydist X = [-5,40]
triggerall = random < var(59)
trigger1 = stateno = 150
trigger2 = stateno = 151

;===========================================================================
;---------------------------------------------------------------------------
;ダウン回避
[State -3, Taunt]
type = ChangeState
value = 702
triggerall = random < var(59)*100 && roundstate = 2
trigger1 = stateno = 5050
trigger1 = pos y >=-40

;---------------------------------------------------------------------------
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = roundstate = 2
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = p2statetype = L
trigger1 = p2bodydist X = [-5,15]
trigger1 =random <= 30
trigger1 = backedgebodydist != 0

;===========================================================================

;===========================================================================
;恐怖の〜
[State -1, Taunt]
type = ChangeState
value = 11050
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = var(38) != 1850
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) != 10
trigger1 = ctrl
trigger1 = p2bodydist X = [-50,30]
trigger1 = p2movetype != A
trigger1 = p2movetype != H
trigger1 = random <= 500
;trigger2 = stateno = 700 && animelem = 3,>=0




;恐怖の〜
[State -1, Taunt]
type = null;ChangeState
value = 11050
triggerall = var(59); = [1,2]
triggerall = palno = 12
triggerall = statetype != A
triggerall = roundstate = 2
trigger1 = ctrl
trigger1 = var(39) != 4 || var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0 || var(32) >= 1201
trigger1 = p2bodydist X = [-50,30]
trigger1 = p2movetype != A
trigger1 = p2movetype != H
trigger1 = random <= 150
;trigger2 = stateno = 700 && animelem = 3,>=0

;===========================================================================
;挑発
[State -3, Taunt]
type = null;ChangeState
value = 195
triggerall = var(59);random < var(59)*100 && roundstate = 2
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = p2bodydist X >= 40-0
trigger1 = Ctrl; && stateno != 195
;trigger1 = p2stateno = 1205 || p2stateno = [805,806]

;---------------------------------------------------------------------------
[State -3,ｼﾞｬﾝﾌﾟ]
Type     = ChangeState
Value    = 40
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = var(59)
triggerall = StateType != A
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) = 10
trigger1 = Ctrl
trigger1 = random <= 200
;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -3, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = P2bodydist X = [-5,30];55
trigger1 = p2movetype != A
trigger1 = random <= 10
;trigger1 = p2statetype != L
;trigger1 = P2bodydist X < 60
;trigger1 = P2bodydist Y > -90
;trigger1 = p2movetype = H || p2statetype = A
;trigger1 = p2stateno != [150,153]

;---------------------------------------------------------------------------
;空中強パンチ
[State -3, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(59)
triggerall = palno = 12
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) = 10
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = random <= 100;50
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X = [-5,70]
trigger1 = P2bodydist Y = [-80,0]


;・・・(ワープ)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1800
triggerall = var(59)
triggerall = palno = 12
triggerall = roundstate = 2
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) = 10
trigger1 = random <= 100
trigger1 = P2bodydist X >= 100 || P2bodydist X <= -100
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中強キック
[State -3, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59)
triggerall = palno = 12
triggerall = numhelper(100500)
triggerall = helper(100500),fvar(2) = 10
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = random <= 120;70
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X < 70
trigger1 = P2bodydist Y = [0,70]
;---------------------------------------------------------------------------
;空中強パンチ
[State -3, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(59)
triggerall = palno = 12
triggerall = var(38) != 1850;triggerall = random < var(59)*100 && roundstate = 2
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X = [-5,70]
trigger1 = P2bodydist Y = [-80,0]

;---------------------------------------------------------------------------
;空中強キック
[State -3, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59)
triggerall = palno = 12
triggerall = var(38) != 1850
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X < 70
trigger1 = P2bodydist Y = [0,70]



;---------------------------------------------------------------------------
;10Pカラー
;---------------------------------------------------------------------------
;タクティカルステップ
[State -3, Taunt]
type = ChangeState
value = 700
triggerall = palno = 10
triggerall = var(59)
triggerall = stateno != 700
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X = [-5,60]
trigger1 = p2movetype = A
trigger1 = random < 200
trigger2 = stateno = 215 || stateno = 240 || stateno = 410 || stateno = 440
trigger2 = moveguarded
trigger2 = random < 500
trigger2 = stateno != 50450
trigger3 = p2bodydist X = [20,120]
trigger3 = p2bodydist Y = [-50,0]
trigger3 = p2movetype != H
trigger3 = random < 50
trigger3 = stateno != 50450

;---------------------------------------------
[State -3,移動]
Type     = null;ChangeState
Value    = 20
triggerall = var(59)
triggerall = palno = 10
triggerall = StateType != A
triggerall = roundstate = 2
triggerall = stateno != [100,101]
triggerall = ctrl
trigger1 = p2bodydist X = [35,119]
trigger1 = random <= 70

[State -3,移動]
Type     = ChangeState
Value    = 100
triggerall = var(59)
triggerall = palno = 10
triggerall = EnemyNear,StateType != L
triggerall = EnemyNear,MoveType = I
triggerall = StateType != A
triggerall = roundstate = 2
triggerall = ctrl
trigger1 = p2bodydist X < 200
trigger1 = random < 100

[State -3,ｼﾞｬﾝﾌﾟ]
Type     = ChangeState
Value    = 40
triggerall = palno = 10
triggerall = roundstate = 2
triggerall = var(59)
triggerall = StateType != A
triggerall = Ctrl
trigger1 = random < 300
trigger1 = p2bodydist X = [-40,40]
trigger1 = p2bodydist Y < -80
trigger1 = movetype = I
trigger2 = stateno = [100,101]
trigger2 = random < 320
trigger2 = p2bodydist X = [20,190]
trigger2 = p2bodydist Y = [-50,0]
trigger2 = movetype = I

;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = palno = 10
triggerall = roundstate = 2
triggerall = var(59)
trigger1 = statetype = S
trigger1 = p2bodydist X = [-10,10]
trigger1 = ctrl
trigger1 = random < 90

;===========================================================================
;瞬獄殺(笑)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50450
triggerall = var(59)
triggerall = palno = 10
triggerall = power >= 4000
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = p2movetype != H
triggerall = p2stateno != [150,155]
trigger1 = ctrl
trigger1 = random <= 190
trigger1 = P2bodydist X = [-50,90]
trigger1 = numprojid(501120) = 0
trigger1 = numprojid(501121) = 0
trigger1 = numprojid(501122) = 0
;===========================================================================
;・・・(ワープ)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1800
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
trigger1 = random <= 80
trigger1 = P2bodydist X >= 201
trigger1 = ctrl
trigger2 = random <= 80
trigger2 = P2bodydist X < -50
trigger2 = ctrl

;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -3, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
;triggerall = P2dist X <=50;> 50
triggerall = statetype != A
;triggerall = var(38) != 1850
trigger1 = ctrl
trigger1 = P2bodydist X = [-5,55]
trigger1 = p2movetype != A
trigger1 = random <= 90
trigger2 = P2bodydist X = [40,80]
trigger2 = p2movetype = H
trigger2 = random < 999
trigger2 = stateno = 430
;trigger1 = p2statetype != L
;trigger1 = P2bodydist X < 60
;trigger1 = P2bodydist Y > -90
;trigger1 = p2movetype = H || p2statetype = A
;trigger1 = p2stateno != [150,153]

;---------------------------------------------------------------------------
;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 215
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = P2bodydist X = [-5,55]
trigger1 = p2movetype != A
trigger1 = random < 70
;trigger2 = stateno = 700 && animelem = 3,>=0

;---------------------------------------------------------------------------
;近距離立ち弱パンチ
[State -3, Stand Light Punch]
type = ChangeState
value = 205
triggerall = palno = 10
triggerall = var(59)
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = statetype != A
trigger1 = P2dist X <=50
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = P2bodydist Y > -80
trigger1 = P2bodydist Y != 0
trigger1 = p2stateno != [150,153]

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -3, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = palno = 10
triggerall = var(59)
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = P2statetype != A && p2statetype != L
trigger1 = P2bodydist X = [-40,40]
trigger1 = P2bodydist Y = 0
trigger1 = p2stateno != [152,153]
trigger1 = Random < 600
trigger2 = P2statetype != A && p2statetype != L
trigger2 = P2bodydist X = [-40,40]
trigger2 = stateno = 430&&movecontact >= 1
trigger2 = p2movetype = H
trigger2 = P2bodydist Y = 0
trigger2 = p2stateno != [152,153]
trigger2 = Random < 600

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -3, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = palno = 10
triggerall = var(59)
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = P2statetype != A && p2statetype != L
trigger1 = P2bodydist X = [-5,70]
trigger1 = p2stateno != [150,153]
trigger1 = Random < 80

;---------------------------------------------------------------------------
;空中強パンチ
[State -3, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X = [-5,70]
trigger1 = P2bodydist Y = [-80,0]

;---------------------------------------------------------------------------
;空中強キック
[State -3, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X < 70
trigger1 = P2bodydist Y = [0,70]


;---------------------------------------------------------------------------
;空中ふっ飛ばし攻撃
[State -1, Stand Light Punch]
type = ChangeState
value = 690
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = vel Y > 0
trigger1 = P2bodydist X < 70
trigger1 = P2bodydist Y = [0,70]
trigger1 = p2statetype = A
trigger1 = p2movetype = H
trigger1 = random < 50

;---------------------------------------
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = P2statetype != A && p2statetype != L
trigger1 = P2bodydist X = [-5,70]
trigger1 = p2stateno != [150,153]
trigger1 = Random < 120

;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = null;ChangeState
value = 600
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = null;ChangeState
value = 630
triggerall = var(59)
triggerall = palno = 10
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl


;---------------------------------------------------------------------------
;ノーマル　強化バージョン
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;門客人
[State -3, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = palno != [10,12]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = p2statetype != A
triggerall = p2bodydist X < 8;5
triggerall = (p2statetype = S) || (p2statetype = C)
triggerall = p2movetype != H
triggerall = p2movetype != A; || enemynear,HitDefAttr = SCA, NA,SA,NT,ST,NP,SP
trigger1 = ctrl&&random < 150
trigger1 = (palno = [1,6]) || (palno = [7,9]) && enemy,life <= enemy,lifemax/2
trigger1 = p2stateno != [150,153]
trigger2 = p2stateno != [150,153]
trigger2 = (palno = [1,6]) || (palno = [7,9]) && enemy,life <= enemy,lifemax/2
trigger2 = stateno = 700 && animelem = 3,>=0
;---------------------------------------------------------------------------
;---------------------------------------------
;立ちガード
[State -3]
type = ChangeState
value = 130
triggerall = palno = [1,6]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = P2statetype != C
triggerall = inguarddist
trigger1 = Ctrl && statetype != A
trigger2 = stateno = [100,101]

;---------------------------------------------
;屈みガード
[State -3]
type = ChangeState
value = 131
triggerall = palno = [1,6]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = P2statetype = C
triggerall = inguarddist
trigger1 = Ctrl && statetype != A
trigger2 = stateno = [100,101]

;---------------------------------------------
;空中ガード
[State -3]
type = ChangeState
value = 132
triggerall = palno = [1,6]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = inguarddist
trigger1 = Ctrl && statetype = A

;---------------------------------------------
;立ちガード
[State -3]
type = ChangeState
value = 130
triggerall = palno = [7,9]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = P2statetype != C
triggerall = inguarddist
triggerall = enemy,life <= enemy,lifemax/2
trigger1 = Ctrl && statetype != A
trigger2 = stateno = [100,101]

;---------------------------------------------
;屈みガード
[State -3]
type = ChangeState
value = 131
triggerall = palno = [7,9]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = P2statetype = C
triggerall = inguarddist
triggerall = enemy,life <= enemy,lifemax/2
trigger1 = Ctrl && statetype != A
trigger2 = stateno = [100,101]

;---------------------------------------------
;空中ガード
[State -3]
type = ChangeState
value = 132
triggerall = palno = [7,9]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = inguarddist
triggerall = enemy,life <= enemy,lifemax/2
trigger1 = Ctrl && statetype = A
;---------------------------------------------------------------------------
;タクティカルステップ
[State -3, Taunt]
type = ChangeState
value = 700
triggerall = palno != [10,12]
triggerall = var(59)
triggerall = stateno != 700
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X = [-30,60]
trigger1 = p2movetype = A
trigger1 = random < 400
trigger2 = stateno = 215 || stateno = 240 || stateno = 410 || stateno = 440
trigger2 = moveguarded
trigger2 = random < 600

;---------------------------------------------------------------------------
;ダウン回避
[State -3, Taunt]
type = ChangeState
value = 702
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = random < 200
trigger1 = stateno = 5050
trigger1 = pos y >=-40

;---------------------------------------------------------------------------
[State -3,移動]
Type     = ChangeState
Value    = 100
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = EnemyNear,StateType != L
triggerall = EnemyNear,MoveType = I
triggerall = StateType != A
triggerall = roundstate = 2
triggerall = ctrl
trigger1 = p2bodydist X < 200;120
trigger1 = random < 80

[State -3,ｼﾞｬﾝﾌﾟ]
Type     = ChangeState
Value    = 40
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = var(59)
triggerall = StateType != A
triggerall = Ctrl
trigger1 = random < 300
trigger1 = p2bodydist X = [-40,40]
trigger1 = p2bodydist Y < -80
trigger1 = movetype = I
trigger2 = stateno = [100,101]
trigger2 = random < 300
trigger2 = p2bodydist X = [80,120]
trigger2 = p2bodydist Y = 0
trigger2 = movetype = I

;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = var(59)
trigger1 = statetype = S
trigger1 = p2bodydist X = [-10,10]
trigger1 = ctrl
trigger1 = random < 50
trigger1 = backedgebodydist != 0

;===========================================================================
;引き抜き
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 30080
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = power >= 4000
triggerall = enemynear,hitdefattr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT,AA,AT,AP
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = random <= 70;50
trigger1 = p2bodydist X = [-50,60]
trigger1 = p2movetype != H
trigger1 = enemy,life >= lifemax/2
trigger2 = statetype != A
trigger2 = random <= 100
trigger2 = p2bodydist X = [-50,60]
trigger2 = p2movetype != H
trigger2 = enemy,life = enemy,lifemax
trigger2 = stateno != 11330
trigger2 = stateno != 30080
trigger2 = stateno != 30081
trigger2 = stateno != 30060
trigger2 = stateno != 30061
trigger2 = stateno != 11350
trigger2 = stateno != 14020
trigger2 = stateno != 14021
trigger2 = stateno != 10000
trigger2 = stateno != 10001
trigger2 = stateno != 11001
trigger2 = stateno != 30050
trigger2 = stateno != 30051
trigger2 = stateno != 10080

;-----------------------------------------------
;分身召還
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11350
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = numhelper(11355) = 0
triggerall = power >= 4000
triggerall = statetype != A
trigger1 = ctrl
trigger1 = palno = [1,6]
trigger1 = life <= lifemax/2
trigger1 = random <= 60
trigger2 = ctrl
trigger2 = enemy,life >= enemy,lifemax/2
trigger2 = palno = [7,9]
trigger2 = random <= 50

;===========================================================================
;===========================================================================
;瞬獄殺(笑)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50450
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = power >= 4000
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = p2movetype != H
triggerall = p2stateno != [150,155]
trigger1 = ctrl
trigger1 = (palno = [1,6]) || (palno = [7,9]) && enemy,life <= enemy,lifemax/2
trigger1 = random <= 200
trigger1 = P2bodydist X = [0,90]
trigger2 = ctrl
trigger2 = (palno = [1,6]) || (palno = [7,9]) && enemy,life <= enemy,lifemax/2
trigger2 = random <= 400
trigger2 = P2bodydist X = [-20,50]
trigger3 = (palno = [1,6]) || (palno = [7,9]) && enemy,life <= enemy,lifemax/2
trigger3 = ctrl
trigger3 = p2statetype != A
trigger3 = p2movetype = A
trigger3 = random <= 400
trigger3 = P2bodydist X = [-30,60]
;===========================================================================
;---------------------------------------------------------------------------
;OFF波動
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 19150
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = power >= 6000
triggerall = statetype != A
triggerall = roundstate = 2
trigger1 = ctrl
trigger1 = p2movetype != I 
trigger1 = random <= 70;130

;-------------------------------------------
;クラッシュ
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11000
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = life <= lifemax/2
triggerall = statetype != A
triggerall = roundstate = 2
trigger1 = ctrl
trigger1 = palno = [1,6]
trigger1 = power >= 6000
trigger1 = p2movetype = A
trigger1 = random <= 200
trigger2 = ctrl
trigger2 = palno = [7,9]
trigger2 = power >= 3000
trigger2 = random <= 80



;===========================================================================
;-----------------------------------------------
;===========================================================================
;ショック　　ノーマル等
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 10000
triggerall = var(59); = [1,2]
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = power >= 4000
triggerall = life <= lifemax/2
triggerall = statetype != A
triggerall = p2name != "New_Shiki_Nanaya";不具合の元になるぞ
triggerall = enemy,life != lifemax
trigger1 = ctrl
trigger1 = random <= 100
trigger2 = ctrl
trigger2 = var(37) > 3000
trigger2 = enemy,life >= lifemax/3
trigger2 = random <= 90


;===========================================================================
;---------------------------------------------
;ビーム　　ノーマル　微強化
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14020
triggerall = var(59); = [1,2]
triggerall = palno != [10,12]
triggerall = power >= 2000
triggerall = roundstate = 2
;triggerall = enemy,life != lifemax
triggerall = statetype != A
trigger1 = life >= lifemax/2
;trigger1 = power <= 7500
;trigger1 = power >= 2000
trigger1 = enemy,life != lifemax
trigger1 = P2bodydist X = [60,150]
trigger1 = p2movetype != A
trigger1 = ctrl
trigger1 = random <= 200;300



;---------------------------------------------------------------------------
;？？？？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50640
triggerall = var(59)
triggerall = palno = [7,9]
triggerall = numhelper(50641) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = random < 150

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;カッター
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50620
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = numhelper(50621) = 0
triggerall = numhelper(506210) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = random < 50 || (palno = [7,9])&&random<120
trigger1 = P2bodydist X > 100

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;------------------------------------------------------------------------
;遠距離立ち強キック
[State -3, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = palno = [1,6]
trigger1 = P2bodydist X = [-30,55]
trigger1 = p2movetype != A
trigger1 = random <= 90
trigger1 = p2stateno != [150,153]
trigger2 = palno = [1,6]
trigger2 = P2bodydist X = [40,80]
trigger2 = p2movetype = H
trigger2 = p2stateno != [150,153]
trigger2 = random < 999
trigger2 = stateno = 430
trigger3 = ctrl
trigger3 = palno = [7,9]
trigger3 = enemy,life <= enemy,lifemax/2
trigger3 = P2bodydist X = [-30,55]
trigger3 = p2movetype != A
trigger3 = random <= 90
trigger3 = p2stateno != [150,153]
trigger4 = palno = [7,9]
trigger4 = enemy,life <= enemy,lifemax/2
trigger4 = P2bodydist X = [40,80]
trigger4 = p2movetype = H
trigger4 = p2stateno != [150,153]
trigger4 = random < 999
trigger4 = stateno = 430

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -3, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = palno != [10,12]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = palno = [1,6]
trigger1 = P2statetype != A && p2statetype != L
trigger1 = P2bodydist X = [-40,40]
trigger1 = P2bodydist Y = 0
trigger1 = p2stateno != [152,153]
trigger1 = Random < 800
trigger2 = palno = [1,6]
trigger2 = P2statetype != A && p2statetype != L
trigger2 = P2bodydist X = [-40,40]
trigger2 = stateno = 430&&movecontact >= 1
trigger2 = p2movetype = H
trigger2 = P2bodydist Y = 0
trigger2 = p2stateno != [152,153]
trigger2 = Random < 800
trigger3 = ctrl
trigger3 = palno = [7,9]
trigger3 = enemy,life <= enemy,lifemax/2
trigger3 = P2statetype != A && p2statetype != L
trigger3 = P2bodydist X = [-40,40]
trigger3 = P2bodydist Y = 0
trigger3 = p2stateno != [152,153]
trigger3 = Random < 800
trigger4 = palno = [7,9]
trigger4 = enemy,life <= enemy,lifemax/2
trigger4 = P2statetype != A && p2statetype != L
trigger4 = P2bodydist X = [-40,40]
trigger4 = stateno = 430&&movecontact >= 1
trigger4 = p2movetype = H
trigger4 = P2bodydist Y = 0
trigger4 = p2stateno != [152,153]
trigger4 = Random < 800


;---------------------------------------------------------------------------
;生霊鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11340
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
triggerall = numhelper(11341) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X > 80
trigger1 = random <= 450



;---------------------------------------------------------------------------
;？？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 18100
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = numhelper(18101) = 0
triggerall = statetype != A
triggerall = var(38) != 1850
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
trigger1 = ctrl
trigger1 = p2bodydist X > 80
trigger1 = random <= 200
trigger1 = p2movetype = I

;---------------------------------------------------------------------------

;----------------------------------------------------
;執念鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14010
triggerall = var(59)
triggerall = palno != [10,12]
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall = roundstate = 2
triggerall = numhelper(14011) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X = [-50,100]
trigger1 = random <= 180



;----------------------------------------------------
;---------------------------------------------------------------------------
;弱？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 50115
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = numhelper(50116) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X > 50
trigger1 = random <= 180

;===========================================================================
;弱？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1150
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = numhelper(50110) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X > 30
trigger1 = random <= 150

;===========================================================================
;---------------------------------------------------------------------------
;？？？？？(火闌降)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1450
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall =var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
;triggerall = numhelper(1050) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X > 100-40;70
trigger1 = random <= 220;150

;---------------------------------------------------------------------------
;反射鏡
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 14000
triggerall = var(59); = [1,2]
triggerall = roundstate = 2
triggerall = palno != [10,12]
triggerall = numhelper(14001) = 0
triggerall = p2stateno != 11320
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2movetype != A 
trigger1 = P2bodydist X = [-20,120]
trigger1 = random <= 120
;trigger2 = stateno = 200
;trigger3 = stateno = 205
;trigger4 = stateno = 235
;trigger5 = stateno = 240
;trigger6 = stateno = 245
;trigger7 = stateno = 400
;trigger8 = stateno = 410
;trigger9 = stateno = 430
;trigger10= stateno = 440
;trigger11= stateno = 700 && animelem = 3,>=0
;------------------------------------------------------
;映し身
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11310
triggerall = var(59); = [1,2]
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = numhelper(11311) = 0
triggerall = p2stateno != 11320
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X = [0,100]
trigger1 = random <= 400;180

;----------------------------------------------------
;---------------------------------------------------------------------------
;===========================================================================
;血の代償
[State -1, Taunt]
type = ChangeState
value = 10080
triggerall = var(59); = [1,2]
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = power <= 4000
trigger1 = life >= lifemax/2
trigger1 = p2movetype = H
trigger1 = ctrl
trigger1 = P2bodydist X > 60
trigger1 = random <= 90
;trigger2 = stateno = 700 && animelem = 3,>=0

;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;？(オロチ飛び道具)　　ノーマル等
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1050
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = numhelper(1050) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = ctrl; || movecontact
trigger1 = P2bodydist X = [-20,150]
trigger1 = random <= 300
trigger2 = stateno = 240 && animelemtime(4) > 0
trigger3 = stateno = 245 && animelemtime(10) > 0
trigger4 = stateno = 410 && animelemtime(7) > 0
trigger5 = P2bodydist X > 0
trigger5 = random <= 50
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;・・・(ワープ)
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1800
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
trigger1 = life >= lifemax/2
trigger1 = random <= 100
trigger1 = P2bodydist X >= 201
trigger1 = ctrl

;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;空中強パンチ
[State -3, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X = [-5,70]
trigger1 = P2bodydist Y = [-80,0]

;---------------------------------------------------------------------------
;空中強キック
[State -3, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = vel Y > 0;p2statetype = A || vel Y > 0
trigger1 = P2bodydist X < 70
trigger1 = P2bodydist Y = [0,70]


;---------------------------------------------------------------------------

;===========================================================================
;---------------------------------------------------------------------------
;ガードキャンセルふっ飛ばし攻撃
[State -3, 290]
type = null;ChangeState
value = 291
triggerall = random < var(59)*100 && roundstate = 2
triggerall = power >= 500
triggerall = palno != [10,12]
triggerall = p2statetype != A
triggerall = p2bodydist X = [-5,40]
triggerall = random < var(59)
trigger1 = stateno = 150
trigger2 = stateno = 151

;===========================================================================
;---------------------------------------------------------------------------
;===========================================================================
;恐怖の〜
[State -1, Taunt]
type = ChangeState
value = 11050
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = statetype != A
triggerall = roundstate = 2
trigger1 = ctrl
trigger1 = p2bodydist X = [-50,30]
trigger1 = p2movetype != A
trigger1 = p2movetype != H
trigger1 = p2stateno != [150,155]
trigger1 =random <= 200
;trigger2 = stateno = 700 && animelem = 3,>=0



;---------------------------------------------------------------------------
;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 215
triggerall = var(59)
triggerall = palno != [10,12]
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = ctrl
trigger1 = P2bodydist X = [-5,55]
trigger1 = p2movetype != A
trigger1 = random < 170
;trigger2 = stateno = 700 && animelem = 3,>=0



;---------------------------------------------------------------------------
;近距離立ち弱パンチ
[State -3, Stand Light Punch]
type = ChangeState
value = 205
triggerall = palno != [10,12]
triggerall = var(59)
triggerall = roundstate = 2
triggerall = statetype != A
trigger1 = statetype != A
trigger1 = P2dist X <=50
trigger1 = ctrl
trigger1 = p2statetype != L
trigger1 = P2bodydist Y > -80
trigger1 = P2bodydist Y != 0
trigger1 = p2stateno != [150,153]

;---------------------------------------------------------------------------
;===========================================================================
;---------------------------------------------------------------------------
;11Pカラー
;---------------------------------------------------------------------------
;===========================================================================
;---------------------------------------------------------------------------
[State -2]
type = null;selfstate
triggerall = !ishelper
triggerall = var(59)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = stateno!=151&&stateno!=154&&stateno!=155
trigger2 = stateno=155&&command="start"
value = 151
ignorehitpause = 1
[State -2]
type = null;selfstate
triggerall = !ishelper
triggerall = var(59)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = stateno=154&&command="start"
value = 155
ignorehitpause = 1
[state 50210];第一手 固め宣告
type = null;varset
triggerall = ishelper(100525)
triggerall = var(59)
triggerall = palno = 11
triggerall = roundstate = 2
triggerall = numhelper(100510)
trigger1 = helper(100510),var(58) < 1000
v = 0
value = 900
ignorehitpause = 1
[State -2]
type = null;varset
triggerall = ishelper(100510)
triggerall = numhelper(100510)
trigger1 = helper(100510),var(5) = 0
trigger1 = power>=2000
trigger1 = var(32) >= 200
v = 5
value = 650
ignorehitpause = 1

[state 50210];火柱1
type = null;ChangeState
triggerall = ishelper(100520)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100520
;trigger1 = stateno != 1005200
;trigger1 = stateno != 1005201
;trigger1 = stateno != 10650
value = 1005200
ignorehitpause = 1
[state 50210];火柱2
type = null;ChangeState
triggerall = ishelper(100520)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100520
;trigger1 = stateno != 1005200
;trigger1 = stateno != 1005201
;trigger1 = stateno != 10650
value = 1005201
ignorehitpause = 1
[state 50210];飛び道具
type = null;ChangeState
triggerall = ishelper(100520)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100520
;trigger1 = stateno != 1005200
;trigger1 = stateno != 1005201
;trigger1 = stateno != 10650
value = 10650
ignorehitpause = 1

[state 50210];紋章回転切り刻み proj
type = null;ChangeState
triggerall = ishelper(100521)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100521
;trigger1 = stateno != 1005210
;trigger1 = stateno != 14120
value = 1005210
ignorehitpause = 1
[state 50210];紋章回転切り刻み
type = null;ChangeState
triggerall = ishelper(100521)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100521
;trigger1 = stateno != 1005210
;trigger1 = stateno != 14120
value = 14120
ignorehitpause = 1

[state 50210];紋章回転切り刻み proj
type = null;ChangeState
triggerall = ishelper(100522)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100522
;trigger1 = stateno != 1005210
;trigger1 = stateno != 14125
value = 10052100
ignorehitpause = 1
[state 50210];切り裂き
type = null;ChangeState
triggerall = ishelper(100522)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100522
;trigger1 = stateno != 1005210
;trigger1 = stateno != 14125
value = 10052100
ignorehitpause = 1

[state 50210];紋章1 hitdef
type = null;ChangeState
triggerall = ishelper(100523)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100523
;trigger1 = stateno != 1005210
;trigger1 = stateno != 14125
value = 1005230
ignorehitpause = 1

[state 50210];紋章2 hitdef
type = null;ChangeState
triggerall = ishelper(100524)
triggerall = var(59)
triggerall = numhelper(100510)
triggerall = numhelper(100525)
triggerall = palno = 11
triggerall = roundstate = 2
trigger1 = helper(100510),var(58) > 1000
trigger1 = helper(100525),var(1) != 321
trigger1 = stateno = 100524
;trigger1 = stateno != 1005210
;trigger1 = stateno != 14125
value = 1005240
ignorehitpause = 1

;[state 50210]
;type = null;ChangeState
;triggerall = ishelper(100525)
;triggerall = var(59)
;triggerall = numhelper(100510)
;triggerall = numhelper(100525)
;triggerall = palno = 11
;triggerall = roundstate = 2
;trigger1 = helper(100510),var(58) > 1000
;trigger1 = helper(100525),var(1) != 321
;trigger1 = stateno = 100525
;trigger1 = stateno != 1005210
;trigger1 = stateno != 14125
;value = 1005240
;ignorehitpause = 1
;---------------------------------------------------------------------------
;triggerall = enemy,stateno != 1205
;---------------------------------------------------------------------------
