reset_hitbox_value

OResets a value from the hitbox grid to the one originally initialized in [attack_name].gml.

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