; Benimaru's Command File
;========================
;-| CPU Functions |--------------------------------------------------------
[Command]
name = dm1
command = /DB,c
time = 20

[Command]
name = dm2
command = /B,c
time = 20

[Command]
name = dm3
command = /DB,c
time = 20

[Command]
name = dm4
command = /D,c
time = 20

[Command]
name = dm9
command = /D,c
time = 20

[command]
name = dm5
command = c
time = 20

[command]
name = dm8
command = c
time = 20

[Command]
name = dm6
command = /DF,c
time = 20

[Command]
name = dm7
command = b+c
time = 20

[Command]
name = spinkick-h
command = /B, b
time = 20

[Command]
name = thunderkick
command = /DF, b
time = 20

[Command]
name = catch 
command = /F, b
time = 20

[Command]
name = electkick
command = /D, b
time = 20

[Command]
name = lightningball
command = b
time = 20

[Command]
name = 3kick
command = /DB, b
time = 20

[Command]
name = kofcounter
command = b
time = 20

[Command]
name = kofcounter
command = c
time = 20

;-| Super Motions |--------------------------------------------------------
[Command]
name = dm1
command = ~D,DF,F,D,DF,F, y
time = 25

[Command]
name = dm1-f
command = ~D,DF,F,D,DF,F, a
time = 25

[Command]
name = dm2
command = ~D,DB,B,D,DB,B, y
time = 25

[Command]
name = dm2
command = ~D,DB,B,D,DB,B, a
time = 25

[Command]
name = dm3
command = ~D,DF,F,D,DF,F, y+a
time = 25

[Command]
name = dm4
command = ~D,DF,F,D,DF,F, x
time = 25

[Command]
name = dm4_2
command = ~D,DF,F,D,DF,F, z
time = 25

[command]
name = dm5
command = ~F,DF,D,DB,B,F,DF,D,DB,B,x
time = 100

[command]
name = dm5
command = ~F,DF,D,DB,B,~F,DF,D,DB,B,z
time = 100

[Command]
name = dm6
command = ~D,F,DF,D,DB,B, y
time = 50

[Command]
name = dm6
command = ~D,F,DF,D,DB,B, a
time = 50

[Command]
name = dm7
command = ~B,F,B,DB,D,DF,F, x
time = 80

[Command]
name = dm7
command = ~B,F,B,DB,D,DF,F, x
time = 80

[command]
name = dm8
command = ~F,DF,D,DB,B,F,DF,D,DB,B,x+z
time = 100

[Command]
name = dm9
command = ~D,DF,F,D,DF,F, x+z
time = 25

;-| Special Motions |------------------------------------------------------
[Command]
name = spinkick-l
command = ~D,DB,B, x
time = 15

[Command]
name = spinkick-h
command = ~D,DB,B, z
time = 15

[Command]
name = thunderkick
command = ~D,DF,F, y
time = 15

[Command]
name = thunderkick
command = ~D,DF,F, a
time = 15

[Command]
name = electkick
command = ~F,D,DF,y
time = 15

[Command]
name = electkick_2
command = ~F,D,DF,a
time = 15

[Command]
name = lightningball
command = ~D,DF,F, x
time = 15

[Command]
name = lightningball_2
command = ~D,DF,F, z
time = 15

[Command]
name = catch 
command = ~F,DF,D,DB,B,F,x
time = 25

[Command]
name = catch 
command = ~F,DF,D,DB,B,F,z
time = 25

[Command]
name = 3kick
command = ~F,DF,D,DB,B,y
time = 20

[Command]
name = 3kick_2
command = ~F,DF,D,DB,B,a
time = 20

;-| Single Button |-----------------------------------------------------------
[command]
name = taunt
command = s
time = 1

[command]
name = Light_punch
command = x
time = 1

[command]
name = Light_kick
command = y
time = 1

[command]
name = Strong_punch
command = z
time = 1

[command]
name = Strong_kick
command = a
time = 1

;-| Double Tap |-----------------------------------------------------------
[Command]
name = FF      
command = F, F
time = 10

[Command]
name = BB       
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = recovery 
command = x+y
time = 1

[Command]
name = Roll_Fwd
command = /F,x+y
time = 1

