;Created hy Mugenfutacharsmaker

;fvar(27) Speeds 1/2/3/4/5/Cum
;fvar(26) Pose Changer 
;fVar(25) Cum bar load
;Fvar(29) Speed bar load - Cooldown - Automode
;fvar(28) Var for grab quantity - Transparency


[Statedef 89112]; Futa won victim release, left on ground
type = A
movetype = H
physics = N
velset = 0,0

[State 757, 1]
type = SprPriority
trigger1 = 1
value = 2

[State 757, 2]
type = ChangeAnim
trigger1 = Time = 0
value = 5030

[State 757, 3]
type = VelSet
trigger1 = AnimElem = 1
X = 3
Y = -1.5

[State 757, 4]
type = VelAdd
trigger1 = 1
Y = 0.3

[State 757, 9]
type = SelfState
trigger1 = Vel Y > 0 && Pos Y >= 0
value = 5100


[Statedef 89113]; Futa lost futa release, pushed violently
type = A
movetype = H
physics = N
velset = 0,0

[State 757, 1]
type = SprPriority
trigger1 = 1
value = 2

[State 757, 2]
type = ChangeAnim
trigger1 = Time = 0
value = 5030

[State 757, 3]
type = VelSet
trigger1 = AnimElem = 1
X = 3
Y = -1.5

[State 757, 4]
type = VelAdd
trigger1 = 1
Y = 0.3

[State 757, 9]
type = SelfState
trigger1 = Vel Y > 0 && Pos Y >= 0
value = 5100

;----------------------------------------------------------------------NORMAL RAPE
;----------------------------------------------------------------------

;Futa Grab
[Statedef 50000]
type = S
movetype= A
physics = S
juggle = 0
velset = 5,0
ctrl = 0
anim = 60000 ; Intento de Grab
sprpriority = 3

[State 865, 2]
type = Velset
trigger1 = (GameTime % 5) = 0
x = 2

[State 0, Trans]; Para remover efecto de transparencia en caso de que el char se lo haya puesto antes del grab
type = Trans
trigger1 = time = 0
trans = none

;[State 0,NotHitBy]
;type = NotHitBy
;trigger1 = time = 0
;value = SCA
;time = 5

[State 0, TargetState]
type = TargetState
trigger1 = Movehit
trigger1 = NumTarget
value = 50002

[State 0, ChangeState] ; if Successful hit
type = ChangeState
triggerall = numtarget
trigger1 = MoveHit = 1
trigger1 = Target,movetype=H && !moveguarded && movehit
value = 50001

[State 0]
type = HitDef
Trigger1 = Time = 0
attr = S, ST
hitflag = MAF
affectteam = E
priority = 1, Miss
sparkno = -1
p1sprpriority = 1
hitsound = S45645,0
p1facing = 1
p2facing = 1
guard.dist = 0
fall = 1

[State 0, ChangeState ]; if Miss
type = ChangeState
trigger1 = AnimTime = 0 
value = 0
ctrl = 1

[State 0, VarSet]; Cooldown Grab Failed
type = VarSet
trigger1 = time = 0
fv = 29
value = 15


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

;Futa Normal Taunt
[Statedef 50001]
type = S
movetype= A
physics = S
velset = 0,0
anim = 53300 ; Burla
sprpriority = 3

[State 0, TargetState]; Target to Move
type = TargetState
trigger1 = time = 0
value = 50002

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time > 0
pos = 0,0

[State 0, PosSet]; Futa Position
type = PosSet
trigger1 = pos x > 20 && time = 0
y = 0
x = ifelse(facing=1,-7,7)

[State 0, PosSet]; Futa Position
type = PosSet
trigger1 = pos x < -20 && time = 0
y = 0
x = ifelse(facing=1,7,-7)


[State 0, PosAdd]; Move Futa partner
type = PosAdd
triggerall = (time % 25) = 0 && random < 500
triggerall = enemynear(1),stateno = 50001  || enemynear(1),stateno = 50002 || enemynear(1),stateno = 50003 || enemynear(1),stateno = 50004  || enemynear(1),stateno = 50101  || enemynear(1),stateno = 50102  || enemynear(1),stateno = 50103 || enemynear(1),stateno = 50104 || enemynear(1),stateno = 80003  || enemynear(1),stateno = 80103 || enemynear(1),stateno = 80203 || enemynear(1),stateno = 80303
trigger1 =  abs(enemynear(1),Pos X - Pos X) <= 45
x = ifElse(Facing,-65,65)


[State 0, PlaySnd]; Sex first Penetration
type = PlaySnd
trigger1 = AnimElem = 7
value = 45645,1

[State 0, PlaySnd]; Futa word before penetration
type = PlaySnd
trigger1 = animelem = 6
value = 5002,0+random%3
persistent = 0

[State 0, VarSet]; Struggle reset
type = VarSet
trigger1 = time = 0
fv = 29
value = 0

[State 0, TargetState]; Emote End Target
type = TargetState
trigger1 = Animtime = 0
value = 50004

[State 0, ChangeState ]; Taunt End
type = ChangeState
trigger1 = AnimTime = 0 
value = ifElse(AILevel && Target,AILevel = 0,80003,ifElse(AILevel && Target,AIlevel,80203,50003))

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

;Victim Normal Taunt
[Statedef 50002]
type = S
movetype= H
physics = S
sprpriority = 2
ctrl = 0

[State 0, ChangeAnim2]; Taunt Bottom
type = ChangeAnim2
trigger1 = time = 0
value = 54300

[State 0, PlaySnd]; Penetration Sound
type = PlaySnd
trigger1 = animelem = 7
value = 4218,25 +random%3

[State 0, LifeAdd]; Initial Damage
type = LifeAdd
trigger1 = animelem = 7
kill = 0
value = -50

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

;Futa Normal Assault
[Statedef 50003]
type = S
movetype= A
physics = S
velset = 0,0
anim = 70001
sprpriority = 3

;[State 0, Helper]; Move enemies and allies from view
;type = Helper
;trigger1 = time = 0 && numhelper(50150) = 0
;helpertype = normal
;name = "Opponent Aproach"
;ID = 50150
;stateno = 50150 
;postype = p1  
;facing = 1
;keyctrl = 0
;ownpal = 0
;supermovetime = 0
;pausemovetime = 0

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time = 0
pos = 0

[State 70001, Explod]
type = Explod
trigger1 = animelem = 8
anim = 25000
ID = 25000
pos = 45, -70
postype = p1
scale = .3, .3
sprpriority = 4

; Explof for Critical Triggers
[State 0, Explod]
type = Explod
triggerall = random < 100 && numexplod(443005) = 0
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
anim = 443004
ID = 443004


;-------------------- SEX SOUND AND EFFECTS (& CRITICAL STUFF)------------------------------------;

[State 0, PlaySnd]; Sex penetration sounds
type = PlaySnd
triggerall = numexplod(443004) = 0
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 45600,0 + random%5

[State 0, PlaySnd]; Sex Futa moans
type = PlaySnd
triggerall = random < 200
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 10,8

[State 0, HitAdd]; Hit Count
type = HitAdd
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 1

;-------------- CRITICAL STUFF

[State 0, PlaySnd]; Sex Critical penetration sounds
type = PlaySnd
trigger1 = numexplod(443004) = 1
value = 45601,0 + random%2

[State 0, EnvShake]; Sex Critical EnvShake
type = EnvShake
trigger1 = numexplod(443004) = 1
time = 10
freq = 180
ampl = -6

; Critical Futa reaction/Critical cooldown
[State 0, Explod]
type = Explod
trigger1 = numexplod(443004) = 1
anim = 443005
ID = 443005

[State -2, SuperPause]
type = SuperPause
trigger1 = numexplod(443004) = 1
time = 5
anim = -1
sound = S15,0 + random%2
darken = 0
movetime = -1
ignorehitpause = 1

; Remove Critical Explod once everything triggered/ Maybe not needed
[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = numexplod(443004) = 1
ID = 443004

;------------------ CUM SOUND AND EFFECTS, IMPREGNATION

[State 0, VarAdd]; Cum Bar Increase
type = VarAdd
trigger1 = (GameTime % 20) = 0 && fvar(25) < 70
fv = 25
value = 0.10*fvar(27)

[State 0, PlaySnd]; Sex First penetration sound when cum
type = PlaySnd
trigger1 = animelem = 3 && Anim = 70006
trigger2 = animelem = 4 && Anim = 70026
trigger3 = animelem = 4 && Anim = 70046
trigger4 = animelem = 2 && Anim = 70066
value = 45645,1

[State 0, PlaySnd]; Cum sounds
type = PlaySnd
trigger1 = numexplod(443003) = 1
value = 45645,7

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MISSIONARY
[State 0, Explod]
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 26
anim = 443003
ID = 443003

[State 4615, Explod];cum expulsion RIGHT during during testicle contraction
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 8
trigger2 = animelem = 14 
trigger3 = animelem = 20  
trigger4 = animelem = 26
anim = 110201
ID = 110201
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0


[State 4615, Explod];cum expulsion LEFT during during testicle contraction
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 8
trigger2 = animelem = 14 
trigger3 = animelem = 20  
trigger4 = animelem = 26
anim = 110205
ID = 110205
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum drip after violent sex ( animation 80006)
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 34
anim = 99989
ID = 99989
pos = -40, -18
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum LONG EXPULSION( animation 80006)
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 8
trigger2 = animelem = 14 
trigger3 = animelem = 20  
trigger4 = animelem = 26
anim = 113203
ID = 113203
pos = -0, -5
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum LONG EXPULSION( animation 80006)
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 8
trigger2 = animelem = 14 
trigger3 = animelem = 20  
trigger4 = animelem = 26
anim = 113204
ID = 113204
pos = -0, -5
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum expulsion RIGHT press
type = Explod
triggerall = anim = 70066
trigger1 = animelem = 8
trigger2 = animelem = 14 
trigger3 = animelem = 20  
trigger4 = animelem = 26
anim = 110201
ID = 110201
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum expulsion LEFT cowgirl
type = Explod
triggerall = anim = 70026
trigger1 = animelem = 6
trigger2 = animelem = 12 
trigger3 = animelem = 18  
trigger4 = animelem = 24
anim = 110205
ID = 110205
pos = 0, -16
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 4615, Explod];cum expulsion RIGHT cowgirl
type = Explod
triggerall = anim = 70026
trigger1 = animelem = 6
trigger2 = animelem = 12 
trigger3 = animelem = 18  
trigger4 = animelem = 24
anim = 110201
ID = 110201
pos = 0, -16
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 4615, Explod];cum expulsion LEFT press
type = Explod
triggerall = anim = 70066
trigger1 = animelem = 8
trigger2 = animelem = 14 
trigger3 = animelem = 20  
trigger4 = animelem = 26
anim = 110205
ID = 110205
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum LONG EXPULSION left doggy normal
type = Explod
triggerall = anim = 70046
trigger1 = animelem = 7
trigger2 = animelem = 13 
trigger3 = animelem = 19  
trigger4 = animelem = 25
anim = 113204
ID = 113204
pos = -0, -18
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0


; Invisible Hit and Cum Sounds and Moans Explod for Triggers - COWGIRL
[State 0, Explod]
type = Explod
triggerall = anim = 70026
trigger1 = animelem = 6 || animelem = 12 || animelem = 18 || animelem = 24
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - DOGGYSTYLE
[State 0, Explod]
type = Explod
triggerall = anim = 70046
trigger1 = animelem = 7 || animelem = 13 || animelem = 19 || animelem = 25
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MATINGPRESS
[State 0, Explod]
type = Explod
triggerall = anim = 70066
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 26
anim = 443003
ID = 443003

[State 0, Explod]; Impregnation Explod
type = Explod
triggerall = fvar(25) >= 70 && fvar(25) <= 75
trigger1 = animelem = 10 && anim = 70006 || animelem = 8 && anim = 70026 || animelem = 9 && anim = 70046 || animelem = 10 && anim = 70066
anim = 44201+random%5
ID = 44201
pos = 0 , ifElse(anim = 70026,-20,ifElse(anim = 70046,-15,-8))
facing = facing
postype = p1
scale = .2, .2
sprpriority = 5


[State 0, ChangeAnim]; Cum once Var29 (Cum load) = 70
type = VarSet
trigger1 = fvar(25) >= 70 && fvar(25) <= 75
fv = 27
value = 6

[State 0, VarAdd]; Move Speed reset
type = VarSet
trigger1 = time = 0 || Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
fv = 27
value = 1

;----- AI MODE
[State 0, VarSet]; 
type = ChangeState
trigger1 = fvar(29) = 30 && Animtime = 0
value = 80203

;---- REWORKED MECHANIC ------;

[State 0, VarAdd]; Start/Decrease overtime
type = VarAdd
triggerall = fvar(25) < 70
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = time = 0 || (Gametime%5) = 0
fv = 29
value = ifElse(time = 0,35,-.7)

[State 0, VarAdd]; Smash to increase
type = VarAdd
triggerall = fvar(25) < 70
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = command = "a" || command = "b"
fv = 29
value = ifElse(time > 1000 && time < 2000, 0.8,ifElse(time > 2000, 0.5,1))

[State 0, VarAdd]; Smash Limit
type = VarSet
triggerall = fvar(25) < 70
triggerall = fvar(27) = 5 && fvar(29) >= 35 
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = command = "a" || command = "b"
fv = 29
value = 35

[State 0, VarAdd]; Speed increase
type = VarAdd
triggerall = fvar(25) < 70
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
fv = 27
value = ifelse(fvar(29) <= 0,-1,1)

[State 0, Explod]; Speed Bar
type = Explod
triggerall = fvar(25) < 70
trigger1 = time = 0
anim = 40001
ID = 40001
pos = -50, -40
postype = p1
scale = .5, .5
sprpriority = 5
bindtime = -1
removetime = -1

[State 0, Explod]; Speed Bar 1,2,3,4,5
type = Explod
triggerall = fvar(25) < 70
trigger1 = numexplod(40002) = 0 
anim = 40001+fvar(27)
ID = 40002
pos = -50, -39
postype = p1
scale = .5, .5
sprpriority = 4
bindtime = -1
removetime = -1

[State 0, ModifyExplod]; Speed Bar updater
type = Modifyexplod
triggerall = fvar(25) < 70
trigger1 = 1
ID = 40002
postype = p1
pos = -50, -39
scale = .5, .5-fvar(29)

; Speed Explod Reset/Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
trigger2 = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
ID = 40002

; Speed Bar Explod Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
ID = 40001

;---- Sex Moves ------;

[State 0, VarAdd]; Move Skill check sucess 
type = VarSet
trigger1 =  fvar(29) >= 40 || fvar(29) <= 0
fv = 29
value = ifElse(fvar(29) >= 40,5,39)

[State 0, VarAdd]; Rape Speed set
type = VarSet
triggerall = fvar(25) = 100
trigger1 = command = "a" || command = "b" || command = "c" || command = "x" || command = "y" || command = "z"
fv = 27
value = ifElse(command = "a",1,ifElse(command = "b",2,ifElse(command = "c",3,ifElse(command = "x",4,ifElse(command = "y",5,ifElse(command = "z",6,fvar(27)))))))

[State 0, VarAdd]; Rape Move set
type = VarSet
trigger1 = command = "Missionary" || command = "Cowgirl" || command = "Doggystyle"
fv = 26
value = ifElse(command = "Missionary" && fvar(26) != 0,0,ifElse(command = "Cowgirl",20,ifElse(command = "Doggystyle",40,ifElse(command = "Missionary" && fvar(26) !=60,60,fvar(27)))))

[State 0, Explod]; MOVE FUTA EXPLOD Changer
type = Explod
trigger1 = time = 0 || animtime = 0 
anim = 70000 + fvar(27) + fvar(26) + 10
ID = 70055
postype = p1
scale = .95, .95
sprpriority = 1
bindtime = -1
removetime = -2


[State 0, ChangeAnim]; Speed/Move Changer
type = ChangeAnim
trigger1 = time = 0 || animtime = 0 
value = 70000 + fvar(27) + fvar(26)

;---Transparency Stuff---;

;[State 0, VarSet]; Transparency (Cum load reused var)
;type = VarSet
;triggerall = fvar(29) >= 70
;trigger1 = command = "Transparency"
;fv = 28
;value = ifElse(fvar(28) >= 1,0,1)


;[State 0, Trans]; Transparency
;type = Trans
;triggerall = fvar(29) >= 70
;trigger1 = fvar(28) = 0
;trans = add 
;alpha = 170,90 

[State 0, LifeAdd]
type = LifeAdd
trigger1 = numexplod(443003) = 1
kill = 0
value = 5

;----- END Cum Load, Free mode,etc/ Skip minigame
[State 0, VarSet]; 
type = VarSet
trigger1 = numexplod(44201) = 1 || command = "Skipminigame"
fv = 25
value = ifelse(command = "Skipminigame",70,100)

[State 0, VarSet]; Cooldown
type = VarSet
triggerall = fvar(25) = 100 && time > 50
trigger1 = command = "AIMode"
fv = 29
value = 30

;----------------------------------------- Release---------------------------------------;


[State 0, ChangeState ]; Release
type = ChangeState
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = command = "release" && fvar(25) = 100 || roundstate = 4 || roundstate = 3 || DrawGame || wintime || losetime || fvar(27) = 0 || time > 2500+(fvar(28)*100) && fvar(25) < 70
value = 60000
ctrl = 1

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

;Victim Normal Assault
[Statedef 50004]
type = S
movetype = H
physics = N
sprpriority = 2

[State 0, PlaySnd]; Sex Victim Sound
type = PlaySnd
triggerall = random < 150
trigger1 = animelem = 6 && Anim = 71001 || animelem = 6 && Anim = 71002 || animelem = 3 && Anim = 71003 || animelem = 2 && Anim = 71004 || animelem = 2 && Anim = 71005;Missionary
trigger2 = animelem = 4 && Anim = 71021 || animelem = 4 && Anim = 71022 || animelem = 4 && Anim = 71023 || animelem = 2 && Anim = 71024 || animelem = 2 && Anim = 71025;Cowgirl
trigger3 = animelem = 5 && Anim = 71041 || animelem = 5 && Anim = 71042 || animelem = 5 && Anim = 71043 || animelem = 2 && Anim = 71044 || animelem = 2 && Anim = 71045;Doggystyle
trigger4 = animelem = 2 && Anim = 71061 || animelem = 2 && Anim = 71062 || animelem = 2 && Anim = 71063 || animelem = 2 && Anim = 71064 || animelem = 2 && Anim = 71065;Press
value = 4218,21 +random%3

[State 0, LifeAdd]
type = LifeAdd
trigger1 = animelem = 6 && Anim = 71001 || animelem = 6 && Anim = 71002 || animelem = 3 && Anim = 71003 || animelem = 2 && Anim = 71004 || animelem = 2 && Anim = 71005;Missionary
trigger2 = animelem = 4 && Anim = 71021 || animelem = 4 && Anim = 71022 || animelem = 4 && Anim = 71023 || animelem = 2 && Anim = 71024 || animelem = 2 && Anim = 71025;Cowgirl
trigger3 = animelem = 5 && Anim = 71041 || animelem = 5 && Anim = 71042 || animelem = 5 && Anim = 71043 || animelem = 2 && Anim = 71044 || animelem = 2 && Anim = 71045;Doggystyle
trigger4 = animelem = 2 && Anim = 71061 || animelem = 2 && Anim = 71062 || animelem = 2 && Anim = 71063 || animelem = 2 && Anim = 71064 || animelem = 2 && Anim = 71065;Press
kill = 0
value = -1
absolute = 1

[State 0, PlaySnd]; Penetration, Cum Victim
type = PlaySnd
trigger1 = animelem = 8 && Anim = 71006 || animelem = 26 && Anim = 71006  
trigger2 = animelem = 6 && Anim = 71026 || animelem = 24 && Anim = 71026
trigger3 = animelem = 7 && Anim = 71046 || animelem = 25 && Anim = 71046
trigger4 = animelem = 8 && Anim = 71066 || animelem = 26 && Anim = 71066
value = 4218,25 +random%3

[State 0, LifeAdd]
type = LifeAdd
trigger1 = animelem = 26 && Anim = 71006  
trigger2 = animelem = 24 && Anim = 71026
trigger3 = animelem = 25 && Anim = 71046
trigger4 = animelem = 26 && Anim = 71066
kill = 1
value = -50

[State 0, ChangeAnim2];
type = ChangeAnim2
triggerall = enemynear,anim - 1000
trigger1 = enemynear,animelem = 1
value = enemynear,anim + 1000




;---------------------------------------------------------------------------------------------------------
;Release
[Statedef 60000]
type = S
movetype = A
physics = S
SprPriority = 3

[State 0, Playerpush]
type = Playerpush
trigger1 = 1
value = 0

[State 0, targetstate]
type = targetstate
trigger1 = time = 0
value = ifElse(fvar(25) < 70,89112,50005)

[State 1120, Position]
type = PosSet
trigger1 = time = 100
y = 0

[State 0, VarAdd]; Move Speed reset
type = VarSet
trigger1 = time = 0
fv = 27
value = 0

[State 0, VarSet]; Cooldown
type = VarSet
trigger1 = time = 0
fv = 29
value = 30

[State 0, VarSet]; Grab count
type = VarAdd
trigger1 = time = 0
fv = 28
value = 2

[State 0, LifeAdd]
type = LifeAdd
trigger1 = time = 0 && fvar(25) < 70
kill = 1
value = -2*fvar(25)

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = time = 0

[State -2, ChangeState]
type = ChangeState
trigger1 = time = 0 
value = ifElse(fvar(25) < 70,89112,0)
ctrl = 1

;----------------------------------------------------------------------NORMAL RAPE
;----------------------------------------------------------------------

;Violent Explod
[Statedef 69990]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0
ctrl = 0
anim = 201133
sprpriority = 2
poweradd = -2000

[State 0,NotHitBy]
type = NotHitBy
trigger1 = time = 0
value = SCA
time = 5

[State 2100, bg]
type = assertspecial
trigger1 = time = [0,30]
flag = nobg
flag2 = nofg

[State 3009, pause]
type = SuperPause
trigger1 = time = 0
time = 30
anim = -1
movetime = 30
darken = 0
p2defmul = 1

[State 0,ChangeState]
type = ChangeState
trigger1 = animtime = 0
value = 50100

[State 0, VarSet]; Cooldown
type = VarSet
trigger1 = time = 0
fv = 29
value = 20

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

;Violent Grab Failed
[Statedef 69991]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0
ctrl = 0
anim = 20200
sprpriority = 2

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = time = 0

[State 0,ChangeState]
type = ChangeState
trigger1 = animtime = 0
value = 0
ctrl = 1

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

;Futa Violent Grab
[Statedef 50100]
type = S
movetype= A
physics = S
juggle = 0
velset = 15,0
ctrl = 0
anim = 201134 ; Intento de Grab
sprpriority = 3

[State 865, 2]
type = Velset
trigger1 = 1
x = 7

