;anim number is 70630 ;--------------------------------------------------------------------------- ; this goes into the cmd file [State -1, PowerCharge] type = ChangeState value = 70630 triggerall = command = "holdstart" triggerall = command != "holddown" triggerall = power < powermax trigger1 = ctrl trigger1 = statetype != A ;--------------------------------------------------------------------------- ; this goes into states file ; Powercharge [Statedef 70630, PowerCharge] type = S movetype = I physics = S velset = 0,0 ctrl = 0 anim = 70630 sprpriority = 2 [State 0, PowerAdd] type = PowerAdd trigger1 = time value = 10 [State 0, ChangeAnim] type = ChangeAnim trigger1 = command != "holdstart" trigger2 = power = powermax value = 70631 persistent = 0 [State 0, ChangeState] type = ChangeState trigger1 = command != "holdstart" trigger2 = power = powermax value = 0 ctrl = 1