[Command]
name = Roll_Back
command = /B, x+y
time = 1

[Command]
name = dodge
command = x+y
time = 1

[Command]
name = Knockdown
command = z+a
time = 1

;-| Dir + Button |----------------------------------------------------------
[Command]
name = forward_kick
command = /F, y
time = 1

[Command]
name = downforward_kick
command = /$D, a;/DF, a
time = 1

[Command]
name = kofcounter
command = /D, x
time = 1

[Command]
name = kofcounter
command = /D, z
time = 1

;-| Hold Button |-----------------------------------------------------------

[Command]
name = hold_x
command = /x
time = 1

[Command]
name = hold_y
command = /y
time = 1

[Command]
name = hold_z
command = /z
time = 1

[Command]
name = hold_a
command = /a
time = 1

[Command]
name = slam_1
command = /F,z
time = 1

[Command]
name = slam_2
command = /F,a
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = holdfwd  
command = /$F
time = 1

[Command]
name = holdback 
command = /$B
time = 1

[Command]
name = holdup   
command = /$U
time = 1

[Command]
name = holddown 
command = /$D
time = 1

;---------------------------------------------------------------------------
; State Entry
;============
[Statedef -1]

; Giga bolts
[State -1]
type = ChangeState
value = 3400
triggerall = power >= 3000
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm7

;---------------------------------------------------------------------------
; Electriza mega shock
[State -1]
type = ChangeState
value = 3500
triggerall = power >= 2000
triggerall = command != dm1
triggerall = command != dm1-f
triggerall = command != dm2
triggerall = command != dm3
triggerall = command != dm4
triggerall = command != dm4_2
triggerall = command != dm6
triggerall = command != dm9
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm8

;---------------------------------------------------------------------------
; Electriza
[State -1]
type = ChangeState
value = 3200
triggerall = power >= 1000
triggerall = command != dm1
triggerall = command != dm1-f
triggerall = command != dm2
triggerall = command != dm3
triggerall = command != dm4
triggerall = command != dm4_2
triggerall = command != dm6
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm5

;---------------------------------------------------------------------------
; Hyper spinning kick
[State -1]
type = ChangeState
value = 3010
triggerall = power >= 1000
trigger1 = command = dm2
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; 3 storming kick
[State -1]
type = ChangeState
value = 3300
triggerall = power >= 1000
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm6

;---------------------------------------------------------------------------
; Giga lightning ball
[State -1]
type = ChangeState
value = 3600
triggerall = power >= 2000
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm9

;---------------------------------------------------------------------------
; Air giga lightning ball
[State -1]
type = ChangeState
value = 3650
triggerall = power >= 2000
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = command = dm9

;---------------------------------------------------------------------------
; Mega lightning ball
[State -1]
type = ChangeState
value = 3100
triggerall = power >= 1000
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm4

;---------------------------------------------------------------------------
; Mega lightning ball-high
[State -1]
type = ChangeState
value = 3130
triggerall = power >= 1000
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm4_2

;---------------------------------------------------------------------------
; Air mega lightning ball
[State -1]
type = ChangeState
value = 3150
triggerall = power >= 1000
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = command = dm4
trigger2 = command = dm4_2

;---------------------------------------------------------------------------
; Super air spin kick
[State -1]
type = ChangeState
value = 3000
triggerall = power >= 1000
trigger1 = command = dm1
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Super air spin kick(far)
[State -1]
type = ChangeState
value = 3001
triggerall = power >= 1000
trigger1 = command = dm1-f
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Invisible maximum rush
[State -1]
type = ChangeState
value = 3060
triggerall = power >= 2000
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm3

;---------------------------------------------------------------------------
; Invisible rush
[State -1]
type = ChangeState
value = 3050
triggerall = power >= 1000
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = dm1
trigger2 = command = dm1-f

;---------------------------------------------------------------------------
; Taunt
[State -1]
type = ChangeState
value = 195
trigger1 = command = taunt
trigger1 = command != holddown
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Charge
[State -1]
type = ChangeState
value = 731
triggerall = statetype = S
triggerall = Power < 3000
triggerall = ctrl = 1
trigger1 = command = hold_x
trigger1 = command = hold_y
trigger1 = command = hold_z

