Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_world_ruins_rock_Step_0

(view raw script w/o annotations or w/e)
1
if (place_meeting(x - 1, y, obj_pl) || place_meeting(x + 1, y, obj_pl))
2
{
3
    x += (sign(x - obj_pl.x) * 3);
4
    x = clamp(x, xstart, 580);
5
}
6
if (x >= 580 && noloop == false)
7
{
8
    audio_play_sound(snd_screenshake, 1, 0);
9
    image_index = 1;
10
    obj_flowey_world_controller.scene += 1;
11
    obj_spikes_flowey_world.image_index = 1;
12
    scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();
13
    noloop = true;
14
}