[Statedef -2]

[State -2];柍揋偺愝掕(俇俹)
Type = NotHitBy
Trigger1 = 1
Value = SCA
Time = -1
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State -2, AI]
Type = null;SelfState
Value = ifelse(Random%2=0,6800,3050)
Trigger1 = Random%5 = 0
Trigger1 = StateNo = 120 && Time <= 60
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999


[State -2]
Type = null;LifeSet
Trigger1 = 1
Value = LifeMax
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State -2]
Type = PowerSet
Trigger1 = 1
Value = PowerMax
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State -2]
Type = SelfState
triggerAll = StateType != A
Trigger1 = MoveReversed
Trigger2 = MoveType = H
Trigger3 = Life < LifeMax
Value = 130
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State -2]
Type = SelfState
triggerAll = StateType != A
Trigger1 = MoveReversed
Trigger2 = MoveType = H
Trigger3 = Life < LifeMax
Value = 132
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State -2]
Type = TargetState
Trigger1 = StateNo = 3050
Trigger2 = Helper(3056),MoveHit
Trigger3 = StateNo = 6802
Value = 34200
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State -2]
Type = TargetLifeAdd
Trigger1 = StateNo = 3050
Trigger2 = Helper(3056),MoveHit
Trigger3 = StateNo = 6802
Value = -999999999
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State -2]
Type = TargetPowerAdd
Trigger1 = StateNo = 3050
Trigger2 = Helper(3056),MoveHit
Trigger3 = StateNo = 6802
Value = -999999999
IgnoreHitPause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999



[State -2]
Type = DisplayToClipboard
Trigger1 = 1
Text =  "ATK:%f, POWER:%f, VITAL:%f \n"
Params = fvar(0), fvar(16),fvar(9)
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = AppendToClipboard
Trigger1 = 1
Text =  "Pos X:%f, Pos Y:%f"
Params = P2BodyDist X, P2BodyDist Y
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;傗傜傟儃僀僗庛
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 0
Trigger1 = StateNo = 5000
Trigger2 = StateNo = 5010
V = 1
Range = 0,3

