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