Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_clover_sleep_cave_Step_0

(view raw script w/o annotations or w/e)
1
if scr_timer
scr_timer

function scr_timer() //gml_Script_scr_timer { if (timer > 0) { timer-- return false; } else return true; }
()
2
{
3
    if (image_speed == 0)
4
    {
5
        image_speed = 0.4
6
        audio_play_sound(snd_clover_jump_dunes, 1, 0)
7
    }
8
}
9
if on_animation_end()
10
{
11
    obj_pl.image_alpha = 1
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
    global.dunes_flag[0] = 1
14
    instance_destroy()
15
}