[Statedef -3]

;This controller plays a sound everytime KFM lands from a jump, or
;from his back-dash.
[State -3, Landing Sound]
type = PlaySnd
triggerall = Time = 1
trigger1 = stateno = 52 ;Jump land
trigger2 = stateno = 106 ;Run-back land
value = 40, 0

[State 0, VarRandom]
type = VarRandom
trigger1 = Time = 1
trigger1 = Anim = [5000,5099]
v = 3
range = 0,7

[State -3]
type = PlaySnd
channel = 5
triggerall = time = 0
triggerall = alive = 1
trigger1 = stateno = [5000,5099]
channel = 0
value = 5000, var(3)

;========================================================
; FIGHT! FIGHT! OH!
;========================================================

[State -1, Mr AI]
type = VarSet
var(15) = 8
triggerall = Var(15) = 0
trigger1 = Command = "AI1"
trigger2 = Command = "AI2"
trigger3 = Command = "AI3"
trigger4 = Command = "AI4"
trigger5 = Command = "AI5"
trigger6 = Command = "AI6"
trigger7 = Command = "AI7"
trigger8 = Command = "AI8"
trigger9 = Command = "AI9"
trigger10 = Command = "AI10"
trigger11 = Command = "AI11"
trigger12 = Command = "AI12"
trigger13 = Command = "AI13"
trigger14 = Command = "AI14"
trigger15 = Command = "AI15"
trigger16 = Command = "AI16"
trigger17 = Command = "AI17"
trigger18 = Command = "AI18"
trigger19 = Command = "AI19"
trigger20 = Command = "AI20"
trigger21 = Command = "AI21"
trigger22 = Command = "AI22"
trigger23 = Command = "AI23"
trigger24 = Command = "AI24"
trigger25 = Command = "AI25"
trigger26 = Command = "AI26"
trigger27 = Command = "AI27"
trigger28 = Command = "AI28"
trigger29 = Command = "AI29"
trigger30 = Command = "AI20"
trigger31 = Command = "AI31"
trigger32 = Command = "AI32"
trigger33 = Command = "AI33"
trigger34 = Command = "AI34"
trigger35 = Command = "AI35"
trigger36 = Command = "AI36"
trigger37 = Command = "AI37"
trigger38 = Command = "AI38"
trigger39 = Command = "AI39"
trigger40 = Command = "AI40"
trigger41 = Command = "AI0"
ignorehitpause = 1