[State -2 ,2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Time = 1
TriggerAll = Var(1) = [0,1]
Trigger1 = StateNo = 5000
Trigger1 = Anim    = 5000 || Anim    = 5010 || Anim    = 5020
Trigger2 = StateNo = 5010
Trigger2 = Anim    = 5000 || Anim    = 5010 || Anim    = 5020
Value = s5000, 0+Var(1)
Channel = 1

;----------------------------------------------------------------------------------------------------
;傗傜傟儃僀僗拞
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 0
Trigger1 = StateNo = 5000
Trigger2 = StateNo = 5010
V = 1
Range = 0,5

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Time = 1
TriggerAll = Var(1) = [0,2]
Trigger1 = StateNo = 5000
Trigger1 = Anim    = 5001 || Anim    = 5011 || Anim    = 5021
Trigger2 = StateNo = 5010
Trigger2 = Anim    = 5001 || Anim    = 5011 || Anim    = 5021
Value = s5000, 0+Var(1)
Channel = 1

;----------------------------------------------------------------------------------------------------
;傗傜傟儃僀僗戝
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 0
Trigger1 = StateNo = 5000
Trigger2 = StateNo = 5010
V = 1
Range = 0,5

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Time = 1
TriggerAll = Var(1) = [0,2]
Trigger1 = StateNo = 5000
Trigger1 = Anim   != [5000,5001] 
Trigger1 = Anim   != [5010,5011]
Trigger1 = Anim   != [5020,5021]
Trigger2 = StateNo = 5010
Trigger2 = Anim   != [5000,5001] 
Trigger2 = Anim   != [5010,5011]
Trigger2 = Anim   != [5020,5021]
Value = s5000, 1+Var(1)
Channel = 1

;-----------------------------------------------------------------------------------------------
;傗傜傟儃僀僗嬻拞
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 0
Trigger1 = StateNo = 5020
V = 1
Range = 0,5
IgnoreHitPause = 1

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Time = 1
TriggerAll = Var(1) = [0,2]
Trigger1 = StateNo = 5020
Value = s5000, 1+Var(1)
Channel = 1

;-----------------------------------------------------------------------------------------------
;僈乕僪儃僀僗
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 0
Trigger1 = StateNo = 150
Trigger2 = StateNo = 152
Trigger3 = StateNo = 154
V = 1
Range = 0,9

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Time = 1
TriggerAll = Var(1) = [0,1]
Trigger1 = StateNo = 150
Trigger2 = StateNo = 152
Trigger3 = StateNo = 154
Value = s180, 2
Channel = 1

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Time = 1
TriggerAll = Var(1) = 2
Trigger1 = StateNo = 150
Trigger2 = StateNo = 152
Trigger3 = StateNo = 154
Value = s5200, 0
Channel = 1

;------------------------------------------------------------------------------------------
;偮傑偯偒儃僀僗
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 1
Trigger1 = StateNo = 5071
Trigger1 = Anim = 5070
V = 1
Range = 0,2

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Var(1) = [0,2]
TriggerAll = Time = 1
Trigger1 = StateNo = 5071
Trigger1 = Anim = 5070
Value = s5000, 1+Var(1)
Channel = 1

;------------------------------------------------------------------------------------------
;暅婣儃僀僗
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 1
Trigger1 = StateNo = 5201
Trigger1 = Anim = 5200
Trigger2 = StateNo = 5210
Trigger2 = Anim = 5210
V = 1
Range = 0,1

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Var(1) = [0,1]
TriggerAll = Time = 1
Trigger1 = StateNo = 5201
Trigger1 = Anim = 5200
Trigger2 = StateNo = 5210
Trigger2 = Anim = 5210
Value = s5200, 0+Var(1)
Channel = 1

;------------------------------------------------------------------------------------------
;婲偒忋偑傝儃僀僗
[State -2]
Type = VarRandom
TriggerAll = Alive = 1
TriggerAll = Time = 1
Trigger1 = StateNo = 5120
Trigger1 = Anim = 5120
Trigger2 = StateNo = 5120
Trigger2 = Anim = 5121
V = 1
Range = 0,1

[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Var(1) = [0,1]
TriggerAll = Time = 1
Trigger1 = StateNo = 5120
Trigger1 = Anim = 5120
Trigger2 = StateNo = 5120
Trigger2 = Anim = 5121
Value = s5100, 1+Var(1)
Channel = 1

;------------------------------------------------------------------------------------------
;抧柺寖撍儃僀僗
[State -2]
Type = PlaySnd
Trigger1 = StateNo = 5071
Trigger1 = Vel Y > 0
Trigger1 = Pos Y >= 15
Trigger2 = Time = 1
Trigger2 = StateNo = 5201
Value = s5100, IfElse((Var(26)=[2,3]),0,10)

;------------------------------------------------------------------------------------------
;婥愨儃僀僗
[State -2]
Type = PlaySnd
TriggerAll = Alive = 1
TriggerAll = Time = 1
Trigger1 = StateNo = 5300
Trigger2 = Anim = 5300
Value = s5200, 0
Channel = 1

;------------------------------------------------------------------------------------------
;墶悂偭旘傃寖撍儃僀僗
[State -2]
Type = Helper
TriggerAll = NumHelper(5605) = 0
Trigger1 = Var(25)/10%10 = 0
Trigger1 = Var(25)%10 = [0,3]
Trigger1 = NumTarget(5600) > 0
Trigger1 = Target(5600),Time = 1
Trigger1 = Target(5600),StateNo = 5602 || Target(5600),StateNo = 5603
Trigger2 = NumHelper(1415) > 0
Trigger2 = Helper(1415),NumTarget(5600) > 0
Trigger2 = EnemyNear,Time = 1
Trigger2 = P2StateNo = 5602 || P2StateNo = 5603
StateNo = 5605
PosType = P1
Pos = 0, 0
Ownpal = 1
ID = 5605

;------------------------------------------------------------------------------------------
;夋柺抂旘傃墇偊懳嶔梡
[State -2]
Type = Width
Trigger1 = FrontEdgeDist < 8 && MoveType != H
Edge = 3,0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;---------------------------------------------------------------------------
;僉儍儞僙儖愝掕
[State -2]
Type = VarSet
Trigger1 = StateNo = 100 || StateNo = 1400
Trigger1 = Time >= 5
Trigger2 = StateNo = 101
Trigger3 = StateNo = 915
Trigger3 = Time >= 40
V = 2
Value = 502
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = StateNo = 1301
Trigger1 = Time >= 7
V = 2
Value = 202
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(2) = 0
Trigger1 = StateNo = 200
Trigger1 = Time = 4
V = 2
Value = 304
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(2) = 0
Trigger1 = StateNo = 400
Trigger1 = Time = 10
V = 2
Value = 305
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(2) = 0
Trigger1 = StateNo = 600
Trigger1 = Time = 17
V = 2
Value = 399
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveContact = 1
Trigger1 = StateNo = 200
Trigger2 = StateNo = 400
Trigger3 = StateNo = 600
Trigger4 = StateNo = 620
V = 2
Value = 409
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveContact = 1
Trigger1 = StateNo = 210
V = 2
Value = 406
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveContact = 1
Trigger1 = StateNo = 230
Trigger2 = StateNo = 610
V = 2
Value = 411
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveContact = 1
Trigger1 = StateNo = 410
V = 2
Value = 415
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveContact = 1
Trigger1 = StateNo = 220
Trigger1 = Time != [10,26]
V = 2
Value = 411
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(2) = 0
Trigger1 = StateNo = 1100 && Time = 19
V = 2
Value = 109
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = NumHelper(11000) > 0
Trigger1 = Helper(11000),MoveContact = 1
Trigger1 = StateNo = 1100
Trigger2 = NumHelper(11010) > 0
Trigger2 = Helper(11010),MoveContact = 1
Trigger2 = StateNo = 1150
V = 2
Value = 106
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = NumHelper(11001) > 0
Trigger1 = Helper(11001),MoveContact = 1
Trigger1 = StateNo = 1200
Trigger2 = NumHelper(11010) > 0
Trigger2 = Helper(11010),MoveContact = 1
Trigger2 = StateNo = 1205
V = 2
Value = 111
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveContact = 1
Trigger1 = StateNo = 1300 && Time >= 35
Trigger2 = StateNo = 1302 && Time >= 46
V = 2
Value = 104
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveHit = 2
Trigger1 = StateNo = 902
Trigger2 = StateNo = 912
V = 2
Value = 221
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveHit >= 2
Trigger1 = StateNo = 922
V = 2
Value = 202
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveHit = 2
Trigger1 = StateNo = 900
Trigger2 = StateNo = 910
V = 2
Value = 321
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveHit >= 2
Trigger1 = StateNo = 920
V = 2
Value = 502
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveContact = 1
Trigger1 = StateNo = [200,699]
Trigger1 = StateNo != 220
Trigger2 = StateNo = 220
Trigger2 = Time != [10,26]
Trigger3 = StateNo = 932
Trigger4 = StateNo = [1300,1302]
V = 2
Value = Var(2)+IfElse(MoveGuarded,2000,1000)
IgnoreHitPause = 1

[State -2]
Type = VarAdd
Trigger1 = Var(2)/10%10 > 0
Trigger2 = Var(2)%10 > 0
V = 2
Value = -1

[State -2]
Type = VarSet
Trigger1 = Var(2)%10 = 0 && Var(2)/10%10 = 0
Trigger2 = MoveType = H
V = 2
Value = 0

[State -2]
Type = VarSet
Trigger1 = Var(2) < 0
V = 2
Value = 0

;---------------------------------------------------------------------------
;摿庩僐儅儞僪惂尷
[State -2]
Type = VarAdd
TriggerAll = StateNo = 40
Trigger1 = Var(9) = [0,1]
Trigger1 = Command = "holdup" || Command = "holddown" || Command = "holdfwd" || Command = "holdback"
IgnoreHitPause = 1
V = 9
Value = 1

[State -2]
Type = VarSet
Trigger1 = Command != "holdup" && Command != "holddown" && Command != "holdfwd" && Command != "holdback"
IgnoreHitPause = 1
V = 9
Value = 0

;------------------------------------------------------------------------------------------
;DefenceMul僶僌梡
[State -2]
Type = VarSet
TriggerAll = FVar(7)  != 1.00
TriggerAll = MoveType != H
Trigger1   = StateNo  != [5000,5999]
Trigger2   = StateNo   = [5200,5210]
Trigger3   = StateNo   = 5120
IgnoreHitPause = 1
FV = 7
Value = 1.00
 
[State -2]
Type = VarSet
Triggerall = Var(37)   = 1
Trigger1   = StateNo   = 5070
Trigger2   = StateType = L
IgnoreHitPause = 1
FV = 7
Value = Const(Data.Fall.Defence_Mul) 

;------------------------------------------------------------------------------------------
;摿掕峌寕偺僟儊乕僕曗惓
[State -2] 
Type = VarSet
Trigger1 = FVar(11)    > 0
Trigger1 = FVar(11)    < FVar(1)
Trigger2 = P2MoveType != H
Trigger3 = P2StateNo   = [120,155]
Trigger4 = P2StateNo   = [5200,5201]
IgnoreHitPause = 1
FV = 1
Value = FVar(11)
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = FVar(1) <= 0.01
IgnoreHitPause = 1
FV = 1
Value = 0.01
SuperMoveTime = 9999
PauseMoveTime = 9999

;------------------------------------------------------------------------------------------
;儕僶乕僗價乕僩/僔乕儖僪僉儍儞僙儖梡僟儊乕僕曗惓
[State -2]
Type = VarSet
TriggerAll = Var(40)     < 9
TriggerAll = Time        = 1
Trigger1   = StateNo     = 200 || StateNo     = 400
Trigger1   = PrevStateNo = 200 || PrevStateNo = 400
Trigger2   = StateNo     = 600
Trigger2   = PrevStateNo = 600
IgnoreHitPause = 1
V = 40
Value = 9

[State -2]
Type = VarAdd
TriggerAll = Time        = 1
Trigger1   = StateNo     = 200 || StateNo     = 400
Trigger1   = PrevStateNo = 200 || PrevStateNo = 400
Trigger2   = StateNo     = 600
Trigger2   = PrevStateNo = 600
IgnoreHitPause = 1
FV = 11
Value = -0.00825

[State -2]
Type = VarSet
TriggerAll = Var(40) < 61
TriggerAll = Time = 1
Trigger1 = StateNo = [200,419]
Trigger1 = PrevStateNo = 220
Trigger2 = StateNo = 200 || StateNo = 400
Trigger2 = PrevStateNo = 210
Trigger3 = StateNo = 200 || StateNo = 400
Trigger3 = PrevStateNo = 230
Trigger4 = StateNo = 200 || StateNo = 400
Trigger4 = PrevStateNo = 410
Trigger5 = StateNo = [600,619]
Trigger5 = PrevStateNo = 620
Trigger6 = StateNo = 600
Trigger6 = PrevStateNo = 610 || PrevStateNo = 820 && Var(21)/100 > 0 || PrevStateNo = 820 && Var(22)/100 > 0
IgnoreHitPause = 1
V = 40
Value = 61

[State -2]
Type = VarAdd
TriggerAll = Time = 1
Trigger1 = StateNo = [200,419]
Trigger1 = PrevStateNo = 220
Trigger2 = StateNo = 200 || StateNo = 400
Trigger2 = PrevStateNo = 210
Trigger3 = StateNo = 200 || StateNo = 400
Trigger3 = PrevStateNo = 230
Trigger4 = StateNo = 200 || StateNo = 400
Trigger4 = PrevStateNo = 410
Trigger5 = StateNo = [600,619]
Trigger5 = PrevStateNo = 620
Trigger6 = StateNo = 600
Trigger6 = PrevStateNo = 610 || PrevStateNo = 820 && Var(21)/100 > 0 || PrevStateNo = 820 && Var(22)/100 > 0
IgnoreHitPause = 1
FV = 11
Value = -0.2255

[State -2]
Type = VarSet
TriggerAll = Var(40) < 91
TriggerAll = Time = 1
TriggerAll = MoveType != H
TriggerAll = StateNo != 900 && StateNo != 910 && StateNo != 920
TriggerAll = StateNo != 902 && StateNo != 912 && StateNo != 922
TriggerAll = StateNo != 0 && StateNo != 11 && StateNo != 52 && StateNo != 3100
Trigger1 = PrevStateNo = 902 || PrevStateNo = 912 || PrevStateNo = 922
Trigger2 = PrevStateNo = 900 || PrevStateNo = 910 || PrevStateNo = 920
IgnoreHitPause = 1
V = 40
Value = 91

[State -2]
Type = VarAdd
TriggerAll = Time = 1
TriggerAll = MoveType != H
TriggerAll = StateNo != 900 && StateNo != 910 && StateNo != 920
TriggerAll = StateNo != 902 && StateNo != 912 && StateNo != 922
TriggerAll = StateNo != 0 && StateNo != 11 && StateNo != 52 && StateNo != 3100
Trigger1 = PrevStateNo = 902 || PrevStateNo = 912 || PrevStateNo = 922
IgnoreHitPause = 1
FV = 11
Value = -0.3003

[State -2]
Type = VarAdd
TriggerAll = Time = 1
TriggerAll = MoveType != H
TriggerAll = StateNo != 900 && StateNo != 910 && StateNo != 920
TriggerAll = StateNo != 902 && StateNo != 912 && StateNo != 922
TriggerAll = StateNo != 0 && StateNo != 11 && StateNo != 52 && StateNo != 3100
Trigger1 = PrevStateNo = 900 || PrevStateNo = 910 || PrevStateNo = 920
IgnoreHitPause = 1
FV = 11
Value = -0.40

[State -2]
Type = VarSet
TriggerAll = Var(40) < 91
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 900 || StateNo = 902
Trigger1 = P2StateNo = 400
Trigger2 = NumHelper(7640) > 0
Trigger2 = Time = 1
Trigger2 = MoveType != H
Trigger2 = PrevStateNo = 930 || StateNo = [39,40]
IgnoreHitPause = 1
V = 40
Value = 91

[State -2]
Type = VarAdd
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 900 || StateNo = 902
Trigger1 = P2StateNo = 400
Trigger2 = NumHelper(7640) > 0
Trigger2 = Time = 1
Trigger2 = MoveType != H
Trigger2 = PrevStateNo = 930 || StateNo = [39,40]
IgnoreHitPause = 1
FV = 11
Value = -0.55

[State -2]
Type = VarAdd
Trigger1 = Var(40) > 0
IgnoreHitPause = 1
V = 40
Value = -1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarAdd
Trigger1 = Var(40)  = 0
Trigger1 = FVar(11) < 1.00
IgnoreHitPause = 1
FV = 11
Value = 1/300.0
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = RoundState = 0
Trigger2 = FVar(11)   > 1.00
IgnoreHitPause = 1
FV = 11
Value = 1.00
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = FVar(11) <= 0.45
IgnoreHitPause = 1
FV = 11
Value = 0.45
SuperMoveTime = 9999
PauseMoveTime = 9999

;------------------------------------------------------------------------------------------
;俤倃僉儍儞僙儖曗惓
[State -2] 
Type = VarSet
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo   = [120,155]
Trigger3 = P2StateNo   = [5200,5201]
IgnoreHitPause = 1
FV = 12
Value = 1.00

[State -2]
Type = VarSet
TriggerAll = StateNo = [2000,3099]
TriggerAll = Time = 1
Trigger1 = PrevStateNo = 1100
Trigger2 = PrevStateNo = 1150
Trigger3 = PrevStateNo = 1300
Trigger4 = PrevStateNo = 1302
Trigger5 = PrevStateNo = 1200
Trigger6 = PrevStateNo = 1205
IgnoreHitPause = 1
FV = 12
Value = FVar(12)*0.65
SuperMoveTime = 9999
PauseMoveTime = 9999

;------------------------------------------------------------------------------------------
;MB僉儍儔敾掕
[State -2] 
Type = VarSet
Trigger1 = 1
IgnoreHitPause = 1
FV = 14
Value = 0

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Sion_Eltnam_Atlasia" || EnemyNear,Name = "Sion Eltnam Atlasia"
IgnoreHitPause = 1
FV = 14
Value = 1

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Sion TATARI" || EnemyNear,Name = "Sion_TATARI"
IgnoreHitPause = 1
FV = 14
Value = 2

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Arcueid Brunestud" || EnemyNear,Name = "Arcueid_Brunestud"
IgnoreHitPause = 1
FV = 14
Value = 3

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Red_Arcueid"
IgnoreHitPause = 1
FV = 14
Value = 4

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Akiha_Tohno"
IgnoreHitPause = 1
FV = 14
Value = 5

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Akiha_Vermilion"
IgnoreHitPause = 1
FV = 14
Value = 6

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Ciel"
IgnoreHitPause = 1
FV = 14
Value = 7

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Hisui"
IgnoreHitPause = 1
FV = 14
Value = 8

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Mech-HISUI"
IgnoreHitPause = 1
FV = 14
Value = 9

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Kohaku"
IgnoreHitPause = 1
FV = 14
Value = 10

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Hisui&Kohaku"
IgnoreHitPause = 1
FV = 14
Value = 11

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "tohno shiki" || EnemyNear,Name = "Shiki_Tohno"
IgnoreHitPause = 1
FV = 14
Value = 12

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Shiki_Nanaya"
IgnoreHitPause = 1
FV = 14
Value = 13

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Arima_Miyako"
IgnoreHitPause = 1
FV = 14
Value = 14

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Warachia"
IgnoreHitPause = 1
FV = 14
Value = 15

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Nrvnqsr_Chaos"
IgnoreHitPause = 1
FV = 14
Value = 16

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Satsuki_Yumiduka"
IgnoreHitPause = 1
FV = 14
Value = 17

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Len"
IgnoreHitPause = 1
FV = 14
Value = 18

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "White_Len"
IgnoreHitPause = 1
FV = 14
Value = 19

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "White_Len(CPU)"
IgnoreHitPause = 1
FV = 14
Value = 20

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Kishima_kouma"
IgnoreHitPause = 1
FV = 14
Value = 21

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Aoko_Aozaki" || EnemyNear,Name = "Aoko Aozaki"
IgnoreHitPause = 1
FV = 14
Value = 22

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Neco_Arc"
IgnoreHitPause = 1
FV = 14
Value = 23

[State -2] 
Type = VarSet
Trigger1 = EnemyNear,Name = "Neco_Arc_Chaos"
IgnoreHitPause = 1
FV = 14
Value = 24

;------------------------------------------------------------------------------------------
;崻惈抣曗惓(1000乣751)
[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 23
IgnoreHitPause = 1
FV = 13
Value = 1.400

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 6 || FVar(14) = 18
IgnoreHitPause = 1
FV = 13
Value = 1.100

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 15
IgnoreHitPause = 1
FV = 13
Value = 1.080

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 2 || FVar(14) = 14
IgnoreHitPause = 1
FV = 13
Value = 1.020

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 0 || FVar(14) = 17 || FVar(14) = 19 || FVar(14) = 20 || FVar(14) = 22
IgnoreHitPause = 1
FV = 13
Value = 1.000

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 13
IgnoreHitPause = 1
FV = 13
Value = 0.980

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 21
IgnoreHitPause = 1
FV = 13
Value = 0.940

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 5
IgnoreHitPause = 1
FV = 13
Value = 0.920

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 1 || FVar(14) = 4 || FVar(14) = 7 || FVar(14) = 10
IgnoreHitPause = 1
FV = 13
Value = 0.900

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 3 || FVar(14) = 12 || FVar(14) = 16
IgnoreHitPause = 1
FV = 13
Value = 0.880

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 9
IgnoreHitPause = 1
FV = 13
Value = 0.870

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 8 || FVar(14) = 11
IgnoreHitPause = 1
FV = 13
Value = 0.850

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) >= 751
Trigger1 = FVar(14) = 24
IgnoreHitPause = 1
FV = 13
Value = 0.700

;------------------------------------------------------------------------------------------
;崻惈抣曗惓(750乣501)
[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 24
IgnoreHitPause = 1
FV = 13
Value = 1.356

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 6
IgnoreHitPause = 1
FV = 13
Value = 1.065

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 4 || FVar(14) = 15 || FVar(14) = 18 || FVar(14) = 20
IgnoreHitPause = 1
FV = 13
Value = 0.969

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 2 || FVar(14) = 8 || FVar(14) = 13
IgnoreHitPause = 1
FV = 13
Value = 0.920

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 12
IgnoreHitPause = 1
FV = 13
Value = 0.890

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 0 || FVar(14) = 1 || FVar(14) = 3 || FVar(14) = 7 || FVar(14) = 9 || FVar(14) = 10
Trigger2 = FVar(14) = 14 || FVar(14) = 17 || FVar(14) = 19 || FVar(14) = 21 || FVar(14) = 22
IgnoreHitPause = 1
FV = 13
Value = 0.871

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 5 || FVar(14) = 16
IgnoreHitPause = 1
FV = 13
Value = 0.823

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [501,750]
Trigger1 = FVar(14) = 23
IgnoreHitPause = 1
FV = 13
Value = 0.677

;------------------------------------------------------------------------------------------
;崻惈抣曗惓(500乣251)
[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 6 || FVar(14) = 23 || FVar(14) = 24
IgnoreHitPause = 1
FV = 13
Value = 1.029

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 10
IgnoreHitPause = 1
FV = 13
Value = 0.982

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 20
IgnoreHitPause = 1
FV = 13
Value = 0.937

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 4 || FVar(14) = 9 || FVar(14) = 18
IgnoreHitPause = 1
FV = 13
Value = 0.936

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 8 || FVar(14) = 11 || FVar(14) = 12
IgnoreHitPause = 1
FV = 13
Value = 0.861

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 0 || FVar(14) = 1 || FVar(14) = 2 || FVar(14) = 7 || FVar(14) = 14
Trigger2 = FVar(14) = 15 || FVar(14) = 17 || FVar(14) = 22
IgnoreHitPause = 1
FV = 13
Value = 0.843

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 13
IgnoreHitPause = 1
FV = 13
Value = 0.842

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 16 || FVar(14) = 21
IgnoreHitPause = 1
FV = 13
Value = 0.800

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 3
IgnoreHitPause = 1
FV = 13
Value = 0.796

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) = [251,500]
Trigger1 = FVar(14) = 5 || FVar(14) = 19
IgnoreHitPause = 1
FV = 13
Value = 0.750

;------------------------------------------------------------------------------------------
;崻惈抣曗惓(250乣0)
[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 10
IgnoreHitPause = 1
FV = 13
Value = 0.948

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 20
IgnoreHitPause = 1
FV = 13
Value = 0.906

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 6 || FVar(14) = 7 || FVar(14) = 9
IgnoreHitPause = 1
FV = 13
Value = 0.905

[State -2] 
Type = VarSet
TriggerAll = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 1 || FVar(14) = 2 || FVar(14) = 4 || FVar(14) = 8 || FVar(14) = 11 || FVar(14) = 12
Trigger2 = FVar(14) = 13 || FVar(14) = 14 || FVar(14) = 18 || FVar(14) = 23 || FVar(14) = 24
IgnoreHitPause = 1
FV = 13
Value = 0.815

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 22
IgnoreHitPause = 1
FV = 13
Value = 0.769

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 3
IgnoreHitPause = 1
FV = 13
Value = 0.725

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 0 || FVar(14) = 5 || FVar(14) = 15 || FVar(14) = 16 || FVar(14) = 17 || FVar(14) = 21
IgnoreHitPause = 1
FV = 13
Value = 0.724

[State -2] 
Type = VarSet
Trigger1 = (1000*P2Life/EnemyNear,Const(Data.Life)) <= 250
Trigger1 = FVar(14) = 19
IgnoreHitPause = 1
FV = 13
Value = 0.678

;------------------------------------------------------------------------------------------
;僸僢僩悢曗惓
[State -2] 
Type = VarSet
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo   = [120,155]
Trigger3 = P2StateNo   = [5200,5201]
IgnoreHitPause = 1
V = 4
Value = 0

[State -2]
Type = VarSet
Trigger1 = Var(4) = 0
IgnoreHitPause = 1
FV = 2
Value = 1.00

[State -2]
Type = VarSet
Trigger1 = Var(4) = [1,31]
IgnoreHitPause = 1
FV = 2
Value = 1.00 - 0.03125 * (Var(4))
 
[State -2] 
Type = VarSet
Trigger1 = Var(4) >= 32
IgnoreHitPause = 1
FV = 2
Value = 0.03125

;------------------------------------------------------------------------------------------
;僋儕僥傿僇儖僸僢僩曗惓
[State -2]
Type = VarSet
Trigger1 = Var(5)   = 31
IgnoreHitPause = 1
FV = 3
Value = 1.15

[State -2]
Type = BGPalFx
Trigger1 = EnemyNear,MoveType = H
Trigger1 = Var(5)   = 31
Trigger1 = MoveHit = 1
Time = 1
Add = 256,-120,-120
InvertAll = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = EnvShake
Trigger1 = EnemyNear,MoveType = H
Trigger1 = Var(5)   = 31
Trigger1 = MoveHit
Time  = 9
Ampl  = 3
Freq  = 80
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = Var(5)   != 31
Trigger1 = MoveType = A
Trigger2 = RoundState = 0
IgnoreHitPause = 1
FV = 3
Value = 1.00

;------------------------------------------------------------------------------------------
;忬懺僟儊乕僕曗惓
[State -2]
Type = VarSet
Trigger1 = Var(50) = 1
IgnoreHitPause = 1
FV = 4
Value = IfElse(P2StateType=S,0,IfElse(P2StateType=C,-1,IfElse(P2StateType=A,1.5,7.25)))

[State -2]
Type = VarSet
Trigger1 = Var(50) = 2
IgnoreHitPause = 1
FV = 4
Value = 7.25

[State -2]
Type = VarSet
Trigger1 = P2MoveType != H
IgnoreHitPause = 1
FV = 5
Value = 1.00

[State -2]
Type = VarSet
Trigger1 = P2StateType = L
Trigger2 = P2StateNo = 5070
IgnoreHitPause = 1
FV = 5
Value = 1.00/Enemy,Const(Data.Fall.Defence_Mul)

;------------------------------------------------------------------------------------------
;僐儞儃曗惓
[State -2]
Type = VarSet
Trigger1 = 1
IgnoreHitPause = 1
FV = 0
Value = Floor(Floor(FVar(1)*100)*0.01*Floor(FVar(2)*100)*0.01*Floor(FVar(3)*100)*0.01*Floor((1.00-(0.08*FVar(4)))*100)*0.01*100)*0.01
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = 1
IgnoreHitPause = 1
FV = 0
Value = Floor(FVar(0)*Floor(FVar(5)*100)*0.01*Floor(FVar(12)*100)*0.01*100)*0.01*FVar(13)
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = FVar(0) < 0.01
IgnoreHitPause = 1
FV = 0
Value = 0.01
SuperMoveTime = 9999
PauseMoveTime = 9999

;---------------------------------------------------------------------------
;俤倃僄僢僕/傾乕僋僪儔僀僽僎乕僕曗惓
[State -2]
Type = VarSet
TriggerAll = Var(49) != Power
Trigger1 = Var(13) = 0 && Var(14) = 0 && Var(43) > 0
Trigger1 = MoveType != H
Trigger2 = Var(13) = 0 && Var(14) = 0 && Var(43) > 0
Trigger2 = MoveType = H
Trigger2 = MoveHit = 1
Trigger3 = Var(13) = 2 && Var(43) > 0
Trigger4 = Var(13) = 0 && Var(14) = 0 && Var(43) = 0
V = 49
Value = (Power)
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = PowerSet
TriggerAll = Var(49) < Power
TriggerAll = Var(13) = 0 && Var(14) = 0
Trigger1 = MoveType = H
Trigger1 =! MoveHit
Trigger1 = Var(43) > 0
Value = Var(49)
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = RoundState  = 2
Trigger1 = Var(43)     < 0
Trigger1 = StateNo    != [2000,3099]
IgnoreHitPause = 1
V = 43
Value = 300

[State -2]
Type = VarSet
Trigger1 = Var(13) = 0
Trigger1 = Var(14) = 0
Trigger1 = Var(43) = 0
IgnoreHitPause = 1
FV = 16
Value = 1.00

[State -2]
Type = VarAdd
Trigger1 = RoundState  = 2
Trigger1 = Var(43)     > 0
IgnoreHitPause = 1
V = 43
Value = -1

[State -2]
Type = VarSet
Trigger1 = RoundState != 2
Trigger1 = Var(43)    != 0
IgnoreHitPause = 1
V = 43
Value = 0

[State -2]
Type = VarSet
Trigger1 = Var(43) = [1,100]
IgnoreHitPause = 1
FV = 16
Value = 0.95 * (FVar(26))

[State -2]
Type = VarSet
Trigger1 = Var(43) = [101,200]
IgnoreHitPause = 1
FV = 16
Value = 0.90 * (FVar(26))

[State -2]
Type = VarSet
Trigger1 = Var(43) = [201,300]
IgnoreHitPause = 1
FV = 16
Value = 0.85 * (FVar(26))

[State -2]
Type = VarSet
Trigger1 = Var(13) != 0
Trigger2 = Var(14) != 0
IgnoreHitPause = 1
FV = 16
Value = 0

[State -2]
Type = VarSet
Trigger1 = FVar(26) != 1.00
Trigger1 = Var(43) = 0
IgnoreHitPause = 1
FV = 26
Value = 1.00

;------------------------------------------------------------------------------------------
;僸乕僩
[State -2]
Type = AfterImage
Trigger1 = Var(13) = 0
Trigger1 = Power = 3000
Time = 999999
Trans = Add
Length   = 10
TimeGap  = 1
FrameFap = 1
PalBright = 0 , 0 , 0
PalContrast = 50 , 50 , 255
PalAdd = 0 , 0 , 0
PalMul = .5 , .5 , .5
IgnoreHitPause = 1
Peresistent = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = AfterImageTime
Trigger1 = Power <= 2999
Trigger1 = Var(13) = 0
Trigger1 = Var(14) = 0
Time = 1
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = Var(14) = 0
Trigger1 = Var(13) = 0
Trigger1 = Power = 3000
V = 13
Value = 1
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveType != H && StateNo != 5120
TriggerAll = StateNo != [3000,3199]
Trigger1 = Var(13) = 1
Trigger1 = Power = 0
V = 13
Value = 2
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = MoveType != H && StateNo != 5120
TriggerAll = StateNo != [3000,3199]
Trigger1 = Var(13) = 2
Trigger1 = Power >= 1
V = 13
Value = 0
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = Var(13) = 1
Trigger1 = Power = 3000
V = 49
Value = (Power)
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
TriggerAll = Var(49) > Power
Trigger1 = Var(13) = 1
Trigger2 = Var(13) = -1 || Var(14) = 1
V = 49
Value = (Power)
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarAdd
TriggerAll = RoundState = 2
Trigger1 = Var(13) = 1
Trigger2 = Var(13) = -1 || Var(14) = 1
Trigger2 = StateNo != 990
V = 49
Value = -5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = PowerSet
TriggerAll = Var(13) != 0 || Var(14) != 0
Trigger1 = 1
IgnoreHitPause = 1
Value = Var(49)

[State -2]
Type = PowerSet
TriggerAll = MoveType != H && StateNo != 5120
TriggerAll = StateNo != [3000,3199]
Trigger1 = Var(13) = 2
Value = 2000
IgnoreHitPause = 1

[State -2]
Type = PowerAdd
Trigger1 = Var(15) = 10
Trigger1 = Var(13) != -1
Value = 9999
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = VarSet
TriggerAll = MoveType != H && StateNo != 5120
TriggerAll = StateNo != [3000,3199]
Trigger1 = Var(14) = 1
Trigger1 = Power = 0
V = 14
Value = 0
IgnoreHitPause = 1

[State -2]
Type = LifeAdd
TriggerAll = Life < FVar(9)
TriggerAll = Alive && Life > 0 && !LoseKO && RoundState = 2
Trigger1 = Var(14) = 1
Trigger1 = GameTime % 2 = 0
Trigger1 = MoveType != H && StateNo != 5120
Value = 1
IgnoreHitPause = 1

;---------------------------------------------------------------------------
;僽儔僢僪僸乕僩
[State -2]
Type = VarSet
TriggerAll = MoveType != H && StateNo != 5120
TriggerAll = StateNo != [3000,3199]
Trigger1 = Var(13) = -1
Trigger1 = Power = 0
V = 13
Value = 0
IgnoreHitPause = 1

[State -2]
Type = LifeAdd
TriggerAll = Life < FVar(9)
TriggerAll = Alive && Life > 0 && !LoseKO && RoundState = 2
Trigger1 = Var(13) = -1
Trigger1 = GameTime % 1 = 0
Trigger1 = MoveType != H && StateNo != 5120
Value = 1
IgnoreHitPause = 1

;---------------------------------------------------------------------------
;師儔僂儞僪偱偺僷儚乕帩偪墇偟
[State -2]
Type = PowerSet
Trigger1 = RoundState = 0
Trigger1 = Var(13) >= 1
Value = 2000

[State -2]
Type = PowerSet
Trigger1 = Var(14) >= 1 || Var(13) <= -1
Trigger1 = RoundState = 0
Value = 0

[State -2]
Type = PowerSet
Trigger1 = Var(13) >= 1
Trigger1 = RoundState = 0
Value = 2000

[State -2]
Type = VarRangeSet
Trigger1 = Var(14) >= 1 || Var(13) != 0
Trigger1 = RoundState = 0
Value = 0
First = 13
Last = 14

;---------------------------------------------------------------------------
;償傽僀僞儖僜乕僗
[State -2]
Type = VarSet
Trigger1 = 1
IgnoreHitPause = 1
FV = 8
Value = 0.1*Var(32)
 
[State -2]
Type = VarRandom
Trigger1 = RoundState = 2
Trigger1 = Time%10    = 0
IgnoreHitPause = 1
V = 32
Range = 10,13
 
[State -2]
Type = VarSet
Trigger1 = (100*Life/Const(Data.Life)) > 75
IgnoreHitPause = 1
V = 33
Value = 0
 
[State -2]
Type = VarSet
Trigger1 = (100*Life/Const(Data.Life)) = [51,75]
IgnoreHitPause = 1
V = 33
Value = 1
 
[State -2]
Type = VarSet
Trigger1 = (100*Life/Const(Data.Life)) = [26,50]
IgnoreHitPause = 1
V = 33
Value = 2
 
[State -2]
Type = VarSet
Trigger1 = (100*Life/Const(Data.Life)) <= 25
IgnoreHitPause = 1
V = 33
Value = 3
 
[State -2]
Type = VarSet
Trigger1 = Var(35) != (Life)
Trigger1 = (Life)-(Var(35)) < 0
IgnoreHitPause = 1
V = 34
Value = (Life)-(Var(35))
 
[State -2]
Type = VarSet
Trigger1 = Var(35) = (Life)
Trigger2 = (Life)-(Var(35)) >= 0
IgnoreHitPause = 1
V = 34
Value = 0
 
[State -2]
Type = VarSet
Trigger1 = Var(35) != (Life)
Trigger1 = 1
IgnoreHitPause = 1
V = 35
Value = (Life)
 
[State -2]
Type = VarSet
Trigger1 = RoundState = 0
IgnoreHitPause = 1
FV = 9
Value = (Life)

[State -2]
Type = VarAdd
Trigger1 = Var(34) < Const(Data.Life)
IgnoreHitPause = 1
FV = 9
Value = 0.60*FVar(8)*Var(34)*(1/(1+0.03125*(GetHitVar(HitCount)+Var(33)-1)))

[State -2]
Type = VarAdd
TriggerAll = FVar(9) > Life
Trigger1 = StateNo = 150
Trigger2 = StateNo = 152
Trigger3 = StateNo = 154
IgnoreHitPause = 1
FV = 9
Value = -0.1

[State -2]
Type = VarSet
TriggerAll = RoundState = [1,2]
Trigger1 = FVar(9) < Life
IgnoreHitPause = 1
FV = 9
Value = Life

;------------------------------------------------------------------------------------------
;儖乕僾僐儞儃惂尷
[State -2]
Type = VarSet
TriggerAll = Var(25)%10 < 3
Trigger1 = NumTarget(5600) > 0
Trigger1 = Target(5600),Time = 1
Trigger1 = Target(5600),StateNo = 5600
V = 25
Value = Var(25)/10%10 + 1
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = NumTarget(5600) > 0
Trigger1 = Target(5600),Time = 1
Trigger1 = Target(5600),StateNo = 5602 || Target(5600),StateNo = 5603
V = 25
Value = Var(25) + Var(25)%10*10
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 990
V = 25
Value = 103
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 950
V = 25
Value = 133
IgnoreHitPause = 1

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = NumExplod(21800) = 0
TriggerAll = NumExplod(21700) > 0
TriggerAll = RoundState = 2
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo = [5200,5201]
Anim = 21800+Var(25)/10%10-1
PosType = Left
Pos = IfElse(TeamSide = 1,68,221), 90
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21800

[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = NumExplod(21500) > 0
Trigger2 = NumExplod(21600) > 0
Trigger3 = NumExplod(21700) > 0
Trigger4 = NumExplod(21800) > 0
IgnoreHitPause = 1
ID = 21700

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = Var(25)/100%10 = 0
TriggerAll = Var(25)%10 = 1 && Var(25)/10%10 = 1 || Var(25)%10 > 1
TriggerAll = NumExplod(21700) = 0
Trigger1 = RoundState = 2
Trigger1 = EnemyNear,Life > 1
Anim = IfElse(Var(25)/10%10=0,21700+Var(25)%10-2,21700+Var(25)/10%10-1)
PosType = Left
Pos = IfElse(TeamSide = 1,68,221), 90
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21700

[State -2]
Type = VarSet
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo = [5200,5210]
V = 25
Value = 0
IgnoreHitPause = 1

;------------------------------------------------------------------------------------------
;僈乕僪僉儍儞僙儖僶儞僇乕僉儍儞僙儖僗僀僢僠
[State -2]
Type = VarSet
Trigger1 = MoveType = H
Trigger2 = StateNo  != 930
IgnoreHitPause = 1
V = 45
Value = 0

;---------------------------------------------------------------------------
;僞僀儉僇僂儞僩
[State -2]
Type = VarAdd
Trigger1 = RoundState = 2
Trigger1 = 1
IgnoreHitPause = 1
V = 46
Value = 1

[State -2]
Type = VarSet
Trigger1 = RoundState != 2
Trigger2 = Var(46)     = 60
IgnoreHitPause = 1
V = 46
Value = 0

;---------------------------------------------------------------------------
;僟僂儞捛偄懪偪敾掕
[State -2]
Type = VarSet
TriggerAll = Var(50) != 1
Trigger1 = RoundState != 2
Trigger2 = P2MoveType != H
Trigger2 = P2StateType != L
Trigger3 = P2StateNo = 5120
IgnoreHitPause = 1
V = 50
Value = 1

[State -2]
Type = VarSet
Trigger1 = P2MoveType = H
Trigger1 = P2StateType = L
IgnoreHitPause = 1
V = 50
Value = 2

[State -2]
Type = VarSet
Trigger1 = Var(50) = 2
Trigger1 = StateNo = 200 || StateNo = 400 || StateNo = 600
IgnoreHitPause = 1
FV = 25
Value = -1.9375 + 0.03125 * (Var(4))

[State -2]
Type = VarSet
Trigger1 = Var(50) = 2
Trigger1 = StateNo = 210 || StateNo = 230 || StateNo = 410 || StateNo = 610
IgnoreHitPause = 1
FV = 25
Value = -2.25 + 0.03125 * (Var(4))

[State -2]
Type = VarSet
TriggerAll = Var(50) = 2
Trigger1 = StateNo = 220
Trigger2 = StateNo = [420,439]
Trigger3 = StateNo = [620,639]
IgnoreHitPause = 1
FV = 25
Value = -2.5625 + 0.03125 * (Var(4))

[State -2]
Type = VarSet
Trigger1 = Var(50) = 2
Trigger1 = StateNo != [200,639]
Trigger1 = MoveType = A
IgnoreHitPause = 1
FV = 25
Value = -2.875 + 0.03125 * (Var(4))

[State -2]
Type = VarSet
Trigger1 = Var(50) = 1
IgnoreHitPause = 1
FV = 25
Value = 0

;------------------------------------------------------------------
;儕僶乕僒儖傾僞僢僋
[State -2]
Type = VarSet
Trigger1 = StateNo != 5120
Trigger1 = Time = 2
V = 12
Value = 0
IgnoreHitPause = 1

[State -2]
Type = NotHitBy
TriggerAll = Var(12) >= 990
Trigger1 = StateNo = 5120
Trigger1 = AnimTime = 0
Value = SCA, NT, ST, HT ,NA, SA, HA ,NP, SP, HP
Time = 6

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(0)/100%10 = 1
TriggerAll = Command = "222z"
TriggerAll = Var(12) = 0
TriggerAll = AnimTime >= -8
TriggerAll = StateNo = 5120
Trigger1 = Var(13) = 1
Trigger2 = Power >= 1000
Trigger2 = Var(13) = 0
Trigger2 = Var(14) = 0
V = 12
Value = 990
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(0)/100%10 = 0
TriggerAll = Command = "abc" || Command = "x" && Command != "holddown" && Command != "holdfwd" && Command != "holdback"
TriggerAll = Var(12) = 0
TriggerAll = AnimTime >= -6
TriggerAll = StateNo = 5120
Trigger1 = Var(13) = 1
Trigger2 = Power >= 1000
Trigger2 = Var(13) = 0
Trigger2 = Var(14) = 0
V = 12
Value = 990
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "41236c"
TriggerAll = StateNo = 5120
TriggerAll = AnimTime >= -8
TriggerAll = Var(12) = 0
Trigger1 = Var(13) = 1 || Var(14) = 1
V = 12
Value = 3000
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "41236c"
TriggerAll = StateNo = 5120
TriggerAll = AnimTime >= -8
TriggerAll = Var(12) = 0
Trigger1 = Var(13) = -1
V = 12
Value = 3050
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "623a" || Command = "623b" 
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -6
TriggerAll = Var(12) = 0
V = 12
Value = IfElse(Command = "623a",1300,1310)
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "623c"
TriggerAll = StateNo = 5120
TriggerAll = AnimTime >= -6
TriggerAll = Var(12) = 0
Trigger1 = Power >= 1000
Trigger1 = Var(13) = 0
Trigger2 = Var(13) = 1 || Var(13) = -1 || Var(14) = 1
V = 12
Value = 2300
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "421a" || Command = "421b" || Command = "421c"
TriggerAll = Var(12) = 0
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -6
V = 12
Value = IfElse(Command = "421a",1000,IfElse(Command = "421b",1400,1410))
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "236a" || Command = "236b"
TriggerAll = Var(12) = 0
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -6
V = 12
Value = IfElse(Command = "236a",1100,1150)
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "236c"
TriggerAll = StateNo = 5120
TriggerAll = AnimTime >= -6
TriggerAll = Var(12) = 0
Trigger1 = Power >= 1000
Trigger1 = Var(13) = 0
Trigger2 = Var(13) = 1 || Var(13) = -1 || Var(14) = 1
V = 12
Value = 2100
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "214a" || Command = "214b"
TriggerAll = Var(12) = 0
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -6
V = 12
Value = IfElse(Command = "214a",1500,1510)
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Command = "214c"
TriggerAll = StateNo = 5120
TriggerAll = AnimTime >= -6
TriggerAll = Var(12) = 0
Trigger1 = Power >= 1000
Trigger1 = Var(13) = 0
Trigger2 = Var(13) = 1 || Var(13) = -1 || Var(14) = 1
V = 12
Value = 2500
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "214z"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -6
V = 12
Value = 930
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "holdup"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -2
V = 12
Value = 40
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "FF" || Command = "holdfwd" && Command = "ab" && Command != "holddown" && Command != "holdup"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -5
V = 12
Value = 100
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "BB" || Command = "holdback" && Command = "ab" && Command != "holddown" && Command != "holdup"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -5
V = 12
Value = 105
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "holddown"
TriggerAll = Command != "holdfwd" && Command != "holdback"
TriggerAll = Command = "ab" || Command = "x"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 750
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(0)/100%10 = 1
TriggerAll = Var(12) = 0
TriggerAll = Command = "c"
TriggerAll = StateNo = 5120
TriggerAll = AnimTime >= -2
Trigger1 = Command = "holdfwd"
Trigger1 = P2BodyDist X < 4
Trigger1 = (P2StateType = S) || (P2StateType = C)
Trigger1 = P2MoveType != H
Trigger2 = Command = "holdback"
Trigger2 = P2BodyDist X < 5
Trigger2 = (P2StateType = S) || (P2StateType = C)
Trigger2 = P2MoveType != H
V = 12
Value = 800
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(0)/100%10 = 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "az" || Command = "x" && Command != "holddown"
TriggerAll = StateNo = 5120
TriggerAll = AnimTime >= -3
Trigger1 = Command = "holdfwd"
Trigger2 = Command = "holdback"
V = 12
Value = 800
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command != "holddown"
TriggerAll = Command = "z" || Command = "x"
TriggerAll = Command != "222z"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 900
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "holddown"
TriggerAll = Command = "z" || Command = "x"
TriggerAll = Command != "222z"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 910
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "a"
TriggerAll = Command != "holddown"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 200
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "b"
TriggerAll = Command != "holddown"
TriggerAll = Command != "holdback"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 210
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "c"
TriggerAll = Command != "holddown"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 220
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "b"
TriggerAll = Command != "holddown"
TriggerAll = Command = "holdback"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 230
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "a"
TriggerAll = Command = "holddown"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 400
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "b"
TriggerAll = Command = "holddown"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 410
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "c"
TriggerAll = Command = "holddown"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 420
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = Var(59) <= 0
TriggerAll = Var(12) = 0
TriggerAll = Command = "start"
Trigger1 = StateNo = 5120
Trigger1 = AnimTime >= -3
V = 12
Value = 195
IgnoreHitPause = 1

[State -2]
Type = Turn
TriggerAll = Var(12) >= 1
TriggerAll = P2Dist X < 0
Trigger1 = StateNo = 5120
Trigger1 = AnimTime = 0

[State -2]
Type = Helper
TriggerAll = Var(0)%10 = 0
TriggerAll = NumHelper(7620) = 0
TriggerAll = Var(12) >= 990
Trigger1 = StateNo = 5120
Trigger1 = AnimTime = 0
StateNo = 7600
PosType = P1
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999
SprPriority = 5
ID = 7620

[State -2]
Type = Helper
TriggerAll = Var(0)%10 = 0
TriggerAll = NumHelper(7621) = 0
TriggerAll = Var(12) >= 990
Trigger1 = StateNo = 5120
Trigger1 = AnimTime = 0
StateNo = 7600
PosType = P1
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999
SprPriority = 5
ID = 7621

[State -2]
Type = Helper
TriggerAll = Var(0)%10 = 0
TriggerAll = NumHelper(7622) = 0
TriggerAll = Var(12) >= 990
Trigger1 = StateNo = 5120
Trigger1 = AnimTime = 0
StateNo = 7600
PosType = P1
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999
SprPriority = 5
ID = 7622

[State -2]
Type = ChangeState
TriggerAll = Var(12) >= 1
Trigger1 = StateNo = 5120
Trigger1 = AnimTime = 0
Value = Var(12)

;------------------------------------------------------------------
;僸僢僩僄僼僃僋僩
[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6000) = 0
Trigger1 = PrevStateNo = 200
Trigger2 = StateNo = 200
Trigger2 = NumTarget(200) > 0
Trigger2 = Target(200),Time = 0
StateNo = 6000
ID = 6000
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-65-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6000) = 0
Trigger1 = PrevStateNo = 200
Trigger2 = StateNo = 200
Trigger2 = StateNo = 200
Trigger2 = NumTarget(201) > 0
Trigger2 = Target(201),Time = 0
StateNo = 6000
ID = 6000
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-45-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6001) = 0
Trigger1 = PrevStateNo = 210
Trigger2 = StateNo = 210
Trigger2 = NumTarget(210) > 0
Trigger2 = Target(210),Time = 0
StateNo = 6000
ID = 6001
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-35-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6001) = 0
Trigger1 = PrevStateNo = 210
Trigger2 = StateNo = 210
Trigger2 = NumTarget(211) > 0
Trigger2 = Target(211),Time = 0
StateNo = 6000
ID = 6001
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-45-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6001) = 0
Trigger1 = PrevStateNo = 210
Trigger2 = StateNo = 210
Trigger2 = NumTarget(212) > 0
Trigger2 = Target(212),Time = 0
StateNo = 6000
ID = 6001
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-55-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 220
Trigger2 = StateNo = 220
Trigger2 = NumTarget(220) > 0
Trigger2 = Target(220),Time = 0
Trigger3 = StateNo = 220
Trigger3 = NumTarget(222) > 0
Trigger3 = Target(222),Time = 0
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-30-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 220
Trigger2 = StateNo = 220
Trigger2 = NumTarget(221) > 0
Trigger2 = Target(221),Time = 0
Trigger3 = StateNo = 220
Trigger3 = NumTarget(223) > 0
Trigger3 = Target(223),Time = 0
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-50-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 220
Trigger2 = StateNo = 220
Trigger2 = NumTarget(224) > 0
Trigger2 = Target(224),Time = 0
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-70-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6001) = 0
Trigger1 = PrevStateNo = 230
Trigger2 = StateNo = 230
StateNo = 6000
ID = 6001
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-75-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6000) = 0
Trigger1 = PrevStateNo = 400
Trigger2 = StateNo = 400
StateNo = 6000
ID = 6000
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-15-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6001) = 0
Trigger1 = PrevStateNo = 410
Trigger2 = StateNo = 410
StateNo = 6000
ID = 6001
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-20-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6000) = 0
Trigger1 = PrevStateNo = 600
Trigger2 = StateNo = 600
StateNo = 6000
ID = 6000
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-55-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6001) = 0
Trigger1 = PrevStateNo = 610
Trigger2 = StateNo = 610
StateNo = 6000
ID = 6001
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-45-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 620
Trigger2 = StateNo = 620
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-70+Ceil(P2BodyDist Y/6)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 630
Trigger2 = StateNo = 630
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-45-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 905
Trigger2 = StateNo = 905
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-60-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6003) = 0
Trigger1 = PrevStateNo = 932
Trigger2 = StateNo = 932
StateNo = 6003
ID = 6003
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-80-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 950 || PrevStateNo = 990
Trigger2 = StateNo = 990
Trigger2 = NumTarget(5600) > 0
Trigger2 = Target(5600),Time = 0
Trigger3 = StateNo = 950
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-45-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6001) = 0
Trigger1 = PrevStateNo = 1300 || PrevStateNo = 1302 || PrevStateNo = 1310
Trigger2 = StateNo = 1300 || StateNo = 1302 || StateNo = 1310
Trigger2 = NumTarget(1300) > 0
Trigger2 = Target(1300),Time = 0
StateNo = 6000
ID = 6001
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-50-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = StateNo = 1300 || StateNo = 1302 || StateNo = 1310
Trigger1 = NumTarget(1301) > 0
Trigger1 = Target(1301),Time = 0
Trigger2 = StateNo = 1310 || StateNo = 2300
Trigger2 = NumTarget(5600) > 0
Trigger2 = Target(5600),Time = 0
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-70-Ceil(P2BodyDist Y)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6002) = 0
Trigger1 = PrevStateNo = 2300
Trigger2 = StateNo = 2300
Trigger2 = NumTarget(2300) > 0
Trigger2 = Target(2300),Time = 0
StateNo = 6000
ID = 6002
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-45+Ceil(P2BodyDist Y/4)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Helper
TriggerAll = MoveHit = 1
TriggerAll = P2MoveType = H
Trigger1 = MoveType = H
Trigger1 = Time = 0
Trigger1 = NumHelper(6003) = 0
Trigger1 = PrevStateNo = 2100
Trigger2 = StateNo = 2100
Trigger2 = NumTarget(2100) > 0
Trigger2 = Target(2100),Time = 0
Trigger3 = StateNo = 2100
Trigger3 = NumTarget(2101) > 0
Trigger3 = Target(2101),Time = 0
StateNo = 6003
ID = 6003
PosType = P2
Pos = IfElse(MoveType=H,Ceil(P2Dist X/2),0),-45+Ceil(P2BodyDist Y/4)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;------------------------------------------------------------------
;僇僂儞僞乕僄僼僃僋僩
[State -2]
Type = Explod
TriggerAll = Var(0)%10 = 0
TriggerAll = NumExplod(6500) = 0
TriggerAll = Alive
Trigger1 = P2MoveType = H && P2StateNo != [120,159]
Trigger1 = Var(38) = 1
Anim = 6500
PosType = P2
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 5
ID = 6500

