Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (select=1)
- {image_blend=c_lime;}
- else
- {image_blend=c_white;}
- if (global.stuck = 0)
- {
- if direction >90 and direction<270
- {
- image_xscale=1;
- }
- else
- {
- image_xscale=-1;
- }
- }
- if (!collision_circle(dx,dy,12,all,1,1))
- {
- mp_potential_step_object(dx,dy,3,obj_solids);
- }
- else if (point_distance(x,y,dx,dy) > 10)
- {
- dx -= lengthdir_x(10,point_direction(x,y,dx,dy));
- dy -= lengthdir_y(10,point_direction(x,y,dx,dy));
- }
- if (instance_exists( obj_build ))
- {
- if (select = 0 and obj_build.follow = 0)
- {
- dx = obj_build.x;
- dy = obj_build.y;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement