Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_clover_minesjump_Step_0

(view raw script w/o annotations or w/e)
1
if (vsp < 3)
2
    vsp += 0.2
3
x += hsp
4
y += vsp
5
if ((y + vsp) > y_start)
6
{
7
    y = y_start
8
    if end_player_alpha
9
    {
10
        obj_pl.image_alpha = 1
11
        if (global.party_member == -4)
12
            scr_cutscene_end
scr_cutscene_end

function scr_cutscene_end() //gml_Script_scr_cutscene_end { global.cutscene = false obj_pl.alarm[0] = 1 }
()
13
        else
14
            instance_create(x, ((__view_get((1 << 0), 0)) - 30), obj_martlet_fly_in_cart)
15
    }
16
    instance_destroy()
17
}
18
obj_pl.x = x
19
obj_pl.y = y
20
image_xscale = sign(hsp)