Returns the value of one of the player's constants.

Format: Const(param_name)

Arguments:

- param_name (string): The name of the constant to check. See Details.

Return type: Depends on specified hit parameter. See Details.

Error conditions: none

Details:

The following values of param_name return values specified in the [Data] group in the player's constants.

- data.life (int): Returns value of the "life" parameter.
- data.attack (int): Returns value of the "attack" parameter.
- data.defence (int): Returns value of the "defence" parameter.
- data.fall.defence_mul (float): Returns value of the defence multiplier, calculated as 100/(f+100), where f is the "fall.defence_up" parameter.
- data.liedown.time (int): Returns value of the "liedown.time" parameter.
- data.airjuggle (int): Returns value of the "airjuggle" parameter.
- data.sparkno (int): Returns value of the "sparkno" parameter.
- data.guard.sparkno (int): Returns value of the "guard.sparkno" parameter.
- data.KO.echo (int): Returns value of the "ko.echo" parameter.
- data.IntPersistIndex (int): Returns value of the "IntPersistIndex" parameter.
- data.FloatPersistIndex (int): Returns value of the "FloatPersistIndex" parameter.

The following values of param_name return values specified in the [Size] group in the player's constants.

- size.xscale (float): Returns value of the "xscale" parameter.
- size.yscale (float): Returns value of the "yscale" parameter.
- size.ground.back (int): Returns value of the "ground.back" parameter.
- size.ground.front (int): Returns value of the "ground.front" parameter.
- size.air.back (int): Returns value of the "air.back" parameter.
- size.air.front (int): Returns value of the "air.front" parameter.
- size.height (int): Returns value of the "height" parameter.
- size.attack.dist (int): Returns value of the "attack.dist" parameter.
- size.proj.attack.dist (int): Returns value of the "proj.attack.dist" parameter.
- size.proj.doscale (int): Returns value of the "proj.doscale" parameter.
- size.head.pos.x (int): Returns x-component of the "head.pos" parameter.
- size.head.pos.y (int): Returns y-component of the "head.pos" parameter.
- size.mid.pos.x (int): Returns x-component of the "mid.pos" parameter.
- size.mid.pos.y (int): Returns y-component of the "mid.pos" parameter.
- size.shadowoffset (int): Returns value of the "shadowoffset" parameter.
- size.draw.offset.x (int): Returns x-component of the "draw.offset" parameter.
- size.draw.offset.y (int): Returns y-component of the "draw.offset" parameter.

The following values of param_name return values specified in the [Velocity] group in the player's constants.

- velocity.walk.fwd.x (float): Returns value of the "walk.fwd" parameter.
- velocity.walk.back.x (float): Returns value of the "walk.back" parameter.
- velocity.run.fwd.x (float): Returns x-component of the "run.fwd" parameter.
- velocity.run.fwd.y (float): Returns y-component of the "run.fwd" parameter.
- velocity.run.back.x (float): Returns x-component of the "run.back" parameter.
- velocity.run.back.y (float): Returns y-component of the "run.back" parameter.
- velocity.jump.y (float): Returns y-component of the "jump.neu" parameter. Note: this is NOT "velocity.jump.neu.y". Only the "neu" parameters take a y-component value.
- velocity.jump.neu.x (float): Returns x-component of the "jump.neu" parameter.
- velocity.jump.back.x (float): Returns value of the "jump.back" paramamter.
- velocity.jump.fwd.x (float): Returns value of the "jump.fwd" parameter.
- velocity.runjump.back.x (float): Returns value of the "runjump.back" paramamter.
- velocity.runjump.fwd.x (float): Returns value of the "runjump.fwd" parameter.
- velocity.airjump.y (float): Returns y-component of the "airjump.neu" parameter. Note: this is NOT "velocity.airjump.neu.y".
- velocity.airjump.neu.x (float): Returns x-component of the "airjump.neu" parameter.
- velocity.airjump.back.x (float): Returns value of the "airjump.back" paramamter.
- velocity.airjump.fwd.x (float): Returns value of the "airjump.fwd" parameter.

The following values of param_name return values specified in the [Movement] group in the player's constants.

- movement.airjump.num (int): Returns value of the "airjump.num" parameter.
- movement.airjump.height (int): Returns value of the "airjump.height" parameter.
- movement.yaccel (float): Returns value of the "yaccel" parameter.
- movement.stand.friction (float): Returns value of the "stand.friction" parameter.
- movement.crouch.friction (float): Returns value of the "crouch.friction" parameter.

Example:

`trigger1 = Const(velocity.walk.fwd.x) > 4
; Triggers if the forward walking velocity is greater than 4.`