Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_26_controller_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0
2
cutscene_timer = 0
3
cutscene_music = 0
4
if global.geno_complete[3]
5
{
6
    global.dunes_flag[26] = 2
7
    instance_destroy()
8
    return;
9
}
10
if (global.dunes_flag[26] >= 2)
11
{
12
    instance_destroy()
13
    return;
14
}
15
if (global.dunes_flag[26] == 1)
16
{
17
    scene = 24
18
    instance_create(2100, 245, obj_dunes_26_bailador)
19
    obj_dunes_26_bailador.action_sprite = false
20
    obj_dunes_26_bailador.npc_direction = "left"
21
    instance_create(2100, 40, obj_dunes_26_spotlight)
22
    obj_pl.x = 2000
23
    obj_pl.y = 245
24
    obj_pl.direction = 0
25
}