1 | if (distance_to_point(x, obj_heart.y) < 100) |
2 | hspeed = (180 / (distance_to_point(obj_heart.x, y) + 10)) - 1; |
3 | if (obj_heart.x > x) |
4 | hspeed = -hspeed; |
5 | if (global.turntimer < 1) |
6 | instance_destroy(); |
7 | if (x < global.idealborder[0]) |
8 | instance_destroy(); |
9 | if (x > global.idealborder[1]) |
10 | instance_destroy(); |
11 | if (y > global.idealborder[2]) |
12 | visible = true; |
13 | if (y > global.idealborder[3]) |
14 | instance_destroy(); |