[State 0, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = 11,0

[State 0, Trans]; Para remover efecto de transparencia en caso de que el char se lo haya puesto antes del grab
type = Trans
trigger1 = time = 0
trans = none

[State 0, Explod]
type = Explod
trigger1 = time = 0
anim = 1102
removetime = 30
sprpriority = -1
ownpal = 1
ignorehitpause = 1
ID = 1102
pos = 0,-10
bindtime = -1

[State -2, BGPalFX]
type = BGPalFX
trigger1 = time = 0
time = 21
add = -40,-150,-150
color = 0
ignorehitpause = 1

[State 0, TargetState]
type = TargetState
trigger1 = Movehit
trigger1 = NumTarget
value = 50102

[State 0, ChangeState] ; if Successful hit
type = ChangeState
triggerall = numtarget
trigger1 = MoveHit = 1
trigger1 = Target,movetype=H && !moveguarded && movehit
value = 50101


[State 0]
type = HitDef
Trigger1 = Time = 0
attr = S, ST
hitflag = M A D; F
affectteam = E
priority = 1, Miss
sparkno = -1
p1sprpriority = 1
hitsound = S45645,0
p1facing = 1
p2facing = 1
guard.dist = 0
fall = 1

[State 0, ChangeState ]; if Miss
type = ChangeState
trigger1 = AnimTime = 0 
value = 0
ctrl = 1

[State 0, VarSet]; Cooldown Normal Grab
type = VarSet
trigger1 = time = 0
fv = 24
value = 15

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

;Futa Violent Taunt
[Statedef 50101]
type = S
movetype= A
physics = S
velset = 0,0
anim = 53301 ; Burla
sprpriority = 3

[State 0, TargetState]; Target to Move
type = TargetState
trigger1 = time = 250
value = 50102

[State -2, BGPalFX]
type = BGPalFX
triggerall= anim = 53301
trigger1 = time = 0
time = 8000
add = -40,-150,-150
color = 0
ignorehitpause = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = time = 0
anim = 23582
ID= 23582
pos = 170,120
postype = left
scale= 0.4 , 0.4
supermove = 1
facing = 1
bindtime = 30
sprpriority = 4
removetime = 148
ownpal = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26000
ID= 26000
pos = 0,-100
postype = p1
scale= 0.14 , 0.14
sprpriority = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26100
ID= 26100
pos = 108,-70
postype = p1
scale= 0.14 , 0.14
sprpriority = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26200
ID= 26200
pos = -98,-90
postype = p1
scale= 0.16 , 0.16
sprpriority = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26500
ID= 26500
pos = 90,-30
postype = p1
scale= 0.12 , 0.12
sprpriority = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26800
ID= 26800
pos = -90,-30
postype = p1
scale= 0.10 , 0.10
sprpriority = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26700
ID= 26700
pos = -90,-130
postype = p1
scale= 0.13 , 0.13
sprpriority = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26400
ID= 26400
pos = 0,-75
postype = p1
scale= 0.12 , 0.12
sprpriority = 1

[State 50101]
type = Explod
triggerall= anim= 53301
trigger1 = animelem= 1
anim = 26600
ID= 26600
pos = 100,-150
postype = p1
scale= 0.12 , 0.12
sprpriority = 1

[State 60000, 1]
type= Removeexplod
trigger1= numenemy = 0
ID= 26000

[State 60000, 1]
type= Removeexplod
trigger1= numenemy = 0
ID= 26600

[State 60000, 1]
type= Removeexplod
trigger1= numenemy = 0
ID= 26100

[State 60000, ]
type= Removeexplod
trigger1= numenemy = 0
ID= 26400

[State 60000, 1]
type= Removeexplod
trigger1= numenemy = 0
ID= 26700

[State 60000, 1]
type= Removeexplod
trigger1= numenemy = 0
ID= 26800

[State 60000, 1]
type= Removeexplod
trigger1= numenemy = 0
ID= 26500

[State 60000, 1]
type= Removeexplod
trigger1= numenemy = 0
ID= 26200

[State 0, PlaySnd]
type = PlaySnd
trigger1= time= 0
value = 33,5

[State 0, PlaySnd]
type = PlaySnd
trigger1= time= 31
value = 12000,0

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time > 0
pos = 0

[State 0, PosSet]; Futa Position
type = PosSet
trigger1 = pos x > 20 && time = 0
y = 0
x = ifelse(facing=1,-7,7)

[State 0, PosSet]; Futa Position
type = PosSet
trigger1 = pos x < -20 && time = 0
y = 0
x = ifelse(facing=1,7,-7)


[State 0, PosAdd]; Move Futa partner
type = PosAdd
triggerall = (time % 25) = 0&& random < 500
triggerall = enemynear(1),stateno = 50001  || enemynear(1),stateno = 50002 || enemynear(1),stateno = 50003 || enemynear(1),stateno = 50004  || enemynear(1),stateno = 50101  || enemynear(1),stateno = 50102  || enemynear(1),stateno = 50103 || enemynear(1),stateno = 50104 || enemynear(1),stateno = 80003  || enemynear(1),stateno = 80103 || enemynear(1),stateno = 80203 || enemynear(1),stateno = 80303
trigger1 =  abs(enemynear(1),Pos X - Pos X) <= 45
x = ifElse(Facing,-65,65)

[State 0, PlaySnd]
type = PlaySnd
trigger1 =  AnimElem= 27
value = 15,6

[State 0, HitAdd]
type = HitAdd
trigger1 = AnimElem = 32
value = 1

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 28
value = 44314,0

[State 70001, Explod];Plap emote;
type = Explod
trigger1 = animelem = 1
anim = 22580
ID = 22580
pos = 140, -10
postype = p1
scale = .4, .4
sprpriority = 4
ontop = 0

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 32
value = 45645,2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 6
value = 15,8

[State 0, EnvShake]
type = EnvShake
trigger1 = animelem = 19
time = 30
freq = 30
ampl = -2

[State 0, EnvShake]
type = EnvShake
trigger1 = animelem = 32
time = 120
freq = 200
ampl = -8

[State 0, Explod];plaft emote
type = Explod
triggerall = anim = 53301
trigger1= animelem=19
anim = 24000
ID = 24000
pos = -55, -30
postype = p1
scale = 0.20, 0.20
sprpriority = 3
ontop = 1 

[State 0, PlaySnd];balls falling on floor sound effect
type = PlaySnd
trigger1 = animelem = 19
value = 20,17

[State 0, VarSet]; Struggle bar set at 0
type = VarSet
trigger1 = time = 0
fv = 24
value = 0

[State 0, TargetState]; Emote End Target
type = TargetState
trigger1 = Animtime = 0
value = 50104

[State 0, ChangeState ]; Taunt End
type = ChangeState
trigger1 = AnimTime = 0
value = ifElse(AILevel && Target,AILevel = 0,80103,ifElse(AILevel && Target,AIlevel,80303,50103))




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

;Victim Violent Taunt
[Statedef 50102]
type = S
movetype= H
physics = S
sprpriority = 2
ctrl = 0

[State 0, ChangeAnim2]; Taunt Bottom
type = ChangeAnim2
trigger1 = time = 0
value = 54301

[State 0, LifeAdd]
type = LifeAdd
trigger1 = AnimElem = 4
kill = 0
value = -200
absolute = 1

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 4
value = 11,0


; Futa Violent Assault
[Statedef 50103]
type = S
movetype= A
physics = S
velset = 0,0
anim = 80001
sprpriority = 3

;[State 0, Helper]; Move enemies and allies from view
;type = Helper
;trigger1 = time = 0 && numhelper(50150) = 0
;helpertype = normal
;name = "Opponent Aproach"
;ID = 50150
;stateno = 50150 
;postype = p1  
;facing = 1
;keyctrl = 0
;ownpal = 0
;supermovetime = 0
;pausemovetime = 0

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time = 0
pos = 0

[State 80001, Explod PLAP EMOTE]
type = Explod
trigger1 = animelem = 7
anim = 25000
ID = 25000
pos = 45, -70
postype = p1
scale = .3, .3
sprpriority = 4
; Critical Explod
[State 0, Explod]
type = Explod
triggerall = random < 100
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
anim = 443004
ID = 443004

;-------------------- SEX SOUND AND EFFECTS (& CRITICAL STUFF)------------------------------------;


[State 0, PlaySnd]; Sex penetration sounds
type = PlaySnd
triggerall = numexplod(443004) = 0
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 45602,0 + random%5

[State 0, PlaySnd]; Sex Futa moans
type = PlaySnd
triggerall = random < 200
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 11,3

[State 0, HitAdd]; Hit Count, Sex
type = HitAdd
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 1

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
time = 10
freq = 120
ampl = -6


;-------------- CRITICAL STUFF

[State 0, PlaySnd]; Sex Critical penetration sounds
type = PlaySnd
trigger1 = numexplod(443004) = 1
value = 45603,0 + random%2

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = numexplod(443004) = 1
time = 20
freq = 280
ampl = -4

; Critical Explod
[State 0, Explod]
type = Explod
trigger1 = numexplod(443004) = 1
pos = -50,-50
anim = 443005
ID = 443005

; Critical Explod
[State 0, Explod]
type = RemoveExplod
trigger1 = numexplod(443004) = 1
ID = 443004

;------------------ CUM SOUND AND EFFECTS

[State 0, VarAdd]; Cum Bar Increase
type = VarAdd
trigger1 = (GameTime % 20) = 0 && fvar(25) < 70
fv = 25
value = 0.10*fvar(27)

[State 0, PlaySnd]; Sex First penetration sound when cum
type = PlaySnd
trigger1 = animelem = 4 && Anim = 80006
trigger2 = animelem = 3 && Anim = 80026
trigger3 = animelem = 3 && Anim = 80046
trigger4 = animelem = 2 && Anim = 80066
value = 45645,1

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = numexplod(443003) = 1
time = 20
freq = 280
ampl = -4

[State 0, PlaySnd]; Cum sounds
type = PlaySnd
trigger1 = numexplod(443003) = 1
value = 45645,7

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MISSIONARY
[State 0, Explod]
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 11 || animelem = 17 || animelem = 23 || animelem = 45
trigger2 = animelem = 51 || animelem = 57 || animelem = 79 || animelem = 85
trigger3 = animelem = 91
anim = 443003
ID = 443003

[State 4615, Explod];cum expulsion missionary press violent
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 12 
trigger2 = animelem = 18 
trigger3 = animelem = 24  
trigger4 = animelem = 46
trigger5 = animelem = 52
trigger6 = animelem = 58
trigger7 = animelem = 80
trigger8 = animelem = 86 
trigger9 = animelem = 93
anim = 110201
ID = 110201
pos = 0, -14
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0


[State 4615, Explod];cum expulsion LEFT missionary violent
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 12 
trigger2 = animelem = 18 
trigger3 = animelem = 24  
trigger4 = animelem = 46
trigger5 = animelem = 52
trigger6 = animelem = 58
trigger7 = animelem = 80
trigger8 = animelem = 86 
trigger9 = animelem = 93
anim = 110205
ID = 110205
pos = 0, -14
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0




[State 4615, Explod];cum expulsion RIGHT cowgirl violent
type = Explod
triggerall = anim = 80026
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 17  
trigger4 = animelem = 30
trigger5 = animelem = 36
trigger6 = animelem = 42
trigger7 = animelem = 55 
trigger8 = animelem = 61
trigger9 = animelem = 67
anim = 110201
ID = 110201
pos = 0, -14
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0


[State 4615, Explod];cum expulsion LEFT cowgirl violent
type = Explod
triggerall = anim = 80026
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 17  
trigger4 = animelem = 30
trigger5 = animelem = 36
trigger6 = animelem = 42
trigger7 = animelem = 55 
trigger8 = animelem = 61
trigger9 = animelem = 67
anim = 110205
ID = 110205
pos = 0, -14
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 4615, Explod]; cum on screen
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 94
anim = 110195
ID = 110195
pos = -260, -300
postype = p1
scale = 3.5, 2.5
sprpriority = 4
ontop = 1



