;======================================================================
; HAUZER - CAPCOM FIGHTING JAM
;======================================================================
; CONVERTED BY MATURE4EVR
;======================================================================
; VERSION 0.96
;======================================================================

;======================================================================
; COMMAND FILE
;======================================================================

;-|Button Remapping|---------------------------------------------------
; This section allows you to remap this character's button layout.
; The format is: old_button = new_button. If new_button is left
; blank, it cannot be pressed.
[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;-|Default Values|-----------------------------------------------------

[Defaults]
command.time = 15
command.buffer.time = 1

;-|Mystic Breaks|------------------------------------------------------

[Command]
name = "crisis"
command = ~D, DF, F, D, DF, F, a
time = 21

[Command]
name = "crisis"
command = ~D, DF, F, D, DF, F, b
time = 21

[Command]
name = "crisis"
command = ~D, DF, F, D, DF, F, c
time = 21

[Command]
name = "gust"
command = ~D, DF, F, D, DF, F, x
time = 21

[Command]
name = "gust"
command = ~D, DF, F, D, DF, F, y
time = 21

[Command]
name = "gust"
command = ~D, DF, F, D, DF, F, z
time = 21

;-|Special Moves|------------------------------------------------------

[Command]
name = "volcano_x"
command = ~D, DF, F, x

[Command]
name = "volcano_y"
command = ~D, DF, F, y

[Command]
name = "volcano_z"
command = ~D, DF, F, z

[Command]
name = "volcano_WRZD_x"
command = ~B, DB, D, DF, F, x

[Command]
name = "volcano_WRZD_y"
command = ~B, DB, D, DF, F, y

[Command]
name = "volcano_WRZD_z"
command = ~B, DB, D, DF, F, z

[Command]
name = "assault_a"
command = ~D, DF, F, a

[Command]
name = "assault_b"
command = ~D, DF, F, b

[Command]
name = "assault_c"
command = ~D, DF, F, c

[Command]
name = "tempest_a"
command = ~10$D, U, a

[Command]
name = "tempest_b"
command = ~10$D, U, b

[Command]
name = "tempest_c"
command = ~10$D, U, c

;-|Misc|---------------------------------------------------------------

[Command]
name = "ult_counter"
command = ~D, DB, B, x

[Command]
name = "ult_counter"
command = ~D, DB, B, y

[Command]
name = "ult_counter"
command = ~D, DB, B, z

[Command]
name = "throw_cfj"
command = a+x

;-|Double Tap|---------------------------------------------------------

[Command]
name = "dash_fwd"     ;Required (do not remove)
command = F, F
time = 10

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

;-|2/3 Button Combination|---------------------------------------------

[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

;-|Dir+Button|---------------------------------------------------------

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

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

;-|Single Button|------------------------------------------------------

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

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

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

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

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

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

[Command]
name = "start"
command = s
time = 1

;-|Hold Button|--------------------------------------------------------

[Command]
name = "hold_x"
command = /x
time = 1

[Command]
name = "hold_a"
command = /a
time = 1

;-|Hold Direction|-----------------------------------------------------

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

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

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

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

;----------------------------------------------------------------------
; Don't remove the following line. It's required by the CMD
; standard.
[Statedef -1]

;----GUST FLAME----
[State -1, gust]
type = ChangeState
value = 3100
triggerall = command = "gust"
trigger1 = statetype != A
trigger1 = power >= 2000
trigger1 = ctrl

;----DELUGE CRISIS----
[State -1, crisis]
type = ChangeState
value = 3000
triggerall = command = "crisis"
trigger1 = statetype != A
trigger1 = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 400
trigger2 = movecontact
trigger3 = stateno = 430
trigger3 = movecontact

;----TEMPEST FALL----
[State -1, tempest_a]
type = ChangeState
value = 1200
triggerall = command = "tempest_a"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 40

[State -1, tempest_b]
type = ChangeState
value = 1250
triggerall = command = "tempest_b"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 40

[State -1, tempest_c]
type = ChangeState
value = 1270
triggerall = command = "tempest_c"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 40

;----DELUGE ASSAULT----
[State -1, assault_a]
type = ChangeState
value = 1100
triggerall = command = "assault_a"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, assault_b]
type = ChangeState
value = 1150
triggerall = command = "assault_b"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, assault_c]
type = ChangeState
value = 1170
triggerall = command = "assault_c"
trigger1 = statetype != A
trigger1 = ctrl

;----VOLCANO BREATH (WARZARD)----
[State -1, volcano_WRZD_x]
type = ChangeState
value = 1050
triggerall = command = "volcano_WRZD_x"
trigger1 = statetype != A
trigger1 = NumHelper = 0
trigger1 = ctrl

[State -1, volcano_WRZD_y]
type = ChangeState
value = 1060
triggerall = command = "volcano_WRZD_y"
trigger1 = statetype != A
trigger1 = NumHelper = 0
trigger1 = ctrl

[State -1, volcano_WRZD_z]
type = ChangeState
value = 1070
triggerall = command = "volcano_WRZD_z"
trigger1 = statetype != A
trigger1 = NumHelper = 0
trigger1 = ctrl

;----VOLCANO BREATH----
[State -1, volcano_x]
type = ChangeState
value = 1000
triggerall = command = "volcano_x"
trigger1 = statetype != A
trigger1 = NumHelper = 0
trigger1 = ctrl

[State -1, volcano_y]
type = ChangeState
value = 1030
triggerall = command = "volcano_y"
trigger1 = statetype != A
trigger1 = NumHelper = 0
trigger1 = ctrl

[State -1, volcano_z]
type = ChangeState
value = 1040
triggerall = command = "volcano_z"
trigger1 = statetype != A
trigger1 = NumHelper = 0
trigger1 = ctrl

