Resets a value from the attack grid to the one originally initialized in [attack_name].gml.
Argument | Type | Description |
---|---|---|
attack | :real | The attack to reset the value of |
index | :real | The index of the attack grid to reset the value of |
Example, called from attack_update.gml:
// resets the number of jab windows to a number previously set in jab.gml:
reset_attack_value( AT_JAB, AG_NUM_WINDOWS );