;------------------------------------------------------------------
;憡嶦
[State -2]
Type = Null;ReversalDef
TriggerAll = MoveContact = 0
Trigger1 = P2MoveType = A
Trigger1 = EnemyNear,HitDefAttr = SCA, NA,SA,NP,SP
Trigger1 = StateNo = [210,749]
Trigger1 = StateNo != 400
Trigger1 = StateNo != 600
Reversal.Attr = SCA, NA,SA,NP,SP
NumHits = 0
Pausetime = 10,10
SparkNo = -1
Guard.SparkNo = -1
GetPower = IfElse(FVar(16)=0,0,20),0
HitSound = s901,IfElse((Var(26)=[2,3]),0,10)+IfElse(Random<500,1,0)

[State -2]
Type = Null;Helper
Trigger1 = P2MoveType = A
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 210
StateNo = 956
ID = 956
PosType = P1
Pos = Ceil(P2Dist X/2),-5-(Time*4)+Ceil(P2BodyDist Y/2)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Null;Helper
Trigger1 = P2MoveType = A
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 220
StateNo = 956
ID = 956
PosType = P1
Pos = Ceil(P2Dist X/2),-70+Ceil(P2BodyDist Y/2)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Null;Helper
Trigger1 = P2MoveType = A
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 230
StateNo = 956
ID = 956
PosType = P1
Pos = Ceil(P2Dist X/2),-80+Ceil(P2BodyDist Y/2)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Null;Helper
Trigger1 = P2MoveType = A
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 410
StateNo = 956
ID = 956
PosType = P1
Pos = Ceil(P2Dist X/2),-35+Ceil(P2BodyDist Y/2)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Null;Helper
Trigger1 = P2MoveType = A
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 610
StateNo = 956
ID = 956
PosType = P1
Pos = Ceil(P2Dist X/2),-60+Ceil(P2BodyDist Y/2)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Null;Helper
Trigger1 = P2MoveType = A
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 620
StateNo = 956
ID = 956
PosType = P1
Pos = Ceil(P2Dist X/2),-55+Ceil(P2BodyDist Y/2)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Null;Helper
Trigger1 = P2MoveType = A
Trigger1 = MoveHit = 1
Trigger1 = StateNo = 630
StateNo = 956
ID = 956
PosType = P1
Pos = Ceil(P2Dist X/2),-55+Ceil(P2BodyDist Y/2)
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;------------------------------------------------------------------------------------------
;僇僂儞僞乕昞帵
[State -2]
Type = VarSet
Trigger1 = Var(39) = 0
Trigger1 = EnemyNear,HitDefAttr = SCA, AA, AP, AT
V = 39
Value = 1+EnemyNear,Time*10
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = RemoveExplod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = P2MoveType = H && P2StateNo != [120,159]
Trigger1 = Var(38) = 1
Trigger1 = NumExplod(20000) > 0
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20000

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = Alive
Trigger1 = P2MoveType = H && P2StateNo != [120,159]
Trigger1 = Var(38) = 1
Trigger1 = NumExplod(20000) = 0
Anim = IfElse(TeamSide=1,20000,20001)+IfElse(Var(39)/10%10>0,2,0)
PosType = Left
Pos = IfElse(TeamSide=1,-15,347), 90
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20000

