if (global.darkzone == 0 && instance_exists(obj_sunshadows)) { x = round(x); y = round(y); } if (end_step_func != -1) end_step_func();