;-| Special Motions |------------------------------------------------------
;-----------------
; Aggressor
[Command]
name = "Aggressor"
command = ~B, D, F, s
time = 35

; Spike Shot
[Command]
name = "Spike Shot"
command = ~D, B, x
time = 15

; Gravity Teleport
[Command]
name = "GravTel"
command = ~D, U ;~D, F, a
time = 10

; Cannon Ball
[Command]
name = "Cannon Ball"
command = ~B, F, x
time = 15

; Ground Pound
[Command]
name = "Pound"
command = ~B, D, B, a
time = 20

; Mace Uppercut
[Command]
name = "MaceUpper"
command = ~D, D, x
time = 15

; Gravity Field
[Command]
name = "GravField"
command = ~B, F, y
time = 15

; Anti-Gravity Counter
[Command]
name = "GravCounter"
command = ~F, B, y
time = 15

; Knife Throw
[Command]
name = "Knife"
command = ~D, F, y
time = 15

; Teleport
[Command]
name = "SlashTeleport"
command = ~D, B, a
Time = 22

; Spin Kick
[Command]
name = "SpinKick"
command = D, B, b
time = 25

; Short Tack Throw
[Command]
name = "ShortTacks"
command = ~B, B, a
time = 15

; Long Tack Throw
[Command]
name = "LongTacks"
command = ~B, B, x
time = 15

; Counter Attack
[Command]
name = "SlashCounter"
command = ~D, B, y
time = 15

; ShadowKick
[Command]
name = "ShadowKick"
command = ~B, F, b
Time = 22

[Command]
name = "Fire"
command = ~D, F, a
time = 15

[Command]
name = "Slide"
command = /B, a+b+c
time = 1

; Smoke Clone
[Command]
name = "Clone"
command = ~D, B, a
time = 15

; Ducking Spear
[Command]
name = "DuckSpear"
command = ~F, F, a
time = 18

[Command]
name = "Spear"       
command = B, B, a
time = 18

[Command]
name = "Teleport"
command = ~D, B, x
time = 15

[Command]
name = "FwdTeleport"
command = ~D, F, x
time = 15

[Command]
name = "SuperSweep"
command = ~D, B, b
time = 36

[Command]
name = "VertTeleport"
command = ~F, F, b
time = 15

[Command]
name = "InvisSmoke"
command = ~U, U, z
time = 30

; Ice
[Command]
name = "Ice"
command = ~D, F, a
time = 15

; Vertical Ice
[Command]
name = "VertIce"
command = ~D, B, x
time = 15

; Shower
[Command]
name = "Shower"
command = ~D, F, x
time = 15

; Ice Clone
[Command]
name = "IceClone"
command = ~D, B, a
time = 15

; Floor Ice
[Command]
name = "FloorIce"
command = ~D, B, b
time = 15

; Slide
;[Command]
;name = "Slide"
;command = a+b+c
;time = 5

[Command]
name = "Slide"
command = /B, a+b+c
time = 1

; Ice Blast
[Command]
name = "IceBlast"
command = ~D, F, y
time = 15

; Ice Counter
[Command]
name = "IceCounter"
command = ~D, B, y
time = 15


; Slow Forceball
[Command]
name = "SlowBall"
command = ~B, B, x+a
time = 15

; Fast Forceball
[Command]
name = "FastBall"
command = ~F, F, x+a
time = 15

; Elbow
[Command]
name = "Elbow"
command = ~B, F, b
time = 15

; Acid Spit
[Command]
name = "Spit"
command = ~F, F, x
time = 15

; Loogie
[Command]
name = "Loogie"
command = ~D, F, a
time = 15

[Command]
name = "InvisReptile"
command = ~U, U, D, y
time = 40

; Ghost Fireball
[Command]
name = "GhostBall"
command = ~D, F, a+x
time = 15

; MK4 Fireball
[Command]
name = "MK4Fire"
command = ~D, F, a
time = 15

; Upwards MK4 Fireball
[Command]
name = "UpMK4Fire"
command = ~D, B, a
time = 15

[Command]
name = "NoobClone"       
command = F, F, x
time = 18

; Tele-Grab
[Command]
name = "TeleGrab"
command = ~D, U
time = 12

[Command]
name = "ErmacKick"
command = F, F, b
time = 25

[Command]
name = "TeleLift"
command = B, D, B, y
time = 32

[Command]
name = "Float"
command = B, D, B, b
time = 32

; Green Fireball
[Command]
name = "GreenBall"
command = ~D, B, a
time = 15

; Green Fireball
[Command]
name = "FloatGreenBall"
command = ~D, F, a
time = 15

[Command]
name = "TelePush"
command = F, D, F, y
time = 32

; Rain Ball
[Command]
name = "RainBall"
command = ~D, F, x
time = 15

; Vertical Rain Ball
[Command]
name = "VertRainBall"
command = ~D, B, x
time = 15

; Lightning
[Command]
name = "Lightning"
command = ~B, B, x
time = 15

; Lightning
[Command]
name = "HortLightning"
command = ~D, F, a
time = 15

; Wind
[Command]
name = "RainWind"
command = ~D, F, y
time = 15

; Teleport
[Command]
name = "RainTeleport"
command = ~D, U
Time = 15

;-| Finisher Motions |------------------------------------------------------
;-----------------
[Command]
name = "LightningSplat"
command = ~D, D, B, F, y
time = 35

[Command]
name = "PogoSlam"
command = ~D, D, U, z
time = 46

;[Command]
;name = "Doll"
;command = ~B, B, D, y
;time = 30

[Command]
name = "BombFatal"
command = ~B, B, D, F
time = 30

[Command]
name = "Hand"
command = ~F, F, B, a
time = 35

[Command]
name = "Spike"
command = ~F, F, D, a
time = 35

[Command]
name = "FreezeBreak"
command = ~F, F, D, y
time = 30

[Command]
name = "TeleDeath"
command = ~D, U, D, D, D
time = 50

[Command]
name = "TeleChop"
command = ~z, c, z, z, b
time = 40

[Command]
name = "InvisDeath"
command = ~F, F, D, y
time = 30

