Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_stresso_dunes_13_Step_0

(view raw script w/o annotations or w/e)
1
if (fade_in == true)
2
{
3
    image_speed = 0
4
    if (image_alpha < 1)
5
        image_alpha += 0.2
6
    else
7
    {
8
        fade_in = false
9
        vspeed = 3
10
        sprite_index = spr_stresswalk
11
        obj_dunes_13_elevator.image_speed = -0.3
12
        audio_play_sound(snd_elevator_open, 1, 0)
13
    }
14
    return;
15
}
16
else
17
{
18
    image_speed = 0.4
19
    if (y > 185)
20
    {
21
        vspeed = 0
22
        hspeed = 10
23
        if (image_speed < 1)
24
            image_speed += 0.1
25
        if (x > 320)
26
        {
27
            global.dunes_flag[4] = 3
28
            scr_cutscene_end
scr_cutscene_end

function scr_cutscene_end() //gml_Script_scr_cutscene_end { global.cutscene = false obj_pl.alarm[0] = 1 }
()
29
            instance_destroy()
30
            instance_destroy(obj_npc_clover_dunes_13)
31
            obj_pl.image_alpha = 1
32
            obj_pl.direction = 90
33
        }
34
    }
35
}