Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_dw_teevie_stealth_d_Step_0

(view raw script w/o annotations or w/e)
1
scr_gameshow_populatevars
scr_gameshow_populatevars

function
scr_gameshow_populatevars()
{ if (!variable_instance_exists(id, "kr_real")) kr_real = 0; if (!variable_instance_exists(id, "su_real")) su_real = 0; if (!variable_instance_exists(id, "ra_real")) ra_real = 0; if (!variable_instance_exists(id, "tenna")) tenna = 0; if (kr_real == 0) { with (obj_mainchara) other.kr_real = id; } if (su_real == 0) { with (obj_caterpillarchara) { if (name == "susie") other.su_real = id; } } if (ra_real == 0) { with (obj_caterpillarchara) { if (name == "ralsei") other.ra_real = id; } } if (tenna == 0) { with (obj_actor_tenna) other.tenna = id; } }
();
2
if (make != "zapper")
3
    make = "false";
4
with (obj_trigger)
5
{
6
    if (place_meeting(x, y, obj_mainchara))
7
    {
8
        other.make = extflag;
9
        instance_destroy();
10
    }
11
}
12
if (make != "false" && global.flag[1230 sneak_zapper_state] != 2)
13
{
14
    var newfollow = false;
15
    if (i_ex(obj_caterpillar_generic))
16
        newfollow = true;
17
    modx = 0;
18
    if (make == "zapper")
19
        modx = -20;
20
    var newchar = instance_create(obj_mainchara.x + modx, obj_mainchara.y, obj_caterpillar_generic);
21
    with (newchar)
22
    {
23
        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
24
        name = other.make;
25
        flip = true;
26
        daddy = other.ra_real;
27
        targetdist = 12;
28
        interpolate = true;
29
        visible = false;
30
    }
31
    if (newfollow)
32
        newchar.daddy = instance_find(obj_caterpillar_generic, instance_number(obj_caterpillar_generic) - 2);
33
    var newcharnum = instance_number(obj_caterpillar_generic) - 1;
34
    if (newcharnum == 0)
35
    {
36
        with (newchar)
37
        {
38
            sprite_index = spr_pippins_sneak;
39
            halign = -14;
40
            valign = 4;
41
        }
42
    }
43
    if (newcharnum == 1)
44
    {
45
        with (newchar)
46
        {
47
            sprite_index = spr_shadowman_sneak;
48
            valign = 24;
49
            halign = -14;
50
        }
51
    }
52
    if (newcharnum == 2)
53
    {
54
        with (newchar)
55
        {
56
            sprite_index = spr_shadowman_sneak_shh;
57
            valign = 12;
58
            halign = 6;
59
        }
60
    }
61
    if (newcharnum == 3)
62
    {
63
        with (newchar)
64
        {
65
            sprite_index = spr_pippins_sneak;
66
            halign = 8;
67
            valign = -36;
68
        }
69
    }
70
    if (make == "zapper")
71
    {
72
        with (newchar)
73
        {
74
            sprite_index = spr_npc_zapper_sneak;
75
            halign = -14;
76
            valign = 58;
77
        }
78
        make = "done";
79
    }
80
}
81
if (caught == 0)
82
{
83
    if (nobacksies == 0 && camerax() >= 4682)
84
    {
85
        nobacksies = 1;
86
        if (
scr_ch3_violencecheck
scr_ch3_violencecheck

function
scr_ch3_violencecheck()
{ var __violence = 0; if (global.flag[580] == 1) __violence++; if (global.flag[581] == 1) __violence++; if (global.flag[582] == 1) __violence++; if (global.flag[583] == 1) __violence++; if (global.flag[584] == 1) __violence++; if (global.flag[586 encount_zapper_shuttah] == 1) __violence++; if (global.flag[587 encount_first_watercooler] == 1) __violence++; if (global.flag[588] == 1) __violence++; if (global.flag[589 encount_first_zapper] == 1) __violence++; if (global.flag[590 encount_first_shadowguy] == 1) __violence++; if (global.flag[591 encount_first_ribbick] == 1) __violence++; if (global.flag[592 encount_second_watercooler] == 1) __violence++; if (global.flag[593 encount_second_ribbick] == 1) __violence++; debug_message("
scr_ch3_violencecheck() - Violence count: " + string(__violence));
return __violence; }
() < 5)
87
        {
88
            with (obj_dw__backstagelight)
89
            {
90
                if (extflag == "replacementlight")
91
                    instance_destroy();
92
            }
93
            var splight = instance_create(4520, 160, obj_dw__backstagelight);
94
            with (splight)
95
            {
96
                type = 1;
97
                drawlamp = false;
98
                image_blend = #FFCB3E;
99
                movetype = 1;
100
                mt1off -= 32;
101
                movespeed = 120;
102
                rate = 20 - (((y - 320) / 240) * 2);
103
                wally = 320;
104
                special = 1;
105
                rate = 2;
106
                movespeed = 0;
107
            }
108
        }
109
    }
110
    var cont = 0;
111
    with (obj_b3bs_stealth)
112
    {
113
        if (alert)
114
            cont = 1;
115
    }
116
    if (cont == 1)
117
    {
118
        caughttimer = 0;
119
        caught = 1;
120
    }
121
}
122
if (caught == 1)
123
{
124
    caughttimer++;
125
    if (caughttimer == 1)
126
    {
127
        snd_play(snd_jump);
128
        zapper = 
scr_marker_ext
scr_marker_ext

function
scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{ var thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { depth = arg8; sprite_index = arg2; image_speed = arg5; image_xscale = arg3; image_yscale = arg4; image_index = arg6; image_blend = arg7; image_alpha = arg11; if (arg9)
scr_depth();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; }
(obj_mainchara.x + 80, -120, spr_zapper_jump_noshadow, 2, 2, 0, 4);
129
        zapper.gravity = 1;
130
        zapper.depth = obj_mainchara.depth;
131
        scr_limitval_upper(zapper, "y", obj_mainchara.bbox_bottom - 137);
132
    }
133
    if (caughttimer > 1)
134
    {
135
        if (zapper.y >= (obj_mainchara.bbox_bottom - 137))
136
        {
137
            with (obj_b3bs_stealth)
138
                dir = 0;
139
            with (zapper)
140
            {
141
                snd_play(snd_wing);
142
                image_index = 6;
143
                scr_delay_var("image_index", 7, 3);
144
                scr_delay_var("image_index", 8, 6);
145
            }
146
            caught = 2;
147
            zapper.gravity = 0;
148
            zapper.vspeed = 0;
149
            with (obj_limit_val)
150
                instance_destroy();
151
            caughttimer = 0;
152
        }
153
    }
154
}
155
if (caught == 2)
156
{
157
    caughttimer++;
158
    if (caughttimer == 20)
159
    {
160
        zapper.sprite_index = spr_npc_zapper_talk;
161
        zapper.image_index = 0;
162
        zapper.x += 6;
163
        zapper.y -= 14;
164
        with (zapper)
165
            
scr_animate
scr_animate

function
scr_animate(arg0, arg1, arg2)
{ __animator = instance_create(x, y, obj_animator); __animator.target = id; __animator.initframe = arg0; __animator.endframe = arg1; __animator.fake_image_speed = arg2; return __animator; }
(0, 13, 0.25);
166
        caughttimer = 0;
167
        special = obj_b3bs_stealth.special;
168
        if (!special)
169
        {
170
            global.flag[1229 last_sneak_times_found]++;
171
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("no_name");
172
            msgsetloc(0, 
* Hey!Delay 11 None of youse is supposed to be back here!!Wait for inputClose Message
"* Hey^1! None of youse is supposed to be back here!!/%", "obj_dw_teevie_stealth_d_slash_Step_0_gml_181_0"
);
173
            caught = 3;
174
        }
175
        if (special)
176
        {
177
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("no_name");
178
            msgsetloc(0, 
* HEY!Delay 11 None of youse is supposed to be here!Wait for inputClose Message
"* HEY^1! None of youse is supposed to be here!/%", "obj_dw_teevie_stealth_d_slash_Step_0_gml_187_0"
);
179
            caught = 11;
180
            timer = 0;
181
        }
182
        d_make();
183
    }
184
}
185
if (caught == 3 && !d_ex())
186
{
187
    caughttimer++;
188
    if (caughttimer == 5)
189
    {
190
        change = instance_create(x, y, obj_tvturnoff_manager);
191
        change.kind = 1;
192
        global.entrance = 10;
193
        change.roomtarg = room;
194
    }
195
}
196
if (caught == 11 && !d_ex())
197
{
198
    timer++;
199
    if (timer == 1)
200
    {
201
        with (obj_animator)
202
            instance_destroy();
203
    }
204
    if (timer == 60)
205
    {
206
        msgsetloc(0, 
* I don't wanna be here either!Wait for input
"* I don't wanna be here either!/", "obj_dw_teevie_stealth_d_slash_Step_0_gml_216_0"
);
207
        msgnextloc(
* ...is it okay if I come with youse?Wait for inputClose Message
"* ...is it okay if I come with youse?/%", "obj_dw_teevie_stealth_d_slash_Step_0_gml_217_0"
);
208
        d_make();
209
        caught = 12;
210
        timer = 0;
211
        zapper.image_index = 0;
212
        zapper.sprite_index = spr_zapper_spare;
213
        zapper.x += 10;
214
        zapper.y += 20;
215
    }
216
}
217
if (caught == 12)
218
{
219
    if (
scr_getmsgno_d
scr_getmsgno_d

function
scr_getmsgno_d()
{ if (instance_exists(obj_dialoguer) && instance_exists(obj_dialoguer.writer)) return obj_dialoguer.writer.msgno; }
() == 1)
220
    {
221
        caught = 14;
222
        zapper.image_index = 1;
223
    }
224
}
225
if (caught == 14 && !d_ex())
226
{
227
    var _time = 20;
228
    caughttimer++;
229
    if (caughttimer == 1)
230
    {
231
        with (zapper)
232
        {
233
            image_speed = 0;
234
            image_index = 0;
235
            x -= 16;
236
            y -= 6;
237
            sprite_index = spr_zapper_jump_noshadow;
238
            scr_delay_var("image_index", 2, 1);
239
            scr_delay_var("image_index", 5, _time - 6);
240
            scr_delay_var("image_index", 6, _time);
241
            scr_delay_var("image_index", 7, _time + 2);
242
            scr_delay_var("image_index", 8, _time + 4);
243
            scr_delay_var("sprite_index", 4121, round(_time / 2));
244
            scr_delay_var("depth", 96820, round(_time / 2));
245
            
scr_jump_to_point
scr_jump_to_point

function
scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; } return ___jump; }
(obj_mainchara.x - 88, y - 22, 40, _time, true);
246
            snd_play(snd_jump);
247
            snd_play_delay(snd_wing, _time);
248
        }
249
    }
250
    if (caughttimer == (2 + _time))
251
    {
252
        zapper.visible = false;
253
        global.interact = 0;
254
        make = "zapper";
255
        with (obj_dw__backstagelight)
256
        {
257
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("image_alpha", image_alpha, 0, 15);
258
            
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; } }
(id, 16);
259
        }