;-| Double Tap |------------------------------------------------------
;-----------------
[Command]
name = "FF"       ;Required (do not remove)
command = /$F,z
time = 15

[Command]
name = "BB"       ;Required (do not remove)
command = B, B
time = 15

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery" ;Required (do not remove)
command = a+b
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_c"
command = /F,c
time = 1

[Command]
name = "fwd_x"
command = /F,x
time = 1

[Command]
name = "fwd_y"
command = /F,y
time = 1

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

[Command]
name = "Roundhouse"
command = /B,y
time = 1

[Command]
name = "AltRoundhouse"
command = /F,y
time = 1

[Command]
name = "CLP"
command = /$D,a
time = 1

[Command]
name = "Uppercut"
command = /$D,x
time = 1

[Command]
name = "CLK"
command = /$D,b
time = 1

[Command]
name = "CHK"
command = /$D,y
time = 1

;-| Single Button |---------------------------------------------------------
[Command]
name = "LP"
command = a
time = 1

[Command]
name = "HP"
command = x
time = 1

[Command]
name = "THROW"
command = a
time = 1

[Command]
name = "LK"
command = b
time = 1

[Command]
name = "HK"
command = y
time = 1

[Command]
name = "Z"
command = z
time = 1

[Command]
name = "AIRTHROW"
command = s
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 = "hold_b"
command = /b
time = 1

[Command]
name = "hold_c"
command = /c
time = 1

[Command]
name = "hold_s"
command = /s
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd"  ;Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback" ;Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup"   ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown" ;Required (do not remove)
command = /$D
time = 1

[Command]
name = "holdfwdR"  ;Required (do not remove)
command = /$F+z
time = 1

[Command]
name = "Guard"  ;Required (do not remove)
command = /c
time = 1

[Command]
name = "ALTRUN"  ;Required (do not remove)
command = /z
time = 1

