Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cutscene2_Step_0

(view raw script w/o annotations or w/e)
1
var actor_starlo = 1169;
2
var actor_ceroba = 1161;
3
switch (scene)
4
{
5
    case 0:
6
        scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();
7
        cutscene_wait(2);
8
        break;
9
    case 1:
10
        cutscene_music_start(176);
11
    case 2:
12
        cutscene_dialogue();
13
        with (msg)
14
        {
15
            message[0] = "* I'm really sorry about#  the pops Starlo.";
16
            message[1] = "* When I see them...#  It's like a demon takes#  over.";
17
            prt[0] = 375;
18
            prt[1] = 375;
19
            sndfnt_array[0] = 108;
20
            talker[0] = actor_ceroba;
21
            position = 0;
22
        }
23
        break;
24
    case 3:
25
        cutscene_wait(1);
26
        break;
27
    case 4:
28
        cutscene_npc_direction(actor_starlo, "right");
29
        break;
30
    case 5:
31
        cutscene_dialogue();
32
        with (msg)
33
        {
34
            message[0] = "* Look at it from#  my point of view.";
35
            message[1] = "* You're looking forward#  to some pops after a#  long hard work day...";
36
            message[2] = "* Only to come home#  just to see...";
37
            message[3] = "* Just to see...";
38
            prt[0] = 419;
39
            prt[1] = 419;
40
            prt[2] = 406;
41
            prt[3] = 406;
42
            sndfnt_array[0] = 107;
43
            talker[0] = actor_starlo;
44
            position = 0;
45
        }
46
        break;
47
    case 6:
48
        cutscene_wait(1);
49
        break;
50
    case 7:
51
        cutscene_npc_direction(actor_starlo, "left");
52
        break;
53
    case 8:
54
        cutscene_dialogue();
55
        with (msg)
56
        {
57
            message[0] = "* Argh!";
58
            message[1] = "* I need time...";
59
            prt[0] = 406;
60
            prt[1] = 406;
61
            sndfnt_array[0] = 107;
62
            talker[0] = actor_starlo;
63
            position = 0;
64
        }
65
        break;
66
    case 9:
67
        cutscene_npc_walk(actor_starlo, actor_starlo.x - 100, actor_starlo.y, 4, "x", "left");
68
        break;
69
    case 10:
70
        cutscene_wait(3);
71
        break;
72
    case 11:
73
        cutscene_dialogue();
74
        with (msg)
75
        {
76
            message[0] = "* Loool worth it.";
77
            message[1] = "* Those pops were#  delicious.";
78
            prt[0] = 375;
79
            prt[1] = 375;
80
            sndfnt_array[0] = 108;
81
            talker[0] = actor_ceroba;
82
            position = 0;
83
        }
84
        break;
85
    case 12:
86
        cutscene_wait(3);
87
        break;
88
    case 13:
89
        cutscene_npc_direction(actor_ceroba, "down");
90
        break;
91
    case 14:
92
        cutscene_music_start(162);
93
        break;
94
    case 15:
95
        cutscene_dialogue();
96
        with (msg)
97
        {
98
            message[0] = "* What are YOU looking#  at?!";
99
            prt[0] = 375;
100
            sndfnt_array[0] = 108;
101
            talker[0] = actor_ceroba;
102
            position = 0;
103
        }
104
        break;
105
}