Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_35_cutscene_geno_outro_alt_Step_0

(view raw script w/o annotations or w/e)
1
switch scene
2
{
3
    case 0:
4
        audio_stop_all()
5
        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 }
()
6
        obj_pl.x = 700
7
        obj_pl.y = 140
8
        obj_pl.direction = 90
9
        obj_axis_npc.action_sprite = false
10
        if cutscene_wait(1)
11
            cutscene_advance(1)
12
        break
13
    case 1:
14
        cutscene_dialogue()
15
        with (msg)
16
        {
17
            talker[0] = 1166
18
            message[0] = "* . . ."
19
            message[1] = "* YOu.. . ARE LeTTING ME#  GO?"
20
            message[2] = "* UH. WEIRD DeCISION."
21
            prt[0] = 3282
22
            prt[1] = 3282
23
            prt[2] = 3282
24
        }
25
        break
26
    case 2:
27
        cutscene_wait(1)
28
        break
29
    case 3:
30
        cutscene_npc_walk(1166, 760, obj_pl.y, 2, "x", "right", 1031)
31
        if (obj_axis_npc.x > (obj_pl.x + 3))
32
            obj_pl.direction = 0
33
        break
34
    case 4:
35
        cutscene_wait(0.5)
36
        break
37
    case 5:
38
        cutscene_npc_direction(obj_axis_npc, "left")
39
        break
40
    case 6:
41
        cutscene_dialogue()
42
        with (msg)
43
        {
44
            talker[0] = 1166
45
            message[0] = "* JuST SO YOU KNoW.. ."
46
            message[1] = "* Y0U STILL [freaking]#  SUCK."
47
            message[2] = "* FEEL FREE TO TRIP aND#  FALL TO YOuR DEATH ON#  THE WaY OUT."
48
            prt[0] = 3282
49
            prt[1] = 3282
50
            prt[2] = 3282
51
        }
52
        break
53
    case 7:
54
        cutscene_npc_walk(1166, 880, 140, 5, "x", "left")
55
        break
56
    case 8:
57
        cutscene_wait(0.5)
58
        break
59
    case 9:
60
        instance_destroy(obj_axis_npc)
61
        global.sworks_flag[31] = 2
62
        cutscene_end()
63
        break
64
}