;---------------------------------------------------------------------------
; 3 strike kick
[State -1]
type = ChangeState
value = 1400
trigger1 = command = 3kick
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; 3 strike kick-heavy
[State -1]
type = ChangeState
value = 1450
trigger1 = command = 3kick_2
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Electric kick
[State -1]
type = ChangeState
value = 1300
trigger1 = command = electkick
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Electric kick-high
[State -1]
type = ChangeState
value = 1350
trigger1 = command = electkick_2
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Electric shock
[State -1]
type = ChangeState
value = 1200
trigger1 = command = catch
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Thunderkick
[State -1]
type = ChangeState
value = 1050
trigger1 = command = thunderkick
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Spinning kick-light
[State -1]
type = ChangeState
value = 1000
trigger1 = command = spinkick-l
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Spinning kick-heavy
[State -1]
type = ChangeState
value = 1001
trigger1 = command = spinkick-h
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Air lightning ball
[State -1]
type = ChangeState
value = 1140
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = command = lightningball
trigger2 = command = lightningball_2

;---------------------------------------------------------------------------
; Lightning ball
[State -1]
type = ChangeState
value = 1100
trigger1 = command = lightningball
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Lightning ball-high
[State -1]
type = ChangeState
value = 1130
trigger1 = command = lightningball_2
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Roll back
[State -1]
type = ChangeState
value = 512
triggerall = command = Roll_Back
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Guard cancel roll (backwards)
[State -1]
type = ChangeState
value = 801
triggerall = command = Roll_Back
triggerall = power >= 500
trigger1 = stateno >= 150
trigger1 = stateno <= 152

;---------------------------------------------------------------------------
; Roll fwd
[State -1]
type = ChangeState
value = 510
triggerall = command = Roll_Fwd
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Guard cancel roll (forward)
[State -1]
type = ChangeState
value = 800
triggerall = command = Roll_Fwd
triggerall = power >= 500
trigger1 = stateno >= 150
trigger1 = stateno <= 152

;---------------------------------------------------------------------------
; Dodge
[State -1]
type = ChangeState
value = 515
triggerall = command = dodge
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; KOF Counter
[State -1]
type = ChangeState
value = 520
triggerall = command = kofcounter
triggerall = power >= 1000
trigger1 = stateno >= 150
trigger1 = stateno <= 152

;---------------------------------------------------------------------------
; Run foward
[State -1]
type = ChangeState
value = 100
trigger1 = command = FF
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Step back
[State -1]
type = ChangeState
value = 105
trigger1 = command = BB
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Throw 1
[State -1]
type = ChangeState
value = 550
triggerall = stateno != 100
triggerall = statetype = S
triggerall = P2bodydist X <= 5
triggerall = ctrl = 1
trigger1 = p2movetype != H
trigger1 = command = slam_1
trigger1 = p2statetype = S
trigger2 = p2statetype = C
trigger2 = command = slam_1
trigger2 = p2movetype != H

;---------------------------------------------------------------------------
; Throw 2
[State -1]
type = ChangeState
value = 560
triggerall = stateno != 100
triggerall = statetype = S
triggerall = P2bodydist X <= 5
triggerall = ctrl = 1
trigger1 = p2movetype != H
trigger1 = command = slam_2
trigger1 = p2statetype = S
trigger2 = p2statetype = C
trigger2 = command = slam_1
trigger2 = p2movetype != H

;---------------------------------------------------------------------------
; Knockdown
[State -1]
type = ChangeState
value = 250
triggerall = command = Knockdown
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Guard reversal
[State -1]
type = ChangeState
value = 251
triggerall = command = Knockdown
triggerall = power >= 1000
trigger1 = stateno >= 150
trigger1 = stateno <= 152

