==================================
Projectile Charge (Non Mobile Version)
==================================
Created by The Necromancer

;---------------------------------------------------------------------------
Projectile Charge  -- This feature isn't very common, as with
the Mobile version, but it's a great way to increase a
projectile's power.

Characters such as Ryu from SF3 have this feature.
;---------------------------------------------------------------------------
1.) In your character's charging state, have a VarSet AND a VarAdd. Example:

;Charge reset at the beginning.
[State 9000, VarSet]
type = VarSet
trigger1 = Time = 0
var(0) = 0

;Charge addition when holding the button.
[State 9000, VarAdd]
type = VarAdd
trigger1 = Time > 0
var(0) = 1

2.) Have several changestate parameters. Each with a different var trigger. The higher the variable's value, the more powerful the attack should be. Examples:

[State 9000, 1]
type = ChangeState
triggerall = command != "holdx" ;When you release the button.
trigger1 = var(0) <= 20 ;Held the button for less than 20 ticks.
value = * ;Weak projectile state

[State 9000, 2]
type = ChangeState
triggerall = command != "holdx" ;When you release the button.
trigger1 = var(0) = [21,40] ;Held the button between 21 and 40 ticks.
value = * ;Medium projectile state

etc...
