attack_end

Resets can_hit properties for all hitbox groups for the current attack. Can be used for looping attack windows, so that the hitboxes can hit again.

Example, called from attack_update.gml:

if (window == 3 && window_timer == 1 && attack_down){
window = 2;
window_timer = 0;
attack_end(); //refreshes window 2's hitbox
}