;---------------------------------------------------------------------------
; Jumping Knockdown
[State -1]
type = ChangeState
value = 255
trigger1 = command = Knockdown
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Standing far light punch
[State -1]
type = ChangeState
value = 200
triggerall = command != holddown
trigger1 = P2bodydist X >= 8
trigger1 = statetype = S
trigger1 = command = Light_punch
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Standing near light punch
[State -1]
type = ChangeState
value = 202
triggerall = command != holddown
trigger1 = P2bodydist X < 9
trigger1 = statetype = S
trigger1 = command = Light_punch
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Crouching light punch
[State -1]
type = ChangeState
value = 203
trigger1 = statetype = C
trigger1 = command = Light_punch
trigger1 = command = holddown
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Jumping light punch
[State -1]
type = ChangeState
value = 600
trigger1 = command = Light_punch
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Forward kick
[State -1]
type = ChangeState
value = 215
triggerall = statetype = S
triggerall = command != holddown
trigger1 = ctrl = 1
trigger1 = command = forward_kick

;---------------------------------------------------------------------------
; Light kick(near)
[State -1]
type = ChangeState
value = 210
triggerall = statetype = S
triggerall = command != holddown
trigger1 = P2bodydist X < 9
trigger1 = ctrl = 1
trigger1 = command = Light_kick

;---------------------------------------------------------------------------
; Light kick
[State -1]
type = ChangeState
value = 211
triggerall = statetype = S
triggerall = command != holddown
trigger1 = P2bodydist X >= 8
trigger1 = ctrl = 1
trigger1 = command = Light_kick

;---------------------------------------------------------------------------
; Crouching light kick
[State -1]
type = ChangeState
value = 213
trigger1 = ctrl = 1
triggerall = statetype = C
trigger1 = command = Light_kick
trigger1 = command = holddown

;---------------------------------------------------------------------------
; Jumping light kick
[State -1]
type = ChangeState
value = 601
trigger1 = command = Light_kick
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Standing near strong punch
[State -1]
type = ChangeState
value = 220
triggerall = command = Strong_punch
triggerall = command != holddown
trigger1 = P2bodydist X < 20
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Standing far strong punch
[State -1]
type = ChangeState
value = 225
triggerall = command != holddown
triggerall = command = Strong_punch
trigger1 = P2bodydist X >= 20
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Crouching strong punch
[State -1]
type = ChangeState
value = 221
trigger1 = command = Strong_punch
trigger1 = command = holddown
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Jumping strong punch
[State -1]
type = ChangeState
value = 603
trigger1 = command = Strong_punch
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Standing far strong kick
[State -1]
type = ChangeState
value = 230
triggerall = command = Strong_kick
trigger1 = command != holddown
trigger1 = P2bodydist X >= 30
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Standing near strong kick
[State -1]
type = ChangeState
value = 232
triggerall = command = Strong_kick
trigger1 = command != holddown
trigger1 = P2bodydist X < 30
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Crouching strong kick
[State -1]
type = ChangeState
value = 233
triggerall = command = Strong_kick
trigger1 = command = holddown
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Air spinning kick
[State -1]
type = ChangeState
value = 610
trigger1 = command = downforward_kick
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Jumping strong kick
[State -1]
type = ChangeState
value = 605
trigger1 = command = Strong_kick
trigger1 = statetype = A
trigger1 = Vel X = 0
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Jumping forward strong kick
[State -1]
type = ChangeState
value = 606
trigger1 = command = Strong_kick
trigger1 = statetype = A
trigger1 = Vel X != 0
trigger1 = ctrl = 1

;Canceling Moves
;===============
; Cancel to super air spin kick
[State -1]
type = ChangeState
value = 3000
triggerall = power >= 1000
triggerall = command = dm1
triggerall = statetype = A
triggerall = movecontact = 1
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 6, <= 3
trigger6 = stateno = 610
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 4, <= 4
trigger7 = stateno = 255
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 11, <= 2
trigger8 = stateno = 1300
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 11, <= 2
trigger9 = stateno = 1350
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 1401
trigger11 = AnimElem = 3, >= 1
trigger11 = AnimElem = 11, <= 2
trigger11 = stateno = 1451
[State -1]
type = ChangeState
value = 3000
triggerall = power >= 1000
triggerall = command = dm1
triggerall = statetype = A
triggerall = projcontact = 1
trigger1 = stateno = 1140
trigger2 = stateno = 3150

