destroy_hitboxes

Destroys all physical hitboxes for the character.

Example, called from attack_update.gml:

// in this example, window 2 is a diving attack with a long-lasting hitbox that goes away when landing into window 3:
if (window == 2 && !free){
window = 3;
window_timer = 0;
destroy_hitboxes();
}