1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (image_alpha < 1) |
4 |
image_alpha += 0.1 |
5 |
var y_modif = 25 * (-sign(image_yscale)) |
6 |
var route_percentage = abs((x - xstart) / route_distance) |
7 |
if (route_percentage < 1) |
8 |
y = ystart + y_modif * (sin(route_percentage * 3.14)) |
9 |
if (abs(x - xstart) > current_spawn_point) |
10 |
{ |
11 |
if (bullet_number > 0) |
12 |
{ |
13 |
bullet_number -= 1 |
14 |
current_spawn_point += spawn_point_inc |
15 |
var flame = instance_create_depth(x, y, (depth + 1), obj_battle_enemy_attack_asgore_hands_flame) |
16 |
flame.spawner_id = id |
17 |
} |
18 |
else |
19 |
{ |
20 |
with (obj_battle_enemy_attack_asgore_hands_flame) |
21 |
{ |
22 |
if ((!can_move) && spawner_id == other.id) |
23 |
{ |
24 |
direction = point_direction(x, y, obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y) |
25 |
can_move = true |
26 |
} |
27 |
} |
28 |
} |
29 |
} |