;---------------------------------------------------------------------------
; Cancel to super air spin kick(far)
[State -1]
type = ChangeState
value = 3001
triggerall = power >= 1000
triggerall = command = dm1-f
triggerall = statetype = A
triggerall = movecontact = 1
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 6, <= 3
trigger6 = stateno = 610
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 4, <= 4
trigger7 = stateno = 255
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 11, <= 2
trigger8 = stateno = 1300
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 11, <= 2
trigger9 = stateno = 1350
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 3301
[State -1]
type = ChangeState
value = 3001
triggerall = power >= 1000
triggerall = command = dm1-f
triggerall = statetype = A
triggerall = projcontact = 1
trigger1 = stateno = 1140
trigger2 = stateno = 3150

;---------------------------------------------------------------------------
; Cancel to 3 storming kick
[State -1]
type = ChangeState
value = 3300
triggerall = command = dm6
triggerall = movecontact = 1
triggerall = power >= 1000
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 7, <= 5
trigger12 = stateno = 250
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1400
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1450
[State -1]
type = ChangeState
value = 3300
triggerall = command = dm6
triggerall = power >= 1000
triggerall = projcontact = 1
trigger1 = stateno = 3100
trigger2 = stateno = 3130
trigger3 = stateno = 1100
trigger4 = stateno = 1130
trigger5 = stateno = 3600

;---------------------------------------------------------------------------
; Cancel to giga lightning ball
[State -1]
type = ChangeState
value = 3600
triggerall = command = dm9
triggerall = movecontact = 1
triggerall = power >= 2000
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 7, <= 5
trigger12 = stateno = 250
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1400
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1450
trigger15 = AnimElem = 5, >= 1
trigger15 = AnimElem = 7, <= 2
trigger15 = stateno = 3300
[State -1]
type = ChangeState
value = 3600
triggerall = command = dm9
triggerall = power >= 2000
triggerall = projcontact = 1
trigger1 = stateno = 3100
trigger2 = stateno = 3130
trigger3 = stateno = 1100
trigger4 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to air giga lightning ball
[State -1]
type = ChangeState
value = 3650
triggerall = command = dm9
triggerall = movecontact = 1
triggerall = power >= 2000
triggerall = statetype = A
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 6, <= 3
trigger6 = stateno = 610
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 4, <= 4
trigger7 = stateno = 255
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 6, <= 1
trigger8 = stateno = 3000
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 1
trigger9 = stateno = 3001
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 1300
trigger11 = AnimElem = 3, >= 1
trigger11 = AnimElem = 11, <= 2
trigger11 = stateno = 1350
trigger12 = AnimElem = 3, >= 1
trigger12 = AnimElem = 11, <= 2
trigger12 = stateno = 1401
trigger13 = AnimElem = 3, >= 1
trigger13 = AnimElem = 11, <= 2
trigger13 = stateno = 1451
trigger14 = AnimElem = 3, >= 1
trigger14 = AnimElem = 11, <= 2
trigger14 = stateno = 3301
[State -1]
type = ChangeState
value = 3650
triggerall = power >= 2000
triggerall = command = dm9
triggerall = statetype = A
triggerall = projcontact = 1
trigger1 = stateno = 1140
trigger2 = stateno = 3150

