if (pause_enemies && instance_exists(obj_plat_player)) { if (global.interact > 0) { with (obj_plat_game) paused = true; platpaused = true; } else if (platpaused) { platpaused = false; with (obj_plat_game) paused = false; } }