Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_38_cutscene_manager_Create_0

(view raw script w/o annotations or w/e)
1
if (global.route == 3)
2
{
3
    instance_destroy()
4
    return;
5
}
6
switch global.dunes_flag[20]
7
{
8
    case 1:
9
        instance_create(160, 390, obj_npc_cowcat)
10
        break
11
    case 3:
12
        instance_create(433, 402, obj_npc_ed_break_2)
13
        break
14
    case 5:
15
        instance_create(53, 393, obj_npc_ceroba_break_3)
16
        break
17
    case 9:
18
        if (global.dunes_flag[24] == 0)
19
            instance_create(204, 393, obj_npc_virgil_break_5)
20
        break
21
}
22
23
if (global.dunes_flag[20] != 2)
24
{
25
    instance_destroy()
26
    return;
27
}
28
scene = 0
29
timer = 0
30
cutscene_timer = 0
31
scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()