1 | if instance_exists(obj_pulley_elevator_1) |
2 | { |
3 | x = obj_pulley_elevator_1.x |
4 | y = obj_pulley_elevator_1.y + 2 |
5 | } |
6 | else |
7 | { |
8 | x = obj_pulley_elevator_2.x |
9 | y = obj_pulley_elevator_2.y + 2 |
10 | } |