;-| CPU ONLY (DUMMY MOVES ONLY THE COMPUTER CAN DO THAT ACTIVATE HIS AI |-----------------------
[Command]
name = "CPU1"
command = D, D, U, U, D, U
time = 1

[Command]
name = "CPU2"
command = D, U, U, D, D, U
time = 1

[Command]
name = "CPU3"
command = D, D, D, U, U, U
time = 1

[Command]
name = "CPU4"
command = U, D, D, U, U, U
time = 1

[Command]
name = "CPU5"
command = D, D, U, U, D, D
time = 1

[Command]
name = "CPU6"
command = U, D, D, D, D, U
time = 1

[Command]
name = "CPU7"
command = U, U, U, U, U, D
time = 1

[Command]
name = "CPU8"
command = U, U, U, U, D, U
time = 1

[Command]
name = "CPU9"
command = U, U, U, D, U, U
time = 1

[Command]
name = "CPU10"
command = U, U, D, U, U, U
time = 1

[Command]
name = "CPU11"
command = U, D, U, U, U, U
time = 1

[Command]
name = "CPU12"
command = D, U, D, U, D, U
time = 1

[Command]
name = "CPU13"
command = U, U, D, U, U, U, U
time = 1

[Command]
name = "CPU14"
command = U, D, D, U, U, U, U
time = 1

[Command]
name = "CPU15"
command = D, U, D, U, U, U, D
time = 1

[Command]
name = "CPU16"
command = D, D, D, U, U, U, U
time = 1

[Command]
name = "CPU17"
command = U, U, D, U, U, D, D
time = 1

[Command]
name = "CPU18"
command = D, D, D, U, D, D, D
time = 1

[Command]
name = "CPU19"
command = U, D, D, U, D, U, D
time = 1

[Command]
name = "CPU20"
command = D, D, D, U, U, U, D
time = 1

[Command]
name = "CPU21"
command = U, D, U, D, U, U, U
time = 1

[Command]
name = "CPU22"
command = U, U, U, U, U, U, U
time = 1

[Command]
name = "CPU23"
command = D, D, D, D, D, D, D
time = 1

[Command]
name = "CPU24"
command = D, D, D, D, D, D, U
time = 1

[Command]
name = "CPU25"
command = D, D, D, D, D, U, D
time = 1

[Statedef -1]

[State -1, AITurnOn]
type = VarSet
triggerall = var(29) != 1
trigger1  = command = "CPU1"
trigger2  = command = "CPU2"
trigger3  = command = "CPU3"
trigger4  = command = "CPU4"
trigger5  = command = "CPU5"
trigger6  = command = "CPU6"
trigger7  = command = "CPU7"
trigger8  = command = "CPU8"
trigger9  = command = "CPU9"
trigger10 = command = "CPU10"
trigger11 = command = "CPU11"
trigger12 = command = "CPU12"
trigger13 = command = "CPU13"
trigger14 = command = "CPU14"
trigger15 = command = "CPU15"
trigger16 = command = "CPU16"
trigger17 = command = "CPU17"
trigger18 = command = "CPU18"
trigger19 = command = "CPU19"
trigger20 = command = "CPU20"
trigger21 = command = "CPU21"
trigger22 = command = "CPU22"
trigger23 = command = "CPU23"
trigger24 = command = "CPU24"
trigger25 = command = "CPU25"
v = 29
value = 1

;**********FINISHERS/AGGRESSOR**********
[State -1, Aggressor]
type = ChangeState
value = 1999
triggerall = command = "Aggressor"
triggerall = power >= 2000
triggerall = NumExplod(1998) = 0
triggerall = ctrl
trigger1 = statetype = S
trigger2 = statetype = C

;*******************Pogo Slam Fatality*********************
[State -1, PogoSlam]
type = ChangeState
value = 4100
triggerall = command = "PogoSlam"
triggerall = ctrl = 1
triggerall = p2stateno = 9010
triggerall = p2life < 10
triggerall = P2statetype = S
trigger1 = statetype = S
trigger2 = statetype = C

;*******************Rain's Lightning Fatality***************************
[State -1, LightningFatal]
type = ChangeState
value = 4110
triggerall = command = "LightningSplat"
;triggerall = P2bodydist X < 20
triggerall = ctrl = 1
triggerall = p2stateno = 9010
triggerall = p2life < 10
triggerall = P2statetype = S
trigger1 = statetype = S
trigger2 = statetype = C

;***************Tremor's Earth Spike Fatality***********************
[State -1, Spike]
type = ChangeState
value = 4999 ;130
triggerall = command = "Spike"
triggerall = P2bodydist X < 20
triggerall = ctrl = 1
triggerall = p2stateno = 9010
triggerall = p2life < 10
triggerall = P2statetype = S
trigger1 = statetype = S
trigger2 = statetype = C


;*******************Scorpion's Hell Hand Fatality***************************
[State -1, HellHand]
type = ChangeState
value = 4140
triggerall = command = "Hand"
triggerall = ctrl = 1 ;stateno = [120,139]
triggerall = p2stateno = 9010
triggerall = p2life < 10
triggerall = P2statetype = S
triggerall = p2bodyDist X > 80
trigger1 = statetype = S
trigger2 = statetype = C

;******************Reptile's Invis Death Fatal**************************
[State -1, InvisDeath]
type = ChangeState
value = 4900
triggerall = command = "InvisDeath"
triggerall = Var(41) = 1
triggerall = ctrl = 1
triggerall = p2stateno = 9010
triggerall = p2life < 10
triggerall = P2statetype = S
triggerall = P2bodydist X < 20
trigger1 = statetype = S
trigger2 = statetype = C

;*******************Sub-Zero's Freeze-n-Break Fatality***************************
[State -1, FreezeBreak]
type = ChangeState
value = 4150
triggerall = command = "FreezeBreak"
triggerall = P2bodydist X > 64
triggerall = ctrl = 1
triggerall = P2statetype = S
trigger1 = statetype = S
trigger1 = p2stateno = 9010
trigger1 = p2life < 10
trigger2 = statetype = C
trigger2 = p2stateno = 9010
trigger2 = p2life < 10
;trigger3 = statetype = S
;trigger3 = Var(59) = 1
;trigger4 = statetype = C
;trigger4 = Var(59) = 1

;*******************Smoke's Tele-Chop***************************
[State -1, TeleChop]
type = ChangeState
value = 4600
triggerall = command = "TeleChop"
;triggerall = P2bodydist X < 20
triggerall = ctrl = 1
triggerall = p2stateno = 9010
triggerall = p2life < 10
triggerall = P2statetype = S
trigger1 = statetype = S
trigger2 = statetype = C

;*******************Slash's Bomber Fatality***************************
[State -1, BombFatal]
type = ChangeState
value = 4180
triggerall = command = "BombFatal"
triggerall = command = "hold_a"
triggerall = ctrl = 1
triggerall = p2stateno = 9010
triggerall = p2life < 10
triggerall = P2statetype = S
trigger1 = statetype = S
trigger2 = statetype = C

;*******************Ermac's Tele-Death***************************
;CAN ONLY BE DONE WHILE BLOCKING
;SEE STATE 130 IN ERMAC.CNS
;[State -1, Tele-Death]
;type = ChangeState
;value = 4160
;triggerall = command = "TeleDeath"
;triggerall = ctrl = 1 ;stateno = [120,139]
;triggerall = p2stateno = 9010
;triggerall = p2life < 10
;triggerall = P2statetype = S
;trigger1 = statetype = S
;trigger2 = statetype = C

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

;            SPECIAL MOVES

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

;**********TREMOR MOVES**********
[State -1,GravField]
type = Changestate
value = 3660
triggerall = var(20) = 8
triggerall = command = "GravField"
triggerall = ctrl = 1
triggerall = p2stateno != 1501
triggerall = statetype != A
trigger1 = NumHelper(2010) = 0
trigger1 = NumHelper(2011) = 0
trigger1 = NumHelper(2012) = 0
trigger1 = NumHelper(2013) = 0
trigger2 = NumExplod(1998) = 1

[State -1,Counter]
type = Changestate
value = 3670
triggerall = var(20) = 8
triggerall = command = "GravCounter"
triggerall = ctrl = 1
triggerall = p2stateno != 1501
trigger1 = statetype != A

[State -1,Spike Shot]
type = Changestate
value = 3600
triggerall = var(20) = 8
triggerall = command = "Spike Shot"
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C

[State -1,GroundPound]
type = Changestate
value = 3640
triggerall = var(20) = 8
triggerall = command = "Pound"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = ctrl = 1
trigger2 = statetype = C

[State -1,AirGroundPound]
type = Changestate
value = 3642
triggerall = var(20) = 8
triggerall = command = "Pound"
trigger1 = ctrl = 1
trigger1 = statetype = A

[State -1,Gravity Teleport]
type = Changestate
value = 3620
triggerall = var(20) = 8
triggerall = command = "GravTel"
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C

[State -1,MaceUpper]
type = Changestate
value = 3650
triggerall = var(20) = 8
triggerall = command = "MaceUpper"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = ctrl = 1
trigger2 = statetype = C

[State -1,Cannon Ball]
type = Changestate
value = 3630
triggerall = var(20) = 8
triggerall = command = "Cannon Ball"
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C
trigger3 = statetype = A

[State -1,MaceStun]
type = ChangeState
value = 3610
triggerall = var(20) = 8
triggerall = command = "HP"
triggerall = command = "holdfwd"
triggerall = p2bodydist X < 32
triggerall = p2stateno != 3611
triggerall = statetype = S
trigger1 = ctrl = 1

;**********SLASH MOVES**********
;Invisible listed under Reptile. Slide listed under Smoke
; Dive Kick
[State -1]
type = ChangeState
value = 3560
triggerall = var(20) = 7
triggerall = command = "HK"
triggerall = command = "holddown"
trigger1 = statetype = A
trigger1 = ctrl = 1

; Short Dive Kick
[State -1]
type = ChangeState
value = 3560
triggerall = var(20) = 7
triggerall = command = "LK"
triggerall = command = "holddown"
trigger1 = statetype = A
trigger1 = ctrl = 1

;ShadowKick
[State -1]
type = Changestate
value = 3590
triggerall = var(20) = 7
triggerall = command = "ShadowKick"
triggerall = Var(41) = 0
triggerall = statetype = S
trigger1 = ctrl = 1

[State -1,KnifeThrow]
type = Changestate
value = 3500
triggerall = var(20) = 7
triggerall = command = "Knife"
triggerall = NumHelper(3501) = 0
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C

[State -1,AirKnife]
type = Changestate
value = 3570
triggerall = var(20) = 7
triggerall = NumHelper(3501) = 0
trigger1 = command = "Knife"
trigger1 = statetype = A
trigger1 = ctrl = 1

[State -1,SpinKick]
type = ChangeState
value = 3510
triggerall = var(20) = 7
triggerall = command = "SpinKick"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl

[State -1,ShortTacks]
type = Changestate
value = 22100
triggerall = var(20) = 7
triggerall = command = "ShortTacks"
triggerall = NumHelper(22110) = 0
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C

[State -1,LongTacks]
type = Changestate
value = 22150
triggerall = var(20) = 7
triggerall = command = "LongTacks"
triggerall = NumHelper(22110) = 0
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C

[State -1,AirShortTacks]
type = Changestate
value = 22101
triggerall = var(20) = 7
triggerall = command = "ShortTacks"
triggerall = NumHelper(22110) = 0
triggerall = ctrl = 1
trigger1 = statetype = A

[State -1,AirLongTacks]
type = Changestate
value = 22140
triggerall = var(20) = 7
triggerall = command = "LongTacks"
triggerall = NumHelper(22110) = 0
triggerall = ctrl = 1
trigger1 = statetype = A

[State -1,SlashCounter]
type = Changestate
value = 3580
triggerall = var(20) = 7
triggerall = command = "SlashCounter"
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C

[State -1, slashteleport]
type = Changestate
value = 3599
triggerall = var(20) = 7
triggerAll = command = "SlashTeleport"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = ctrl = 1
trigger2 = statetype = C
trigger3 = ctrl = 1
trigger3 = statetype = A
trigger4 = stateno = 40

;**********RAIN MOVES**********
;[State -1, teleport]
;type = Changestate
;value = 700
;;triggerAll = (command = "Teleport") || (command = "c")
;triggerAll = command = "RainTeleport"
;trigger1 = ctrl = 1
;trigger1 = statetype = S
;trigger2 = stateno = 40

[State -1, teleport]
type = ChangeState
value = 3470
triggerall = var(20) = 6
triggerall = command = "RainTeleport"
;triggerall = alive
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype = C
trigger2 = ctrl
trigger3 = stateno = 40

[State -1,RainBall]
type = Changestate
value = 3400
triggerall = var(20) = 6
triggerall = command = "RainBall"
triggerall = statetype = S
triggerall = p2stateno != 6669
triggerall = p2stateno != 3401
triggerall = p2stateno != 3402
trigger1 = ctrl = 1
trigger2 = stateno = 3460
trigger2 = p2stateno = 3462
trigger3 = stateno = 3460
trigger3 = p2stateno = 3463

[State -1,Wind]
type = Changestate
value = 3450
triggerall = var(20) = 6
triggerall = command = "RainWind"
triggerall = statetype = S
;triggerall = NumProj(3450) = 0
trigger1 = ctrl = 1
trigger2 = stateno = 3460
trigger2 = p2stateno = 3462
trigger3 = stateno = 3460
trigger3 = p2stateno = 3463

[State -1,AirRainBall]
type = Changestate
value = 3420
triggerall = var(20) = 6
triggerall = command = "VertRainBall"
triggerall = statetype = A
triggerall = p2stateno != 6669
triggerall = p2stateno != 3401
triggerall = p2stateno != 3402
trigger1 = ctrl = 1

[State -1,FAirRainBall]
type = Changestate
value = 3405
triggerall = var(20) = 6
triggerall = command = "RainBall"
triggerall = statetype = A
triggerall = p2stateno != 6669
triggerall = p2stateno != 3401
triggerall = p2stateno != 3402
trigger1 = ctrl = 1

[State -1,VertRainBall]
type = Changestate
value = 3480
triggerall = var(20) = 6
triggerall = command = "VertRainBall"
triggerall = statetype = S
triggerall = p2stateno != 6669
triggerall = p2stateno != 3401
triggerall = p2stateno != 3402
trigger1 = ctrl = 1
trigger2 = stateno = 3460
trigger2 = p2stateno = 3462
trigger3 = stateno = 3460
trigger3 = p2stateno = 3463

[State -1,Lightning]
type = Changestate
value = 3460
triggerall = var(20) = 6
triggerall = command = "Lightning"
triggerall = statetype = S
trigger1 = ctrl = 1

[State -1,HortizontalLightning]
type = Changestate
value = 3410
triggerall = var(20) = 6
triggerall = command = "HortLightning"
triggerall = statetype = S
trigger1 = ctrl = 1

;**********ERMAC MOVES**********
;Teleport listed under Scorpion's moves
[State -1]
type = ChangeState
value = 3300
triggerall = var(20) = 5
triggerall = command = "TeleLift"
triggerall = statetype = S
trigger1 = ctrl = 1

[State -1]
type = ChangeState
value = 3320
triggerall = var(20) = 5
triggerall = command = "TelePush"
triggerall = statetype = S
trigger1 = ctrl = 1

[State -1]
type = ChangeState
value = 3330
triggerall = var(20) = 5
triggerall = command = "ErmacKick"
triggerall = statetype = S
trigger1 = ctrl = 1

[State -1]
type = ChangeState
value = 3350
triggerall = var(20) = 5
triggerall = command = "ErmacKick"
triggerall = statetype = A
trigger1 = ctrl = 1

[State -1, Float]
type = ChangeState
value = 3341
triggerall = var(20) = 5
triggerall = command = "Float"
triggerall = var(29) = 0
triggerall = ctrl
trigger1 = statetype = S

[State -1, AirFloat]
type = ChangeState
value = 3341
triggerall = var(20) = 5
triggerall = command = "Float"
triggerall = var(29) = 0
triggerall = ctrl
trigger1 = statetype = A

[State -1,GreenFireball]
type = Changestate
value = 3360
triggerall = var(20) = 5
triggerall = command = "GreenBall"
triggerall = ctrl = 1
trigger1 = statetype = S
trigger2 = statetype = C

[State -1,AirGreenFireBall]
type = Changestate
value = 3370
triggerall = var(20) = 5
triggerall = command = "GreenBall"
trigger1 = statetype = A
trigger1 = ctrl = 1

;**********NOOB SAIBOT MOVES**********
[State -1, GhostBall]
type = ChangeState
value = 3204
triggerall = var(20) = 4
triggerall = command = "GhostBall"
triggerall = var(5) < 1
triggerall = p2stateno != 3246 
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = Stateno = 12

[State -1,MK4 Fireball]
type = Changestate
value = 3200
triggerall = var(20) = 4
triggerall = command = "MK4Fire"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = ctrl = 1
trigger2 = statetype = C
trigger3 = Stateno = 12

[State -1,Upper MK4 Fireball]
type = Changestate
value = 3280
triggerall = var(20) = 4
triggerall = command = "UpMK4Fire"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = ctrl = 1
trigger2 = statetype = C
trigger3 = Stateno = 12

[State -1,Air MK4 Fireball]
type = Changestate
value = 3220
triggerall = var(20) = 4
triggerall = command = "MK4Fire"
trigger1 = ctrl = 1
trigger1 = statetype = A

[State -1, NoobClone]
type = ChangeState
value = 3240
triggerall = var(20) = 4
triggerall = command = "NoobClone"
triggerall = ctrl
trigger1 = NumHelper(3241) = 0
trigger1 = statetype = S
trigger1 = p2bodydist x >= 50

[State -1, TeleGrab]
type = ChangeState
value = 3230
triggerall = var(20) = 4
triggerall = command = "TeleGrab"
triggerall = ctrl
trigger1 = statetype = S
trigger2 = statetype = C
;

;**********SCORPION MOVES**********
[State -1,Fire Breath]
type = Changestate
value = 1590
triggerall = command = "Fire"
triggerall = var(20) = 0
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = ctrl = 1
trigger2 = statetype = C

[State -1]
type = Changestate
value = 2000
triggerall = command = "DuckSpear"
triggerall = var(20) = 0
trigger1 = ctrl = 1
trigger1 = statetype = S
triggerall = p2stateno != 1545
triggerall = p2stateno != 1546
triggerall = p2stateno != 1547
triggerall = p2stateno != 2007

[State -1] ;Scorpion & Smoke
type = Changestate
value = 1540
triggerall = command = "Spear"
triggerall = var(20) = 0 || var(20) = 3
trigger1 = ctrl = 1
trigger1 = statetype = S
triggerall = p2stateno != 1545
triggerall = p2stateno != 1546
triggerall = p2stateno != 1547
triggerall = p2stateno != 2007
triggerall = p2stateno != [2015,2019] ;No Smoke Clone infinites...

[State -1] ;Scorpion, Smoke & Ermac
type = Changestate
value = 1570
triggerall = var(20) = 0 || var(20) = 3 || var(20) = 5
triggerall = p2stateno != [2015,2019] ;No Smoke Clone infinites...
trigger1 = command = "Teleport"
trigger1 = p2stateno != 1547
trigger1 = Var(42) = 0
trigger1 = ctrl = 1

[State -1]
type = Changestate
value = 1600
triggerall = var(20) = 0
trigger1 = command = "FwdTeleport"
trigger1 = p2stateno != 1547
trigger1 = Var(42) = 0
trigger1 = ctrl = 1

;Super Sweep
[State -1]
type = Changestate
value = 1530
triggerall = command = "SuperSweep"
triggerall = statetype != A
triggerall = var(20) = 0
trigger1 = ctrl = 1

;**********SMOKE MOVES**********
;Teleport & Spear listed under Scorpion's moves
[State -1,Slide] ;Smoke, Sub-Zero, Reptile, Slash
type = Changestate
value = 1593
triggerall = var(20) = 1 || var(20) = 2 || var(20) = 3 || var(20) = 7
triggerall = command = "Slide"
triggerall = command = "holdback"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = ctrl = 1
trigger2 = statetype = C
trigger3 = stateno = 130
trigger3 = time <= 8
trigger4 = stateno = 131
trigger4 = time <= 8

[State -1,Clone] ;Smoke
type = Changestate
value = 2009
triggerall = var(20) = 3
triggerall = command = "Clone"
triggerall = command != "Spear"
triggerall = ctrl = 1
triggerall = p2stateno != [1501,1503]
triggerall = p2stateno != [2015,2019]
trigger1 = NumHelper(2010) = 0
trigger1 = NumHelper(2011) = 0
trigger1 = NumHelper(2012) = 0
;trigger1 = statetype = S
trigger2 = NumExplod(1998) = 1


[State -1]
type = Changestate
value = 1610
triggerall = var(20) = 3
triggerall = p2stateno != [1501,1503]
triggerall = p2stateno != [2015,2019]
trigger1 = command = "VertTeleport"
trigger1 = p2stateno != 1547
trigger1 = statetype = S
trigger1 = ctrl = 1

;Invisible On Smoke
[State -1]
type = Changestate
value = 1531
triggerall = var(20) = 3
triggerall = command = "InvisSmoke"
triggerall = Var(41) = 0
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = [120,160]

;Invisible Off Smoke
[State -1]
type = Changestate
value = 1532
triggerall = command = "InvisSmoke"
triggerall = Var(41) = 1
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = [120,160]

;**********SUB-ZERO MOVES**********
;Slide listed under Smoke's moves

[State -1,Ice]
type = Changestate
value = 1800
triggerall = var(20) = 1
triggerall = command = "Ice"
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = NumHelper(1810) = 0
trigger1 = NumHelper(1811) = 0
trigger1 = NumHelper(1812) = 0
trigger2 = NumExplod(1998) = 1

[State -1,AirIce]
type = Changestate
value = 1808
triggerall = var(20) = 1
triggerall = command = "Ice"
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = NumHelper(1810) = 0
trigger1 = NumHelper(1811) = 0
trigger1 = NumHelper(1812) = 0
trigger2 = NumExplod(1998) = 1

[State -1,IceClone]
type = Changestate
value = 1809
triggerall = var(20) = 1
triggerall = command = "IceClone"
triggerall = ctrl = 1
triggerall = p2stateno != 1801
trigger1 = NumHelper(1810) = 0
trigger1 = NumHelper(1811) = 0
trigger1 = NumHelper(1812) = 0
;trigger1 = statetype = S
trigger2 = NumExplod(1998) = 1

[State -1,IceShower]
type = Changestate
value = 1820
triggerall = var(20) = 1
triggerall = command = "Shower"
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = NumHelper(1810) = 0
trigger1 = NumHelper(1811) = 0
trigger1 = NumHelper(1812) = 0
trigger2 = NumExplod(1998) = 1

[State -1,VertIce]
type = Changestate
value = 1830
triggerall = var(20) = 1
triggerall = command = "VertIce"
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = NumHelper(1810) = 0
trigger1 = NumHelper(1811) = 0
trigger1 = NumHelper(1812) = 0
trigger2 = NumExplod(1998) = 1

[State -1,FloorIce]
type = Changestate
value = 1840
triggerall = var(20) = 1
triggerall = command = "FloorIce"
triggerall = ctrl = 1
triggerall = p2stateno != 1801
trigger1 = NumHelper(1810) = 0
trigger1 = NumHelper(1811) = 0
trigger1 = NumHelper(1812) = 0
;trigger1 = statetype = S
trigger2 = NumExplod(1998) = 1

[State -1,Blast]
type = Changestate
value = 1850
triggerall = var(20) = 1
triggerall = command = "IceBlast"
triggerall = ctrl = 1
triggerall = p2stateno != 1801
triggerall = statetype != A
trigger1 = NumHelper(1810) = 0
trigger1 = NumHelper(1811) = 0
trigger1 = NumHelper(1812) = 0
trigger2 = NumExplod(1998) = 1

[State -1,Counter]
type = Changestate
value = 1851
triggerall = var(20) = 1
triggerall = command = "IceCounter"
triggerall = ctrl = 1
triggerall = p2stateno != 1801
trigger1 = statetype != A


;**********REPTILE MOVES**********
;Slide listed under Smoke's moves

[State -1,SlowForceball]
type = Changestate
value = 3110
triggerall = var(20) = 2
triggerall = command = "SlowBall"
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = NumHelper(3111) <= 2

[State -1,FastForceball]
type = Changestate
value = 3114
triggerall = var(20) = 2
triggerall = command = "FastBall"
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = NumHelper(3111) <= 2

[State -1,SneakyElbow]
type = Changestate
value = 3170
triggerall = var(20) = 2
triggerall = command = "Elbow"
triggerall = ctrl = 1
trigger1 = statetype = S
;trigger1 = NumHelper(3111) <= 2

[State -1,Acid]
type = Changestate
value = 3150
triggerall = var(20) = 2
triggerall = command = "Spit"
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = NumHelper(3151) = 0

[State -1,Loogie]
type = Changestate
value = 3156
triggerall = var(20) = 2
triggerall = command = "Loogie"
triggerall = statetype = S
trigger1 = ctrl = 1

;Invisible On Reptile/Slash
[State -1]
type = Changestate
value = 1531
triggerall = var(20) = 2 || var(20) = 7
triggerall = command = "InvisReptile"
triggerall = Var(41) = 0
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = [120,160]

;Invisible Off Reptile/Slash
[State -1]
type = Changestate
value = 1532
triggerall = command = "InvisReptile"
triggerall = Var(41) = 1
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = [120,160]


;*************THROW**************
[State -1,Overhead Throw]
type = ChangeState
value = 3000
triggerall = P2bodydist X < 5
triggerall = P2bodydist Y < 25
triggerall = P2bodydist Y > -25
triggerall = p2movetype != H
triggerall = ctrl = 1
trigger1 = command = "THROW"
trigger1 = command != "Spear"
trigger1 = command != "Teleport"
trigger1 = statetype = S
trigger1 = p2statetype = S
trigger1 = P2statetype != A
trigger2 = command = "Guard"
trigger2 = statetype = A
trigger2 = p2statetype = A

[State -1,ThrowOverride]
type = ChangeState
value = 1010
triggerall = command != "Teleport"
triggerall = P2bodydist X < 5
triggerall = p2movetype = H
triggerall = ctrl = 1
triggerall = statetype = S
trigger1 = command = "THROW"

;Air Throw
[State -1]
type = Changestate
value = 3000
triggerall = command != "Teleport"
triggerall = P2bodyDist X < 45
triggerall = P2bodyDist X > -1
triggerall = P2bodyDist Y = [-60, 0]
triggerall = ctrl = 1
triggerall = statetype = A
triggerall = P2statetype = A
trigger1 = command = "THROW"

;**********NONATTACKS**********
;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "hold_z"
trigger1 = command = "BB"
trigger1 = p2stateno != 9010
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Guard
;ダッシュ
[State -1, Guard]
type = ChangeState
value = 130
triggerall = command = "Guard"
triggerall = ctrl
;triggerall = stateno != 130
;triggerall = stateno != 131
trigger1 = var(29) != 1
trigger1 = statetype = S

[State -1, Guard]
type = ChangeState
value = 131
triggerall = command = "Guard"
triggerall = ctrl
;triggerall = stateno != 130
;triggerall = stateno != 131
trigger1 = var(29) != 1
trigger1 = statetype = C

[State -1, Guard]
type = ChangeState
value = 132
triggerall = command = "Guard"
triggerall = ctrl
;triggerall = stateno != 130
;triggerall = stateno != 131
trigger1 = var(29) != 1
trigger1 = statetype = A

;---------------------------------------------------------------------------
;Guard
;ダッシュ
[State -1, Guard]
type = ChangeState
value = 130
triggerall = command = "Guard"
trigger1 = var(29) != 1
trigger1 = stateno = 130
trigger1 = statetype = S

;---------------------------------------------------------------------------
;Guard
;ダッシュ
[State -1, CrouchGuard]
type = ChangeState
value = 131
triggerall = command = "Guard"
trigger1 = var(29) != 1
trigger1 = stateno = 131
trigger1 = statetype = C

;---------------------------------------------------------------------------
;Guard
[State -1, AirGuard]
type = ChangeState
value = 132
triggerall = command = "Guard"
trigger1 = var(29) != 1
trigger1 = stateno = 132
trigger1 = statetype = A

;**********STANDARD ATTACKS**********
[State -1,6]
type = ChangeState
value = 1100
triggerall = command = "Uppercut"
triggerall = statetype = C
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = stateno = 1303
trigger2 = time >= 23
trigger2 = p2stateno = 6669
trigger3 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

;********************Rain's WRAP-AROUND ROUNDHOUSE*****************
[State -1,7-1]
type = ChangeState
value = 1303
triggerall = var(20) = 6
triggerall = statetype = S
trigger1 = command = "Roundhouse"
trigger1 = ctrl = 1
trigger2 = command = "Roundhouse"
trigger2 = stateno = 1303
trigger3 = time >= 24
trigger2 = p2stateno = 6669
trigger3 = command = "AltRoundhouse"
trigger3 = stateno = 1303
trigger3 = time >= 24
trigger3 = p2stateno = 6669

;Normal Roundhouse
[State -1,7-2]
type = ChangeState
value = 1300
triggerall = var(20) != 6
triggerall = command = "Roundhouse"
triggerall = statetype = S
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,8]
type = ChangeState
value = 1010
triggerall = command = "LP"
triggerall = statetype = S
triggerall = P2bodydist X > 5
triggerall = statetype = S
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = stateno = 1011
trigger3 = stateno = 1011
trigger3 = animtime = 0
trigger4 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,9]
type = ChangeState
value = 1011
triggerall = command = "LP"
trigger1 = stateno = 1010
trigger1 = statetype = S
trigger2 = stateno = 1010
trigger2 = animtime = 0
trigger2 = statetype = S

