function scr_plat_cancel_attack() { with (obj_plat_player) force_terminate_attack = true; }