Resets the number of hitboxes for the specified attack to the one originally initialized in [attack_name].gml.
Argument | Type | Description |
---|---|---|
attack | :real | The attack to reset the hitbox number of |
Example, called from attack_update.gml:
// resets the number of dstrong hitboxes to the value in dstrong.gml:
reset_num_hitboxes( AT_DSTRONG );