Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_enemy_kill_check_pacifist_steamworks_Step_0

(view raw script w/o annotations or w/e)
1
switch scene
2
{
3
    case 0:
4
        if (room == rm_battle)
5
            return;
6
        cutscene_wait(1)
7
        break
8
    case 1:
9
        cutscene_dialogue()
10
        with (msg)
11
        {
12
            sndfnt = 108
13
            message[0] = "* What are you thinking!?"
14
            message[1] = "* I know they started the#  fight but we don't know#  the situation!"
15
            message[2] = "* What if it was a glitch#  in their programming?"
16
            message[3] = "* ..."
17
            message[4] = "* These bots are#  antiques. "
18
            message[5] = "* We have no right to#  destroy them, got that?"
19
            message[6] = "* ...Sigh."
20
            if (global.sworks_flag[4] == 0)
21
            {
22
                message[7] = "* Why are we in this#  situation to begin with?"
23
                message[8] = "* I thought Axis said he#  was the last of his#  kind..."
24
                message[9] = "* Wait... "
25
                message[10] = "* He introduced himself#  as \"Model 014\"."
26
                message[11] = "* There must have been 13#  other guard-bot#  prototypes."
27
                message[12] = "* I suppose only one is#  still functioning."
28
                message[13] = "* Still, this thing#  definitely wasn't a#  guard-bot..."
29
                message[14] = "* We don't know how many#  other robot types are#  out there."
30
                message[45] = "* We'll figure it out in#  due time, I'm sure."
31
                message[16] = "* Just... don't do#  anything stupid."
32
                prt[7] = 371
33
                prt[8] = 371
34
                prt[9] = 370
35
                prt[10] = 371
36
                prt[11] = 377
37
                prt[12] = 377
38
                prt[13] = 371
39
                prt[14] = 370
40
                prt[15] = 370
41
                prt[16] = 368
42
            }
43
            else
44
            {
45
                message[7] = "* Just... don't do#  anything stupid."
46
                prt[7] = 368
47
            }
48
            prt[0] = 366
49
            prt[1] = 368
50
            prt[2] = 368
51
            prt[3] = 394
52
            prt[4] = 377
53
            prt[5] = 370
54
            prt[6] = 377
55
        }
56
        break
57
    case 2:
58
        global.sworks_flag[4] = 1
59
        cutscene_end()
60
        break
61
}