[State -2]
Type = VarSet
Trigger1 = Var(41) != 0
IgnoreHitPause = 1
V = 41
Value = 0

[State -2]
Type = VarSet
Trigger1 = Var(41) = 0
Trigger1 = Var(50) = 1
Trigger1 = P2StateType = A
IgnoreHitPause = 1
V = 41
Value = 1

[State -2]
Type = VarAdd
TriggerAll = Var(38) = 1
Trigger1 = StateNo = 200 || StateNo = 400 || StateNo = 600 || StateNo = 630 || StateNo = 950
Trigger2 = StateNo = 990 || StateNo = 1302 || StateNo = 1310 || StateNo = 2300
IgnoreHitPause = 1
V = 41
Value = 3+IfElse(Var(39)/10%10>0,4,0)

[State -2]
Type = VarAdd
TriggerAll = Var(38) = 1
Trigger1 = StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 410 || StateNo = 610
Trigger2 = StateNo = 620 || StateNo = 1100 || StateNo = 1300
IgnoreHitPause = 1
V = 41
Value = 4+IfElse(Var(39)/10%10>0,5,0)

[State -2]
Type = VarAdd
TriggerAll = Var(38) = 1
Trigger1 = StateNo = 932
IgnoreHitPause = 1
V = 41
Value = 5+IfElse(Var(39)/10%10>0,6,0)