[State 4615, Explod];cum drip after violent sex ( animation 80006)
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 95
anim = 99989
ID = 99989
pos = -40, -20
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum LONG EXPULSION( animation 80006)
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 12 
trigger2 = animelem = 18 
trigger3 = animelem = 24  
trigger4 = animelem = 46
trigger5 = animelem = 52
trigger6 = animelem = 58
trigger7 = animelem = 80
trigger8 = animelem = 86 
trigger9 = animelem = 93
anim = 113203
ID = 113203
pos = -0, -5
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum LONG EXPULSION( animation 80006)
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 12 
trigger2 = animelem = 18 
trigger3 = animelem = 24  
trigger4 = animelem = 46
trigger5 = animelem = 52
trigger6 = animelem = 58
trigger7 = animelem = 80
trigger8 = animelem = 86 
trigger9 = animelem = 93
anim = 113204
ID = 113204
pos = -0, -5
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 4615, Explod];cum doggy violent
type = Explod
triggerall = anim = 80046
trigger1 = animelem = 5
trigger2 = animelem = 11
trigger3 = animelem = 17 
trigger4 = animelem = 31
trigger5 = animelem = 37
trigger6 = animelem = 43
trigger7 = animelem = 57
trigger8 = animelem = 63 
trigger9 = animelem = 69
anim = 113204
ID = 113204
pos = -0, -18
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 4615, Explod];cum expulsion RIGHT press violent
type = Explod
triggerall = anim = 80066
trigger1 = animelem = 8
trigger2 = animelem = 14
trigger3 = animelem = 20 
trigger4 = animelem = 37
trigger5 = animelem = 43
trigger6 = animelem = 49
trigger7 = animelem = 66
trigger8 = animelem = 72
trigger9 = animelem = 78
anim = 110201
ID = 110201
pos = 0, -14
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0


[State 4615, Explod];cum expulsion LEFT press violent
type = Explod
triggerall = anim = 80066
trigger1 = animelem = 8
trigger2 = animelem = 14
trigger3 = animelem = 20 
trigger4 = animelem = 37
trigger5 = animelem = 43
trigger6 = animelem = 49
trigger7 = animelem = 66
trigger8 = animelem = 72
trigger9 = animelem = 78
anim = 110205
ID = 110205
pos = 0, -14
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - COWGIRL
[State 0, Explod]
type = Explod
triggerall = anim = 80026
trigger1 = animelem = 5 || animelem = 11 || animelem = 17 || animelem = 30 || animelem = 36 || animelem = 42
trigger2 = animelem = 55 || animelem = 61 || animelem = 67
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - DOGGYSTYLE
[State 0, Explod]
type = Explod
triggerall = anim = 80046
trigger1 = animelem = 5 || animelem = 11 || animelem = 17 || animelem = 31 || animelem = 37 || animelem = 43
trigger2 = animelem = 57 || animelem = 63 || animelem = 69
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MATINGPRESS
[State 0, Explod]
type = Explod
triggerall = anim = 80066
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 37 || animelem = 43 || animelem = 49
trigger2 = animelem = 66 || animelem = 72 || animelem = 78
anim = 443003
ID = 443003

;---- Cum EFfects------;

[State 0, Explod]; Liquid effect 1 (Missionary and Press)
type = Explod
triggerall = random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
anim = 113204
ID = 113204
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Liquid effect 2 (Missionary and Press)
type = Explod
triggerall = random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
anim = 113203
ID = 113203
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Cum effect 1 (Missionary and Press)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
trigger3 = NumExplod(443003) = 1 && Anim = 80006 || NumExplod(443003) = 1 && Anim = 80066
anim = 113204
ID = 113204
pos = 0, -50
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Cum effect 2 (Missionary and Press) / CUM
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
trigger3 = NumExplod(443003) = 1 && Anim = 80006 || NumExplod(443003) = 1 && Anim = 80066
anim = ifelse(random < 500,110201,110205)
ID = 113203
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Liquid effect 1 (Doggystyle)
type = Explod
triggerall = random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
anim = 110198
ID = 110198
pos = 20, -86
postype = p1
scale = 1,1
sprpriority = 4
ontop = 0

[State 0, Explod]; Cum effect 1 (Doggystyle)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger2 = NumExplod(443003) = 1 && Anim = 80046
anim = 110197
ID = 110197
pos = 20, -86
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 0, Explod]; Cum effect 1 (Doggystyle)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger2 = NumExplod(443003) = 1 && Anim = 80046
anim = 110196
ID = 110196
pos = -3, -45
postype = p1
scale = .5, .5
sprpriority = 4
ontop = 0

[State 0, Explod]; CUM EXPLOSION
type = Explod
trigger1 = Anim = 80006 && animelem = 338 || Anim = 80026 && animelem = 334 || Anim = 80046 && animelem = 305 || Anim = 80066 && animelem = 288
anim = 110195
ID = 110195
pos = -250, -300
scale = 3.5, 2.5
sprpriority = 5
ontop = 1

;----------------------------FUTA SCREAM CUM----------------; 

[State -2, PlaySnd]
type = PlaySnd
trigger1 = animelem = 4 && Anim = 80006 || animelem = 3 && Anim = 80026 || animelem = 3 && Anim = 80046 || animelem = 2 && Anim = 80066
value = 5534,0 +random%4

;----------------------------FUTA WORD AFTER CUM----------------; MAI nope

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 97 && Anim = 80006 || animelem = 73 && Anim = 80026 || animelem = 75 && Anim = 80046 || animelem = 84 && Anim = 80066
value = 5535,0 + random%2

[State 0, Explod]; Impregnation Explod
type = Explod
triggerall = fvar(25) >= 70 && fvar(25) <= 75
trigger1 = animelem = 10 && anim = 80006 || animelem = 8 && anim = 80026 || animelem = 9 && anim = 80046 || animelem = 10 && anim = 80066
anim = 44201+random%5
ID = 44201
pos = 0 , ifElse(anim = 80026,-20,ifElse(anim = 80046,-15,-8))
facing = facing
postype = p1
scale = .2, .2
sprpriority = 5

[State 0, ChangeAnim]; Cum once Var29 (Cum load) = 70
type = VarSet
trigger1 = fvar(25) >= 70 && fvar(25) <= 75
fv = 27
value = 6

[State 0, VarAdd]; Move Speed reset
type = VarSet
trigger1 = time = 0 || Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
fv = 27
value = 1

;----- AI MODE
[State 0, VarSet]; 
type = ChangeState
trigger1 = fvar(29) = 30 && Animtime = 0
value = 80303

;---- REWORKED MECHANIC ------;

[State 0, VarAdd]; Start/Decrease overtime
type = VarAdd
triggerall = fvar(25) < 70
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = time = 0 || (Gametime%5) = 0
fv = 29
value = ifElse(time = 0,35,-.7)

[State 0, VarAdd]; Smash to increase
type = VarAdd
triggerall = fvar(25) < 70
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = command = "a" || command = "b"
fv = 29
value = ifElse(time > 1000 && time < 2000, 1.0,ifElse(time > 2000, 0.8,1.3))

[State 0, VarAdd]; Smash Limit
type = VarSet
triggerall = fvar(25) < 70
triggerall = fvar(27) = 5 && fvar(29) >= 35 
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = command = "a" || command = "b"
fv = 29
value = 35

[State 0, VarAdd]; Speed increase
type = VarAdd
triggerall = fvar(25) < 70
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
fv = 27
value = ifelse(fvar(29) <= 0,-1,1)

[State 0, Explod]; Speed Bar
type = Explod
triggerall = fvar(25) < 70
trigger1 = time = 0
anim = 40001
ID = 40001
pos = -50, -40
postype = p1
scale = .5, .5
sprpriority = 5
bindtime = -1
removetime = -1

[State 0, Explod]; Speed Bar 1,2,3,4,5
type = Explod
triggerall = fvar(25) < 70
trigger1 = numexplod(40002) = 0 
anim = 40001+fvar(27)
ID = 40002
pos = -50, -39
postype = p1
scale = .5, .5
sprpriority = 4
bindtime = -1
removetime = -1

[State 0, ModifyExplod]; Speed Bar updater
type = Modifyexplod
triggerall = fvar(25) < 70
trigger1 = 1
ID = 40002
postype = p1
pos = -50, -39
scale = .5, .5-fvar(29)

; Speed Explod Reset/Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
trigger2 = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
ID = 40002

; Speed Bar Explod Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
ID = 40001

;---- Sex Moves ------;

[State 0, VarAdd]; Move Skill check sucess 
type = VarSet
trigger1 =  fvar(29) >= 40 || fvar(29) <= 0
fv = 29
value = ifElse(fvar(29) >= 40,5,39)

[State 0, VarAdd]; Rape Speed set
type = VarSet
triggerall = fvar(25) = 100
trigger1 = command = "a" || command = "b" || command = "c" || command = "x" || command = "y" || command = "z"
fv = 27
value = ifElse(command = "a",1,ifElse(command = "b",2,ifElse(command = "c",3,ifElse(command = "x",4,ifElse(command = "y",5,ifElse(command = "z",6,fvar(27)))))))

[State 0, VarAdd]; Rape Move set
type = VarSet
trigger1 = command = "Missionary" || command = "Cowgirl" || command = "Doggystyle"
fv = 26
value = ifElse(command = "Missionary" && fvar(26) != 0,0,ifElse(command = "Cowgirl",20,ifElse(command = "Doggystyle",40,ifElse(command = "Missionary" && fvar(26) !=60,60,fvar(27)))))

[State 0, Explod]; MOVE FUTA EXPLOD Changer
type = Explod
trigger1 = time = 0 || animtime = 0 
anim = 80000 + fvar(27) + fvar(26) + 10
ID = 80055
postype = p1
scale = .95, .95
sprpriority = 1
bindtime = -1
removetime = -2


[State 0, ChangeAnim]; Speed/Move Changer
type = ChangeAnim
trigger1 = time = 0 || animtime = 0 
value = 80000 + fvar(27) + fvar(26)

;---Transparency Stuff---;

;[State 0, VarSet]; Transparency (Cum load reused var)
;type = VarSet
;triggerall = fvar(29) >= 70
;trigger1 = command = "Transparency"
;fv = 28
;value = ifElse(fvar(28) >= 1,0,1)


;[State 0, Trans]; Transparency
;type = Trans
;triggerall = fvar(29) >= 70
;trigger1 = fvar(28) = 0
;trans = add 
;alpha = 170,90 

[State 0, LifeAdd]
type = LifeAdd
trigger1 = numexplod(443003) = 1
kill = 0
value = 5

;----- END Cum Load, Free mode,etc/ Skip minigame
[State 0, VarSet]; 
type = VarSet
trigger1 = numexplod(44201) = 1 || command = "Skipminigame"
fv = 25
value = ifelse(command = "Skipminigame",70,100)

[State 0, VarSet]; Cooldown
type = VarSet
triggerall = fvar(25) = 100 && time > 50
trigger1 = command = "AIMode"
fv = 29
value = 30

;----------------------------------------- Release---------------------------------------;


[State 0, ChangeState ]; Release
type = ChangeState
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = command = "release" && fvar(25) = 100 || roundstate = 4 || roundstate = 3 || DrawGame || wintime || losetime || fvar(27) = 0 || time > 4000+(fvar(28)*500) && fvar(25) < 70
value = 60000
ctrl = 1

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

;Victim Violent Assault
[Statedef 50104]
type = S
movetype = H
physics = N
sprpriority = 2

