[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

[Command]
Name = "FF"
Command = F, F
Time = 12

[Command]
Name = "BB"
Command = B, B
Time = 12

[Command]
Name = "a"
Command = a
Time = 0

[Command]
Name = "b"
Command = b
Time = 0

[Command]
Name = "c"
Command = c
Time = 0

[Command]
Name = "x"
Command = x
Time = 0

[Command]
Name = "y"
Command = y
Time = 0

[Command]
Name = "z"
Command = z
Time = 0

[Command]
Name = "recovery"
Command = a
Time = 0

[Command]
Name = "recovery"
Command = b
Time = 0

[Command]
Name = "recovery"
Command = c
Time = 0

[Command]
Name = "recovery"
Command = x
Time = 0

[Command]
Name = "recovery"
Command = y
Time = 0

[Command]
Name = "recovery"
Command = z
Time = 0

[Command]
Name = "fwd"
Command = F
Time = 0

[Command]
Name = "back"
Command = B
Time = 0

[Command]
Name = "up"
Command = U
Time = 0

[Command]
Name = "down"
Command = D
Time = 0

[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

[Command]
Name = "start"
Command = s
Time = 0

[StateDef -1]

[State -1]
Type = ScreenBound
Trigger1 = 1
Value = 0
MoveCamera = 0,0

[State -1]
Type = CtrlSet
Trigger1 = 1
Value = 0

[State -1]
Type = Helper
Trigger1 = !IsHelper
Trigger1 = Var(2) = 0
Trigger1 = StateNo != 5900
Trigger1 = NumHelper(999)+NumHelper(7235)+NumHelper(7236) = 0
ID = 999
StateNo = 999

[State -1]
Type = ChangeState
Trigger1 = !IsHelper
Trigger1 = StateNo != 180
Trigger1 = StateNo != 5150
Trigger1 = StateNo != 5900
Value = 5150

[State -1]
Type = ChangeState
Trigger1 = IsHelper(7235)+IsHelper(7236)
Trigger1 = StateNo = [0,155]
Value = 2000+IsHelper(7236)-1000*(Life=LifeMax)

[StateDef -2]

[State -2]
Type = Projectile
Trigger1 = MoveType = H
Trigger1 = IsHelper(7235)+IsHelper(7236)
ProjID = 7237+IsHelper(7236)
ProjAnim = 0
ProjRemoveTime = 2
Attr = A,NP
HitFlag = P
ProjEdgeBound = 9999
ProjStageBound = 0
Offset = 0,0
Velocity = -5*Facing,0
PauseMoveTime = 2147483648
SuperMoveTime = 2147483648

[State -2]
Type = PosAdd
TriggerAll = MoveType = H
Trigger1 = IsHelper(7235)
Trigger1 = PlayerIDExist(Const(Size.Height))
Trigger1 = PlayerID(Const(Size.Height)),NumProjID(7237) < 2
Trigger2 = IsHelper(7236)
Trigger2 = PlayerIDExist(Const(Size.Height))
Trigger2 = PlayerID(Const(Size.Height)),NumProjID(7238) < 2
x = 5*Facing

[State -2]
Type = NotHitBy
Trigger1 = Life <= LifeMax-50
Value = SCA, NA, SA, HA, NT, ST, HT, NP, SP, HP
Time = -1

[State -2]
Type = Explod
Trigger1 = IsHelper(7235)
Trigger1 = Anim != 1000
Trigger1 = Anim != 2000
Trigger1 = Anim != 3000
Trigger1 = StateNo != 3000
Trigger1 = StateNo != 4000
Anim = 2000
RemoveTime = 1

[State -2]
Type = Explod
Trigger1 = IsHelper(7236)
Trigger1 = Anim != 1001
Trigger1 = Anim != 2001
Trigger1 = Anim != 3000
Trigger1 = StateNo != 3001
Trigger1 = StateNo != 4001
Anim = 2001
RemoveTime = 1

[State -2]
Type = SelfState
TriggerAll = IsHelper(7235)+IsHelper(7236)
TriggerAll = StateNo != [1000,1001]
TriggerAll = StateNo != [2000,2001]
TriggerAll = StateNo != [3000,3001]
TriggerAll = StateNo != [4000,4001]
Trigger1 = Life <= LifeMax-50
Trigger1 = (HitOver)+(Time>240)
Trigger1 = (Pos y>=0)+(StateType=S)+(StateType=C)
Value = 4000+IsHelper(7236)