;----Advancing Headbutt----
[State -1, adv_hbutt]
type = ChangeState
value = 810
triggerall = command = "y"
triggerall = command = "holdfwd"
trigger1 = statetype != A
trigger1 = ctrl

;----Throw (CFJ)----
[State -1, throw_cfj]
type = ChangeState
value = 800
triggerall = command = "throw_cfj"
triggerall = statetype = S
triggerall = ctrl = 1
triggerall = stateno != 100
trigger1 = p2bodydist X <= 5

;----Ground Escape (back)----
[State -1, gr_esc_back]
type = ChangeState
value = 750
trigger1 = command = "holdback"
trigger1 = stateno = 5120
trigger1 = time = 1

;----Ground Escape (fwd)----
[State -1, gr_esc_fwd]
type = ChangeState
value = 751
trigger1 = command = "holdfwd"
trigger1 = stateno = 5120
trigger1 = time = 1

;----Ultimate Counter----
[State -1, ult_counter]
type = ChangeState
value = 700
triggerall = command = "ult_counter"
trigger1 = statetype != A
trigger1 = (p2dist x=[0,90]) && stateno = 150 || stateno = 152

;----Jumping Heavy Kick----
[State -1, jumping_hk]
type = ChangeState
value = 650
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 630
trigger4 = movecontact
trigger5 = stateno = 641
trigger5 = movecontact

;----Jumping Medium Kick----
[State -1, jumping_mk]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 630
trigger3 = movecontact

;----Jumping Light Kick----
[State -1, jumping_lk]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;----Jumping Heavy Punch----
[State -1, jumping_hp]
type = ChangeState
value = 620
triggerall = command = "z"
triggerall = Vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 630
trigger4 = movecontact
trigger5 = stateno = 641
trigger5 = movecontact

;----Jumping Medium Punch----
[State -1, jumping_mp]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 630
trigger3 = movecontact

;----Jumping Light Punch----
[State -1, jumping_lp]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl

;----Crouching Heavy Kick----
[State -1, crouching_hk]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = time > 2
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 400
trigger6 = movecontact
trigger7 = stateno = 410
trigger7 = movecontact
trigger8 = stateno = 430
trigger8 = movecontact
trigger9 = stateno = 440
trigger9 = movecontact

;----Crouching Medium Kick----
[State -1, crouching_mk]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = time > 2
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact
trigger5 = stateno = 430
trigger5 = movecontact

;----Crouching Light Kick----
[State -1, crouching_lk]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = time > 3
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact ;<--CFJ chain...doesn't follow 3-hit series.
trigger3 = (stateno = 600) && pos y = 0
trigger3 = movecontact
trigger4 = (stateno = 610) && pos y = 0
trigger4 = movecontact
trigger5 = (stateno = 630) && pos y = 0
trigger5 = movecontact
trigger6 = (stateno = 640) && pos y = 0
trigger6 = movecontact
trigger5 = (stateno = 650) && pos y = 0
trigger5 = movecontact

;----Crouching Heavy Punch----
[State -1, crouching_hp]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 400
trigger6 = movecontact
trigger7 = stateno = 410
trigger7 = movecontact
trigger8 = stateno = 430
trigger8 = movecontact
trigger9 = stateno = 440
trigger9 = movecontact

;----Crouching Medium Punch----
[State -1, crouching_mp]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact
trigger5 = stateno = 430
trigger5 = movecontact

;----Crouching Light Punch----
[State -1, crouching_lp]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = time > 2
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact ;<--CFJ chain...doesn't follow 3-hit series.
trigger3 = (stateno = 600) && pos y = 0
trigger3 = movecontact
trigger4 = (stateno = 610) && pos y = 0
trigger4 = movecontact
trigger5 = (stateno = 630) && pos y = 0
trigger5 = movecontact
trigger6 = (stateno = 640) && pos y = 0
trigger6 = movecontact
trigger5 = (stateno = 650) && pos y = 0
trigger5 = movecontact

;----Standing Heavy Kick----
[State -1, standing_hk]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = Alive = 1
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = time > 45
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 400
trigger6 = movecontact
trigger7 = stateno = 410
trigger7 = movecontact
trigger8 = stateno = 430
trigger8 = movecontact
trigger9 = stateno = 440
trigger9 = movecontact

;----Standing Medium Kick----
[State -1, standing_mk]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = Alive = 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact
trigger5 = stateno = 430
trigger5 = movecontact
;trigger6 = time > 75

;----Standing Light Kick----
[State -1, standing_lk]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = Alive = 1
trigger1 = statetype != A
trigger1 = ctrl

;----Standing Heavy Punch----
[State -1, standing_hp]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = Alive = 1
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = time > 45
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 400
trigger6 = movecontact
trigger7 = stateno = 410
trigger7 = movecontact
trigger8 = stateno = 430
trigger8 = movecontact
trigger9 = stateno = 440
trigger9 = movecontact

;----Standing Medium Punch----
[State -1, standing_mp]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = Alive = 1
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = time > 35
trigger2 = stateno = 200 && animelemtime(9) = 2
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact
trigger5 = stateno = 430
trigger5 = movecontact

;----Standing Light Punch----
[State -1, standing_lp]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = Alive = 1
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = time > 60

;----Taunt----
[State -1, taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 101

;----Dash Back----
[State -1, dash_back]
type = ChangeState
value = 105
triggerall = command = "dash_back"
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = stateno != 105

;----Dash Fwd----
[State -1, dash_fwd]
type = ChangeState
value = 100
triggerall = command = "dash_fwd"
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = stateno != 100
