;----------------------------------------------------------------------------
;Gold Armor Form (movement)
[Statedef 1720]
type = S
movetype = I
physics = S
sprpriority = 2
[State 0, VelAdd]
type = VelAdd
trigger1 = command = "holdfwd"
x = 0.1
[State 0, VelAdd]
type = VelAdd
trigger1 = command = "holdback"
x = -0.1
[State 0, VelSet]
type = VelSet
trigger1 = vel x >= 1
x = 1
[State 0, VelSet]
type = VelSet
trigger1 = vel x <= -1
x = -1
[State 0, ChangeState]
type = ChangeState
trigger1 = command != "holdfwd"
trigger2 = command != "holdback"
value = 1721
ctrl = 0
;----------------------------------------------------------------------------
;Gold Armor Form (stopping)
[Statedef 1721]
type = S
movetype = I
physics = S
sprpriority = 2
[State 0, VelAdd]
type = VelAdd
trigger1 = command != "holdfwd"
x = -0.1
[State 0, VelAdd]
type = VelAdd
trigger1 = command != "holdback"
x = 0.1
[State 0, VelSet]
type = VelSet
trigger1 = vel x >= 0
x = 0
[State 0, VelSet]
type = VelSet
trigger1 = vel x <= 0
x = 0
[State 0, ChangeState]
type = ChangeState
trigger1 = vel x = 0
value = 1701
ctrl = 1