;Slash's "Elbow" attack
[State -1,11]
type = ChangeState
value = 1318
triggerall = var(20) = 7
triggerall = command = "HP"
triggerall = p2bodydist X < 12
triggerall = statetype = S
trigger1 = ctrl = 1

;Axe Swipe
[State -1,11]
type = ChangeState
value = 1320
triggerall = var(20) = 0 || var(20) = 3
triggerall = command = "HP"
triggerall = p2bodydist X < 12
triggerall = statetype = S
trigger1 = ctrl = 1

;Elbow
[State -1,11]
type = ChangeState
value = 1319
triggerall = var(20) != 0
triggerall = var(20) != 3
triggerall = var(20) != 7
triggerall = command = "HP"
triggerall = p2bodydist X < 12
triggerall = statetype = S
trigger1 = ctrl = 1

[State -1,12]
type = ChangeState
value = 1330
triggerall = p2bodydist X < 12
triggerall = statetype = S
triggerall = ctrl = 1
triggerall = p2stateno != 6669
trigger1 = command = "LK"
trigger2 = command = "HK"

[State -1,16]
type = Changestate
value = 1310
triggerall = command = "LK"
triggerall = command = "holdback"
triggerall = statetype != A
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,10]
type = ChangeState
value = 1030
triggerall = command = "LK"
triggerall = p2bodydist X > 10
triggerall = statetype = S
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,13]
type = ChangeState
value = 1020
triggerall = command = "HK"
triggerall = statetype = S
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,14]
type = ChangeState
value = 1000
triggerall = command = "HP"
trigger1 = statetype = S
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = statetype = S
trigger2 = stateno = 1001
;trigger2 = movecontact = 1
trigger3 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,15]
type = ChangeState
value = 1001
triggerall = command = "HP"
trigger1 = statetype = S
trigger1 = stateno = 1000
;trigger1 = movecontact = 1