[State 0, PlaySnd]; Sex Victim Sound
type = PlaySnd
triggerall = random < 150
trigger1 = animelem = 6 && Anim = 81001 || animelem = 6 && Anim = 81002 || animelem = 3 && Anim = 81003 || animelem = 2 && Anim = 81004 || animelem = 2 && Anim = 81005;Missionary
trigger2 = animelem = 4 && Anim = 81021 || animelem = 4 && Anim = 81022 || animelem = 4 && Anim = 81023 || animelem = 2 && Anim = 81024 || animelem = 2 && Anim = 81025;Cowgirl
trigger3 = animelem = 5 && Anim = 81041 || animelem = 5 && Anim = 81042 || animelem = 5 && Anim = 81043 || animelem = 2 && Anim = 81044 || animelem = 2 && Anim = 81045;Doggystyle
trigger4 = animelem = 2 && Anim = 81061 || animelem = 2 && Anim = 81062 || animelem = 2 && Anim = 81063 || animelem = 2 && Anim = 81064 || animelem = 2 && Anim = 81065;Press
value = 4218,26 +random%3

[State 0, LifeAdd]
type = LifeAdd
trigger1 = animelem = 6 && Anim = 81001 || animelem = 6 && Anim = 81002 || animelem = 3 && Anim = 81003 || animelem = 2 && Anim = 81004 || animelem = 2 && Anim = 81005;Missionary
trigger2 = animelem = 4 && Anim = 81021 || animelem = 4 && Anim = 81022 || animelem = 4 && Anim = 81023 || animelem = 2 && Anim = 81024 || animelem = 2 && Anim = 81025;Cowgirl
trigger3 = animelem = 5 && Anim = 81041 || animelem = 5 && Anim = 81042 || animelem = 5 && Anim = 81043 || animelem = 2 && Anim = 81044 || animelem = 2 && Anim = 81045;Doggystyle
trigger4 = animelem = 2 && Anim = 81061 || animelem = 2 && Anim = 81062 || animelem = 2 && Anim = 81063 || animelem = 2 && Anim = 81064 || animelem = 2 && Anim = 81065;Press
kill = 0
value = -1
absolute = 1

[State 0, PlaySnd]; Penetration, Cum Victim
type = PlaySnd
trigger1 = animelem = 11 && Anim = 81006 || animelem = 91 && Anim = 81006  
trigger2 = animelem = 5 && Anim = 81026 || animelem = 67 && Anim = 81026
trigger3 = animelem = 5 && Anim = 81046 || animelem = 69 && Anim = 81046
trigger4 = animelem = 8 && Anim = 81066 || animelem = 78 && Anim = 81066
value = 11,0

[State 0, LifeAdd]
type = LifeAdd
trigger1 = animelem = 91 && Anim = 81006  
trigger2 = animelem = 67 && Anim = 81026
trigger3 = animelem = 69 && Anim = 81046
trigger4 = animelem = 78 && Anim = 81066
kill = 1
value = -50

[State 0, ChangeAnim2];
type = ChangeAnim2
triggerall = enemynear,anim - 1000
trigger1 = enemynear,animelem = 1
value = enemynear,anim + 1000

;Futa AI Normal Assault
[Statedef 80003]
type = S
movetype= A
physics = S
velset = 0,0
anim = 70001
sprpriority = 3

;[State 0, Helper]; Move enemies and allies from view
;type = Helper
;trigger1 = time = 0 && numhelper(50150) = 0
;helpertype = normal
;name = "Opponent Aproach"
;ID = 50150
;stateno = 50150 
;postype = p1  
;facing = 1
;keyctrl = 0
;ownpal = 0
;supermovetime = 0
;pausemovetime = 0

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time = 0
pos = 0

; Explof for Critical Triggers
[State 0, Explod]
type = Explod
triggerall = random < 100 && numexplod(443005) = 0
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
anim = 443004
ID = 443004


;-------------------- SEX SOUND AND EFFECTS (& CRITICAL STUFF)------------------------------------;

[State 0, PlaySnd]; Sex penetration sounds
type = PlaySnd
triggerall = numexplod(443004) = 0
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 45600,0 + random%5

[State 0, PlaySnd]; Sex Futa moans
type = PlaySnd
triggerall = random < 200
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 10,8

[State 0, HitAdd]; Hit Count
type = HitAdd
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 1

;-------------- CRITICAL STUFF

[State 0, PlaySnd]; Sex Critical penetration sounds
type = PlaySnd
trigger1 = numexplod(443004) = 1
value = 45601,0 + random%2

[State 0, EnvShake]; Sex Critical EnvShake
type = EnvShake
trigger1 = numexplod(443004) = 1
time = 10
freq = 180
ampl = -6

; Critical Futa reaction/Critical cooldown
[State 0, Explod]
type = Explod
trigger1 = numexplod(443004) = 1
anim = 443005
ID = 443005

[State -2, SuperPause]
type = SuperPause
trigger1 = numexplod(443004) = 1
time = 5
anim = -1
sound = S15,0 + random%2
darken = 0
movetime = -1
ignorehitpause = 1

; Remove Critical Explod once everything triggered/ Maybe not needed
[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = numexplod(443004) = 1
ID = 443004

;------------------ CUM SOUND AND EFFECTS, IMPREGNATION

[State 0, VarAdd]; Cum Bar Increase
type = VarAdd
trigger1 = (GameTime % 20) = 0 && fvar(25) < 70
fv = 25
value = 0.15*fvar(27)

[State 0, PlaySnd]; Sex First penetration sound when cum
type = PlaySnd
trigger1 = animelem = 3 && Anim = 70006
trigger2 = animelem = 4 && Anim = 70026
trigger3 = animelem = 4 && Anim = 70046
trigger4 = animelem = 2 && Anim = 70066
value = 45645,1


[State 0, PlaySnd]; Cum sounds
type = PlaySnd
trigger1 = numexplod(443003) = 1
value = 45645,7

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MISSIONARY
[State 0, Explod]
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 26
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - COWGIRL
[State 0, Explod]
type = Explod
triggerall = anim = 70026
trigger1 = animelem = 6 || animelem = 12 || animelem = 18 || animelem = 24
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - DOGGYSTYLE
[State 0, Explod]
type = Explod
triggerall = anim = 70046
trigger1 = animelem = 7 || animelem = 13 || animelem = 19 || animelem = 25
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MATINGPRESS
[State 0, Explod]
type = Explod
triggerall = anim = 70066
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 26
anim = 443003
ID = 443003

[State 0, Explod]; Impregnation Explod
type = Explod
triggerall = fvar(25) >= 70 && fvar(25) <= 75
trigger1 = animelem = 10 && anim = 70006 || animelem = 8 && anim = 70026 || animelem = 9 && anim = 70046 || animelem = 10 && anim = 70066
anim = 44201+random%5
ID = 44201
pos = 0 , ifElse(anim = 70026,-20,ifElse(anim = 70046,-15,-8))
facing = facing
postype = p1
scale = .2, .2
sprpriority = 5

[State 0, ChangeAnim]; Cum once Var29 (Cum load) = 70
type = VarSet
trigger1 = fvar(25) >= 70 && fvar(25) <= 75
fv = 27
value = 6


[State 0, VarAdd]; Move Speed reset
type = VarSet
trigger1 = time = 0 || Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
fv = 27
value = ifElse(time = 0,1,1+random%5)

;---- REWORKED MECHANIC ------;

[State 0, VarAdd]; Start/Increase overtime
type = VarAdd
triggerall = fvar(25) < 70
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = time = 0 || (Gametime%9) = 0
fv = 29
value = ifElse(time = 0,35,ifElse(fvar(29) >= 35 && fvar(27) = 5,0,0.9))

[State 0, VarAdd]; Smash to increase
type = VarAdd
triggerall = fvar(25) < 70 && target,AIlevel = 0
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = target,command = "a" || target,command = "b"
fv = 29
value = ifElse(time > 1000 && time < 2000, -0.6,ifElse(time > 2000, -0.5,-0.7))

[State 0, VarAdd]; Smash Limit
type = VarSet
triggerall = fvar(25) < 70 && target,AIlevel = 0
triggerall = fvar(27) = 1 && fvar(29) <= 5 
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = target,command = "a" || target,command = "b"
fv = 29
value = 5

[State 0, VarAdd]; Speed increase
type = VarAdd
triggerall = fvar(25) < 70
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
fv = 27
value = ifelse(fvar(29) <= 0,-1,1)

[State 0, Explod]; Speed Bar
type = Explod
triggerall = fvar(25) < 70
trigger1 = time = 0
anim = 40001
ID = 40001
pos = -50, -40
postype = p1
scale = .5, .5
sprpriority = 5
bindtime = -1
removetime = -1

[State 0, Explod]; Speed Bar 1,2,3,4,5
type = Explod
triggerall = fvar(25) < 70
trigger1 = numexplod(40002) = 0 
anim = 40001+fvar(27)
ID = 40002
pos = -50, -39
postype = p1
scale = .5, .5
sprpriority = 4
bindtime = -1
removetime = -1

[State 0, ModifyExplod]; Speed Bar updater
type = Modifyexplod
triggerall = fvar(25) < 70
trigger1 = 1
ID = 40002
postype = p1
pos = -50, -39
scale = .5, .5-fvar(29)

; Speed Explod Reset/Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
trigger2 = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
ID = 40002

; Speed Bar Explod Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
ID = 40001

;---- Sex Moves ------;

[State 0, ChangeState ]; Release after cum
type = ChangeState
triggerall = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
trigger1 = fvar(25) = 100 && animtime = 0 && random < 500
value = 60000
ctrl = 1

[State 0, VarAdd];Speed bar speed up/down
type = VarSet
trigger1 =  fvar(29) >= 40 || fvar(29) <= 0
fv = 29
value = ifElse(fvar(29) >= 40,5,37)

[State 0, VarAdd]; Random speed select
type = VarSet
triggerall = fvar(25) = 100
trigger1 = (gametime % 300) = 0 && random < 500
trigger2 = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
fv = 27
value = 1 + random%5

[State 0, VarAdd]; Cum once Var29 (Cum load) = 70 || Cum every some time when Cum load = 100
type = VarSet
triggerall = time > 10; So futa don't cum instantly on swaps
trigger1 = (time % 2200) = 0 && fvar(25) = 100 && random < 650
fv = 27
value = 6

[State 0, VarAdd]; Random Move select
type = VarSet
trigger1 = time = 0 || Anim = 70006 || Anim = 70026  || Anim = 70046  || Anim = 70066
trigger2 = (time % 1000) = 0 && fvar(25) < 70 && random < 250
trigger3 = (time % 1750) = 0 && fvar(25) = 100 && random < 350
fv = 26
value = 0 + random%4*20

[State 0, Explod]; MOVE FUTA EXPLOD Changer
type = Explod
trigger1 = animtime = 0 || time = 0
anim = 70000 + fvar(27) + fvar(26) + 10
ID = 70055
postype = p1
scale = .95, .95
sprpriority = 1
bindtime = -1
removetime = -2


[State 0, ChangeAnim]; Speed/Move Changer
type = ChangeAnim
trigger1 = time = 0 || animtime = 0 
value = 70000 + fvar(27) + fvar(26)

;---Transparency Stuff---;

;[State 0, VarSet]; Transparency (Cum load reused var)
;type = VarSet
;triggerall = fvar(29) >= 70
;trigger1 = command = "Transparency"
;fv = 28
;value = ifElse(fvar(28) >= 1,0,1)


;[State 0, Trans]; Transparency
;type = Trans
;triggerall = fvar(29) >= 70
;trigger1 = fvar(28) = 0
;trans = add 
;alpha = 170,90 

[State 0, LifeAdd]
type = LifeAdd
trigger1 = numexplod(443003) = 1
kill = 0
value = 5

;----- END Cum Load, Free mode,etc/ Skip minigame
[State 0, VarSet]; 
type = VarSet
trigger1 = numexplod(44201) = 1 || target,command = "Skipminigame" && target,AIlevel = 0
fv = 25
value = 100

;----------------------------------------- Release---------------------------------------;


[State 0, ChangeState ]; Release
type = ChangeState
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066
trigger1 = roundstate = 4 || roundstate = 3 || DrawGame || wintime || losetime || AILevel && target,alive = 0 || time > 2500+(fvar(28)*100) && fvar(25) < 70
value = 60000
ctrl = 1

;Futa AI Violent Assault
[Statedef 80103]
type = S
movetype= A
physics = S
velset = 0,0
anim = 80001
sprpriority = 3

;[State 0, Helper]; Move enemies and allies from view
;type = Helper
;trigger1 = time = 0 && numhelper(50150) = 0
;helpertype = normal
;name = "Opponent Aproach"
;ID = 50150
;stateno = 50150 
;postype = p1  
;facing = 1
;keyctrl = 0
;ownpal = 0
;supermovetime = 0
;pausemovetime = 0

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time = 0
pos = 0

; Critical Explod
[State 0, Explod]
type = Explod
triggerall = random < 100
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
anim = 443004
ID = 443004

;-------------------- SEX SOUND AND EFFECTS (& CRITICAL STUFF)------------------------------------;


[State 0, PlaySnd]; Sex penetration sounds
type = PlaySnd
triggerall = numexplod(443004) = 0
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 45602,0 + random%5

[State 0, PlaySnd]; Sex Futa moans
type = PlaySnd
triggerall = random < 200
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 11,3

[State 0, HitAdd]; Hit Count, Sex
type = HitAdd
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 1

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
time = 10
freq = 120
ampl = -6


;-------------- CRITICAL STUFF

[State 0, PlaySnd]; Sex Critical penetration sounds
type = PlaySnd
trigger1 = numexplod(443004) = 1
value = 45603,0 + random%2

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = numexplod(443004) = 1
time = 20
freq = 280
ampl = -4

; Critical Explod
[State 0, Explod]
type = Explod
trigger1 = numexplod(443004) = 1
pos = -50,-50
anim = 443005
ID = 443005

; Critical Explod
[State 0, Explod]
type = RemoveExplod
trigger1 = numexplod(443004) = 1
ID = 443004

;------------------ CUM SOUND AND EFFECTS

[State 0, VarAdd]; Cum Bar Increase
type = VarAdd
trigger1 = (GameTime % 20) = 0 && fvar(25) < 70
fv = 25
value = 0.10*fvar(27)

[State 0, PlaySnd]; Sex First penetration sound when cum
type = PlaySnd
trigger1 = animelem = 4 && Anim = 80006
trigger2 = animelem = 3 && Anim = 80026
trigger3 = animelem = 3 && Anim = 80046
trigger4 = animelem = 2 && Anim = 80066
value = 45645,1

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = numexplod(443003) = 1
time = 20
freq = 280
ampl = -4

[State 0, PlaySnd]; Cum sounds
type = PlaySnd
trigger1 = numexplod(443003) = 1
value = 45645,7

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MISSIONARY
[State 0, Explod]
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 11 || animelem = 17 || animelem = 23 || animelem = 45
trigger2 = animelem = 51 || animelem = 57 || animelem = 79 || animelem = 85
trigger3 = animelem = 91
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - COWGIRL
[State 0, Explod]
type = Explod
triggerall = anim = 80026
trigger1 = animelem = 5 || animelem = 11 || animelem = 17 || animelem = 30 || animelem = 36 || animelem = 42
trigger2 = animelem = 55 || animelem = 61 || animelem = 67
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - DOGGYSTYLE
[State 0, Explod]
type = Explod
triggerall = anim = 80046
trigger1 = animelem = 5 || animelem = 11 || animelem = 17 || animelem = 31 || animelem = 37 || animelem = 43
trigger2 = animelem = 57 || animelem = 63 || animelem = 69
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MATINGPRESS
[State 0, Explod]
type = Explod
triggerall = anim = 80066
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 37 || animelem = 43 || animelem = 49
trigger2 = animelem = 66 || animelem = 72 || animelem = 78
anim = 443003
ID = 443003

;---- Cum EFfects------;

[State 0, Explod]; Liquid effect 1 (Missionary and Press)
type = Explod
triggerall = random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
anim = 110204
ID = 110204
pos = 75, -105
postype = p1
scale = .5, .5
sprpriority = 3
ontop = 0

[State 0, Explod]; Cum effect 1 (Missionary and Press)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
trigger3 = NumExplod(443003) = 1 && Anim = 80006 || NumExplod(443003) = 1 && Anim = 80066
anim = 110203
ID = 110203
pos = -75, -60
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Cum effect 2 (Missionary and Press) / CUM
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
trigger3 = NumExplod(443003) = 1 && Anim = 80006 || NumExplod(443003) = 1 && Anim = 80066
anim = ifelse(random < 500,110201,110205)
ID = 110201
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Liquid effect 1 (Doggystyle)
type = Explod
triggerall = random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
anim = 110198
ID = 110198
pos = 20, -86
postype = p1
scale = 1,1
sprpriority = 4
ontop = 0

[State 0, Explod]
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 10
Anim = 99989
ID = 99989
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 0, Explod]; Cum effect 1 (Doggystyle)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger2 = NumExplod(443003) = 1 && Anim = 80046
anim = 110197
ID = 110197
pos = 20, -86
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 0, Explod]; Cum effect 1 (Doggystyle)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger2 = NumExplod(443003) = 1 && Anim = 80046
anim = 110196
ID = 110196
pos = -3, -45
postype = p1
scale = .5, .5
sprpriority = 4
ontop = 0