;---------------------------------------------------------------------------
; Cancel to mega lightning ball
[State -1]
type = ChangeState
value = 3100
triggerall = command = dm4
triggerall = movecontact = 1
triggerall = power >= 1000
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 7, <= 5
trigger12 = stateno = 250
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1400
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1450
trigger15 = AnimElem = 5, >= 1
trigger15 = AnimElem = 7, <= 2
trigger15 = stateno = 3300
[State -1]
type = ChangeState
value = 3100
triggerall = command = dm4
triggerall = power >= 1000
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to mega lightning ball-high
[State -1]
type = ChangeState
value = 3130
triggerall = command = dm4_2
triggerall = movecontact = 1
triggerall = power >= 1000
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 7, <= 5
trigger12 = stateno = 250
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1400
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1450
trigger15 = AnimElem = 5, >= 1
trigger15 = AnimElem = 7, <= 2
trigger15 = stateno = 3300
[State -1]
type = ChangeState
value = 3130
triggerall = command = dm4_2
triggerall = power >= 1000
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to air mega lightning ball
[State -1]
type = ChangeState
value = 3150
triggerall = command = dm4
triggerall = movecontact = 1
triggerall = power >= 1000
triggerall = statetype = A
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 6, <= 3
trigger6 = stateno = 610
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 4, <= 4
trigger7 = stateno = 255
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 6, <= 1
trigger8 = stateno = 3000
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 1
trigger9 = stateno = 3001
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 1300
trigger11 = AnimElem = 3, >= 1
trigger11 = AnimElem = 11, <= 2
trigger11 = stateno = 1350
trigger12 = AnimElem = 3, >= 1
trigger12 = AnimElem = 11, <= 2
trigger12 = stateno = 1401
trigger13 = AnimElem = 3, >= 1
trigger13 = AnimElem = 11, <= 2
trigger13 = stateno = 1451
trigger14 = AnimElem = 3, >= 1
trigger14 = AnimElem = 11, <= 2
trigger14 = stateno = 3301
[State -1]
type = ChangeState
value = 3150
triggerall = power >= 1000
triggerall = command = dm4
triggerall = statetype = A
triggerall = projcontact = 1
trigger1 = stateno = 1140
[State -1]
type = ChangeState
value = 3150
triggerall = command = dm4_2
triggerall = movecontact = 1
triggerall = power >= 1000
triggerall = statetype = A
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 6, <= 3
trigger6 = stateno = 610
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 4, <= 4
trigger7 = stateno = 255
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 6, <= 1
trigger8 = stateno = 3000
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 1
trigger9 = stateno = 3001
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 1300
trigger11 = AnimElem = 3, >= 1
trigger11 = AnimElem = 11, <= 2
trigger11 = stateno = 1350
trigger12 = AnimElem = 3, >= 1
trigger12 = AnimElem = 11, <= 2
trigger12 = stateno = 1401
trigger13 = AnimElem = 3, >= 1
trigger13 = AnimElem = 11, <= 2
trigger13 = stateno = 1451
trigger14 = AnimElem = 3, >= 1
trigger14 = AnimElem = 11, <= 2
trigger14 = stateno = 3301
[State -1]
type = ChangeState
value = 3150
triggerall = power >= 1000
triggerall = command = dm4_2
triggerall = statetype = A
triggerall = projcontact = 1
trigger1 = stateno = 1140

;---------------------------------------------------------------------------
; Cancel to invisible maximum rush
[State -1]
type = ChangeState
value = 3060
triggerall = power >= 2000
triggerall = movecontact = 1
triggerall = command = dm3
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 3300

;---------------------------------------------------------------------------
; Cancel to invisible rush
[State -1]
type = ChangeState
value = 3050
triggerall = power >= 1000
triggerall = movecontact = 1
triggerall = command = dm1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 3300
[State -1]
type = ChangeState
value = 3050
triggerall = power >= 1000
triggerall = movecontact = 1
triggerall = command = dm1-f
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 3300

;---------------------------------------------------------------------------
; Cancel to electriza mega shock
[State -1]
type = ChangeState
value = 3500
triggerall = power >= 2000
triggerall = command != dm2
triggerall = command = dm8
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 19, <= 2
trigger11 = stateno = 1000
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 37, <= 2
trigger12 = stateno = 1001
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 12, <= 2
trigger13 = stateno = 1050
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1400
trigger15 = AnimElem = 5, >= 1
trigger15 = AnimElem = 7, <= 2
trigger15 = stateno = 1450
trigger16 = AnimElem = 5, >= 1
trigger16 = AnimElem = 7, <= 2
trigger16 = stateno = 3300
[State -1]
type = ChangeState
value = 3500
triggerall = command != dm2
triggerall = command = dm8
triggerall = power >= 1000
triggerall = projcontact = 1
trigger1 = stateno = 3100
trigger2 = stateno = 3130
trigger3 = stateno = 1100
trigger4 = stateno = 1130
trigger5 = stateno = 3600