[State -1,17]
type = changestate
value = 1110
triggerall = statetype = C
trigger1 = command = "LP"
trigger1 = command = "holddown"
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,19]
type = ChangeState
value = 1130
triggerall = command = "CLK"
triggerall = statetype = C
triggerall = stateno != 1130
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,20]
type = ChangeState
value = 1120
triggerall = command = "CHK"
triggerall = statetype = C
trigger1 = ctrl = 1 && var(29) != 1
trigger2 = p2bodydist X < 44 && var(29) >= 1 && ctrl = 1

[State -1,21]
type = ChangeState
value = 1200
triggerall = statetype = A
triggerall = ctrl = 1
triggerall = stateno != 1200
triggerall = stateno != 1210
triggerall = stateno != 1220
trigger1 = command = "LP"
trigger2 = command = "HP"

[State -1,23]
type = ChangeState
value = 1220
triggerall = statetype = A
triggerall = ctrl = 1
triggerall = anim = 41
triggerall = stateno != 1200
triggerall = stateno != 1210
triggerall = stateno != 1220
trigger1 = command = "LK"
trigger2 = command = "HK"

[State -1,24]
type = ChangeState
value = 1210
triggerall = statetype = A
triggerall = ctrl = 1
triggerall = stateno != 1200
triggerall = stateno != 1210
triggerall = stateno != 1220
trigger1 = command = "LK"
trigger2 = command = "HK"




