1 | if (live_call()) |
2 | return global.live_result; |
3 | if (hp_self <= 0 && destroy_self == false) |
4 | { |
5 | vspeed -= 4; |
6 | gravity = 0.35; |
7 | if (x > 240) |
8 | hspeed = 4; |
9 | else |
10 | hspeed = -4; |
11 | destroy_self = true; |
12 | } |
13 | if (destroy_self == true) |
14 | { |
15 | image_alpha -= 0.05; |
16 | if (image_alpha <= 0) |
17 | instance_destroy(); |
18 | exit; |
19 | } |
20 | event_inherited(); |
21 | image_index = obj_flowey_battle_final.image_index; |