Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_controller_steamworks_20_vent_Step_0

(view raw script w/o annotations or w/e)
1
switch scene
2
{
3
    case 1:
4
        cutscene_sfx_play(snd_footstep1, 1)
5
        break
6
    case 2:
7
        cutscene_wait(0.5)
8
        break
9
    case 3:
10
        cutscene_sfx_play(snd_footstep2, 1)
11
        break
12
    case 4:
13
        cutscene_wait(0.5)
14
        break
15
    case 5:
16
        footstep_counter -= 1
17
        if (footstep_counter <= 0)
18
            cutscene_advance()
19
        else
20
            cutscene_advance(1)
21
        break
22
    case 6:
23
        cutscene_wait(1)
24
        break
25
    case 7:
26
        cutscene_sfx_play(snd_steamworks_13_vent, 1)
27
        break
28
    case 8:
29
        cutscene_wait(0.5)
30
        break
31
    case 9:
32
        cutscene_advance()
33
        break
34
    case 10:
35
        if (draw_alpha > 0)
36
            draw_alpha -= 0.05
37
        else
38
            cutscene_advance()
39
        break
40
    case 11:
41
        scr_radio_restart
scr_radio_restart

function scr_radio_restart() //gml_Script_scr_radio_restart { with (obj_radio) event_user(0) }
()
42
        cutscene_end()
43
        break
44
}