[State 0, Explod]; CUM EXPLOSION
type = Explod
trigger1 = Anim = 80006 && animelem = 338 || Anim = 80026 && animelem = 334 || Anim = 80046 && animelem = 305 || Anim = 80066 && animelem = 288
anim = 110195
ID = 110195
pos = -250, -300
scale = 3.5, 2.5
sprpriority = 5
ontop = 1

;----------------------------FUTA SCREAM CUM----------------; 

[State -2, PlaySnd]
type = PlaySnd
trigger1 = animelem = 4 && Anim = 80006 || animelem = 3 && Anim = 80026 || animelem = 3 && Anim = 80046 || animelem = 2 && Anim = 80066
value = 5534,0 +random%4

;----------------------------FUTA WORD AFTER CUM----------------; MAI nope

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 97 && Anim = 80006 || animelem = 73 && Anim = 80026 || animelem = 75 && Anim = 80046 || animelem = 84 && Anim = 80066
value = 5535,0 + random%2

[State 0, Explod]; Impregnation Explod
type = Explod
triggerall = fvar(25) >= 70 && fvar(25) <= 75
trigger1 = animelem = 10 && anim = 80006 || animelem = 8 && anim = 80026 || animelem = 9 && anim = 80046 || animelem = 10 && anim = 80066
anim = 44201+random%5
ID = 44201
pos = 0 , ifElse(anim = 80026,-20,ifElse(anim = 80046,-15,-8))
facing = facing
postype = p1
scale = .2, .2
sprpriority = 5

[State 0, ChangeAnim]; Cum once Var29 (Cum load) = 70
type = VarSet
trigger1 = fvar(25) >= 70 && fvar(25) <= 75
fv = 27
value = 6


[State 0, VarAdd]; Move Speed reset
type = VarSet
trigger1 = time = 0 || Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
fv = 27
value = ifElse(time = 0,1,1+random%5)

;---- REWORKED MECHANIC ------;

[State 0, VarAdd]; Start/Increase overtime
type = VarAdd
triggerall = fvar(25) < 70
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = time = 0 || (Gametime%9) = 0
fv = 29
value = ifElse(time = 0,35,ifElse(fvar(29) >= 35 && fvar(27) = 5,0,1.5))

[State 0, VarAdd]; Smash to increase
type = VarAdd
triggerall = fvar(25) < 70 && target,AIlevel = 0
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = target,command = "a" || target,command = "b"
fv = 29
value = ifElse(time > 1000 && time < 2000, -0.6,ifElse(time > 2000, -0.5,-0.7))

[State 0, VarAdd]; Smash Limit
type = VarSet
triggerall = fvar(25) < 70 && target,AIlevel = 0
triggerall = fvar(27) = 1 && fvar(29) <= 5 
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = target,command = "a" || target,command = "b"
fv = 29
value = 5

[State 0, VarAdd]; Speed increase
type = VarAdd
triggerall = fvar(25) < 70
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
fv = 27
value = ifelse(fvar(29) <= 0,-1,1)

[State 0, Explod]; Speed Bar
type = Explod
triggerall = fvar(25) < 70
trigger1 = time = 0
anim = 40001
ID = 40001
pos = -50, -40
postype = p1
scale = .5, .5
sprpriority = 5
bindtime = -1
removetime = -1

[State 0, Explod]; Speed Bar 1,2,3,4,5
type = Explod
triggerall = fvar(25) < 70
trigger1 = numexplod(40002) = 0 
anim = 40001+fvar(27)
ID = 40002
pos = -50, -39
postype = p1
scale = .5, .5
sprpriority = 4
bindtime = -1
removetime = -1

[State 0, ModifyExplod]; Speed Bar updater
type = Modifyexplod
triggerall = fvar(25) < 70
trigger1 = 1
ID = 40002
postype = p1
pos = -50, -39
scale = .5, .5-fvar(29)

; Speed Explod Reset/Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = fvar(29) >= 40 || fvar(29) <= 0
trigger2 = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
ID = 40002

; Speed Bar Explod Remove once first cum
[State 0, Explod]
type = RemoveExplod
trigger1 = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
ID = 40001

;---- Sex Moves ------;

[State 0, ChangeState ]; Release after cum
type = ChangeState
triggerall = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
trigger1 = fvar(25) = 100 && animtime = 0 && random < 500
value = 60000
ctrl = 1

[State 0, VarAdd];Speed bar speed up/down
type = VarSet
trigger1 =  fvar(29) >= 40 || fvar(29) <= 0
fv = 29
value = ifElse(fvar(29) >= 40,5,37)

[State 0, VarAdd]; Random speed select
type = VarSet
triggerall = fvar(25) = 100
trigger1 = (gametime % 300) = 0 && random < 500
trigger2 = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
fv = 27
value = 1 + random%5

[State 0, VarAdd]; Cum once Var29 (Cum load) = 70 || Cum every some time when Cum load = 100
type = VarSet
triggerall = time > 10; So futa don't cum instantly on swaps
trigger1 = (time % 2200) = 0 && fvar(25) = 100 && random < 650
fv = 27
value = 6

[State 0, VarAdd]; Random Move select
type = VarSet
trigger1 = time = 0 || Anim = 80006 || Anim = 80026  || Anim = 80046  || Anim = 80066
trigger2 = (time % 1000) = 0 && fvar(25) < 70 && random < 250
trigger3 = (time % 1750) = 0 && fvar(25) = 100 && random < 350
fv = 26
value = 0 + random%4*20

[State 0, Explod]; MOVE FUTA EXPLOD Changer
type = Explod
trigger1 = animtime = 0 || time = 0
anim = 80000 + fvar(27) + fvar(26) + 10
ID = 80055
postype = p1
scale = .95, .95
sprpriority = 1
bindtime = -1
removetime = -2


[State 0, ChangeAnim]; Speed/Move Changer
type = ChangeAnim
trigger1 = time = 0 || animtime = 0 
value = 80000 + fvar(27) + fvar(26)

;---Transparency Stuff---;

