1 | with (other) |
2 | event_user(0); |
3 | with (obj_sneo_final_forme) |
4 | hurtalpha = 1; |
5 | if (instance_exists(obj_sneo_final_forme)) |
6 | { |
7 | if ((obj_sneo_final_forme.destroyable && obj_sneo_final_forme.state == 0) || (obj_sneo_final_forme.state == 1 && obj_sneo_final_forme.formtimer < 30)) |
8 | { |
9 | } |
10 | else |
11 | { |
12 | exit; |
13 | } |
14 | } |
15 | snd_play(snd_damage); |
16 | if (instance_exists(obj_sneo_final_forme)) |
17 | { |
18 | with (obj_sneo_final_forme) |
19 | hurtalpha = 1; |
20 | if (destroyable == 1) |
21 | { |
22 | if (other.big == 0) |
23 | { |
24 | x += 6; |
25 | formtimer += 4; |
26 | } |
27 | else |
28 | { |
29 | pushback = 10; |
30 | formtimer += 10; |
31 | } |
32 | } |
33 | } |