;---------------------------------------------------------------------------
; Cancel to electriza
[State -1]
type = ChangeState
value = 3200
triggerall = power >= 1000
triggerall = command != dm2
triggerall = command = dm5
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 19, <= 2
trigger11 = stateno = 1000
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 37, <= 2
trigger12 = stateno = 1001
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 12, <= 2
trigger13 = stateno = 1050
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1400
trigger15 = AnimElem = 5, >= 1
trigger15 = AnimElem = 7, <= 2
trigger15 = stateno = 1450
trigger16 = AnimElem = 5, >= 1
trigger16 = AnimElem = 7, <= 2
trigger16 = stateno = 3300
[State -1]
type = ChangeState
value = 3200
triggerall = command != dm2
triggerall = command = dm5
triggerall = power >= 1000
triggerall = projcontact = 1
trigger1 = stateno = 3100
trigger2 = stateno = 3130
trigger3 = stateno = 1100
trigger4 = stateno = 1130
trigger5 = stateno = 3600

;---------------------------------------------------------------------------
; Cancel to hyper spinning kick
[State -1]
type = ChangeState
value = 3010
triggerall = power >= 1000
triggerall = command = dm2
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 19, <= 2
trigger11 = stateno = 1000
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 37, <= 2
trigger12 = stateno = 1001
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1400
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1450
trigger15 = AnimElem = 5, >= 1
trigger15 = AnimElem = 7, <= 2
trigger15 = stateno = 3300
[State -1]
type = ChangeState
value = 3010
triggerall = command = dm2
triggerall = power >= 1000
triggerall = projcontact = 1
trigger1 = stateno = 3100
trigger2 = stateno = 3130
trigger5 = stateno = 3600

;---------------------------------------------------------------------------
; Cancel to electric shock
[State -1]
type = ChangeState
value = 1200
triggerall = command = catch
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
[State -1]
type = ChangeState
value = 1200
triggerall = command = catch
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to 3 strike kick
[State -1]
type = ChangeState
value = 1400
triggerall = command = 3kick
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 7, <= 5
trigger11 = stateno = 250
[State -1]
type = ChangeState
value = 1400
triggerall = command = 3kick
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to 3 strike kick-high
[State -1]
type = ChangeState
value = 1450
triggerall = command = 3kick_2
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 7, <= 5
trigger11 = stateno = 250
[State -1]
type = ChangeState
value = 1450
triggerall = command = 3kick_2
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to electric kick
[State -1]
type = ChangeState
value = 1300
triggerall = command = electkick
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 7, <= 5
trigger11 = stateno = 250
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
[State -1]
type = ChangeState
value = 1300
triggerall = command = electkick
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to electric kick-high
[State -1]
type = ChangeState
value = 1350
triggerall = command = electkick_2
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 7, <= 5
trigger11 = stateno = 250
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
[State -1]
type = ChangeState
value = 1350
triggerall = command = electkick_2
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to thunderkick
[State -1]
type = ChangeState
value = 1050
triggerall = command = thunderkick
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 4, >= 1
trigger11 = AnimElem = 7, <= 5
trigger11 = stateno = 250
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
[State -1]
type = ChangeState
value = 1050
triggerall = command = thunderkick
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to spinning kick-light
[State -1]
type = ChangeState
value = 1000
triggerall = command = spinkick-l
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
[State -1]
type = ChangeState
value = 1000
triggerall = command = spinkick-l
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to spinning kick-heavy
[State -1]
type = ChangeState
value = 1001
triggerall = command = spinkick-h
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 7, <= 2
trigger12 = stateno = 1400
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1450
[State -1]
type = ChangeState
value = 1001
triggerall = command = spinkick-h
triggerall = projcontact = 1
trigger1 = stateno = 1100
trigger2 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to lightning ball
[State -1]
type = ChangeState
value = 1100
triggerall = command = lightningball
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 7, <= 5
trigger12 = stateno = 250
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1400
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1450
[State -1]
type = ChangeState
value = 1100
triggerall = command = lightningball
triggerall = projcontact = 1
trigger1 = stateno = 1130