[State -2]
Type = VarSet
TriggerAll = P2MoveType = A
Trigger1 = StateNo != [800, 830]
V = 38
Value = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
TriggerAll = Var(38) = 1
Trigger1 = P2MoveType != A
Trigger2 = StateNo = [800, 830]
V = 38
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
TriggerAll = Var(39)/10%10 > 0
Trigger1 = EnemyNear,HitDefAttr = SCA, NA
Trigger1 = EnemyNear,Time - Var(39)/10 >= 5
Trigger2 = EnemyNear,HitDefAttr = SCA, SA
Trigger2 = EnemyNear,Time - Var(39)/10 >= 8
Trigger3 = EnemyNear,HitDefAttr = SCA, HA, AP
Trigger3 = EnemyNear,Time - Var(39)/10 >= 10
Trigger4 = EnemyNear,HitDefAttr = SCA, NT
Trigger4 = EnemyNear,Time - Var(39)/10 >= 1
Trigger5 = EnemyNear,HitDefAttr = SCA, ST, HT
Trigger5 = EnemyNear,Time - Var(39)/10 >= 2
V = 39
Value = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 =! EnemyNear,HitDefAttr = SCA, AA, AP, AT
V = 39
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;------------------------------------------------------------------------------------------
;僋儕僥傿僇儖昞帵
[State -2]
Type = RemoveExplod
TriggerAll = P2MoveType = H
TriggerAll = NumExplod(20004) = 1
TriggerAll = Var(5) = 31
Trigger1 = MoveHit = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20004

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = P2MoveType = H
TriggerAll = NumExplod(20004) = 0
TriggerAll = Var(5) = 31
Trigger1 = MoveHit = 1
Trigger2 = NumHelper(421) > 0
Trigger2 = Helper(421),MoveHit
Trigger3 = NumHelper(10926) > 0
Trigger3 = Helper(10926),MoveHit
Trigger4 = NumHelper(1010) > 0
Trigger4 = Helper(1010),MoveHit
Trigger5 = NumHelper(1011) > 0
Trigger5 = Helper(1011),MoveHit
Trigger6 = NumHelper(1415) > 0
Trigger6 = Helper(1415),MoveHit
Trigger7 = NumHelper(1505) > 0
Trigger7 = Helper(1505),MoveHit
Trigger8 = NumHelper(1515) > 0
Trigger8 = Helper(1515),MoveHit
Trigger9 = NumHelper(2505) > 0
Trigger9 = Helper(2505),MoveHit
Trigger10 = NumHelper(11000) > 0
Trigger10 = Helper(11000),MoveHit
Trigger11 = NumHelper(11001) > 0
Trigger11 = Helper(11001),MoveHit
Trigger12 = NumHelper(11010) > 0
Trigger12 = Helper(11010),MoveHit
Trigger13 = NumHelper(12106) > 0
Trigger13 = Helper(12106),MoveHit
Trigger14 = NumHelper(12200) > 0
Trigger14 = Helper(12200),MoveHit
Trigger15 = NumHelper(12201) > 0
Trigger15 = Helper(12201),MoveHit
Trigger16 = NumHelper(12202) > 0
Trigger16 = Helper(12202),MoveHit
Trigger17 = NumHelper(12203) > 0
Trigger17 = Helper(12203),MoveHit
Trigger18 = NumHelper(12204) > 0
Trigger18 = Helper(12204),MoveHit
Trigger19 = NumHelper(12205) > 0
Trigger19 = Helper(12205),MoveHit
Trigger20 = NumHelper(12206) > 0
Trigger20 = Helper(12206),MoveHit
Trigger21 = NumHelper(3006) > 0
Trigger21 = Helper(3006),MoveHit
Trigger22 = NumHelper(3056) > 0
Trigger22 = Helper(3056),MoveHit
Trigger23 = NumHelper(3105) > 0
Trigger23 = Helper(3105),MoveHit
Anim = IfElse(TeamSide=1,20004,20005)
PosType = Left
Pos = IfElse(TeamSide=1,-15,350), 81
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20004

[State -2]
Type = VarSet
Trigger1 = Var(5)   != 0
Trigger1 = MoveType != A
Trigger1 = NumHelper(421) = 0
Trigger1 = NumHelper(10926) = 0
Trigger1 = NumHelper(1010) = 0
Trigger1 = NumHelper(1011) = 0
Trigger1 = NumHelper(1415) = 0
Trigger1 = NumHelper(1505) = 0
Trigger1 = NumHelper(1515) = 0
Trigger1 = NumHelper(2505) = 0
Trigger1 = NumHelper(11000) = 0
Trigger1 = NumHelper(11001) = 0
Trigger1 = NumHelper(11010) = 0
Trigger1 = NumHelper(12106) = 0
Trigger1 = NumHelper(12200) = 0
Trigger1 = NumHelper(12201) = 0
Trigger1 = NumHelper(12202) = 0
Trigger1 = NumHelper(12203) = 0
Trigger1 = NumHelper(12204) = 0
Trigger1 = NumHelper(12205) = 0
Trigger1 = NumHelper(12206) = 0
Trigger1 = NumHelper(3006) = 0
Trigger1 = NumHelper(3056) = 0
Trigger1 = NumHelper(3105) = 0
IgnoreHitPause = 1
V = 5
Value = 0

;------------------------------------------------------------------------------------------
;僈乕僪(僶儞僇乕)僉儍儞僙儖昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = PrevStateNo = [150,159]
Trigger1 = StateNo = 930
Trigger1 = NumExplod(20006) = 0
Anim = IfElse(TeamSide=1,20006,20007)
PosType = Left
Pos = IfElse(TeamSide=1,-15,318), 108
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20006

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = MoveType != H
Trigger1 = PrevStateNo = 930
Trigger1 = StateNo != 932
Trigger1 = Time = 1
Trigger1 = NumExplod(20006) = 0
Anim = IfElse(TeamSide=1,20040,20041)
PosType = Left
Pos = IfElse(TeamSide=1,-15,318), 108
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20006

;------------------------------------------------------------------------------------------
;儕僶乕僒儖昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20008) = 0
TriggerAll = Var(12) != 0
Trigger1 = PrevStateNo = 5120
Trigger1 = PrevStateNo = 5120
Trigger1 = StateNo = [1,3999]
Trigger2 = StateNo = 5120
Trigger2 = AnimTime = -1
Trigger2 = Var(12) = 850
Anim = IfElse(TeamSide=1,20008,20009)
PosType = Left
Pos = IfElse(TeamSide=1,-15,346), 108
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20008

;------------------------------------------------------------------------------------------
;儕僶乕僗價乕僩昞帵
[State -2]
Type = RemoveExplod
TriggerAll = Time = 1
Trigger1 = StateNo = [200,419]
Trigger1 = PrevStateNo = 220
Trigger2 = StateNo = 200 || StateNo = 400
Trigger2 = PrevStateNo = 210
Trigger3 = StateNo = 200 || StateNo = 400
Trigger3 = PrevStateNo = 230
Trigger4 = StateNo = 200 || StateNo = 400
Trigger4 = PrevStateNo = 410
Trigger5 = StateNo = [600,619]
Trigger5 = PrevStateNo = 620
Trigger6 = StateNo = 600
Trigger6 = PrevStateNo = 610 || PrevStateNo = 820 && Var(21)/100 > 0 || PrevStateNo = 820 && Var(22)/100 > 0
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = IfElse(NumExplod(20010)=1,20010,20038)

[State -2]
Type = RemoveExplod
Trigger1 = Time = 1
Trigger1 = PrevStateNo = 200 || PrevStateNo = 400
Trigger1 = StateNo = 200 || StateNo = 400
Trigger2 = Time = 1
Trigger2 = PrevStateNo = 600
Trigger2 = StateNo = 600
Trigger3 = Time = 1
Trigger3 = MoveType != H
Trigger3 = StateNo != 900 && StateNo != 910 && StateNo != 920
Trigger3 = StateNo != 902 && StateNo != 912 && StateNo != 922
Trigger3 = StateNo != 0 && StateNo != 11 && StateNo != 52 && StateNo != 3100
Trigger3 = PrevStateNo = 902 || PrevStateNo = 912 || PrevStateNo = 922
Trigger4 = Time = 1
Trigger4 = MoveType != H
Trigger4 = StateNo != 900 && StateNo != 910 && StateNo != 920
Trigger4 = StateNo != 902 && StateNo != 912 && StateNo != 922
Trigger4 = StateNo != 0 && StateNo != 11 && StateNo != 52 && StateNo != 3100
Trigger4 = PrevStateNo = 900 || PrevStateNo = 910 || PrevStateNo = 920
Trigger5 = StateNo = 900 || StateNo = 902
Trigger5 = MoveHit = 1
Trigger5 = P2StateNo = [400,409]
Trigger6 = NumHelper(7640) > 0
Trigger6 = Time = 1
Trigger6 = MoveType != H
Trigger6 = PrevStateNo = 930 || StateNo = [39,40]
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = IfElse(NumExplod(20010)=1,20010,20038)

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20010) = 0
TriggerAll = Time = 1
Trigger1 = StateNo = [200,419]
Trigger1 = PrevStateNo = 220
Trigger2 = StateNo = 200 || StateNo = 400
Trigger2 = PrevStateNo = 210
Trigger3 = StateNo = 200 || StateNo = 400
Trigger3 = PrevStateNo = 230
Trigger4 = StateNo = 200 || StateNo = 400
Trigger4 = PrevStateNo = 410
Trigger5 = StateNo = [600,619]
Trigger5 = PrevStateNo = 620
Trigger6 = StateNo = 600
Trigger6 = PrevStateNo = 610 || PrevStateNo = 820 && Var(21)/100 > 0 || PrevStateNo = 820 && Var(22)/100 > 0
Anim = IfElse(TeamSide=1,20010,20011)
PosType = Left
Pos = IfElse(TeamSide=1,-15,327), 99
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20010

;------------------------------------------------------------------------------------------
;僸乕僩昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = Var(13) = 0
Trigger1 = StateNo = 990
Trigger1 = AnimElem = 3
Trigger1 = NumExplod(20012) = 0
Anim = IfElse(TeamSide=1,20012,20013)
PosType = Left
Pos = IfElse(TeamSide=1,-15,349), 126
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20012

;------------------------------------------------------------------------------------------
;僽儔僢僪僸乕僩昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = Var(13) = 1
Trigger1 = StateNo = 990
Trigger1 = AnimElem = 3
Trigger1 = NumExplod(20014) = 0
Anim = IfElse(TeamSide=1,20014,20015)
PosType = Left
Pos = IfElse(TeamSide=1,-15,308), 126
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20014

[State -2]
Type = RemoveExplod
Trigger1 = NumExplod(20016) = 1
Trigger1 = NumExplod(20014) = 1
ID = 20016

;------------------------------------------------------------------------------------------
;儅僢僋僗昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = Var(15) = 1
Trigger1 = NumExplod(20016) = 0
Anim = IfElse(TeamSide=1,20016,20017)
PosType = Left
Pos = IfElse(TeamSide=1,-15,357), 126
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20016

[State -2]
Type = PlaySnd
TriggerAll = Var(26) = 3
TriggerAll = RoundState = 2
Trigger1 = Var(15) = 1
Value = s28000, 0
Volume = 255
IgnoreHitPause = 1