;=====================================================================
;=====================================================================
; BLOOD COLORS
;=====================================================================
;=====================================================================

[State -1, SnowBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "Iceman by SH"
trigger2 = p2name = "Iceman"
trigger3 = p2name = "IceMan"
trigger4 = p2name = "Glacius Original"
trigger5 = p2name = "Cactuar"
trigger6 = p2name = "Glacius"
trigger7 = p2name = "FrostMan"
add = -255,224,-255
mul = -255,244,-255
time = 900

[State -1, BlueBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "DARK WARRIOR2"
trigger2 = p2name = "DARK WARRIOR"
trigger3 = p2name = "Dark WarriorMO"
trigger4 = p2name = "Venom"
trigger5 = p2name = "Venon"
trigger6 = p2name = "Venom MVsC"
add = -255,-255,192
mul = 0,0,192
time = 900

[State -1, PurpleBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "Rapterrometh"
trigger2 = p2name = "Riptor"
trigger3 = p2name = "Sabrewulf"
trigger4 = p2name = "Ray"
trigger5 = p2name = "Sisi"
trigger6 = p2name = "Piccolo"
trigger7 = p2name = "Thanos"
add = 148,-255,148
mul = 148,0,148
time = 900

[State -1, LightGreenBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "Reptile"
trigger2 = p2name = "ReptileMO"
trigger3 = p2name = "Sheeva"
trigger4 = p2name = "Motaro"
trigger5 = p2name = "Tin's GUNTER"
trigger6 = p2name = "Gunter"
trigger7 = p2name = "Chameleon"
trigger8 = p2name = "Genan"
trigger9 = p2name = "neodio"
trigger10 = p2name = "Predator Hunter"
trigger11 = p2name = "Predator"
trigger12 = p2name = "Trident"
trigger13 = p2name = "Rikuo"
trigger14 = p2name = "Picco"
trigger15 = p2name = "Abyss Form 2"
add = -255,244,-255
mul = 0,244,0
time = 900

[State -1, DarkGreenBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "Fulgore"
trigger2 = p2name = "BROCKEN"
trigger3 = p2name = "Brocken"
trigger4 = p2name = "Cyber Woo"
trigger5 = p2name = "ZAKU"
trigger6 = p2name = "Zaku"
trigger7 = p2name = "Epyon"
trigger8 = p2name = "Phobos"
trigger9 = p2name = "Silver Horns,by Douglas"
trigger10 = p2name = "GiagantosForSilverHorns"
trigger11 = p2name = "Gundam Wing Zero"
trigger12 = p2name = "Zechs Marquise"
trigger13 = p2name = "Abyss Form 1"
trigger14 = p2name = "Abyss Form 1+"
add = -255,128,-255
mul = 0,128,0
time = 900

[State -1, YellowBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "Yellow Devil"
trigger2 = p2name = "PMatt"
add = 244,244,-255
mul = 244,244,0
time = 900

[State -1, BrownBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "Post"
trigger2 = p2name = "Scarecrow"
trigger3 = p2name = "Omake: Mr. Wood"
add = 64,64,-255
mul = 64,64,0
time = 900

[State -1, LavaBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "[o_O]'s Blackheart"
trigger2 = p2name = "Blackheart"
trigger3 = p2name = "K'(s)"
trigger4 = p2name = "pyron"
trigger5 = p2name = "Pyron"
trigger6 = p2name = "Cinder"
trigger7 = p2name = "CinderMO"
trigger8 = p2name = "Lucifeller"
add = 40,-70,-200
sinadd = 40,30,0,75
color = 0
invertall = 1
time = 900

[State -1, BlackBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "RoboSmokeMO"
trigger2 = p2name = "RoboSmoke"
trigger3 = p2name = "SektorMO"
trigger4 = p2name = "Sektor"
trigger5 = p2name = "CyraxMO"
trigger6 = p2name = "Cyrax"
trigger7 = p2name = "Dracket"
trigger8 = p2name = "CyraxMO"
trigger9 = p2name = "Nail Bomb"
trigger10 = p2name = "Krang"
trigger11 = p2name = "KrangMO"
trigger12 = p2name = "Sentinel"
trigger13 = p2name = "Apocalypse"
trigger14 = p2name = "elque"
trigger15 = p2name = "Galactus"
trigger16 = p2name = "Metal Slug Train"
trigger17 = p2name = "Onslaught"
trigger18 = p2name = "Mercedes Benz"
trigger19 = p2name = "Fernandeath"
trigger20 = p2name = "Politankz"
trigger21 = p2name = "EMatt"
trigger22 = p2name = "NoobMO"
trigger23 = p2name = "Noob"
trigger24 = p2name = "Noob Saibot"
color = 0
;add = -255,128,-255
;mul = 0,0,128
add = -255,-255,48
mul = 0,0,48
time = 900

[State -1, TransformerBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "God_Ginrai"
trigger2 = p2name = "Overlord"
trigger3 = p2name = "Fortress_Maximus"
trigger4 = p2name = "Scorponok"
trigger5 = p2name = "Rodimus Prime"
trigger6 = p2name = "Galvatron"
trigger7 = p2name = "Soundwave"
trigger8 = p2name = "Reflector"
trigger9 = p2name = "Chromia"
trigger10 = p2name = "Ironhide"
trigger11 = p2name = "Elita_One"
trigger12 = p2name = "Shockwave"
trigger13 = p2name = "Skywarp"
trigger14 = p2name = "Sunstreaker"
trigger15 = p2name = "Sideswipe"
trigger16 = p2name = "Thundercracker"
trigger17 = p2name = "Starscream"
trigger18 = p2name = "Jazz"
trigger19 = p2name = "Megatron"
trigger20 = p2name = "Optimus Prime"
color = 0
;add = -255,128,-255
;mul = 0,0,128
add = 8,-255,16
mul = 8,0,16
time = 900

[State -1, WhiteBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "Ickybod Clay"
trigger2 = p2name = "Bonus Kun"
trigger3 = p2name = "BonusKun"
trigger4 = p2name = "Bonuskun"
color = 0
add = 224,224,224
mul = 224,224,224
time = 900

[State -1, MegaManBlood]
type = palFX
triggerall = time = 1
triggerall = Var(16) >= 1
;triggerall = IsHelper(6040)
trigger1 = p2name = "MegaMan"
trigger2 = p2name = "Megaman"
trigger3 = p2name = "Mmx"
trigger4 = p2name = "MegaManX"
trigger5 = p2name = "MegamanX"
trigger6 = p2name = "Mega Man X"
trigger7 = p2name = "Zero"
trigger8 = p2name = "Crashman"
trigger9 = p2name = "CutMan"
trigger10 = p2name = "Cutman"
trigger11 = p2name = "Geminiman"
trigger12 = p2name = "Gutsman"
trigger13 = p2name = "HeatmanMO"
trigger14 = p2name = "Protoman"
trigger15 = p2name = "ProtoMan"
trigger16 = p2name = "protoman"
trigger17 = p2name = "Magnetman"
trigger18 = p2name = "MagnetMan"
trigger19 = p2name = "Woodman"
color = 0
add = -255,128,-255
mul = 0,0,128
;add = 255,255,-255
;mul = 128,128,-128
time = 900

