1 |
if live_call() |
2 |
return global.live_result; |
3 |
game_maker_cannot_do_math = power((time_elapsed_radius / (time_max_radius / 2 * (1 / sqrt(max_rise_radius))) - sqrt(max_rise_radius)), 2) |
4 |
radius_increase = sign_modifier_radius * (max_rise_radius - round(game_maker_cannot_do_math)) |
5 |
time_elapsed_radius += time_increase_radius |
6 |
if (time_elapsed_radius >= time_max_radius) |
7 |
{ |
8 |
time_elapsed_radius = 0 |
9 |
sign_modifier_radius = (-sign_modifier_radius) |
10 |
} |
11 |
frotate_angle_diff = 0 |
12 |
for (i = 0; i < fcreate_count; i += 1) |
13 |
{ |
14 |
frotate_angle_use = frotate_angle_diff + feather_angle_master |
15 |
if (frotate_angle_use < 0) |
16 |
frotate_angle_use += 360 |
17 |
else if (frotate_angle_use >= 360) |
18 |
frotate_angle_use -= 360 |
19 |
frotate_x = x_center + (feather_angle_radius + radius_increase) * cos(degtorad(frotate_angle_use)) |
20 |
frotate_y = y_center - (feather_angle_radius + radius_increase) * sin(degtorad(frotate_angle_use)) |
21 |
frotate_angle = frotate_angle_use + 90 |
22 |
if instance_exists(id_feather[i]) |
23 |
{ |
24 |
with (id_feather[i]) |
25 |
{ |
26 |
if (state == 0) |
27 |
event_user(0) |
28 |
} |
29 |
} |
30 |
frotate_angle_diff -= fcreate_decrease |
31 |
if (frotate_angle_diff < 0) |
32 |
frotate_angle_diff += 360 |
33 |
} |
34 |
feather_angle_master += feather_angle_speed |
35 |
if (feather_angle_master >= 360) |
36 |
feather_angle_master -= 360 |
37 |
if (feather_launch_no_loop == false) |
38 |
{ |
39 |
var can_feather_launch = true |
40 |
if (obj_battle_enemy_attack_martlet_feather_circle_final_feather.image_alpha < 1) |
41 |
can_feather_launch = false |
42 |
if (can_feather_launch == true) |
43 |
{ |
44 |
alarm[0] = 90alarm[0]if live_call()
return global.live_result;
with (id_feather[rnumber_order[feather_launch_counter]])
event_user(1)
feather_launch_counter += 1
if (feather_launch_counter < fcreate_count)
alarm[0] = feather_launch_alarm |
45 |
feather_launch_no_loop = true |
46 |
} |
47 |
} |