260
        global.flag[1230 sneak_zapper_state] = 1;
261
        success = 0.5;
262
        caught = 100;
263
    }
264
}
265
if (noleft == 0)
266
{
267
    if (i_ex(obj_caterpillar_generic))
268
    {
269
        noleft = 1;
270
        with (obj_dw__backstagelight)
271
        {
272
            if (x == 480)
273
            {
274
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("timerrate", timerrate, 0, 15, 2, "out");
275
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("timer", timer, 0, 15, 2, "out");
276
            }
277
        }
278
    }
279
}
280
if (noleft == 1)
281
{
282
}
283
if (success == 0.5)
284
{
285
    if (obj_mainchara.x >= 5800 || obj_mainchara.x <= 460)
286
    {
287
        with (obj_caterpillar_generic)
288
            instance_destroy();
289
        success = 1;
290
        succtimer = 0;
291
        with (obj_b3bs_stealth)
292
        {
293
            for (var i = 0; i < 20; i++)
294
            {
295
                if (i_ex(catmarker[i]))
296
                {
297
                    with (catmarker[i])
298
                    {
299
                        var markerleave = 
scr_marker_ext
scr_marker_ext

function
scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{ var thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { depth = arg8; sprite_index = arg2; image_speed = arg5; image_xscale = arg3; image_yscale = arg4; image_index = arg6; image_blend = arg7; image_alpha = arg11; if (arg9)
scr_depth();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; }
(x, y, sprite_index, 2, 2, 0.25, image_index, undefined, depth, undefined, 240);
300
                        var ratemod = 1;
301
                        if (x < (room_width / 2))
302
                            ratemod = -1;
303
                        markerleave.image_xscale = 2 * ratemod;
304
                        markerleave.hspeed = 16 * ratemod;
305
                        markerleave.friction = -0.001;
306
                        instance_destroy();
307
                    }
308
                }
309
            }
310
        }
311
    }
312
}
313
if (i_ex(sontrig))
314
{
315
    if (sontrig.myinteract == 3)
316
    {
317
        global.interact = 1;
318
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("no_name");
319
        msgsetloc(0, 
* I'm Goulden Son. I wish there was a Goulden Son 2.Wait for input
"* I'm Goulden Son. I wish there was a Goulden Son 2./", "obj_dw_teevie_stealth_d_slash_Step_0_gml_344_0"
);
320
        msgnextloc(
* I can't help you across right now,Delay 11 all the lights are in the way!Wait for inputClose Message
"* I can't help you across right now^1, all the lights are in the way!/%", "obj_dw_teevie_stealth_d_slash_Step_0_gml_345_0"
);
321
        if (caught == 100)
322
        {
323
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("no_name");
324
            msgsetloc(0, 
* Wow!Delay 11 You've got a lot of friends!Wait for inputClose Message
"* Wow^1! You've got a lot of friends!/%", "obj_dw_teevie_stealth_d_slash_Step_0_gml_350_0"
);
325
        }
326
        d_make();
327
        sontrig.myinteract = 4;
328
    }
329
    if (sontrig.myinteract == 4 && !d_ex())
330
    {
331
        global.interact = 0;
332
        sontrig.myinteract = 0;
333
    }
334
}