;[State 0, VarSet]; Transparency (Cum load reused var)
;type = VarSet
;triggerall = fvar(29) >= 70
;trigger1 = command = "Transparency"
;fv = 28
;value = ifElse(fvar(28) >= 1,0,1)


;[State 0, Trans]; Transparency
;type = Trans
;triggerall = fvar(29) >= 70
;trigger1 = fvar(28) = 0
;trans = add 
;alpha = 170,90 

[State 0, LifeAdd]
type = LifeAdd
trigger1 = numexplod(443003) = 1
kill = 0
value = 5

;----- END Cum Load, Free mode,etc/ Skip minigame
[State 0, VarSet]; 
type = VarSet
trigger1 = numexplod(44201) = 1 || target,command = "Skipminigame" && target,AIlevel = 0
fv = 25
value = 100

;----------------------------------------- Release---------------------------------------;


[State 0, ChangeState ]; Release
type = ChangeState
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066
trigger1 = roundstate = 4 || roundstate = 3 || DrawGame || wintime || losetime || AILevel && target,alive = 0 || time > 3500+(fvar(28)*100) && fvar(25) < 70
value = 60000
ctrl = 1

;--------------------------------------------------------------------------------;
;--------------------------------------------------------------------------------;
;Futa AI vs AI Normal Assault
[Statedef 80203]
type = S
movetype= A
physics = S
velset = 0,0
anim = 70001
sprpriority = 3

;[State 0, Helper]; Move enemies and allies from view
;type = Helper
;trigger1 = time = 0 && numhelper(50150) = 0
;helpertype = normal
;name = "Opponent Aproach"
;ID = 50150
;stateno = 50150 
;postype = p1  
;facing = 1
;keyctrl = 0
;ownpal = 0
;supermovetime = 0
;pausemovetime = 0

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time = 0
pos = 0

; Explof for Critical Triggers
[State 0, Explod]
type = Explod
triggerall = random < 100 && numexplod(443005) = 0
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
anim = 443004
ID = 443004


;-------------------- SEX SOUND AND EFFECTS (& CRITICAL STUFF)------------------------------------;

[State 0, PlaySnd]; Sex penetration sounds
type = PlaySnd
triggerall = numexplod(443004) = 0
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 45600,0 + random%5

[State 0, PlaySnd]; Sex Futa moans
type = PlaySnd
triggerall = random < 200
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 10,8

[State 0, HitAdd]; Hit Count
type = HitAdd
trigger1 = animelem = 6 && Anim = 70001 || animelem = 6 && Anim = 70002 || animelem = 3 && Anim = 70003 || animelem = 2 && Anim = 70004 || animelem = 2 && Anim = 70005;Missionary
trigger2 = animelem = 4 && Anim = 70021 || animelem = 4 && Anim = 70022 || animelem = 4 && Anim = 70023 || animelem = 2 && Anim = 70024 || animelem = 2 && Anim = 70025;Cowgirl
trigger3 = animelem = 5 && Anim = 70041 || animelem = 5 && Anim = 70042 || animelem = 5 && Anim = 70043 || animelem = 2 && Anim = 70044 || animelem = 2 && Anim = 70045;Doggystyle
trigger4 = animelem = 2 && Anim = 70061 || animelem = 2 && Anim = 70062 || animelem = 2 && Anim = 70063 || animelem = 2 && Anim = 70064 || animelem = 2 && Anim = 70065;Press
value = 1

;-------------- CRITICAL STUFF

[State 0, PlaySnd]; Sex Critical penetration sounds
type = PlaySnd
trigger1 = numexplod(443004) = 1
value = 45601,0 + random%2

[State 0, EnvShake]; Sex Critical EnvShake
type = EnvShake
trigger1 = numexplod(443004) = 1
time = 10
freq = 180
ampl = -6

; Critical Futa reaction/Critical cooldown
[State 0, Explod]
type = Explod
trigger1 = numexplod(443004) = 1
anim = 443005
ID = 443005

[State -2, SuperPause]
type = SuperPause
trigger1 = numexplod(443004) = 1
time = 5
anim = -1
sound = S15,0 + random%2
darken = 0
movetime = -1
ignorehitpause = 1

