Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_check_snowdin_16b_overworld_yellow_Step_0

(view raw script w/o annotations or w/e)
1
if (clover_fall == true)
2
{
3
    if (obj_pl.y < (obj_pillow_snowdin_16b_overworld_yellow.y - 13))
4
        obj_pl.y += 4
5
    else
6
    {
7
        clover_fall = false
8
        instance_destroy(obj_clover_fall)
9
        obj_pl.image_alpha = 1
10
        scr_cutscene_end
scr_cutscene_end

function scr_cutscene_end() //gml_Script_scr_cutscene_end { global.cutscene = false obj_pl.alarm[0] = 1 }
()
11
    }
12
}
13
if (global.snowdin_flag[11] != 1)
14
{
15
    if (!audio_is_playing(snd_snowdin_bridge))
16
        audio_play_sound(snd_snowdin_bridge, 20, 1)
17
    audio_sound_gain(snd_snowdin_bridge, 0.25, 1)
18
}
19
if (!audio_is_playing(mus_ambient_river))
20
    audio_play_sound(mus_ambient_river, 20, 1)