1 |
x_offset = irandom_range(-1, 1) |
2 |
y_offset = irandom_range(-1, 1) |
3 |
if (hp_self <= 0 && (!destroy_self_noloop)) |
4 |
{ |
5 |
destroy_self_noloop = true |
6 |
obj_flowey_battle_final.stage_switch = 0 |
7 |
instance_create_depth(0, 0, -100, obj_flowey_battle_phase_2_stage_destroy_effect) |
8 |
} |
9 |
if instance_exists(obj_flowey_battle_phase_2_transition) |
10 |
{ |
11 |
if (obj_flowey_battle_phase_2_transition.fade_out == true) |
12 |
{ |
13 |
with (obj_flowey_battle_phase_2_side_vine) |
14 |
instance_destroy() |
15 |
instance_destroy() |
16 |
} |
17 |
} |
18 |
event_inherited() |