1 | if (con == 0) |
2 | { |
3 | if (instance_exists(obj_noelle_scared)) |
4 | { |
5 | x = (obj_noelle_scared.x + 23) - 5; |
6 | y = obj_noelle_scared.y + 80; |
7 | } |
8 | } |
9 | if (con == 1) |
10 | { |
11 | hspeed = 0.5; |
12 | vspeed = 2; |
13 | con = 2; |
14 | } |
15 | if (con == 2) |
16 | { |
17 | hspeed *= 1.05; |
18 | vspeed *= 1.1; |
19 | if (y > room_height) |
20 | instance_destroy(); |
21 | } |