Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_bowll_liquid_marshmallow_Step_0

(view raw script w/o annotations or w/e)
1
if (image_alpha < 1)
2
{
3
    image_alpha += 0.2
4
    if (image_alpha >= 1)
5
    {
6
        image_alpha = 1
7
        can_drop = true
8
    }
9
}
10
if (can_drop == true)
11
{
12
    game_maker_cannot_do_math = power((time_elapsed / (time_max / 2 * (1 / sqrt(max_rise))) - sqrt(max_rise)), 2)
13
    animation_disjoint_y = sign_modifier * (max_rise - game_maker_cannot_do_math)
14
    time_elapsed += time_increase
15
    if (time_elapsed >= time_max)
16
    {
17
    }
18
    y = default_y + animation_disjoint_y
19
    image_angle -= (random_dir * angle_inc)
20
    if (y >= obj_battle_enemy_attack_bowll_liquid_bottom.bbox_top)
21
        instance_destroy()
22
}