1 | event_inherited() |
2 | if (x < 359) |
3 | angle = 0 |
4 | else |
5 | angle = 180 |
6 | angle_movement = choose(-1, 1) |
7 | angle_max = angle + 45 |
8 | angle_min = angle - 45 |
9 | angle_sway = 3 |
10 | image_angle = angle |