[State -2]
Type = VarAdd
Trigger1 = Var(13) = 1
Trigger1 = Var(15) = [0,1]
V = 15
Value = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = VarSet
Trigger1 = Var(15) = [0,9]
Trigger1 = Var(13) = 0
Trigger1 = Var(14) = 0
V = 15
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

;------------------------------------------------------------------------------------------
;僀儞僶儕僢僪昞帵
[State -2]
Type = RemoveExplod
TriggerAll = Var(30) = 2
TriggerAll = NumExplod(20018) = 1
Trigger1 = MoveHit = 1
Trigger2 = NumHelper(421) > 0
Trigger2 = Helper(421),MoveHit = 1
Trigger3 = NumHelper(10926) > 0
Trigger3 = Helper(10926),MoveHit = 1
Trigger4 = NumHelper(1010) > 0
Trigger4 = Helper(1010),MoveHit = 1
Trigger5 = NumHelper(1011) > 0
Trigger5 = Helper(1011),MoveHit = 1
Trigger6 = NumHelper(1415) > 0
Trigger6 = Helper(1415),MoveHit = 1
Trigger7 = NumHelper(1505) > 0
Trigger7 = Helper(1505),MoveHit = 1
Trigger8 = NumHelper(1515) > 0
Trigger8 = Helper(1515),MoveHit = 1
Trigger9 = NumHelper(2505) > 0
Trigger9 = Helper(2505),MoveHit = 1
Trigger10 = NumHelper(11000) > 0
Trigger10 = Helper(11000),MoveHit = 1
Trigger11 = NumHelper(11001) > 0
Trigger11 = Helper(11001),MoveHit = 1
Trigger12 = NumHelper(11010) > 0
Trigger12 = Helper(11010),MoveHit = 1
Trigger13 = NumHelper(12106) > 0
Trigger13 = Helper(12106),MoveHit = 1
Trigger14 = NumHelper(12200) > 0
Trigger14 = Helper(12200),MoveHit = 1
Trigger15 = NumHelper(12201) > 0
Trigger15 = Helper(12201),MoveHit = 1
Trigger16 = NumHelper(12202) > 0
Trigger16 = Helper(12202),MoveHit = 1
Trigger17 = NumHelper(12203) > 0
Trigger17 = Helper(12203),MoveHit = 1
Trigger18 = NumHelper(12204) > 0
Trigger18 = Helper(12204),MoveHit = 1
Trigger19 = NumHelper(12205) > 0
Trigger19 = Helper(12205),MoveHit = 1
Trigger20 = NumHelper(12206) > 0
Trigger20 = Helper(12206),MoveHit = 1
Trigger21 = NumHelper(3006) > 0
Trigger21 = Helper(3006),MoveHit = 1
Trigger22 = NumHelper(3056) > 0
Trigger22 = Helper(3056),MoveHit = 1
Trigger23 = NumHelper(3105) > 0
Trigger23 = Helper(3105),MoveHit = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20018

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = Var(30) = 2
TriggerAll = NumExplod(20018) = 0
Trigger1 = MoveHit = 1
Trigger2 = NumHelper(421) > 0
Trigger2 = Helper(421),MoveHit = 1
Trigger3 = NumHelper(10926) > 0
Trigger3 = Helper(10926),MoveHit = 1
Trigger4 = NumHelper(1010) > 0
Trigger4 = Helper(1010),MoveHit = 1
Trigger5 = NumHelper(1011) > 0
Trigger5 = Helper(1011),MoveHit = 1
Trigger6 = NumHelper(1415) > 0
Trigger6 = Helper(1415),MoveHit = 1
Trigger7 = NumHelper(1505) > 0
Trigger7 = Helper(1505),MoveHit = 1
Trigger8 = NumHelper(1515) > 0
Trigger8 = Helper(1515),MoveHit = 1
Trigger9 = NumHelper(2505) > 0
Trigger9 = Helper(2505),MoveHit = 1
Trigger10 = NumHelper(11000) > 0
Trigger10 = Helper(11000),MoveHit = 1
Trigger11 = NumHelper(11001) > 0
Trigger11 = Helper(11001),MoveHit = 1
Trigger12 = NumHelper(11010) > 0
Trigger12 = Helper(11010),MoveHit = 1
Trigger13 = NumHelper(12106) > 0
Trigger13 = Helper(12106),MoveHit = 1
Trigger14 = NumHelper(12200) > 0
Trigger14 = Helper(12200),MoveHit = 1
Trigger15 = NumHelper(12201) > 0
Trigger15 = Helper(12201),MoveHit = 1
Trigger16 = NumHelper(12202) > 0
Trigger16 = Helper(12202),MoveHit = 1
Trigger17 = NumHelper(12203) > 0
Trigger17 = Helper(12203),MoveHit = 1
Trigger18 = NumHelper(12204) > 0
Trigger18 = Helper(12204),MoveHit = 1
Trigger19 = NumHelper(12205) > 0
Trigger19 = Helper(12205),MoveHit = 1
Trigger20 = NumHelper(12206) > 0
Trigger20 = Helper(12206),MoveHit = 1
Trigger21 = NumHelper(3006) > 0
Trigger21 = Helper(3006),MoveHit = 1
Trigger22 = NumHelper(3056) > 0
Trigger22 = Helper(3056),MoveHit = 1
Trigger23 = NumHelper(3105) > 0
Trigger23 = Helper(3105),MoveHit = 1
Anim = IfElse(TeamSide=1,20018,20019)
PosType = Left
Pos = IfElse(TeamSide=1,-15,355), 72
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20018

[State -2]
Type = VarAdd
Trigger1 = Var(30) = [0,1]
Trigger1 = P2StateType = A || P2StateType = L
Trigger1 = P2MoveType = H
Trigger1 = EnemyNear,HitFall = 1
Trigger1 = EnemyNear,CanRecover
V = 30
Value = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = VarSet
TriggerAll = Var(30) = 2
Trigger1 = P2MoveType = I || P2MoveType = A
Trigger2 =! EnemyNear,CanRecover
Trigger3 = EnemyNear,HitFall = 0
Trigger4 = P2StateNo = [5200,5210]
V = 30
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

;------------------------------------------------------------------------------------------
;僼傽乕僗僩傾僞僢僋昞帵
[State -2]
Type = VarSet
TriggerAll = Var(48) = 0
TriggerAll = P2MoveType = H && P2StateNo != [120,159]
Trigger1 = MoveHit = 1
Trigger2 = NumHelper(421) > 0
Trigger2 = Helper(421),MoveHit = 1
Trigger3 = NumHelper(10926) > 0
Trigger3 = Helper(10926),MoveHit = 1
Trigger4 = NumHelper(1010) > 0
Trigger4 = Helper(1010),MoveHit = 1
Trigger5 = NumHelper(1011) > 0
Trigger5 = Helper(1011),MoveHit = 1
Trigger6 = NumHelper(1415) > 0
Trigger6 = Helper(1415),MoveHit = 1
Trigger7 = NumHelper(1505) > 0
Trigger7 = Helper(1505),MoveHit = 1
Trigger8 = NumHelper(1515) > 0
Trigger8 = Helper(1515),MoveHit = 1
Trigger9 = NumHelper(2505) > 0
Trigger9 = Helper(2505),MoveHit = 1
Trigger10 = NumHelper(11000) > 0
Trigger10 = Helper(11000),MoveHit = 1
Trigger11 = NumHelper(11001) > 0
Trigger11 = Helper(11001),MoveHit = 1
Trigger12 = NumHelper(11010) > 0
Trigger12 = Helper(11010),MoveHit = 1
Trigger13 = NumHelper(12106) > 0
Trigger13 = Helper(12106),MoveHit = 1
Trigger14 = NumHelper(12200) > 0
Trigger14 = Helper(12200),MoveHit = 1
Trigger15 = NumHelper(12201) > 0
Trigger15 = Helper(12201),MoveHit = 1
Trigger16 = NumHelper(12202) > 0
Trigger16 = Helper(12202),MoveHit = 1
Trigger17 = NumHelper(12203) > 0
Trigger17 = Helper(12203),MoveHit = 1
Trigger18 = NumHelper(12204) > 0
Trigger18 = Helper(12204),MoveHit = 1
Trigger19 = NumHelper(12205) > 0
Trigger19 = Helper(12205),MoveHit = 1
Trigger20 = NumHelper(12206) > 0
Trigger20 = Helper(12206),MoveHit = 1
Trigger21 = NumHelper(3006) > 0
Trigger21 = Helper(3006),MoveHit = 1
Trigger22 = NumHelper(3056) > 0
Trigger22 = Helper(3056),MoveHit = 1
Trigger23 = NumHelper(3105) > 0
Trigger23 = Helper(3105),MoveHit = 1
V = 48
Value = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20020) = 0
Trigger1 = Var(48) = 1
Anim = IfElse(TeamSide=1,20020,20021)
PosType = Left
Pos = IfElse(TeamSide=1,-15,327), 72
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20020

[State -2]
Type = RemoveExplod
Trigger1 = NumExplod(20018) = 1
Trigger1 = NumExplod(20020) = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20020

[State -2]
Type = VarSet
Trigger1 = Var(48) = 0
Trigger1 = MoveType = H &&! GetHitVar(Guarded)
Trigger2 = Var(48) = 0
Trigger2 = NumPartner > 0
Trigger2 = Partner,MoveType = H &&! Partner,GetHitVar(Guarded)
Trigger3 = Var(48) = 0
Trigger3 = NumPartner > 0
Trigger3 = P2MoveType = H && P2StateNo != [120,159]
Trigger4 = Var(48) = 1
V = 48
Value = 2
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = VarSet
TriggerAll = Var(48) != 0
Trigger1 = RoundState = 0
V = 48
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

;------------------------------------------------------------------------------------------
;儕僇僶乕昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = StateNo = 5201 || StateNo = 5210
Trigger1 = Time = 1
Trigger1 = NumExplod(20022) = 0
Anim = IfElse(TeamSide=1,20022,20023)
PosType = Left
Pos = IfElse(TeamSide=1,-15,348), 108
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20022

;------------------------------------------------------------------------------------------
;僔乕儖僪昞帵
[State -2]
Type = RemoveExplod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20024) = 1
Trigger1 = StateNo = 902 || StateNo = 912 || StateNo = 922
Trigger1 = MoveHit = 1
Trigger1 = Var(2) = 0
Trigger2 = StateNo = 900 || StateNo = 910 || StateNo = 920
Trigger2 = MoveHit = 1
Trigger2 = Var(2) = 0
Trigger3 = StateNo = 750
Trigger3 = MoveHit = 1
Trigger4 = StateNo != [930,932]
Trigger4 = NumHelper(956) > 0
Trigger4 = MoveHit = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20024

[State -2]
Type = RemoveExplod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20026) = 1
Trigger1 = StateNo = 902 || StateNo = 912 || StateNo = 922
Trigger1 = MoveHit = 1
Trigger1 = Var(2) = 0
Trigger2 = StateNo = 900 || StateNo = 910 || StateNo = 920
Trigger2 = MoveHit = 1
Trigger2 = Var(2) = 0
Trigger3 = StateNo = 750
Trigger3 = MoveHit = 1
Trigger4 = StateNo != [930,932]
Trigger4 = NumHelper(956) > 0
Trigger4 = MoveHit = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20026

[State -2]
Type = RemoveExplod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20030) = 1
Trigger1 = StateNo = 902 || StateNo = 912 || StateNo = 922
Trigger1 = MoveHit = 1
Trigger1 = Var(2) = 0
Trigger2 = StateNo = 900 || StateNo = 910 || StateNo = 920
Trigger2 = MoveHit = 1
Trigger2 = Var(2) = 0
Trigger3 = StateNo = 750
Trigger3 = MoveHit = 1
Trigger4 = StateNo != [930,932]
Trigger4 = NumHelper(956) > 0
Trigger4 = MoveHit = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20030

[State -2]
Type = RemoveExplod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20034) = 1
Trigger1 = StateNo = 902 || StateNo = 912 || StateNo = 922
Trigger1 = MoveHit = 1
Trigger1 = Var(2) = 0
Trigger2 = StateNo = 900 || StateNo = 910 || StateNo = 920
Trigger2 = MoveHit = 1
Trigger2 = Var(2) = 0
Trigger3 = StateNo = 750
Trigger3 = MoveHit = 1
Trigger4 = StateNo != [930,932]
Trigger4 = NumHelper(956) > 0
Trigger4 = MoveHit = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20034

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = StateNo = 902 || StateNo = 912 || StateNo = 922
Trigger1 = MoveHit = 1
Trigger1 = NumExplod(20024) = 0
Anim = IfElse(TeamSide=1,20024,20025)
PosType = Left
Pos = IfElse(TeamSide=1,-15,356), 117
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20024

;------------------------------------------------------------------------------------------
;EX-僔乕儖僪昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = StateNo = 900 || StateNo = 910 || StateNo = 920
Trigger1 = MoveHit = 1
Trigger1 = NumExplod(20026) = 0
Anim = IfElse(TeamSide=1,20026,20027)
PosType = Left
Pos = IfElse(TeamSide=1,-15,342), 117
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20026

;------------------------------------------------------------------------------------------
;僔乕儖僪僇僂儞僞乕昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = MoveType != H
Trigger1 = StateNo = 905 || StateNo = 915 || StateNo = 925
Trigger1 = Time = 1
Trigger1 = NumExplod(20028) = 0
Anim = IfElse(TeamSide=1,20028,20029)
PosType = Left
Pos = IfElse(TeamSide=1,-15,319), 108
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20028

;------------------------------------------------------------------------------------------
;僄僗働乕僾昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = StateNo = 750
Trigger1 = MoveHit = 1
Trigger1 = NumExplod(20030) = 0
Anim = IfElse(TeamSide=1,20030,20031)
PosType = Left
Pos = IfElse(TeamSide=1,-15,351), 117
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20030

;------------------------------------------------------------------------------------------
;Ex-僉儍儞僙儖昞帵
[State -2]
Type = VarSet
TriggerAll =! MoveContact
Trigger1 = StateNo = 1100 && Time = 1
V = 27
Value = 1
IgnoreHitPause = 1

[State -2]
Type = VarSet
Trigger1 = StateNo = 1100 && AnimTime = 0
Trigger2 = Var(23)/10%10 = 1
Trigger3 = MoveType != A
Trigger4 = NumHelper(11000) > 0
Trigger4 = Helper(11000),MoveContact = 1
V = 27
Value = 0
IgnoreHitPause = 1

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20032) = 0
Trigger1 = Var(27) > 0
Trigger1 = PrevStateNo = 1100
Trigger1 = StateNo = [2000,3050]
Trigger1 = Time = 1
Anim = IfElse(TeamSide=1,20032,20033)
PosType = Left
Pos = IfElse(TeamSide=1,-15,336), 108
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20032

