1 | if (global.turntimer < 1) |
2 | { |
3 | global.turntimer = -1; |
4 | global.mnfight = 3; |
5 | instance_destroy(); |
6 | } |
7 | if (path_position < 0.5) |
8 | path_speed += 0.2; |
9 | if (path_position > 0.5) |
10 | path_speed -= 0.1; |
11 | if (path_position == 1) |
12 | { |
13 | path_end(); |
14 | speed = 0; |
15 | gravity = 0; |
16 | inactive = 1; |
17 | } |
18 | if (global.hp <= 2) |
19 | global.turntimer = -100; |