OResets a value from the hitbox grid to the one originally initialized in [attack_name].gml.
Argument | Type | Description |
---|---|---|
attack | :real | The attack to reset the value of |
hitbox | :real | The hitbox to reset the value of |
index | :real | The index of the attack grid to reset the value of |
Example, called from attack_update:
// resets the damage dealt by the first fair hitbox to the value in fair.gml:
reset_hitbox_value( AT_FAIR, 1, HG_DAMAGE );