[Statedef -3]

; Taunt
[State -1]
type = varset
trigger1 = 1
var(45) = 0

[State -3, Ai]
type = ChangeState
value = 900
triggerall = Var(30) = 1
triggerall = life > 0
triggerall = power >= 1000
triggerall = Random <= 100
triggerall = enemy, hitdefattr = SCA, NA, SA
triggerall = p2bodydist x <= 85
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
trigger1 = stateno = 150
trigger2 = stateno = 151

[State -3, Ai]
type = ChangeState
value = 750
triggerall = Var(30) = 1
triggerall = Random <= 30
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = stateno != 850
trigger1 = stateno != 750
trigger1 = statetype = S
trigger1 = p2BodyDist X >= 120 

[State -3, Ai]
type = ChangeState
value = 720
triggerall = Var(30) = 1
triggerall = Random >= 970
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = stateno != 850
trigger1 = stateno != 750
trigger1 = statetype = S
trigger1 = p2BodyDist X >= 120 

[State -3, Ai]
type = ChangeState
value = 1004
triggerall = Var(30) = 1
triggerall = Var(35) != 1
triggerall = Statetype = S
triggerall = p2Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2bodydist x <= 20
trigger1 = random >= 850

[State -3, Ai]
type = ChangeState
value = 450
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2stateno = 150
trigger1 = random < 200

[State -3, Ai]
type = ChangeState
value = 230
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2bodydist x <= 15
trigger1 = p2bodydist y >= -60
trigger1 = random <= 500
trigger1 = random > 400

[State -3, Ai]
type = ChangeState
value = 240
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2bodydist x <= 25
trigger1 = p2bodydist y >= -60
trigger1 = random <= 600
trigger1 = random > 500

[State -3, Ai]
type = ChangeState
value = 220
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
triggerall = prevstateno = 240
trigger1 = p2bodydist x > 30
trigger1 = p2BodyDist X < 120
trigger1 = p2bodydist y >= -60
trigger1 = random <= 650
trigger1 = random > 600

[State -3, Ai]
type = ChangeState
value = 750
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
triggerall = prevstateno = 240
trigger1 = p2bodydist x > 30
trigger1 = p2BodyDist X < 120
trigger1 = p2bodydist y >= -60
trigger1 = random <= 700
trigger1 = random > 650

[State -3, Ai]
type = ChangeState
value = 200
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2bodydist x <= 30
trigger1 = p2bodydist y >= -60
trigger1 = random <= 800
trigger1 = random > 700

[State -3, Ai]
type = ChangeState
value = 240
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2bodydist x > 30
trigger1 = p2BodyDist X < 120
trigger1 = p2bodydist y >= -60
trigger1 = random <= 900
trigger1 = random > 800

[State -3, Ai]
type = ChangeState
value = 220
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = prevstateno = 210
triggerall = ctrl = 1
trigger1 = p2bodydist x > 30
trigger1 = p2BodyDist X < 120
trigger1 = p2bodydist y >= -60
trigger1 = random > 950

[State -3, Ai]
type = ChangeState
value = 720
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = prevstateno = 210
triggerall = ctrl = 1
trigger1 = p2bodydist x > 30
trigger1 = p2BodyDist X < 120
trigger1 = p2bodydist y >= -60
trigger1 = random > 900
trigger1 = random < 950

[State -3, Ai]
type = ChangeState
value = 850
triggerall = Var(30) = 1
triggerall = Var(35) != 1
triggerall = Statetype = S
triggerall = Random <= 200
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = power = 3000
trigger1 = p2BodyDist X >= 120

[State -3, Ai]
type = ChangeState
value = 1500
;triggerall = Var(35) != 1
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = Random <= 200
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2BodyDist X <= 70
trigger1 = p2bodydist y <= -35

[State -3, Ai]
type = ChangeState
value = 1510
;triggerall = Var(35) != 1
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = Random >= 201
triggerall = Random <= 400
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2BodyDist X <= 70
trigger1 = p2bodydist y <= -35

[State -3, Ai]
type = ChangeState
value = 1520
;triggerall = Var(35) != 1
triggerall = Var(30) = 1
triggerall = Statetype = S
triggerall = Random >= 401
triggerall = Random <= 600
triggerall = life > 0
triggerall = stateno != 5000
triggerall = stateno != 5001
triggerall = stateno != 5020
triggerall = stateno != 5035
triggerall = stateno != 5040
triggerall = stateno != 5010
triggerall = stateno != 5011
triggerall = stateno != 5050
triggerall = alive = 1
triggerall = RoundState = 2
triggerall = ctrl = 1
trigger1 = p2BodyDist X <= 70
trigger1 = p2bodydist y <= -35
