Create deathbox

Creates a hitbox that instantly K.O.s any player that touches it.

Syntax
create_deathbox( x, y, w, h, player, free, shape, lifespan, bg_type );

Returns
N/A

Basic
// this attack creates a deathbox on top of the player that was hit by an earlier hitbox of the attack. This deathbox can only kill the hit player and will show the red screen effect on hit: if (window == 3 && window_timer == 10 && has_hit_player) { create_deathbox(       has_hit_id.x, // x        has_hit_id.y, // y        100, // w        100, // h        has_hit_id.player, // player        true, // free        1, // shape        3, // lifespan        2 // bg_type    ); }