frozen = 0; if (global.interact == 0 || global.interact == 4) frozen = 0; if (scr_outside_camera(200)) instance_destroy(); if (global.interact != 0 && global.interact != 4) frozen = 1; if (speed != 0) { fakespeed = speed; speed = 0; } fakedirection = direction; if (frozen == 0) { x += lengthdir_x(fakespeed, fakedirection); y += lengthdir_y(fakespeed, fakedirection); } if (!i_ex(creator)) instance_destroy(); image_angle = fakedirection; if (instance_exists(obj_testoverworldenemy) || instance_exists(obj_encounterbasic)) { active = 0; instance_destroy(); }