Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_rudy_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 1)
2
{
3
    global.interact = 1;
4
    con = 2;
5
    alarm[4]
 = 10;
gml_Object_obj_rudy_Alarm_4.gml

con += 1;
6
}
7
if (con == 2)
8
    global.interact = 1;
9
if (con == 3)
10
{
11
    global.typer = 12;
12
    global.fc = 3;
13
    global.fe = 4;
14
    global.msg[0] = stringsetloc(
Face 4* Ahahaha...Delay 11 DAD!Delay 11
* I can't just SAY that to her!Wait for input
"\\E4* Ahahaha..^1. DAD^1!&* I can't just SAY that to her!/", "obj_rudy_slash_Step_0_gml_15_0"
);
15
    global.msg[1] = stringsetloc(
Face 6* Oh my god...Delay 11 I'd DIE.Delay 11
* I'd LITERALLY die.Wait for input
"\\E6* Oh my god..^1. I'd DIE^1.&* I'd LITERALLY die./", "obj_rudy_slash_Step_0_gml_16_0"
);
16
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(2, 0);
17
    global.msg[3] = stringsetloc(
Face 0* Noelle.Delay 11 Sweetheart.Delay 11
* First time I laid eyes on your mother...Wait for input
"\\E0* Noelle^1. Sweetheart^1.&* First time I laid eyes on your mother.../", "obj_rudy_slash_Step_0_gml_18_0"
);
18
    global.msg[4] = stringsetloc(
Face 3* I walked right up and told her she was a HOT piece of work.Wait for input
"\\E3* I walked right up and told her she was a HOT piece of work./", "obj_rudy_slash_Step_0_gml_19_0"
);
19
    
scr_noeface
scr_noeface

function
scr_noeface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FN \\TN %", string(arg1), "scr_noeface_slash_scr_noeface_gml_1_0"); }
(5, 2);
20
    global.msg[6] = stringsetloc(
Face 2* R...Really?Wait for input
"\\E2* R...Really?/", "obj_rudy_slash_Step_0_gml_21_0"
);
21
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(7, 7);
22
    global.msg[8] = stringsetloc(
Face 7* Yeah,Delay 11 she slapped me so hard I blacked out!Wait for inputClose Message
"\\E7* Yeah^1, she slapped me so hard I blacked out!/%", "obj_rudy_slash_Step_0_gml_23_0"
);
23
    con = 4;
24
    instance_create(0, 0, obj_dialoguer);
25
}
26
if (con == 4 && !d_ex())
27
{
28
    sprite_index = spr_rudy_laugh;
29
    snd_play(snd_rudylaugh);
30
    image_speed = 0.25;
31
    con = 5;
32
    alarm[4]
 = 30;
gml_Object_obj_rudy_Alarm_4.gml

con += 1;
33
}
34
if (con == 6)
35
{
36
    image_index = 0;
37
    snd_stop(snd_rudylaugh);
38
    sprite_index = spr_rudy_cough;
39
    snd_play(snd_rudycough);
40
    con = 7;
41
    alarm[4]
 = 30;
gml_Object_obj_rudy_Alarm_4.gml

con += 1;
42
}
43
if (con == 8)
44
{
45
    global.typer = 12;
46
    global.fc = 3;
47
    global.fe = 4;
48
    sprite_index = spr_rudy_l;
49
    global.msg[0] = stringsetloc(
Face 4* Hahaha...!Delay 11
* Dad,Delay 11 that doesn't help at all!Wait for input
"\\E4* Hahaha...^1!&* Dad^1, that doesn't help at all!/", "obj_rudy_slash_Step_0_gml_53_0"
);
50
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(1, 2);
51
    global.msg[2] = stringsetloc(
Face 2* Anyhow,Delay 11 how's Dragon Blazers III?Delay 11
* Beat it yet?Wait for input
"\\E2* Anyhow^1, how's Dragon Blazers III^1?&* Beat it yet?/", "obj_rudy_slash_Step_0_gml_55_0"
);
52
    
scr_noeface
scr_noeface

function
scr_noeface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FN \\TN %", string(arg1), "scr_noeface_slash_scr_noeface_gml_1_0"); }
(3, 4);
53
    global.msg[4] = stringsetloc(
Face 4* Nah,Delay 11 I'm still at the Ice Palace.Delay 11
* I've been kind of...Wait for input
"\\E4* Nah^1, I'm still at the Ice Palace^1.&* I've been kind of.../", "obj_rudy_slash_Step_0_gml_57_0"
);
54
    global.msg[5] = stringsetloc(
Face 9* ... kind of waiting to finish it with you,Delay 11 Dad.Wait for input
"\\E9* ... kind of waiting to finish it with you^1, Dad./", "obj_rudy_slash_Step_0_gml_58_0"
);
55
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(6, 4);
56
    global.msg[7] = stringsetloc(
Face 4* ...
* Noelle...Wait for input
"\\E4* ...&* Noelle.../", "obj_rudy_slash_Step_0_gml_60_0"
);
57
    global.msg[8] = stringsetloc(
Face 5* Maybe...Delay 11
* Maybe you shouldn't wait.Wait for input
"\\E5* Maybe..^1.&* Maybe you shouldn't wait./", "obj_rudy_slash_Step_0_gml_61_0"
);
58
    
scr_noeface
scr_noeface

function
scr_noeface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FN \\TN %", string(arg1), "scr_noeface_slash_scr_noeface_gml_1_0"); }
(9, 7);
59
    global.msg[10] = stringsetloc(
Face 7* D...Delay 11 Dad?Wait for input
"\\E7* D..^1. Dad?/", "obj_rudy_slash_Step_0_gml_63_0"
);
60
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(11, 7);
61
    global.msg[12] = stringsetloc(
Face 7* You should bring it HERE!Delay 11
* I'm bored as hell!Wait for input
"\\E7* You should bring it HERE^1!&* I'm bored as hell!/", "obj_rudy_slash_Step_0_gml_65_0"
);
62
    
scr_noeface
scr_noeface

function
scr_noeface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FN \\TN %", string(arg1), "scr_noeface_slash_scr_noeface_gml_1_0"); }
(13, 8);
63
    global.msg[14] = stringsetloc(
Face 8* Har har har!Delay 11
* FINE,Delay 11 you win!Delay 11
* I'll bring it next time!Wait for input
"\\E8* Har har har^1!&* FINE^1, you win^1!&* I'll bring it next time!/", "obj_rudy_slash_Step_0_gml_67_0"
);
64
    global.msg[15] = stringsetloc(
Face 5* Oh,Delay 11 it's getting late...Wait for input
"\\E5* Oh^1, it's getting late.../", "obj_rudy_slash_Step_0_gml_68_0"
);
65
    global.msg[16] = stringsetloc(
Face 5* Guess I better go.Delay 11
* I've got HOMEWORK.Wait for input
"\\E5* Guess I better go^1.&* I've got HOMEWORK./", "obj_rudy_slash_Step_0_gml_69_0"
);
66
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(17, 4);
67
    global.msg[18] = stringsetloc(
Face 4* Oh.Delay 11
* That's the group project voice.Wait for input
"\\E4* Oh^1.&* That's the group project voice./", "obj_rudy_slash_Step_0_gml_71_0"
);
68
    global.msg[19] = stringsetloc(
Face 2* Bird guy again?Delay 11
* What's his name?Delay 11 Nerdly?Wait for input
"\\E2* Bird guy again^1?&* What's his name^1? Nerdly?/", "obj_rudy_slash_Step_0_gml_72_0"
);
69
    
scr_noeface
scr_noeface

function
scr_noeface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FN \\TN %", string(arg1), "scr_noeface_slash_scr_noeface_gml_1_0"); }
(20, 3);
70
    global.msg[21] = stringsetloc(
Face 3* It's,Delay 11 um,Delay 11 Berdly...Delay 11
* He's not that bad,Delay 11 dad.Wait for input
"\\E3* It's^1, um^1, Berdly..^1.&* He's not that bad^1, dad./", "obj_rudy_slash_Step_0_gml_74_0"
);
71
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(22, 6);
72
    global.msg[23] = stringsetloc(
Face 6* I'll kick his ass.Wait for input
"\\E6* I'll kick his ass./", "obj_rudy_slash_Step_0_gml_76_0"
);
73
    
scr_noeface
scr_noeface

function
scr_noeface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FN \\TN %", string(arg1), "scr_noeface_slash_scr_noeface_gml_1_0"); }
(24, 4);
74
    global.msg[25] = stringsetloc(
Face 4* Hahaha...Delay 11
* Dad,Delay 11 you're not even supposed to get up.Wait for input
"\\E4* Hahaha..^1.&* Dad^1, you're not even supposed to get up./", "obj_rudy_slash_Step_0_gml_78_0"
);
75
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(26, 7);
76
    global.msg[27] = stringsetloc(
Face 7* Bring him by the window!Delay 11 I'll throw something at him!Wait for input
"\\E7* Bring him by the window^1! I'll throw something at him!/", "obj_rudy_slash_Step_0_gml_80_0"
);
77
    
scr_noeface
scr_noeface

function
scr_noeface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FN \\TN %", string(arg1), "scr_noeface_slash_scr_noeface_gml_1_0"); }
(28, 8);
78
    global.msg[29] = stringsetloc(
Face 8* GOODBYE,Delay 11 dad.Wait for input
"\\E8* GOODBYE^1, dad./", "obj_rudy_slash_Step_0_gml_82_0"
);
79
    
scr_rudface
scr_rudface

function
scr_rudface(arg0, arg1)
{ global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\Fr \\Tr %", string(arg1), "scr_rudface_slash_scr_rudface_gml_1_0"); }
(30, 2);
80
    global.msg[31] = stringsetloc(
Face 2* Bye,Delay 11 honey.Wait for inputClose Message
"\\E2* Bye^1, honey./%", "obj_rudy_slash_Step_0_gml_84_0"
);
81
    instance_create(0, 0, obj_dialoguer);
82
    con = 9;
83
}
84
if (con == 9 && !d_ex())
85
{
86
    with (n)
87
    {
88
        sprite_index = spr_noelle_walk_down_lw;
89
        vspeed = 2;
90
        image_speed = 0.25;
91
    }
92
    con = 10;
93
}
94
if (con == 10)
95
{
96
    if (n.y >= 150)
97
    {
98
        sprite_index = spr_rudy_d;
99
        with (n)
100
        {
101
            sprite_index = spr_noelle_walk_right_lw;
102
            hspeed = 2;
103
            vspeed = 0;
104
            image_speed = 0.25;
105
        }
106
        con = 11;
107
    }
108
}
109
if (con == 11)
110
{
111
    if (n.x >= 160)
112
    {
113
        with (n)
114
        {
115
            sprite_index = spr_noelle_walk_down_lw;
116
            hspeed = 0;
117
            vspeed = 0;
118
            image_speed = 0;
119
            image_index = 0;
120
        }
121
        con = 12;
122
        alarm[4]
 = 30;
gml_Object_obj_rudy_Alarm_4.gml

con += 1;
123
    }
124
}
125
if (con == 13)
126
{
127
    global.typer = 12;
128
    global.fc = 3;
129
    global.fe = 4;
130
    global.msg[0] = stringsetloc(
* ... oh?Delay 11
* Hi,Delay 11 Kris...?Wait for inputClose Message
"* ... oh^1?&* Hi^1, Kris...?/%", "obj_rudy_slash_Step_0_gml_140_0"
);
131
    instance_create(0, 0, obj_dialoguer);
132
    con = 14;
133
    kcon = 0;
134
}
135
if (con == 14 && !d_ex())
136
{
137
    with (n)
138
    {
139
        vspeed = 3;
140
        image_speed = 0.25;
141
        sprite_index = spr_noelle_walk_down_lw;
142
    }
143
    con = 15;
144
    kcon = 1;
145
    alarm[4]
 = 30;
gml_Object_obj_rudy_Alarm_4.gml

con += 1;
146
}
147
if (con == 15)
148
{
149
    with (obj_mainchara)
150
    {
151
        if (x > 140)
152
            x -= 1;
153
    }
154
}
155
if (con == 16)
156
{
157
    instance_create(x, y, obj_npc_room);
158
    global.facing = 0;
159
    global.flag[255 talk_rudy_ch1] = 1;
160
    global.interact = 0;
161
    instance_destroy();
162
    con = 17;
163
}