[State -2]
Type = Helper
TriggerAll = Var(0)%10 = 0
TriggerAll = NumHelper(7630) = 0
Trigger1 = Var(27) > 0
Trigger1 = PrevStateNo = 1100
Trigger1 = StateNo = [2000,3050]
Trigger1 = Time = 1
StateNo = 7600
PosType = P1
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999
SprPriority = 5
ID = 7630

[State -2]
Type = Helper
TriggerAll = Var(0)%10 = 0
TriggerAll = NumHelper(7631) = 0
Trigger1 = Var(27) > 0
Trigger1 = PrevStateNo = 1100
Trigger1 = StateNo = [2000,3050]
Trigger1 = Time = 1
StateNo = 7600
PosType = P1
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999
SprPriority = 5
ID = 7631

[State -2]
Type = Helper
TriggerAll = Var(0)%10 = 0
TriggerAll = NumHelper(7632) = 0
Trigger1 = Var(27) > 0
Trigger1 = PrevStateNo = 1100
Trigger1 = StateNo = [2000,3050]
Trigger1 = Time = 1
StateNo = 7600
PosType = P1
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999
SprPriority = 5
ID = 7632

;------------------------------------------------------------------------------------------
;僉儍儞僙儖傾僂僩昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = StateNo != [930,932]
Trigger1 = NumHelper(956) > 0
Trigger1 = MoveHit != 1
Trigger1 = NumExplod(20034) = 0
Anim = IfElse(TeamSide=1,20034,20035)
PosType = Left
Pos = IfElse(TeamSide=1,-15,333), 117
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20034

;------------------------------------------------------------------------------------------
;儘乕傾儖僩昞帵
[State -2]
Type = RemoveExplod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = PrevStateNo = 50
TriggerAll = Time = 1
TriggerAll = Var(11)/100%10 = 1
TriggerAll = NumExplod(20036) = 1
Trigger1 = StateNo = [110,115]
Trigger2 = StateNo = [1000,3099]
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
ID = 20036

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = PrevStateNo = 50
TriggerAll = Time = 1
TriggerAll = Var(11)/100%10 = 1
TriggerAll = NumExplod(20036) = 0
Trigger1 = StateNo = [110,115]
Trigger2 = StateNo = [1000,3099]
Anim = IfElse(TeamSide=1,20036,20037)
PosType = Left
Pos = IfElse(TeamSide=1,-15,345), 108
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20036

;------------------------------------------------------------------------------------------
;儕僶乕僗儁僫儖僥傿昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(20038) = 0
Trigger1 = Time = 1
Trigger1 = PrevStateNo = 200 || PrevStateNo = 400
Trigger1 = StateNo = 200 || StateNo = 400
Trigger2 = Time = 1
Trigger2 = PrevStateNo = 600
Trigger2 = StateNo = 600
Trigger3 = Time = 1
Trigger3 = MoveType != H
Trigger3 = StateNo != 900 && StateNo != 910 && StateNo != 920
Trigger3 = StateNo != 902 && StateNo != 912 && StateNo != 922
Trigger3 = StateNo != 0 && StateNo != 11 && StateNo != 52 && StateNo != 3100
Trigger3 = PrevStateNo = 902 || PrevStateNo = 912 || PrevStateNo = 922
Trigger4 = Time = 1
Trigger4 = MoveType != H
Trigger4 = StateNo != 900 && StateNo != 910 && StateNo != 920
Trigger4 = StateNo != 902 && StateNo != 912 && StateNo != 922
Trigger4 = StateNo != 0 && StateNo != 11 && StateNo != 52 && StateNo != 3100
Trigger4 = PrevStateNo = 900 || PrevStateNo = 910 || PrevStateNo = 920
Trigger5 = StateNo = 900 || StateNo = 902
Trigger5 = MoveHit = 1
Trigger5 = P2StateNo = [400,409]
Trigger6 = NumHelper(7640) > 0
Trigger6 = Time = 1
Trigger6 = MoveType != H
Trigger6 = PrevStateNo = 930 || StateNo = [39,40]
Anim = IfElse(TeamSide=1,20038,20039)
PosType = Left
Pos = IfElse(TeamSide=1,-15,315), 99
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20038

;------------------------------------------------------------------------------------------
;僒乕僉僢僩僗僷乕僋昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = StateNo = 950
Trigger1 = AnimElem = 3
Trigger1 = NumExplod(20042) = 0
Anim = IfElse(TeamSide=1,20042,20043)
PosType = Left
Pos = IfElse(TeamSide=1,-15,309), 126
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20042

;------------------------------------------------------------------------------------------
;僒乕僉僢僩僽儗僀僋昞帵
[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
Trigger1 = Var(51) = 599
Trigger1 = NumExplod(20044) = 0
Anim = IfElse(TeamSide=1,20044,20045)
PosType = Left
Pos = IfElse(TeamSide=1,-15,310), 136
Scale = 0.5,0.5
BindTime = -1
RemoveTime = -2
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 4
ID = 20044

;------------------------------------------------------------------------------------------
;僟儊乕僕僇僂儞僞乕
[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = NumExplod(21000) > 0
Trigger1 = NumExplod(21020) > 0
Trigger1 = RoundState = 2
IgnoreHitPause = 1
ID = 21020

[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = NumExplod(21100) > 0
Trigger1 = NumExplod(21120) > 0
Trigger1 = RoundState = 2
IgnoreHitPause = 1
ID = 21120

[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = NumExplod(21200) > 0
Trigger1 = NumExplod(21220) > 0
Trigger1 = RoundState = 2
IgnoreHitPause = 1
ID = 21220

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = NumExplod(21020) = 0
TriggerAll = NumExplod(21000) > 0
Trigger1 = P2MoveType != H
Trigger2 = RoundState = 4
Trigger3 = P2StateNo = [5200,5201]
Anim = 21020+Var(29)%10+IfElse(FVar(11)=1.00,0,100)
PosType = Left
Pos = IfElse(TeamSide = 1,60,222), 81
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21020

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = NumExplod(21120) = 0
TriggerAll = NumExplod(21100) > 0
Trigger1 = P2MoveType != H
Trigger2 = RoundState = 4
Trigger3 = P2StateNo = [5200,5201]
Anim = 21030+Var(29)/10%10+IfElse(FVar(11)=1.00,0,100)
PosType = Left
Pos = IfElse(TeamSide = 1,53,215), 81
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21120

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = NumExplod(21220) = 0
TriggerAll = NumExplod(21200) > 0
Trigger1 = P2MoveType != H
Trigger2 = RoundState = 4
Trigger3 = P2StateNo = [5200,5201]
Anim = 21030+Var(29)/100%10+IfElse(FVar(11)=1.00,0,100)
PosType = Left
Pos = IfElse(TeamSide = 1,46,208), 81
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21220

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = NumExplod(21600) = 0
TriggerAll = NumExplod(21500) > 0
Trigger1 = P2MoveType != H
Trigger2 = RoundState = 4
Trigger3 = P2StateNo = [5200,5201]
Anim = 21600
PosType = Left
Pos = IfElse(TeamSide = 1,68,201), 90
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21600

[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = RoundState <= 2
Trigger1 = NumExplod(21000) > 0
Trigger2 = RoundState >= 3
Trigger2 = NumExplod(21000) > 0
Trigger2 = NumExplod(21020) > 0
Trigger3 = RoundState = 3
Trigger3 = P2StateType = A
Trigger3 = NumExplod(21000) > 0
IgnoreHitPause = 1
ID = 21000

[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = RoundState <= 2
Trigger1 = NumExplod(21100) > 0
Trigger2 = RoundState >= 3
Trigger2 = NumExplod(21100) > 0
Trigger2 = NumExplod(21120) > 0
Trigger3 = RoundState = 3
Trigger3 = P2StateType = A
Trigger3 = NumExplod(21100) > 0
IgnoreHitPause = 1
ID = 21100

[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = RoundState <= 2
Trigger1 = NumExplod(21200) > 0
Trigger2 = RoundState >= 3
Trigger2 = NumExplod(21200) > 0
Trigger2 = NumExplod(21220) > 0
Trigger3 = RoundState = 3
Trigger3 = P2StateType = A
Trigger3 = NumExplod(21200) > 0
IgnoreHitPause = 1
ID = 21200

[State -2]
Type = RemoveExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
Trigger1 = NumExplod(21500) > 0
Trigger1 = NumExplod(21600) > 0
IgnoreHitPause = 1
ID = 21500

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo = [120,159]
Trigger3 = P2StateNo = [5200,5201]
V = 28
Value = P2Life
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = P2MoveType = H
TriggerAll = P2StateNo != [120,159]
TriggerAll = P2StateNo != [5200,5201]
Trigger1 = Var(28) > P2Life
Trigger1 = Var(4) > 1
V = 29
Value = Var(28)-P2Life
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo = [120,159]
Trigger3 = P2StateNo = [5200,5201]
V = 29
Value = 0
IgnoreHitPause = 1

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = P2MoveType = H
TriggerAll = RoundState != 4
TriggerAll = NumExplod(21000) = 0
Trigger1 = Var(29) > 0
Anim = 21000+Var(29)%10+IfElse(FVar(11)=1.00,0,100)
PosType = Left
Pos = IfElse(TeamSide = 1,60,222), 81
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21000

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = P2MoveType = H
TriggerAll = RoundState != 4
TriggerAll = NumExplod(21100) = 0
Trigger1 = Var(29) >= 10
Anim = 21010+Var(29)/10%10+IfElse(FVar(11)=1.00,0,100)
PosType = Left
Pos = IfElse(TeamSide = 1,53,215), 81
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21100

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = P2MoveType = H
TriggerAll = RoundState != 4
TriggerAll = NumExplod(21200) = 0
Trigger1 = Var(29) >= 100
Anim = 21010+Var(29)/100%10+IfElse(FVar(11)=1.00,0,100)
PosType = Left
Pos = IfElse(TeamSide = 1,46,208), 81
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21200

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10000%10 = 0
TriggerAll = Var(29) > 0
TriggerAll = NumExplod(21500) = 0
Trigger1 = RoundState = 3
Trigger1 = WinKO
Anim = 21500
PosType = Left
Pos = IfElse(TeamSide = 1,68,201), 90
Scale = 0.5,0.5
BindTime = -1
Ownpal = 1
IgnoreHitPause = 1
SprPriority = 4
ID = 21500

;------------------------------------------------------------------------------------------
;儗僨儏乕僗僟儊乕僕
[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22001) > 0
Trigger1 = P2MoveType = H
Trigger1 = Var(52) > P2Life
Trigger1 = P2StateNo != [120,159]
Trigger1 = P2StateNo != [5200,5219]
ID = 22001
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22015) > 0
Trigger1 = P2MoveType = H
Trigger1 = Var(52) > P2Life
Trigger1 = P2StateNo != [120,159]
Trigger1 = P2StateNo != [5200,5219]
ID = 22015
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22000) = 0
TriggerAll = NumExplod(22020) = 0 && NumExplod(22030) = 0
TriggerAll = RoundState != 4
Trigger1 = Var(52) > P2Life
Trigger1 = P2MoveType = H
Trigger1 = P2StateNo != [120,159]
Trigger1 = P2StateNo != [5200,5219]
Trigger2 = NumExplod(22002) > 0
Trigger2 = P2MoveType = H
Trigger2 = P2StateNo != [120,159]
Trigger2 = P2StateNo != [5200,5219]
Anim = 22000
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 210
BindTime = -1
RemoveTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 6
ID = 22000

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22010) = 0
TriggerAll = RoundState != 4
Trigger1 = Var(52) > P2Life
Trigger1 = P2MoveType = H
Trigger1 = P2StateNo != [120,159]
Trigger1 = P2StateNo != [5200,5219]
Anim = 22010
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,224,0), 198
BindTime = -1
RemoveTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 5
ID = 22010

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22000) > 0 || NumExplod(22002) > 0
TriggerAll = NumExplod(22001) = 0
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo = [5200,5219]
Trigger3 = RoundState = 4
Anim = 22001
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 210
BindTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 6
ID = 22001

[State -2]
Type = Explod
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22010) > 0
TriggerAll = NumExplod(22015) = 0
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo = [5200,5219]
Trigger3 = RoundState = 4
Anim = 22015
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,224,0), 198
BindTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 5
ID = 22015

[State -2]
Type = VarAdd
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = P2MoveType = H
TriggerAll = Var(53) = [1,4]
TriggerAll = P2StateNo != [120,159]
TriggerAll = P2StateNo != [5200,5219]
Trigger1 = 1
V = 53
Value = 1
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = P2MoveType = H
TriggerAll = P2StateNo != [120,159]
TriggerAll = P2StateNo != [5200,5219]
Trigger1 = Var(53) = 10
Trigger1 = Var(52) > P2Life
V = 53
Value = 11
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = P2MoveType = H
TriggerAll = P2StateNo != [120,159]
TriggerAll = P2StateNo != [5200,5219]
Trigger1 = Var(53) = 0
Trigger1 = Var(52) > P2Life
V = 53
Value = 1
IgnoreHitPause = 1

[State -1]
Type = TargetLifeAdd
TriggerAll = P2Life != 0
TriggerAll = Var(52) > P2Life
Trigger1 = Var(53) = 1
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
Value = Floor((Var(52)-P2Life)*0.3)
IgnoreHitPause = 1

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22000) > 0
Trigger1 = NumExplod(22001) > 0
Trigger2 = Var(53) = [1,5]
Trigger2 = Enemy,Command = "recovery"
Trigger3 = Var(53) = 11
ID = 22000
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22002) > 0
Trigger1 = NumExplod(22001) > 0
Trigger2 = Var(53) = [1,5]
Trigger2 = Enemy,Command = "recovery"
Trigger3 = Var(53) = 11
ID = 22002
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22010) > 0
Trigger1 = NumExplod(22015) > 0
ID = 22010
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22020) > 0
Trigger1 = Var(53) = [1,5]
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
ID = 22020
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22021) > 0
Trigger1 = Var(53) = [1,5]
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
ID = 22021
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22030) > 0
Trigger1 = Var(53) = [1,5]
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
ID = 22030
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22031) > 0
Trigger1 = Var(53) = [1,5]
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
ID = 22031
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = RemoveExplod
TriggerAll = NumExplod(22040) > 0
Trigger1 = Var(53) = [1,5]
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
ID = 22040
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = NumExplod(22040) = 0
FV = 27
Value = 0
IgnoreHitPause = 1

