;========================================================================================================================================================================================================================================================================================================================================================================================================================
; AI Config
;========================================================================================================================================================================================================================================================================================================================================================================================================================

;---------------------------------------------------------------------------
;Ignore the stuff between these two lines please
[StateDef 9740]
type = A
movetype = I
physics = N
anim = 9999 ; Blank State
ctrl = 0

[State 9740, BindToRoot]
type = BindToRoot
trigger1 = PlayerIdExist(Root,ID)
facing = 1
pos =0,0
ignorehitpause = 1 

[State 9740, HitBy]
type = HitBy
trigger1 = 1
value = 

;---------------------------------------------------------------------------
;Here we are!
;Configuration
;The values that are configurable here are ones that will look like this (#)
;Change the Value inside to the ranges listed

[State 9740]
type = VarSet
trigger1 = 1
;Auto AI
var(1) = (1)
;0 - Off
;1 - On

[State 9740]
type = ParentVarSet
trigger1 = 1
;AI Level
var(44) = (10)
;Ranges from 1-10

[State 9740]
type = VarSet
trigger1 = 1
;AI Quick Getup
var(2) = (1)
;0 - Off
;1 - On

;====================================
;AI Combo Settings
;====================================
;These values all go from 1-100 and multiply Chiester's current AI level unless stated otherwise

[State 9740]
type = VarSet
trigger1 = 1
;Rate of using 214c Okizeme instead of 623 Ender
var(10) = (50)
;Ranges from 1-100
;Multiplies by AI Level
;Not used if the opponent has the lifelead or if 623 Ender will finish them off

[State 9740]
type = VarSet
trigger1 = 1
;Rate of using Meta World Super
var(15) = (20)
;Ranges from 1-100
;Multiplies by AI Level
;This Meta is pretty risky and has no true followup potential due to no Dizzy mechanic

;========================================================================================================================================================================================================================================================================================================================================================================================================================
; Config End
;========================================================================================================================================================================================================================================================================================================================================================================================================================

















[State -1, Proj Cooldown set]
type = VarSet
triggerall = root,prevstateno != [200,499]
trigger1 = root,stateno = [1000,1020]
var(40) = 60

[State -1, Proj Cooldown down]
type = VarAdd
triggerall = root,stateno != [1000,1020]
triggerall = root,movetype != H
trigger1 = var(40) > 0
var(40) = -1

[State -1, Proj Cooldown time off]
type = Varset
trigger1 = var(40) < 0
var(14) = 0

