reset_attack_value

Resets a value from the attack grid to the one originally initialized in [attack_name].gml.

ArgumentTypeDescription
attack:realThe attack to reset the value of
index:realThe 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 );