[State -2]
Type = VarAdd
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = NumExplod(22040) > 0
FV = 27
Value = 0.025
IgnoreHitPause = 1

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22002) = 0
Trigger1 = Var(53) = [1,5]
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
Anim = 22002
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 210
BindTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 7
ID = 22002

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22020) = 0
TriggerAll = NumExplod(22030) = 0
Trigger1 = Var(53) = 1
Trigger1 = Enemy,Command = "recovery"
Trigger2 = Var(53) = 11
Anim = 22020
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 210
BindTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 6
ID = 22020

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22020) > 0
TriggerAll = NumExplod(22021) = 0
TriggerAll = NumExplod(22030) = 0
Trigger1 = Var(53) = 1
Trigger2 = Var(53) = 11
Anim = 22021
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 210
BindTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 8
ID = 22021

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22020) > 0
TriggerAll = NumExplod(22040) = 0
TriggerAll = NumExplod(22030) = 0
Trigger1 = Var(53) = 1
Trigger2 = Var(53) = 11
Anim = 22040
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 214
BindTime = -1
Scale = 0.25+FVar(27),0.25+FVar(27)
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 8
ID = 22040

[State -2]
Type = ModifyExplod
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = NumExplod(22040) > 0
Scale = 0.25+FVar(27),0.25+FVar(27)
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 8
ID = 22040

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22020) = 0
TriggerAll = NumExplod(22030) = 0
Trigger1 = Var(53) = [2,5]
Trigger1 = Enemy,Command = "recovery"
Anim = 22030
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 210
BindTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 6
ID = 22030

[State -2]
Type = Explod
TriggerAll = TeamMode = Single || TeamMode = Turns
TriggerAll = Var(0)/10%10 = 0
TriggerAll = NumExplod(22020) = 0
TriggerAll = NumExplod(22030) > 0
TriggerAll = NumExplod(22031) = 0
Trigger1 = Var(53) = [2,5]
Anim = 22031
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,305,80), 210
BindTime = -1
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 8
ID = 22031

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = Var(53) != 10
Trigger1 = P2MoveType != H
Trigger2 = P2StateNo = [120,159]
Trigger2 = P2StateNo = [5200,5201]
Trigger3 = Var(53) = [1,5]
Trigger3 = Enemy,Command = "recovery"
Trigger4 = Var(53) = 5 || Var(53) = 10
Trigger5 = Var(53) = 11
Trigger5 = Var(52) > P2Life
V = 53
Value = 0
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = P2StateNo != [120,159]
Trigger2 = P2StateNo != [5200,5201]
V = 52
Value = P2Life
IgnoreHitPause = 1

[State -2]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Turns
Trigger1 = Var(53) = 0
Trigger1 = Var(52) <= P2Life
Trigger1 = Enemy,Command = "recovery"
V = 53
Value = 10
IgnoreHitPause = 1

;------------------------------------------------------------------------------------------
;僒乕僉僢僩僽儗僀僋敾掕
[State -2]
Type = VarSet
TriggerAll = Var(51) = 0
TriggerAll = MoveType = H && StateNo != [120,159]
Trigger1 = Enemy,AuthorName = "嘓" && Enemy,Name = "Len" && Enemy,StateNo = 3100
Trigger2 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "Len" && EnemyNear,StateNo = 3100
Trigger3 = Enemy,AuthorName = "嘓" && Enemy,Name = "Satsuki_Yumiduka" && Enemy,StateNo = 3101
Trigger4 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "Satsuki_Yumiduka" && EnemyNear,StateNo = 3101
Trigger5 = Enemy,AuthorName = "嘓" && Enemy,Name = "Hisui" && Enemy,StateNo = 3100
Trigger6 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "Hisui" && EnemyNear,StateNo = 3100
Trigger7 = Enemy,AuthorName = "嘓" && Enemy,Name = "White_Len(CPU)" && Enemy,StateNo = 3100
Trigger8 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "White_Len(CPU)" && EnemyNear,StateNo = 3100
Trigger9 = Enemy,AuthorName = "嘓" && Enemy,Name = "Akiha_Vermilion" && Enemy,StateNo = 3100
Trigger10 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "Akiha_Vermilion" && EnemyNear,StateNo = 3100
Trigger11 = Enemy,AuthorName = "嘓" && Enemy,Name = "Sion_Eltnam_Atlasia" && Enemy,StateNo = 3100
Trigger12 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "Sion_Eltnam_Atlasia" && EnemyNear,StateNo = 3100
Trigger13 = Enemy,AuthorName = "嘓" && Enemy,Name = "Neco_Arc" && Enemy,StateNo = 2000
Trigger14 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "Neco_Arc" && EnemyNear,StateNo = 2000
Trigger15 = Enemy,AuthorName = "嘓" && Enemy,Name = "Warachia" && Enemy,StateNo = 3100
Trigger16 = EnemyNear,AuthorName = "嘓" && EnemyNear,Name = "Warachia" && EnemyNear,StateNo = 3100
Trigger17 = Enemy,AuthorName = "kuro" && Enemy,Name = "Arcueid Brunestud" && Enemy,StateNo = 3810
Trigger18 = EnemyNear,AuthorName = "kuro" && EnemyNear,Name = "Arcueid Brunestud" && EnemyNear,StateNo = 3810
Trigger19 = Enemy,AuthorName = "rouge noir" && Enemy,Name = "shiki_tohno" && Enemy,StateNo = 13500
Trigger20 = EnemyNear,AuthorName = "rouge noir" && EnemyNear,Name = "shiki_tohno" && EnemyNear,StateNo = 13500
Trigger21 = Enemy,AuthorName = "Ina" && Enemy,Name = "tohno shiki" && Enemy,StateNo = 1300
Trigger22 = EnemyNear,AuthorName = "Ina" && EnemyNear,Name = "tohno shiki" && EnemyNear,StateNo = 1300
Trigger23 = Enemy,AuthorName = "nana" && Enemy,Name = "Akiha_Tohno" && Enemy,StateNo = 4100
Trigger24 = EnemyNear,AuthorName = "nana" && EnemyNear,Name = "Akiha_Tohno" && EnemyNear,StateNo = 4100
Trigger25 = Enemy,AuthorName = "Shiroto" && Enemy,Name = "Sion TATARI" && Enemy,StateNo = 3000
Trigger26 = EnemyNear,AuthorName = "Shiroto" && EnemyNear,Name = "Sion TATARI" && EnemyNear,StateNo = 3000
Trigger27 = Enemy,AuthorName = "Shiroto" && Enemy,Name = "Sion Eltnam Atlasia" && Enemy,StateNo = 3000
Trigger28 = EnemyNear,AuthorName = "Shiroto" && EnemyNear,Name = "Sion Eltnam Atlasia" && EnemyNear,StateNo = 3000
Trigger29 = Enemy,AuthorName = "wraith" && Enemy,Name = "Warachia" && Enemy,StateNo = 1500
Trigger30 = EnemyNear,AuthorName = "wraith" && EnemyNear,Name = "Warachia" && EnemyNear,StateNo = 1500
Trigger31 = Enemy,AuthorName = "TENE" && Enemy,Name = "Neco-Arc" && Enemy,StateNo = 1065
Trigger32 = EnemyNear,AuthorName = "TENE" && EnemyNear,Name = "Neco-Arc" && EnemyNear,StateNo = 1065
Trigger33 = Enemy,AuthorName = "TENE" && Enemy,Name = "Neco-Arc Chaos" && Enemy,StateNo = 2001
Trigger34 = EnemyNear,AuthorName = "TENE" && EnemyNear,Name = "Neco-Arc Chaos" && EnemyNear,StateNo = 2001
V = 51
Value = 600
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = Var(15) = 20
V = 51
Value = 100
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = Explod
TriggerAll = Var(0)%10 = 0
Trigger1 = Var(51) = 599
Anim = 25300
PosType = P1
Pos = 0, (Const(Size.Mid.Pos.Y)+Const(Size.Head.Pos.Y))/2
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 3
ID = 25300

[State -2]
Type = Explod
TriggerAll = Var(0)/1000%10 = 0
Trigger1 = Var(51) = 598
Anim = 25500
PosType = Left
Pos = IfElse(TeamSide=1,0,320), 241-Floor(Var(0)/100000)
BindTime = -1
Facing = IfElse(TeamSide=1,1,-1)
Ownpal = 1
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 9
ID = 25500

[State -2]
Type = Explod
TriggerAll = Var(0)/1000%10 = 0
Trigger1 = Var(26) < 2
Trigger1 = Var(51) = 599
Anim = 25400
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,0,320), 221-Floor(Var(0)/100000)
BindTime = -1
Facing = IfElse(TeamSide=1,1,-1)
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 9
ID = 25400

[State -2]
Type = Explod
TriggerAll = Var(0)/1000%10 = 0
Trigger1 = Var(26) = 2
Trigger1 = Var(51) = 599
Anim = 25401
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,13,307), 221-Floor(Var(0)/100000)
BindTime = -1
Facing = IfElse(TeamSide=1,1,-1)
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 9
ID = 25400

[State -2]
Type = Explod
TriggerAll = Var(0)/1000%10 = 0
Trigger1 = Var(26) = 3
Trigger1 = Var(51) = 599
Anim = 25402
Ownpal = 1
PosType = Left
Pos = IfElse(TeamSide=1,0,320), 221-Floor(Var(0)/100000)
BindTime = -1
Facing = IfElse(TeamSide=1,1,-1)
Scale = 0.5,0.5
IgnoreHitPause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999
SprPriority = 9
ID = 25400

[State -2]
Type = VarAdd
Trigger1 = Var(51) > 0
V = 51
Value = -1
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = Var(51) > 0
V = 13
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = Var(51) > 0
V = 14
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = PowerSet
Trigger1 = Var(51) > 0
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = Var(51) < 0
Trigger2 = RoundState = 0
V = 51
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;------------------------------------------------------------------------------------------
;AI
[State -2]
Type = Helper
TriggerAll = Var(59) = 0
TriggerAll = Var(56) != 0
TriggerAll = NumHelper(40000) = 0
TriggerAll = Ctrl
TriggerAll = RoundState = 2
TriggerAll = StateNo = 0
Trigger1 = RoundNo = 1
Trigger2 = TeamMode = Turns
Trigger2 = RoundsExisted = 0
StateNo = 40000
PosType = P1
Pos = 0, 0
KeyCtrl = 1
Ownpal = 1
ID = 40000
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;---------------------------------------------------------------------------
;廱傪徟偑偡丂憡庤梡
[State -2]
Type = LifeAdd
TriggerAll = Enemy,AuthorName = "嘓" && Enemy,Name = "Akiha_Vermilion"
Trigger1 = Enemy,Var(47) = 1
Value = -5
Kill = 0

[State -2]
Type = PowerAdd
TriggerAll = Enemy,AuthorName = "嘓" && Enemy,Name = "Akiha_Vermilion"
Trigger1 = Enemy,Var(47) = 1
Value = -26

;---------------------------------------------------------------------------
;撆岠壥乮僪儘僂傿儞傾儖僇僫)
[State -2]
Type = PowerAdd
TriggerAll = Enemy,AuthorName = "Drowin arcana"
TriggerAll = Enemy,FVar(20) > 0
Trigger1 = Power > 0
Value = -1

[State -2]
Type = LifeAdd
TriggerAll = Enemy,AuthorName = "Drowin arcana"
TriggerAll = Enemy,FVar(20) > 0
Trigger1 = GameTime % 7 = 0
Value = -1
kill = 0

[State -2]
Type = Palfx
TriggerAll = Enemy,AuthorName = "Drowin arcana"
Trigger1 = Enemy,FVar(20) > 0
Add = 100,0,110
Mul = 220,220,220
Time = 5
IgnoreHitPause = 1

;------------------------------------------------------------------------------------------
[State -2]
Type = RemoveExplod
Trigger1 = StateNo != [120,159]
ID = 125

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 200
ID = 205

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 210
ID = 215

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 220
ID = 225

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 230
ID = 235

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 400
ID = 405

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 410
ID = 415

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 600
ID = 605

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 610
ID = 615

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 620
ID = 625

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 630
ID = 635

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 932
ID = 935

[State -2]
Type = RemoveExplod
Trigger1 = StateNo = 900 || StateNo = 910 || StateNo = 920
Trigger1 = MoveHit
Trigger2 = StateNo = 900 || StateNo = 910 || StateNo = 920
Trigger2 = Time > 5
Trigger3 = StateNo = 920 || StateNo = 922
Trigger3 = Pos Y >= -10 && Vel Y >= 0 
Trigger4 = StateNo = 902 || StateNo = 912 || StateNo = 922
Trigger4 = MoveHit
Trigger5 = StateNo = 902
Trigger5 = Anim = 903
Trigger6 = StateNo = 912
Trigger6 = Anim = 913
Trigger7 = StateNo = 922
Trigger7 = Anim = 923
Trigger8 = MoveType = H
Trigger9 = StateNo != 900 && StateNo != 910 && StateNo != 920 && StateNo != 902 && StateNo != 912 && StateNo != 922
ID = 960
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = RemoveExplod
Trigger1 = Anim != 1300 && Anim != 1310 && Anim != 2300
Trigger2 = PrevStateNo = 1300
Trigger2 = Time = 1
ID = 1305

[State -2]
Type = Width
Trigger1 = Var(16) = 2
Player = -10,0
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = AssertSpecial
Trigger1 = Var(13) = -1
Trigger2 = Var(14) != 0
Flag = TimerFreeze
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = VarSet
Trigger1 = StateNo != [39,40]
Trigger1 = StateNo != 45
Trigger1 = StateNo != 850
V = 3
Value = 0

[State -2]
Type = VarSet
Trigger1 = MoveType = H
Trigger2 = MoveType != A
V = 7
Value = 0

[State -2]
Type = VarSet
Trigger1 = MoveType = H
V = 8
Value = 0

[State -2]
Type = VarSet
Trigger1 = P2MoveType != H
Trigger1 = MoveType != A
V = 10
Value = 0

[State -2]
Type = VarSet
Trigger1 = StateNo != 50
Trigger1 = Var(11)/100%10 = 1
Trigger1 = Time >= 2
V = 11
Value = Var(11)-100

[State -2]
Type = VarSet
Trigger1 = StateNo != [39,40]
Trigger1 = Pos Y = 0
V = 11
Value = 0

[State -2]
Type = VarSet
Trigger1 = Anim = 100
V = 16
Value = 1

[State -2]
Type = VarSet
Trigger1 = StateNo != [40,50]
Trigger1 = Anim != 100
V = 16
Value = 0

[State -2]
Type = VarRangeSet
Trigger1 = MoveType != A
First = 20
Last = 22
Value = 0

[State -2]
Type = VarSet
Trigger1 = MoveType != A
V = 23
Value = 0
