Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_dynamite_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
        if (can_jump == false)
8
        {
9
            vspeed = -4
10
            hspeed = hsp
11
            gravity = 0.5
12
            can_jump = true
13
        }
14
    }
15
}
16
if (vspeed > 5)
17
    vspeed = 5
18
if (bbox_bottom >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 3))
19
{
20
    if (bounce_count > 0)
21
    {
22
        bounce_count -= 1
23
        vspeed = -6
24
        hspeed *= 0.35
25
        alarm[0] = 1
alarm[0]

audio_play_sound(snd_bullet_warning, 1, 0) image_blend = c_red alarm[1] = 2
26
    }
27
}
28
image_angle += (3 * (sign(320 - x)))