Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_03_shaft_intro_Step_0

(view raw script w/o annotations or w/e)
1
switch scene
2
{
3
    case 0:
4
        cutscene_wait(0.5)
5
        break
6
    case 1:
7
        cutscene_sfx_play(snd_undertale_swoosh, 1)
8
        break
9
    case 2:
10
        cutscene_wait(0.5)
11
        break
12
    case 3:
13
        cutscene_sfx_play(snd_decibatfall, 1)
14
        break
15
    case 4:
16
        cutscene_wait(2)
17
        break
18
    case 5:
19
        cutscene_sfx_play(snd_undertale_thud, 0.8)
20
        break
21
    case 6:
22
        cutscene_wait(0.3)
23
        break
24
    case 7:
25
        cutscene_sfx_play(snd_toy_squeak, 0.3)
26
        break
27
    case 8:
28
        cutscene_wait(1)
29
        break
30
    case 9:
31
        if (draw_alpha > 0)
32
            draw_alpha -= 0.1
33
        else
34
        {
35
            draw_alpha = 0
36
            scene++
37
        }
38
        break
39
    case 10:
40
        instance_destroy()
41
        break
42
}