Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_40_geno_controller_Step_0

(view raw script w/o annotations or w/e)
1
switch scene
2
{
3
    case 0:
4
        if place_meeting(x, y, obj_pl)
5
        {
6
            obj_pl.direction = 90
7
            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 }
()
8
            cutscene_advance()
9
        }
10
        break
11
    case 1:
12
        cutscene_wait(0.5)
13
        break
14
    case 2:
15
        instance_create_depth(148, 41, 0, obj_steamworks_34_pellets)
16
        cutscene_advance()
17
        break
18
    case 3:
19
        cutscene_wait(1.5)
20
        break
21
    case 4:
22
        global.dunes_flag[51] = 1
23
        cutscene_end()
24
        break
25
}