;---------------------------------------------------------------------------
; Cancel to lightning ball-high
[State -1]
type = ChangeState
value = 1130
triggerall = command = lightningball_2
triggerall = movecontact = 1
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221
trigger10 = AnimElem = 6, >= 1
trigger10 = AnimElem = 10, <= 4
trigger10 = stateno = 216
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 12, <= 2
trigger11 = stateno = 1050
trigger12 = AnimElem = 4, >= 1
trigger12 = AnimElem = 7, <= 5
trigger12 = stateno = 250
trigger13 = AnimElem = 5, >= 1
trigger13 = AnimElem = 7, <= 2
trigger13 = stateno = 1400
trigger14 = AnimElem = 5, >= 1
trigger14 = AnimElem = 7, <= 2
trigger14 = stateno = 1450
[State -1]
type = ChangeState
value = 1130
triggerall = command = lightningball_2
triggerall = projcontact = 1
trigger1 = stateno = 1100

;---------------------------------------------------------------------------
; Cancel to air lightning ball
[State -1]
type = ChangeState
value = 1140
triggerall = command = lightningball
triggerall = movecontact = 1
triggerall = statetype = A
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 6, <= 3
trigger6 = stateno = 610
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 4, <= 4
trigger7 = stateno = 255
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 11, <= 2
trigger8 = stateno = 1300
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 11, <= 2
trigger9 = stateno = 1350
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 1401
trigger11 = AnimElem = 3, >= 1
trigger11 = AnimElem = 11, <= 2
trigger11 = stateno = 1451
[State -1]
type = ChangeState
value = 1140
triggerall = command = lightningball_2
triggerall = movecontact = 1
triggerall = statetype = A
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 6, <= 3
trigger6 = stateno = 610
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 4, <= 4
trigger7 = stateno = 255
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 11, <= 2
trigger8 = stateno = 1300
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 11, <= 2
trigger9 = stateno = 1350
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 1401
trigger11 = AnimElem = 3, >= 1
trigger11 = AnimElem = 11, <= 2
trigger11 = stateno = 1451

;---------------------------------------------------------------------------
; Cancel to air spinning kick
[State -1]
type = ChangeState
value = 610
triggerall = command = downforward_kick
triggerall = movecontact = 1
triggerall = statetype = A
trigger1 = AnimElem = 3, >= 1
trigger1 = AnimElem = 4, <= 4
trigger1 = stateno = 600
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 3, <= 4
trigger2 = stateno = 601
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 6, <= 4
trigger3 = stateno = 603
trigger4 = AnimElem = 2, >= 1
trigger4 = AnimElem = 4, <= 4
trigger4 = stateno = 605
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 4, <= 4
trigger5 = stateno = 606
trigger6 = AnimElem = 3, >= 1
trigger6 = AnimElem = 4, <= 4
trigger6 = stateno = 255
trigger7 = AnimElem = 3, >= 1
trigger7 = AnimElem = 11, <= 2
trigger7 = stateno = 1300
trigger8 = AnimElem = 3, >= 1
trigger8 = AnimElem = 11, <= 2
trigger8 = stateno = 1350
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 11, <= 2
trigger9 = stateno = 1401
trigger10 = AnimElem = 3, >= 1
trigger10 = AnimElem = 11, <= 2
trigger10 = stateno = 1451
[State -1]
type = ChangeState
value = 610
triggerall = command = downforward_kick
triggerall = projcontact = 1
triggerall = statetype = A
trigger1 = stateno = 1140

;---------------------------------------------------------------------------
; Cancel to forward Kick(link)
[State -1]
type = ChangeState
value = 216
triggerall = movecontact = 1
triggerall = command = forward_kick
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 6, <= 4
trigger1 = stateno = 220
trigger2 = AnimElem = 2, >= 1
trigger2 = AnimElem = 4, <= 2
trigger2 = stateno = 202
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 2
trigger3 = stateno = 210
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 6, <= 4
trigger4 = stateno = 225
trigger5 = AnimElem = 3, >= 1
trigger5 = AnimElem = 6, <= 4
trigger5 = stateno = 232
trigger6 = AnimElem = 5, >= 1
trigger6 = AnimElem = 9, <= 4
trigger6 = stateno = 230
trigger7 = AnimElem = 2, >= 1
trigger7 = AnimElem = 3, <= 2
trigger7 = stateno = 203
trigger8 = AnimElem = 2, >= 1
trigger8 = AnimElem = 4, <= 2
trigger8 = stateno = 213
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 6, <= 5
trigger9 = stateno = 221