if (global.debug == 1 && instance_exists(obj_encountererparent)) { with (obj_encountererparent) steps += 100; }