; Remove Critical Explod once everything triggered/ Maybe not needed
[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = numexplod(443004) = 1
ID = 443004

;------------------ CUM SOUND AND EFFECTS, IMPREGNATION

[State 0, VarAdd]; Cum Bar Increase
type = VarAdd
trigger1 = (GameTime % 20) = 0 && fvar(25) < 70
fv = 25
value = 0.15*fvar(27)

[State 0, PlaySnd]; Sex First penetration sound when cum
type = PlaySnd
trigger1 = animelem = 3 && Anim = 70006
trigger2 = animelem = 4 && Anim = 70026
trigger3 = animelem = 4 && Anim = 70046
trigger4 = animelem = 2 && Anim = 70066
value = 45645,1

[State 0, PlaySnd]; Cum sounds
type = PlaySnd
trigger1 = numexplod(443003) = 1
value = 45645,7

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MISSIONARY
[State 0, Explod]
type = Explod
triggerall = anim = 70006
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 26
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - COWGIRL
[State 0, Explod]
type = Explod
triggerall = anim = 70026
trigger1 = animelem = 6 || animelem = 12 || animelem = 18 || animelem = 24
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - DOGGYSTYLE
[State 0, Explod]
type = Explod
triggerall = anim = 70046
trigger1 = animelem = 7 || animelem = 13 || animelem = 19 || animelem = 25
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MATINGPRESS
[State 0, Explod]
type = Explod
triggerall = anim = 70066
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 26
anim = 443003
ID = 443003

[State 0, Explod]; Impregnation Explod
type = Explod
triggerall = fvar(25) >= 70 && fvar(25) <= 75
trigger1 = animelem = 10 && anim = 70006 || animelem = 8 && anim = 70026 || animelem = 9 && anim = 70046 || animelem = 10 && anim = 70066
anim = 44201+random%5
ID = 44201
pos = 0 , ifElse(anim = 70026,-20,ifElse(anim = 70046,-15,-8))
facing = facing
postype = p1
scale = .2, .2
sprpriority = 5

[State 0, ChangeAnim]; Cum once Var29 (Cum load) = 70
type = VarSet
trigger1 = fvar(25) >= 70 && fvar(25) <= 75
fv = 27
value = 6

;----- Manual MODE (only player)
[State 0, VarSet]; 
type = ChangeState
trigger1 =  fvar(29) = 1 && Animtime = 0
value = 50003

[State 0, VarAdd]; Move Speed reset
type = VarSet
trigger1 = time = 0 || Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
fv = 27
value = ifElse(time = 0,1,1+random%5)

;---- Sex Moves ------;

[State 0, ChangeState ]; Release after cum
type = ChangeState
triggerall = AILevel != 0
triggerall = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
trigger1 = fvar(25) = 100 && animtime = 0 && random < 500
value = 60000
ctrl = 1


[State 0, VarAdd];Speed increase overtime
type = VarAdd
trigger1 =  fvar(25) < 70 && (time % 700) = 0 && fvar(27) < 5
fv = 27
value = 1

[State 0, VarAdd]; Random speed select
type = VarSet
triggerall = fvar(25) = 100
trigger1 = (time % 300) = 0 && random < 500
trigger2 = Anim = 70006 || Anim = 70026 || Anim = 70046 || Anim = 70066
fv = 27
value = 1 + random%5

[State 0, VarAdd]; Cum every some time when Cum load = 100
type = VarSet
triggerall = time > 10; So futa don't cum instantly on swaps
trigger1 = (time % 2200) = 0 && fvar(25) = 100 && random < 650
fv = 27
value = 6

[State 0, VarAdd]; Random Move select
type = VarSet
trigger1 = time = 0 || Anim = 70006 || Anim = 70026  || Anim = 70046  || Anim = 70066
trigger2 = (time % 1000) = 0 && fvar(25) < 70 && random < 250
trigger3 = (time % 1750) = 0 && fvar(25) = 100 && random < 350
fv = 26
value = 0 + random%4*20

[State 0, Explod]; MOVE FUTA EXPLOD Changer
type = Explod
trigger1 = animtime = 0 || time = 0
anim = 70000 + fvar(27) + fvar(26) + 10
ID = 70055
postype = p1
scale = .95, .95
sprpriority = 1
bindtime = -1
removetime = -2


[State 0, ChangeAnim]; Speed/Move Changer
type = ChangeAnim
trigger1 = time = 0 || animtime = 0 
value = 70000 + fvar(27) + fvar(26)

;---Transparency Stuff---;

;[State 0, VarSet]; Transparency (Cum load reused var)
;type = VarSet
;triggerall = fvar(29) >= 70
;trigger1 = command = "Transparency"
;fv = 28
;value = ifElse(fvar(28) >= 1,0,1)


;[State 0, Trans]; Transparency
;type = Trans
;triggerall = fvar(29) >= 70
;trigger1 = fvar(28) = 0
;trans = add 
;alpha = 170,90 

[State 0, LifeAdd]
type = LifeAdd
trigger1 = numexplod(443003) = 1
kill = 0
value = 5

;----- END Cum Load, Free mode,etc/ Skip minigame
[State 0, VarSet]; 
type = VarSet
trigger1 = numexplod(44201) = 1
fv = 25
value = 100

[State 0, VarSet]; Cooldown
type = VarSet
triggerall = fvar(25) = 100 && time > 50
trigger1 = command = "AIMode" && AILevel = 0
fv = 29
value = 1

;----------------------------------------- Release---------------------------------------;


[State 0, ChangeState ]; Release
type = ChangeState
triggerall = Anim != 70006 && Anim != 70026 && Anim != 70046 && Anim != 70066 && time > 25
trigger1 = roundstate = 4 || roundstate = 3 || DrawGame || wintime || losetime || (time % 2200) = 0 && fvar(25) < 70 && random < 350 || command = "release" && AILevel = 0 
value = 60000
ctrl = 1

;--------------------------------------------------------------------------------;
;--------------------------------------------------------------------------------;
;Futa AI vs AI Violent Assault
[Statedef 80303]
type = S
movetype= A
physics = S
velset = 0,0
anim = 80001
sprpriority = 3

;[State 0, Helper]; Move enemies and allies from view
;type = Helper
;trigger1 = time = 0 && numhelper(50150) = 0
;helpertype = normal
;name = "Opponent Aproach"
;ID = 50150
;stateno = 50150 
;postype = p1  
;facing = 1
;keyctrl = 0
;ownpal = 0
;supermovetime = 0
;pausemovetime = 0

[State 0, TargetBind]; Victim Position
type = TargetBind
trigger1 = time = 0
pos = 0

; Critical Explod
[State 0, Explod]
type = Explod
triggerall = random < 100
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
anim = 443004
ID = 443004

;-------------------- SEX SOUND AND EFFECTS (& CRITICAL STUFF)------------------------------------;


[State 0, PlaySnd]; Sex penetration sounds
type = PlaySnd
triggerall = numexplod(443004) = 0
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 45602,0 + random%5

[State 0, PlaySnd]; Sex Futa moans
type = PlaySnd
triggerall = random < 200
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 11,3

[State 0, HitAdd]; Hit Count, Sex
type = HitAdd
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
value = 1

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 3 && Anim = 80021 || animelem = 3 && Anim = 80022 || animelem = 3 && Anim = 80023 || animelem = 2 && Anim = 80024 || animelem = 2 && Anim = 80025;Cowgirl
trigger3 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger4 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
time = 10
freq = 120
ampl = -6


;-------------- CRITICAL STUFF

[State 0, PlaySnd]; Sex Critical penetration sounds
type = PlaySnd
trigger1 = numexplod(443004) = 1
value = 45603,0 + random%2

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = numexplod(443004) = 1
time = 20
freq = 280
ampl = -4

; Critical Explod
[State 0, Explod]
type = Explod
trigger1 = numexplod(443004) = 1
pos = -50,-50
anim = 443005
ID = 443005

; Critical Explod
[State 0, Explod]
type = RemoveExplod
trigger1 = numexplod(443004) = 1
ID = 443004

;------------------ CUM SOUND AND EFFECTS

[State 0, VarAdd]; Cum Bar Increase
type = VarAdd
trigger1 = (GameTime % 20) = 0 && fvar(25) < 70
fv = 25
value = 0.10*fvar(27)

[State 0, PlaySnd]; Sex First penetration sound when cum
type = PlaySnd
trigger1 = animelem = 4 && Anim = 80006
trigger2 = animelem = 3 && Anim = 80026
trigger3 = animelem = 3 && Anim = 80046
trigger4 = animelem = 2 && Anim = 80066
value = 45645,1

[State 0, EnvShake]; Cum EnvShake 
type = EnvShake
trigger1 = numexplod(443003) = 1
time = 20
freq = 280
ampl = -4

[State 0, PlaySnd]; Cum sounds
type = PlaySnd
trigger1 = numexplod(443003) = 1
value = 45645,7

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MISSIONARY
[State 0, Explod]
type = Explod
triggerall = anim = 80006
trigger1 = animelem = 11 || animelem = 17 || animelem = 23 || animelem = 45
trigger2 = animelem = 51 || animelem = 57 || animelem = 79 || animelem = 85
trigger3 = animelem = 91
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - COWGIRL
[State 0, Explod]
type = Explod
triggerall = anim = 80026
trigger1 = animelem = 5 || animelem = 11 || animelem = 17 || animelem = 30 || animelem = 36 || animelem = 42
trigger2 = animelem = 55 || animelem = 61 || animelem = 67
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - DOGGYSTYLE
[State 0, Explod]
type = Explod
triggerall = anim = 80046
trigger1 = animelem = 5 || animelem = 11 || animelem = 17 || animelem = 31 || animelem = 37 || animelem = 43
trigger2 = animelem = 57 || animelem = 63 || animelem = 69
anim = 443003
ID = 443003

; Invisible Hit and Cum Sounds and Moans Explod for Triggers - MATINGPRESS
[State 0, Explod]
type = Explod
triggerall = anim = 80066
trigger1 = animelem = 8 || animelem = 14 || animelem = 20 || animelem = 37 || animelem = 43 || animelem = 49
trigger2 = animelem = 66 || animelem = 72 || animelem = 78
anim = 443003
ID = 443003

;---- Cum EFfects------;

[State 0, Explod]; Liquid effect 1 (Missionary and Press)
type = Explod
triggerall = random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
anim = 110204
ID = 110204
pos = 75, -105
postype = p1
scale = .5, .5
sprpriority = 3
ontop = 0

[State 0, Explod]; Cum effect 1 (Missionary and Press)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
trigger3 = NumExplod(443003) = 1 && Anim = 80006 || NumExplod(443003) = 1 && Anim = 80066
anim = 110203
ID = 110203
pos = -75, -60
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Cum effect 2 (Missionary and Press) / CUM
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 4 && Anim = 80001 || animelem = 4 && Anim = 80002 || animelem = 4 && Anim = 80003 || animelem = 2 && Anim = 80004 || animelem = 2 && Anim = 80005;Missionary
trigger2 = animelem = 2 && Anim = 80061 || animelem = 2 && Anim = 80062 || animelem = 2 && Anim = 80063 || animelem = 2 && Anim = 80064 || animelem = 2 && Anim = 80065;Press
trigger3 = NumExplod(443003) = 1 && Anim = 80006 || NumExplod(443003) = 1 && Anim = 80066
anim = ifelse(random < 500,110201,110205)
ID = 110201
pos = 0, -8
postype = p1
scale = 1, 1
sprpriority = 3
ontop = 0

[State 0, Explod]; Liquid effect 1 (Doggystyle)
type = Explod
triggerall = random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
anim = 110198
ID = 110198
pos = 20, -86
postype = p1
scale = 1,1
sprpriority = 4
ontop = 0

[State 0, Explod]; Cum effect 1 (Doggystyle)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger2 = NumExplod(443003) = 1 && Anim = 80046
anim = 110197
ID = 110197
pos = 20, -86
postype = p1
scale = 1, 1
sprpriority = 4
ontop = 0

[State 0, Explod]; Cum effect 1 (Doggystyle)
type = Explod
triggerall = fvar(29) = 100 && random < 350
trigger1 = animelem = 3 && Anim = 80041 || animelem = 3 && Anim = 80042 || animelem = 3 && Anim = 80043 || animelem = 2 && Anim = 80044 || animelem = 2 && Anim = 80045;Doggystyle
trigger2 = NumExplod(443003) = 1 && Anim = 80046
anim = 110196
ID = 110196
pos = -3, -45
postype = p1
scale = .5, .5
sprpriority = 4
ontop = 0

[State 0, Explod]; CUM EXPLOSION
type = Explod
trigger1 = Anim = 80006 && animelem = 338 || Anim = 80026 && animelem = 334 || Anim = 80046 && animelem = 305 || Anim = 80066 && animelem = 288
anim = 110195
ID = 110195
pos = -250, -300
scale = 3.5, 2.5
sprpriority = 5
ontop = 1

;----------------------------FUTA SCREAM CUM----------------; 

[State -2, PlaySnd]
type = PlaySnd
trigger1 = animelem = 4 && Anim = 80006 || animelem = 3 && Anim = 80026 || animelem = 3 && Anim = 80046 || animelem = 2 && Anim = 80066
value = 5534,0 +random%4

;----------------------------FUTA WORD AFTER CUM----------------; MAI nope

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 97 && Anim = 80006 || animelem = 73 && Anim = 80026 || animelem = 75 && Anim = 80046 || animelem = 84 && Anim = 80066
value = 5535,0 + random%2

[State 0, Explod]; Impregnation Explod
type = Explod
triggerall = fvar(25) >= 70 && fvar(25) <= 75
trigger1 = animelem = 10 && anim = 80006 || animelem = 8 && anim = 80026 || animelem = 9 && anim = 80046 || animelem = 10 && anim = 80066
anim = 44201+random%5
ID = 44201
pos = 0 , ifElse(anim = 80026,-20,ifElse(anim = 80046,-15,-8))
facing = facing
postype = p1
scale = .2, .2
sprpriority = 5

[State 0, ChangeAnim]; Cum once Var29 (Cum load) = 70
type = VarSet
trigger1 = fvar(25) >= 70 && fvar(25) <= 75
fv = 27
value = 6

;----- Manual MODE (only player)
[State 0, VarSet]; 
type = ChangeState
trigger1 =  fvar(29) = 1 && Animtime = 0
value = 50103

[State 0, VarAdd]; Move Speed reset
type = VarSet
trigger1 = time = 0 || Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
fv = 27
value = ifElse(time = 0,1,1+random%5)

;---- Sex Moves ------;

[State 0, ChangeState ]; Release after cum
type = ChangeState
triggerall = AILevel != 0
triggerall = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
trigger1 = fvar(25) = 100 && animtime = 0 && random < 500
value = 60000
ctrl = 1


[State 0, VarAdd];Speed increase overtime
type = VarAdd
trigger1 =  fvar(25) < 70 && (time % 800) = 0 && fvar(27) < 5
fv = 27
value = 1

[State 0, VarAdd]; Random speed select
type = VarSet
triggerall = fvar(25) = 100
trigger1 = (time % 300) = 0 && random < 500
trigger2 = Anim = 80006 || Anim = 80026 || Anim = 80046 || Anim = 80066
fv = 27
value = 1 + random%5

[State 0, VarAdd]; Cum every some time when Cum load = 100
type = VarSet
triggerall = time > 10; So futa don't cum instantly on swaps
trigger1 = (time % 2200) = 0 && fvar(25) = 100 && random < 650
fv = 27
value = 6

[State 0, VarAdd]; Random Move select
type = VarSet
trigger1 = time = 0 || Anim = 80006 || Anim = 80026  || Anim = 80046  || Anim = 80066
trigger2 = (time % 1000) = 0 && fvar(25) < 70 && random < 250
trigger3 = (time % 1750) = 0 && fvar(25) = 100 && random < 350
fv = 26
value = 0 + random%4*20

[State 0, Explod]; MOVE FUTA EXPLOD Changer
type = Explod
trigger1 = animtime = 0 || time = 0
anim = 80000 + fvar(27) + fvar(26) + 10
ID = 80055
postype = p1
scale = .95, .95
sprpriority = 1
bindtime = -1
removetime = -2


[State 0, ChangeAnim]; Speed/Move Changer
type = ChangeAnim
trigger1 = time = 0 || animtime = 0 
value = 80000 + fvar(27) + fvar(26)

;---Transparency Stuff---;

;[State 0, VarSet]; Transparency (Cum load reused var)
;type = VarSet
;triggerall = fvar(29) >= 70
;trigger1 = command = "Transparency"
;fv = 28
;value = ifElse(fvar(28) >= 1,0,1)


;[State 0, Trans]; Transparency
;type = Trans
;triggerall = fvar(29) >= 70
;trigger1 = fvar(28) = 0
;trans = add 
;alpha = 170,90 

[State 0, LifeAdd]
type = LifeAdd
trigger1 = numexplod(443003) = 1
kill = 0
value = 5

;----- END Cum Load, Free mode,etc/ Skip minigame
[State 0, VarSet]; 
type = VarSet
trigger1 = numexplod(44201) = 1
fv = 25
value = 100

[State 0, VarSet]; Cooldown
type = VarSet
triggerall = fvar(25) = 100 && time > 50
trigger1 = command = "AIMode" && AILevel = 0
fv = 29
value = 1

;----------------------------------------- Release---------------------------------------;


[State 0, ChangeState ]; Release
type = ChangeState
triggerall = Anim != 80006 && Anim != 80026 && Anim != 80046 && Anim != 80066 && time > 25
trigger1 = roundstate = 4 || roundstate = 3 || DrawGame || wintime || losetime || (time % 2200) = 0 && fvar(25) < 70 && random < 350 || command = "release" && AILevel = 0
value = 60000
ctrl = 1


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

;Victim Lost, on ground
[Statedef 50005]
type = S
movetype = H
physics = N
sprpriority = 2

[State 0, Helper]; Move enemies and allies from view
type = Helper
triggerall = AILevel
trigger1 = time = 0 && numhelper(50150) = 0
helpertype = normal
name = "Victim lost"
pos = -999,-999
ID = 50150
size.xscale = 0
size.yscale = 0
stateno = 50150 
postype = p1  
facing = 1
keyctrl = 0
ownpal = 0
supermovetime = 0
pausemovetime = 0

[State 0, ChangeAnim2];
type = ChangeAnim2
trigger1 = time = 0
value = 71101

;---------------------------------------------------------------------------------------------------------
;Victim stay on ground once lose
[Statedef 50150]
type = U
movetype= A
physics = N

[State 0, Null];
type = Null
trigger1 = time = 0

;---------------------------------------------------------------------------------------------------------
;;Futa keep Victim on custom state if the victim lost
;[Statedef 50152]
;type = U
;movetype= A
;physics = N
;anim = 50058

;[State 0, ]
;type = HitDef
;trigger1 = (gametime%50) = 0
;attr = S, NA
;animtype  = Light
;ground.type = None
;air.type = Trip
;sparkno = -1
;hitflag = MFD
;priority = 4, Hit
;p2stateno = 50005

;[State 0, TargetState]
;type = TargetState
;trigger1 = Movehit
;value = 50005