; ____________________________________________________________________________________________________
;/ Apocalypse © OnslaughtX

; ____________________________________________________________________________________________________
;/ Default Values
[Defaults]
command.time = 15
command.buffer.time = 1

; ____________________________________________________________________________________________________
;/ Commands
[Command]
name = "QCD_x"
command = F,DF,D,x
time = 18

[Command]
name = "QCD_y"
command = F,DF,D,y
time = 18

[Command]
name = "QCD_z"
command = F,DF,D,z
time = 18

[Command]
name = "QCD_x2"
command = F,DF,D,x
time = 18

[Command]
name = "QCD_y2"
command = F,DF,D,y
time = 18

[Command]
name = "QCD_z2"
command = F,DF,D,z
time = 18

[Command]
name = "QCD_x3"
command = F,DF,D,x
time = 18

[Command]
name = "QCD_y3"
command = F,DF,D,y
time = 18

[Command]
name = "QCD_z3"
command = F,DF,D,z
time = 18

[Command]
name = "DP_x"
command = F,D,DF,x
time = 18

[Command]
name = "DP_y"
command = F,D,DF,y
time = 18

[Command]
name = "DP_z"
command = F,D,DF,z
time = 18

[Command]
name = "DP_x2"
command = F,D,DF,x
time = 18

[Command]
name = "DP_y2"
command = F,D,DF,y
time = 18

[Command]
name = "DP_z2"
command = F,D,DF,z
time = 18

[Command]
name = "DP_x3"
command = F,D,DF,x
time = 18

[Command]
name = "DP_y3"
command = F,D,DF,y
time = 18

[Command]
name = "c"
command = F,D,DF,z
time = 18

[Command];Stun Cannon
name = "y"
command = D,DF,F, D,DF,F,c
time = 18

[Command];Stun Cannon
name = "x"
command = D,DF,F, D,DF,F,c
time = 18

[Command];Stun Cannon
name = "holddown"
command = D,DF,F, D,DF,F,c
time = 18

[Command];Spread Cannon
name = "z"
command = D,DF,F,c
time = 18

[Command];Spread Cannon
name = "a"
command = D,DF,F,c
time = 18

[Command];Spread Cannon
name = "b"
command = D,DF,F,c
time = 18

[Command];The Drill
name = "QCF_z"
command = D,DF,F,z
time = 18

[Command];The Drill
name = "holdup"
command = D,DF,F,z
time = 18

[Command];The Drill
name = "recovery"
command = D,DF,F,z
time = 18

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

[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

;[Command]
;name = "holdup"
;command = /$U
;time = 1

;[Command]
;name = "holddown"
;command = /$D
;time = 1

; ____________________________________________________________________________________________________
;/ State -1
[Statedef -1]
[State -1, Drill]
type = VarSet
triggerall = Ctrl
trigger1 = Command = "QCF_z"
trigger2 = Command = "recovery"
trigger3 = Command = "holdup"
var(14)=6

[State -1, Drill 2]
type = CtrlSet
trigger1 = Var(14) = 6
value = 0

[State -1, Drill 3]
type = ChangeState
value = 340
trigger1 = Var(14) = 6
trigger1 = StateNo != 340

[State -1, Homing Shoulder Cannon]
type = VarSet
triggerall = Ctrl
trigger1 = Command = "x"
trigger2 = Command = "y"
trigger3 = Command = "holddown"
var(14) = 7

[State -1, Homing Shoulder Cannon 2]
type = CtrlSet
trigger1 = Var(14) = 7
value = 0

[State -1, Homing Shoulder Cannon 3]
type = ChangeState
value = 320
trigger1 = Var(14) = 7
trigger1 = StateNo != 320

[State -1, Shoulder Cannon]
type = VarSet
triggerall = Ctrl
trigger1 = Command = "z"
trigger2 = Command = "a"
trigger3 = Command = "b"
var(14) = 5

[State -1, Shoulder Cannon 2]
type = CtrlSet
trigger1 = Var(14) = 5
value = 0

[State -1, Shoulder Cannon 3]
type = ChangeState
value = 330
trigger1 = Var(14) = 5
trigger1 = StateNo != 330

[State -1, Spike]
type = VarSet
triggerall = Ctrl
trigger1 = Command = "DP_x" || Command = "DP_y" || Command = "DP_z"
trigger2 = Command = "DP_x2" || Command = "DP_y2" || Command = "DP_z2"
trigger3 = Command = "DP_x3" || Command = "DP_y3" || Command = "c"
var(14)=4

[State -1, Spike 2]
type = CtrlSet
trigger1 = Var(14) = 4
value = 0

[State -1, Spike 3]
type = ChangeState
value = 310
trigger1 = Var(14) = 4
trigger1 = StateNo != 310

[State -1, RunBack]
type = VarSet
trigger1 = Command = "start"
trigger1 = Command = "holdback"
trigger1 = Ctrl
var(14)=1

[State -1, RunBack 2]
type = CtrlSet
trigger1 = Var(14) = 1
value = 0

[State -1, RunBack 3]
type = ChangeState
value = 105
trigger1 = Var(14) = 1
trigger1 = StateNo != 105

[State -1, RunFwd]
type = VarSet
trigger1 = Command = "start"
trigger1 = Ctrl
var(14) = 2

[State -1, RunFwd 2]
type = CtrlSet
trigger1 = Var(14) = 2
value = 0

[State -1, RunFwd2]
type=ChangeState
value = 100
trigger1 = Var(14) = 2
trigger1 = StateNo != 100

[State -1, Shockwave]
type = VarSet
trigger1 = Command = "QCD_y"
trigger1 = Ctrl
var(19) = 1

[State -1, Shockwave]
type = VarSet
trigger1 =Command = "QCD_z"
trigger1 = Ctrl
var(19) = 2

[State -1, Shockwave 2]
type = VarSet
triggerall = Ctrl
trigger1 = Command = "QCD_x" || Command = "QCD_y" || Command = "QCD_z"
trigger2 = Command = "QCD_x2" || Command = "QCD_y2" || Command = "QCD_z2"
trigger3 = Command = "QCD_x3" || Command = "QCD_y3" || Command = "QCD_z3"
var(14) = 3

[State -1, Shockwave 3]
type = CtrlSet
trigger1 = Var(14) = 3
value = 0

[State -1, Shockwave 4]
type = ChangeState
value = 300
trigger1 = Var(14) = 3
trigger1 = StateNo != 300