Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_flowergirls_falling_flowers_flower_green_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 && (!alarm[0]))
8
            alarm[0] = 30
alarm[0]

vspeed = -8 hspeed = hsp gravity = 0.5 can_jump = true
9
    }
10
}
11
if (vspeed > 6)
12
    vspeed = 8
13
if ((bbox_bottom + vspeed) >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 8))
14
{
15
    if (bounce_count > 0)
16
    {
17
        bounce_count -= 1
18
        vspeed = (-vspeed) * 0.5
19
        hspeed *= 0.5
20
    }
21
    else
22
    {
23
        y = obj_dialogue_box_battle_transformation_any.bbox_bottom
24
        hspeed = 0
25
        vspeed = 0
26
        gravity = 0
27
    }
28
}