Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_dynamite_vertical_Step_0

(view raw script w/o annotations or w/e)
1
if (image_alpha < 1)
2
{
3
    image_alpha += 0.25
4
    if (image_alpha >= 1)
5
    {
6
        image_alpha = 1
7
        if (can_jump == false)
8
        {
9
            gravity = 0.5
10
            can_jump = true
11
        }
12
    }
13
}
14
if (vspeed > 5)
15
    vspeed = 5
16
if (bbox_bottom >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 8))
17
{
18
    if (bounce_count > 0)
19
    {
20
        bounce_count -= 1
21
        vspeed = -5.5
22
       alarm[0]
23
    }
24
}
25
if (bounce_count == 0)
26
    image_angle += (5 * (sign(320 - x)))