Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_tornado_checker_Step_1

(view raw script w/o annotations or w/e)
1
if (can_radius_increase == true)
2
{
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
    game_maker_cannot_do_math = power((time_elapsed_skew / (time_max_skew / 2 * (1 / sqrt(max_rise_skew))) - sqrt(max_rise_skew)), 2)
12
    skew_increase = sign_modifier_skew * (max_rise_skew - round(game_maker_cannot_do_math))
13
    time_elapsed_skew += time_increase_skew
14
    if (time_elapsed_skew >= time_max_skew)
15
    {
16
        time_elapsed_skew = 0
17
        sign_modifier_skew = (-sign_modifier_skew)
18
    }
19
}
20
can_radius_increase = true
21
for (i = 0; i < fcreate_count; i++)
22
{
23
    with (id_feather[i])
24
        event_user(0)
25
}