Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_dw_garden_susiechase_Step_0

related scripts: Alarm_0Create_0Draw_0Other_10Step_0 Step_1Step_2

(view raw script w/o annotations or w/e)
1
var ralseis = global.flag[1392];
2
if (!init)
3
{
4
    init = 1;
5
    
6
    placeSusie = function()
7
    {
8
        with (obj_caterpillarchara)
9
        {
10
            if (name == "susie")
11
            {
12
                var pos = findspriteinfo(spr_susier_dark, "cut2");
13
                setxy(pos.x, pos.y);
14
                follow = false;
15
                visible = true;
16
                fun = true;
17
                sprite_index = spr_susie_walk_right_dw_cup_ribbon;
18
            }
19
        }
20
        with (obj_marker)
21
        {
22
            if (sprite_index == spr_susie_walk_right_dw_cup)
23
                instance_destroy();
24
        }
25
    };
26
    
27
    removeFlowery = function()
28
    {
29
        if (i_ex(fl))
30
        {
31
            if (fl.object_index == obj_trigger_interact)
32
            {
33
                with (fl)
34
                {
35
                    with (marker)
36
                        instance_destroy();
37
                    instance_destroy();
38
                }
39
            }
40
        }
41
    };
42
    
43
    ralseicough = function()
44
    {
45
        muteralsei = false;
46
        with (obj_actor)
47
        {
48
            if (name == "ralsei")
49
            {
50
                coughcount = 0;
51
                
52
                uncough = function()
53
                {
54
                    image_index = 0;
55
                };
56
                
57
                cough = function()
58
                {
59
                    image_index = 1;
60
                    coughcount++;
61
                    var pitch = 0.9;
62
                    if (coughcount == 2)
63
                        pitch = 1;
64
                    if (coughcount == 3)
65
                        pitch = 0.9;
66
                    snd_play(snd_txtral, 0.8, pitch);
67
                };
68
                
69
                auto_walk = 0;
70
                auto_facing = 0;
71
                sprite_index = spr_ralsei_cough_dark;
72
                delay_function(cough, 1);
73
                delay_function(uncough, 4);
74
                delay_function(cough, 6);
75
                delay_function(uncough, 9);
76
                delay_function(cough, 18);
77
                delay_function(uncough, 26);
78
            }
79
        }
80
    };
81
    
82
    ralseishock = function()
83
    {
84
        with (obj_actor)
85
        {
86
            if (name == "ralsei")
87
            {
88
                auto_walk = 0;
89
                auto_facing = 0;
90
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
91
                sprite_index = spr_ralseir_shock;
92
                var cloud = 
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, arg12 = false)
{ var objinst = 1240; if (arg12) objinst = 1498; var thismarker = instance_create(arg0, arg1, objinst); 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_alt();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; } function scr_marker_fromasset(arg0, arg1 = depth, arg2 = false, arg3 = false) { if (is_undefined(arg0)) { debug_message("Warning: scr_marker_fromasset() sprite_instance didn't exist"); return -4; } var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var imagespeed = layer_sprite_get_speed(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var markertype = 1240; if (arg3) markertype = 1498; var thismarker = instance_create_depth(xloc, yloc, arg1, markertype); with (thismarker) { sprite_index = sprite; image_index = index; image_speed = imagespeed; image_xscale = xscale; image_yscale = yscale; image_angle = angle; image_blend = blend; image_alpha = alpha; if (arg2)
scr_depth_alt(id, arg2);
} return thismarker; } function scr_assetgetinfo(arg0) { var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var imagespeed = layer_sprite_get_speed(arg0); return [sprite, index, xloc, yloc, xscale, yscale, angle, blend, alpha, imagespeed]; }
(x + 8, (y - 32) + 8, spr_shock_fx, 2, 2);
93
                with (cloud)
94
                {
95
                    
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_index", 0, 4, 8);
96
                    
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ var _doom = instance_create_depth(0, 0, 0, obj_doom); with (_doom) { alarm[0]
 = arg1;</code>
gml_Object_obj_dw_garden_susiechase_Alarm_0.gml

con++;
target = arg0; } return _doom; }
(id, 10);
97
                }
98
            }
99
        }
100
    };
101
    
102
    if (global.plot >= 265)
103
    {
104
        puzzlesolved = true;
105
        with (obj_floorswitch)
106
        {
107
            with (instance_create(x, y, obj_solidblock))
108
            {
109
                sprite_index = spr_npc_block;
110
                
scr_size
scr_size

function
scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{ with (arg2) { image_xscale = arg0; image_yscale = arg1; } }
(2, 2);
111
                
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
112
                visible = true;
113
                image_speed = 0;
114
                image_index = 0;
115
            }
116
            instance_destroy();
117
        }
118
        with (obj_pushable_block)
119
            instance_destroy();
120
        with (obj_pinktree_tall)
121
            instance_destroy();
122
        with (obj_starwalker_offswitch)
123
            instance_destroy();
124
    }
125
}
126
127
dustup = function()
128
{
129
    var fl = obj_dw_garden_susiechase.flowery;
130
    with (fl)
131
    {
132
        var rainbow = flrainbow();
133
        for (var i = 0; i < 20; i++)
134
        {
135
            with (
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, arg12 = false)
{ var objinst = 1240; if (arg12) objinst = 1498; var thismarker = instance_create(arg0, arg1, objinst); 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_alt();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; } function scr_marker_fromasset(arg0, arg1 = depth, arg2 = false, arg3 = false) { if (is_undefined(arg0)) { debug_message("Warning: scr_marker_fromasset() sprite_instance didn't exist"); return -4; } var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var imagespeed = layer_sprite_get_speed(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var markertype = 1240; if (arg3) markertype = 1498; var thismarker = instance_create_depth(xloc, yloc, arg1, markertype); with (thismarker) { sprite_index = sprite; image_index = index; image_speed = imagespeed; image_xscale = xscale; image_yscale = yscale; image_angle = angle; image_blend = blend; image_alpha = alpha; if (arg2)
scr_depth_alt(id, arg2);
} return thismarker; } function scr_assetgetinfo(arg0) { var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var imagespeed = layer_sprite_get_speed(arg0); return [sprite, index, xloc, yloc, xscale, yscale, angle, blend, alpha, imagespeed]; }
(x - 32, y + 38, spr_shine_white, 2, 2, 0, choose(2, 3), rainbow[
scr_wrap
scr_wrap

function
scr_wrap(arg0, arg1, arg2)
{ if ((arg0 % 1) == 0) { while (arg0 > arg2 || arg0 < arg1) { if (arg0 > arg2) { arg0 = (arg1 + arg0) - arg2 - 1; } else if (arg0 < arg1) { arg0 = ((arg2 + arg0) - arg1) + 1; } else { } } return arg0; } else { var _old = argument[0] + 1; while (arg0 != _old) { _old = arg0; if (arg0 < arg1) { arg0 = arg2 - (arg1 - arg0); } else if (arg0 > arg2) { arg0 = arg1 + (arg0 - arg2); } else { } } return arg0; } }
(i, 0, array_length(rainbow) - 1)], 10000))
136
            {
137
                direction = (i * 8) + 90;
138
                speed = random_range(1, 3);
139
                gravity = 0.2;
140
                
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ var _doom = instance_create_depth(0, 0, 0, obj_doom); with (_doom) { alarm[0]
 = arg1;</code>
gml_Object_obj_dw_garden_susiechase_Alarm_0.gml

con++;
target = arg0; } return _doom; }
(id, 24);
141
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 4, 0, irandom_range(18, 22));
142
            }
143
        }
144
    }
145
};
146
147
killbell = function(arg0 = false)
148
{
149
    with (obj_starwalker_offswitch)
150
    {
151
        if (!arg0)
152
        {
153
            with (
scr_marker_frominstance
scr_marker_frominstance

function
scr_marker_frominstance(arg0 = id, arg1 = false)
{ var obj = 1240; if (arg1) obj = 1498; var _marker = instance_create(arg0.x, arg0.y, obj); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; return _marker; } function scr_fog_marker_frominstance(arg0 = id, arg1 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fog); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.color = arg1; return _marker; } function scr_blend_marker_frominstance(arg0 = id, arg1 = 1) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_blend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; return _marker; } function scr_fogblend_marker_frominstance(arg0 = id, arg1 = 1, arg2 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fogblend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; _marker.color = arg2; return _marker; }
(id, true))
154
            {
155
                vspeed = 4;
156
                gravity = -1.5;
157
                
158
                step_func = function()
159
                {
160
                    if (y < (cameray() - 120))
161
                        instance_destroy();
162
                };
163
            }
164
        }
165
        else
166
        {
167
            with (scr_marker_fancy(x + 19, y + 14, 4220))
168
            {
169
                snd_play(snd_badexplosion);
170
                
scr_size
scr_size

function
scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{ with (arg2) { image_xscale = arg0; image_yscale = arg1; } }
(2, 2);
171
                image_speed = 1;
172
                timer = 0;
173
                
174
                step_func = function()
175
                {
176
                    timer++;
177
                    if (timer >= 16)
178
                        instance_destroy();
179
                };
180
            }
181
        }
182
        instance_destroy();
183
    }
184
};
185
186
quicksolve = function()
187
{
188
    _ralseisolve = true;
189
    snd_play(snd_bump, 1, 1);
190
    snd_play(snd_grab, 0.5, 1.2);
191
    var timeline = 18;
192
    var blockarray = [];
193
    var solvearray = [];
194
    with (obj_pushable_block)
195
        array_push(blockarray, id);
196
    with (obj_floorswitch)
197
        array_push(solvearray, id);
198
    for (var i = 0; i < array_length(blockarray); i++)
199
    {
200
        with (blockarray[i])
201
        {
202
            var point = 
203
            {
204
                x: 0,
205
                y: 0
206
            };
207
            var closest = -4;
208
            for (var k = 0; k < array_length(solvearray); k++)
209
            {
210
                if (closest == -4)
211
                    closest = solvearray[k];
212
                else if (distance_to_object_bbox(undefined, solvearray[k]) < distance_to_object_bbox(undefined, closest))
213
                    closest = solvearray[k];
214
            }
215
            image_index = 0;
216
            image_speed = 0;
217
            
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; trackangle = arg4; } return ___jump; }
(closest.x, closest.y, 32, timeline, true);
218
        }
219
    }
220
    
221
    var endsound = function()
222
    {
223
        snd_play(snd_noise, 0.6);
224
    };
225
    
226
    delay_function(endsound, timeline);
227
};
228
229
if (puzcon == 0)
230
{
231
    var trig = false;
232
    with (obj_pushable_block)
233
    {
234
        if (movecourse == 1)
235
            trig = true;
236
    }
237
    if (trig == true)
238
        puzcon = 1;
239
}
240
if (puzcon == 1)
241
{
242
    var trig = true;
243
    with (obj_pushable_block)
244
    {
245
        if (movecourse == 1)
246
            trig = false;
247
    }
248
    if (trig == true)
249
        puzcon = 2;
250
}
251
if (puzcon == 2)
252
{
253
    var failed = false;
254
    
255
    var blockis = function(arg0, arg1)
256
    {
257
        var loc = 
258
        {
259
            x: 360,
260
            y: 1000
261
        };
262
        return instance_exists(instance_place(loc.x + (arg0 * 40), loc.y + (arg1 * 40), obj_pushable_block));
263
    };
264
    
265
    if (blockis(2, 2))
266
        failed = true;
267
    else if (blockis(5, 2))
268
        failed = true;
269
    else if (blockis(3, 1) && blockis(4, 1))
270
        failed = true;
271
    else if (blockis(0, 2) && blockis(1, 2))
272
        failed = true;
273
    else if (blockis(0, 2) && blockis(1, 2))
274
        failed = true;
275
    else if (blockis(6, 2) && blockis(7, 2))
276
        failed = true;
277
    if (!failed)
278
    {
279
        var play_error = true;
280
        with (obj_pushable_block)
281
        {
282
            var adjacent_box_count = 0;
283
            with (obj_pushable_block)
284
            {
285
                if ((x == other.x && abs(y - other.y) == 40) || (y == other.y && abs(x - other.x) == 40))
286
                    adjacent_box_count++;
287
            }
288
            if (adjacent_box_count != 2)
289
            {
290
                play_error = false;
291
                break;
292
            }
293
        }
294
        if (play_error)
295
            failed = true;
296
    }
297
    if (failed)
298
    {
299
        puzcon = 3;
300
        with (ralsei_npc)
301
            delay_function(dofail, 8);
302
        snd_play(snd_error);
303
    }
304
    else
305
    {
306
        puzcon = 0;
307
    }
308
}
309
if (puzcon == 3)
310
{
311
    with (obj_starwalker_offswitch)
312
    {
313
        if (bellcon == 1)
314
            other.puzcon = 0;
315
    }
316
}
317
if (!puzzlesolved && failcon <= 0)
318
{
319
    var puzzle_solved = true;
320
    with (obj_floorswitch)
321
    {
322
        if (!pressed)
323
            puzzle_solved = false;
324
    }
325
    if (puzzle_solved)
326
    {
327
        puzzlesolved = true;
328
        clearPath();
329
        with (obj_dw_garden_susiechase)
330
            killbell(_ralseisolve);
331
        with (obj_solidblocksized_alt)
332
            instance_destroy();
333
        snd_play(snd_won);
334
        with (obj_pinktree_tall)
335
            instance_destroy();
336
        with (obj_pushable_block)
337
            stuck = true;
338
    }
339
    else if (!failed_puzzle)
340
    {
341
        var play_error = true;
342
        with (obj_pushable_block)
343
        {
344
            var adjacent_box_count = 0;
345
            with (obj_pushable_block)
346
            {
347
                if ((x == other.x && abs(y - other.y) == 40) || (y == other.y && abs(x - other.x) == 40))
348
                    adjacent_box_count++;
349
            }
350
            if (adjacent_box_count != 2)
351
            {
352
                play_error = false;
353
                break;
354
            }
355
        }
356
        if (play_error)
357
            failed_puzzle = true;
358
    }
359
    else
360
    {
361
        with (obj_starwalker_offswitch)
362
        {
363
            if (bellcon == 1)
364
                other.failed_puzzle = false;
365
        }
366
    }
367
}
368
if (con == 0)
369
{
370
    with (obj_caterpillarchara)
371
    {
372
        if (name == "susie")
373
        {
374
            visible = false;
375
            follow = false;
376
            x = room_width * 2;
377
        }
378
        if (name == "ralsei")
379
            target = 12;
380
    }
381
    susie_cut1 = scr_marker_fromasset(findsprite(spr_susie_walk_right_dw_cup, "CUT1"), undefined, 1);
382
    fl = scr_makenpc_fromasset(findsprite(spr_flowery_walk_left_cup, "CUT1"));
383
    con = 1;
384
}
385
if (con == 1)
386
{
387
    if (
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("CUT1"))
388
    {
389
        global.interact = 1;
390
        con = 2;
391
    }
392
}
393
if (con >= 4 && con < 9)
394
{
395
    if (noleavecon == 0)
396
    {
397
        if (obj_mainchara.x < 64)
398
        {
399
            global.interact = 1;
400
            obj_mainchara.x = 64;
401
            
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
402
            msgsetloc(0, 
Face K* (Kris,Delay 11 you can't go that way,Delay 11 there are,Delay 11 um...Delay 11 spikes.)Wait for inputClose Message
"\\EK* (Kris^1, you can't go that way^1, there are^1, um..^1. spikes.)/%", "obj_dw_garden_susiechase_slash_Step_0_gml_605_0"
);
403
            if (ralseis)
404
            {
405
                
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
406
                msgsetloc(0, 
Face 3*Wait for inputClose Message
"\\E3*/%", "obj_dw_garden_susiechase_slash_Step_0_gml_614_0"
);
407
            }
408
            d_make();
409
            noleavecon = 1;
410
        }
411
    }
412
    if (noleavecon == 1 && !d_ex())
413
    {
414
        noleavecon = 0;
415
        global.interact = 0;
416
    }
417
}
418
if (con == 2)
419
{
420
    con = 3;
421
    
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
422
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
423
    var camx = camerax();
424
    var camy = cameray();
425
    var camstart = 
426
    {
427
        x: camx,
428
        y: camy
429
    };
430
    var krstart = 
431
    {
432
        x: kr_actor.x,
433
        y: kr_actor.y
434
    };
435
    var rastart = 
436
    {
437
        x: ra_actor.x,
438
        y: ra_actor.y
439
    };
440
    var sustart = 
441
    {
442
        x: su_actor.x,
443
        y: su_actor.y
444
    };
445
    c_msgruncheck(true);
446
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
447
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
448
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 9* Dude,Delay 11 haha,Delay 11 those "voice clips" are so funny.Wait for input
"\\E9* Dude^1, haha^1, those \"voice clips\" are so funny./", "obj_dw_garden_susiechase_slash_Step_0_gml_646_0"
);
449
    if (flvoice())
450
    {
451
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("flowery", "0");
452
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 0\V7* Yes.Wait for input
"\\E0\\V7* Yes./", "obj_dw_garden_susiechase_slash_Step_0_gml_651_0"
);
453
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "7");
454
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 7* Hey,Delay 11 I'm gonna go get another drink.Wait for inputClose Message
"\\E7* Hey^1, I'm gonna go get another drink./%", "obj_dw_garden_susiechase_slash_Step_0_gml_653_0"
);
455
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
456
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
457
    }
458
    else
459
    {
460
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("flowery", "2");
461
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 2* Yeah,Delay 11 they are.Delay 11 But...Delay 11 I better pause using them again.Wait for input
"\\E2* Yeah^1, they are^1. But..^1. I better pause using them again./", "obj_dw_garden_susiechase_slash_Step_0_gml_662_0"
);
462
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 3* Wouldn't be polite using those around someone who turned them off.Wait for input
"\\E3* Wouldn't be polite using those around someone who turned them off./", "obj_dw_garden_susiechase_slash_Step_0_gml_663_0"
);
463
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "6");
464
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 6* Huh?Wait for input
"\\E6* Huh?/", "obj_dw_garden_susiechase_slash_Step_0_gml_665_0"
);
465
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 7* ...Delay 11 wait,Delay 11 I'm gonna go get another drink.Delay 11 Explain that later?Wait for input
"\\E7* ..^1. wait^1, I'm gonna go get another drink^1. Explain that later?/", "obj_dw_garden_susiechase_slash_Step_0_gml_666_0"
);
466
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("flowery", "2");
467
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 2* Yeah,Delay 11 for sures.Wait for inputClose Message
"\\E2* Yeah^1, for sures./%", "obj_dw_garden_susiechase_slash_Step_0_gml_668_0"
);
468
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
469
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
470
    }
471
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
472
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
473
    {
474
        with (susie_cut1)
475
        {
476
            var slideaway = function()
477
            {
478
                image_speed = 0;
479
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_index", 0, 8, 32);
480
                snd_play(snd_noise);
481
                sprite_index = spr_susie_slide;
482
                vspeed = 10;
483
                scr_delay_var("vspeed", 0, 120);
484
                scr_delay_var("visible", false, 120);
485
                slide_noise = snd_loop(snd_paper_surf);
486
                snd_volume(slide_noise, 0, 90);
487
                
488
                var noisehandle = function()
489
                {
490
                    snd_stop(slide_noise);
491
                };
492
                
493
                delay_function(noisehandle, 90);
494
            };
495
            
496
            sprite_index = spr_susie_walk_down_dw;
497
            image_speed = 0.25;
498
            vspeed = 6;
499
            var waittime = max(1, round(abs(bbox_bottom - 330) / vspeed));
500
            show_debug_message_concat(waittime);
501
            delay_function(slideaway, waittime);
502
        }
503
    });
504
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(45);
505
    var rapos = findspriteinfo(spr_ralseir, "CUT1");
506
    var waittime = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(rastart, rapos, 8);
507
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
508
    
c_autofacing
c_autofacing

function
c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
}
(0);
509
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseir_annoyed);
510
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(rapos.x, rapos.y, waittime);
511
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(waittime);
512
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
513
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face A* W...Delay 11 wait!Delay 11 Why did you tell her about VOICE CLIPS!?Wait for input
"\\EA* W..^1. wait^1! Why did you tell her about VOICE CLIPS!?/", "obj_dw_garden_susiechase_slash_Step_0_gml_720_0"
);
514
    if (flvoice())
515
    {
516
        
c_msgstay
c_msgstay

function
c_msgstay(arg0)
{
c_cmd("msgstay", arg0, 0, 0, 0);
}
(3);
517
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("flowery", "2");
518
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 2* What?Wait for input
"\\E2* What?/", "obj_dw_garden_susiechase_slash_Step_0_gml_725_0"
);
519
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "D");
520
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face D* (Kris,Delay 11 y-you can turn off VOICE CLIPS in the CONFIG menu...)Wait for inputClose Message
"\\ED* (Kris^1, y-you can turn off VOICE CLIPS in the CONFIG menu...)/%", "obj_dw_garden_susiechase_slash_Step_0_gml_727_0"
);
521
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 1069);
522
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
523
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
524
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("flowery");
525
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 2\V6* (Kris,Delay 11 be careful not to turn off RALSEIs in the thingy)Wait for inputClose Message
"\\E2\\V6* (Kris^1, be careful not to turn off RALSEIs in the thingy)/%", "obj_dw_garden_susiechase_slash_Step_0_gml_729_0"
);
526
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 3797);
527
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
528
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
529
    }
530
    else
531
    {
532
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face D* And...Delay 11 wh...Delay 11 why were you doing them after Kris turned them OFF?Wait for input
"\\ED* And..^1. wh..^1. why were you doing them after Kris turned them OFF?/", "obj_dw_garden_susiechase_slash_Step_0_gml_741_0"
);
533
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("flowery", "2");
534
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 2\VA* Shouldn't SHE get to decide if she wants to hear them?Wait for inputClose Message
"\\E2\\VA* Shouldn't SHE get to decide if she wants to hear them?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_743_0"
);
535
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
536
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
537
        {
538
            ralseishock();
539
        });
540
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
541
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
542
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseir_dejected);
543
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
544
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* W-well,Delay 11 I guess...Delay 11 if she wants to...Delay 11 then I would want her to...Wait for input
"\\E4* W-well^1, I guess..^1. if she wants to..^1. then I would want her to.../", "obj_dw_garden_susiechase_slash_Step_0_gml_753_0"
);
545
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("flowery", "2");
546
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 2\Vo* Kris,Delay 11 Susie would smile if you turned them back on.Wait for input
"\\E2\\Vo* Kris^1, Susie would smile if you turned them back on./", "obj_dw_garden_susiechase_slash_Step_0_gml_755_0"
);
547
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "3");
548
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 3* W-wait!Delay 11 You can't...Wait for input
"\\E3* W-wait^1! You can't.../", "obj_dw_garden_susiechase_slash_Step_0_gml_757_0"
);
549
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("flowery", "2");
550
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 2\VN* Unless,Delay 11 Ralsei...Delay 11 YOUR opinion is important,Delay 11 too?Wait for inputClose Message
"\\E2\\VN* Unless^1, Ralsei..^1. YOUR opinion is important^1, too?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_759_0"
);
551
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
552
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
553
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
554
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
555
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(4);
556
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
557
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseir_annoyed);
558
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(6);
559
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
560
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
561
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
562
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
563
        {
564
            ralseishock();
565
        });
566
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
567
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
568
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
569
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
570
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 3* I,Delay 11 I,Delay 11 I,Delay 11 I...Wait for input
"\\E3* I^1, I^1, I^1, I.../", "obj_dw_garden_susiechase_slash_Step_0_gml_783_0"
);
571
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face E* K-Kris...Delay 11 can decide themselves!Delay 11 In the CONFIG menu!Wait for inputClose Message
"\\EE* K-Kris..^1. can decide themselves^1! In the CONFIG menu!/%", "obj_dw_garden_susiechase_slash_Step_0_gml_784_0"
);
572
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
573
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
574
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
575
        
c_wait_box_end
c_wait_box_end

function
c_wait_box_end(arg0 = 0)
{
c_cmd("waitboxend", arg0, 0, 0, 0);
}
(0);
576
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
577
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseir_dejected);
578
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
579
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseir_annoyed);
580
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
581
    }
582
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
583
    
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
584
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
585
}
586
if (con == 3 && !instance_exists(obj_cutscene_master))
587
{
588
    placeSusie();
589
    con = 4;
590
    global.interact = 0;
591
    remflvoices = global.flag[1391];
592
    subcon = 1;
593
    menuopened = false;
594
    global.tempflag[52] = 1;
595
}
596
if (con == 4)
597
{
598
    with (fl)
599
    {
600
        if (myinteract == 3)
601
        {
602
            global.interact = 1;
603
            
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
604
            msgsetloc(0, 
Face D* (Kris,Delay 11 y-you can turn off VOICE CLIPS in the CONFIG menu...)Wait for input
"\\ED* (Kris^1, y-you can turn off VOICE CLIPS in the CONFIG menu...)/", "obj_dw_garden_susiechase_slash_Step_0_gml_823_0"
);
605
            if (global.flag[1391] == 1)
606
                msgsetloc(0, 
Face D* (Kris,Delay 11 y-you can turn on VOICE CLIPS in the CONFIG menu...)Wait for input
"\\ED* (Kris^1, y-you can turn on VOICE CLIPS in the CONFIG menu...)/", "obj_dw_garden_susiechase_slash_Step_0_gml_826_0"
);
607
            
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("flowery", "2");
608
            msgnextloc(
Face 2\V0* (Kris,Delay 11 be careful not to turn off RALSEIs in the thingy)Wait for inputClose Message
"\\E2\\V0* (Kris^1, be careful not to turn off RALSEIs in the thingy)/%", "obj_dw_garden_susiechase_slash_Step_0_gml_829_0"
);
609
            d_make();
610
            myinteract = 4;
611
        }
612
        if (myinteract == 4 && !d_ex())
613
        {
614
            global.interact = 0;
615
            myinteract = 0;
616
        }
617
    }
618
    if (subcon == 1)
619
    {
620
        var ralseisdisabled = ralseis;
621
        var flowerysdisabled = -1;
622
        if (global.flag[1391] != remflvoices && global.flag[1391] == 1)
623
            flowerysdisabled = true;
624
        if (menuopened == false)
625
        {
626
            if (global.interact == 5 && global.menuno == 5)
627
                menuopened = true;
628
        }
629
        if (global.interact == 0 && menuopened && global.flag[1391] == 1)
630
            flowerysdisabled = true;
631
        if (global.interact == 0 && (ralseisdisabled || flowerysdisabled))
632
        {
633
            global.interact = 1;
634
            if (ralseisdisabled)
635
            {
636
                muteralsei = true;
637
                
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
638
                msgsetloc(0, 
Face 3* Wait for input
"\\E3* /", "obj_dw_garden_susiechase_slash_Step_0_gml_874_0"
);
639
                msgnextloc(
Face J* Wait for input
"\\EJ* /", "obj_dw_garden_susiechase_slash_Step_0_gml_875_0"
);
640
                
scr_msgno_func
scr_msgno_func

function
scr_msgno_func(arg0, arg1, arg2 = 0, arg3 = 0, arg4 = 30, arg5 = -4)
{ var __watcher = instance_create_depth(0, 0, 0, obj_msgno_func); __watcher.msgno = arg0; __watcher.dothing = arg1; __watcher.when = arg2; __watcher.functiontime = arg3; __watcher.doomer = arg4; __watcher.target = arg5; return __watcher; } function scr_msgfunc(arg0, arg1 = 0, arg2 = 0, arg3 = 30, arg4 = -4) { var __watcher = instance_create_depth(0, 0, 0, obj_msgno_func); __watcher.msgno = global.msgno; __watcher.dothing = arg0; __watcher.when = arg1; __watcher.functiontime = arg2; __watcher.doomer = arg3; __watcher.target = arg4; return __watcher; }
(1, function()
641
                {
642
                    
scr_debug_print
scr_debug_print

function
scr_debug_print()
{ if (!
scr_debug())
exit; } function scr_debug_clear_all() { }
("1");
643
                    with (obj_caterpillarchara)
644
                    {
645
                        if (name == "ralsei")
646
                        {
647
                            fun = 1;
648
                            sprite_set(id, 7157, 0, 0);
649
                        }
650
                    }
651
                });
652
                msgnextloc(
Face K* Wait for input
"\\EK* /", "obj_dw_garden_susiechase_slash_Step_0_gml_876_0"
);
653
                
scr_msgno_func
scr_msgno_func

function
scr_msgno_func(arg0, arg1, arg2 = 0, arg3 = 0, arg4 = 30, arg5 = -4)
{ var __watcher = instance_create_depth(0, 0, 0, obj_msgno_func); __watcher.msgno = arg0; __watcher.dothing = arg1; __watcher.when = arg2; __watcher.functiontime = arg3; __watcher.doomer = arg4; __watcher.target = arg5; return __watcher; } function scr_msgfunc(arg0, arg1 = 0, arg2 = 0, arg3 = 30, arg4 = -4) { var __watcher = instance_create_depth(0, 0, 0, obj_msgno_func); __watcher.msgno = global.msgno; __watcher.dothing = arg0; __watcher.when = arg1; __watcher.functiontime = arg2; __watcher.doomer = arg3; __watcher.target = arg4; return __watcher; }
(2, function()
654
                {
655
                    
scr_debug_print
scr_debug_print

function
scr_debug_print()
{ if (!
scr_debug())
exit; } function scr_debug_clear_all() { }
("2");
656
                    with (obj_caterpillarchara)
657
                    {
658
                        if (name == "ralsei")
659
                        {
660
                            fun = 1;
661
                            sprite_set(id, 7157, 1, 0);
662
                        }
663
                    }
664
                });
665
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("flowery", "3");
666
                msgnextloc(
Face 3\VB* Aww,Delay 11 poor little guy.Wait for input
"\\E3\\VB* Aww^1, poor little guy./", "obj_dw_garden_susiechase_slash_Step_0_gml_878_0"
);
667
                msgnextloc(
Face 3\VQ* Kris,Delay 11 be nice to your buddy,Delay 11 okay?Wait for inputClose Message
"\\E3\\VQ* Kris^1, be nice to your buddy^1, okay?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_879_0"
);
668
                subcon = 2;
669
            }
670
            else
671
            {
672
                global.facing = 1;
673
                with (obj_caterpillarchara)
674
                {
675
                    if (name == "ralsei")
676
                        
scr_caterpillar_facing
scr_caterpillar_facing

function
scr_caterpillar_facing(arg0)
{ with (obj_caterpillarchara) { for (i = 0; i < 25; i += 1) facing[i] = arg0; } }
(1);
677
                }
678
                
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("flowery");
679
                msgsetloc(0, 
Face 2* Well,Delay 11 you know what they say.Wait for input
"\\E2* Well^1, you know what they say./", "obj_dw_garden_susiechase_slash_Step_0_gml_890_0"
);
680
                msgnextloc(
Face 0* Life's a freedom,Delay 11 it's better to choose your rights.Wait for input
"\\E0* Life's a freedom^1, it's better to choose your rights./", "obj_dw_garden_susiechase_slash_Step_0_gml_891_0"
);
681
                msgnextloc(
Face 2* ...Delay 11 but,Delay 11 don't forget,Delay 11 Raly.Wait for input
"\\E2* ..^1. but^1, don't forget^1, Raly./", "obj_dw_garden_susiechase_slash_Step_0_gml_892_0"
);
682
                msgnextloc(
Face 2\V0* Rules are just a suggestion.Wait for inputClose Message
"\\E2\\V0* Rules are just a suggestion./%", "obj_dw_garden_susiechase_slash_Step_0_gml_893_0"
);
683
                subcon = 1.8;
684
                disabledflowery = true;
685
            }
686
            d_make(undefined, undefined, undefined, 1);
687
        }
688
    }
689
    if (subcon == 1.8)
690
    {
691
        if (d_ex())
692
        {
693
            if (i_ex(obj_writer))
694
            {
695
                if (
scr_getmsgno
scr_getmsgno

function
scr_getmsgno()
{ if (instance_exists(obj_writer)) return obj_writer.msgno; }
() >= 2 && obj_writer.reachedend == true)
696
                {
697
                    global.flag[1391] = 2;
698
                    global.voiceclipmode = 0;
699
                    with (obj_dw_garden_susiechase)
700
                        resetlines = true;
701
                    subcon = 2;
702
                }
703
            }
704
        }
705
        else
706
        {
707
            subcon = 2;
708
        }
709
    }
710
    if (subcon == 2 && !d_ex())
711
    {
712
        var flowerywalkaway = function()
713
        {
714
            tempflowery = 
scr_marker_frominstance
scr_marker_frominstance

function
scr_marker_frominstance(arg0 = id, arg1 = false)
{ var obj = 1240; if (arg1) obj = 1498; var _marker = instance_create(arg0.x, arg0.y, obj); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; return _marker; } function scr_fog_marker_frominstance(arg0 = id, arg1 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fog); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.color = arg1; return _marker; } function scr_blend_marker_frominstance(arg0 = id, arg1 = 1) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_blend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; return _marker; } function scr_fogblend_marker_frominstance(arg0 = id, arg1 = 1, arg2 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fogblend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; _marker.color = arg2; return _marker; }
(fl.marker);
715
            tempflowery.sprite_index = spr_flowery_walk_right_cup;
716
            tempflowery.image_speed = 0.16666666666666666;
717
            tempflowery.hspeed = 4;
718
            
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ var _doom = instance_create_depth(0, 0, 0, obj_doom); with (_doom) { alarm[0]
 = arg1;</code>
gml_Object_obj_dw_garden_susiechase_Alarm_0.gml

con++;
target = arg0; } return _doom; }
(tempflowery, 320);
719
            fl.marker.visible = false;
720
        };
721
        
722
        var next = function()
723
        {
724
            subcon = 3;
725
            global.interact = 0;
726
            global.facing = 0;
727
            con = 5;
728
            
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate(arg0 = "none")
{ if (arg0 == "all") { with (obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else if (arg0 == "none") { if (object_index == obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else { with (obj_caterpillarchara) { if (name == arg0) scr_caterpillar_interpolate_old(); } } } function scr_caterinterp(arg0 = "none") {
scr_caterpillar_interpolate(arg0);
} function scr_caterpillar_interpolate_old() { var _newfacing = direction_to_object_bbox(id, 1200, true); remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (var _iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x + halign, _iaia / target); remy[_iaia] = lerp(obj_mainchara.y, y + valign, _iaia / target); facing[_iaia] = _newfacing; } }
("ralsei");
729
            scr_delay_var("grasscon", 1, 30);
730
        };
731
        
732
        subcon = -1;
733
        delay_function(flowerywalkaway, 15);
734
        delay_function(next, 80);
735
    }
736
    if (
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("FLLEAVE"))
737
        con = 5;
738
}
739
if (con == 5)
740
{
741
    susieribbons = true;
742
    subcon = 0;
743
    global.tempflag[52] = 0;
744
    with (fl)
745
        setxy(room_width * 4, y);
746
    with (obj_caterpillarchara)
747
    {
748
        if (name == "ralsei")
749
            fun = 0;
750
    }
751
    
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate(arg0 = "none")
{ if (arg0 == "all") { with (obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else if (arg0 == "none") { if (object_index == obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else { with (obj_caterpillarchara) { if (name == arg0) scr_caterpillar_interpolate_old(); } } } function scr_caterinterp(arg0 = "none") {
scr_caterpillar_interpolate(arg0);
} function scr_caterpillar_interpolate_old() { var _newfacing = direction_to_object_bbox(id, 1200, true); remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (var _iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x + halign, _iaia / target); remy[_iaia] = lerp(obj_mainchara.y, y + valign, _iaia / target); facing[_iaia] = _newfacing; } }
("ralsei");
752
    con = 6;
753
}
754
if (con == 6)
755
{
756
    var trig = 0;
757
    with (npc_shine)
758
    {
759
        if (myinteract >= 3)
760
            trig = 1;
761
    }
762
    if (trig)
763
    {
764
        global.interact = 1;
765
        with (npc_shine)
766
            x += (room_width * 2);
767
        con = 7;
768
    }
769
    if (
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("SKIPSU"))
770
    {
771
        with (npc_shine)
772
            scr_delay_var("x", x + (room_width * 2), 120);
773
        con = 9;
774
    }
775
}
776
if (con == 7)
777
{
778
    con = 8;
779
    
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
780
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
781
    tempflowery = scr_marker_fromasset(findsprite(spr_flowery_walk_left_cup, "CUTMID"));
782
    var camx = camerax();
783
    var camy = cameray();
784
    var camstart = 
785
    {
786
        x: camx,
787
        y: camy
788
    };
789
    var campos = findspriteinfo(spr_debug_cameraregionpreview, "CUTMID");
790
    var krstart = 
791
    {
792
        x: kr_actor.x,
793
        y: kr_actor.y
794
    };
795
    var rastart = 
796
    {
797
        x: ra_actor.x,
798
        y: ra_actor.y
799
    };
800
    var sustart = 
801
    {
802
        x: su_actor.x,
803
        y: su_actor.y
804
    };
805
    var krpos = findspriteinfo(spr_krisr_dark, "CUTMID");
806
    var rapos = findspriteinfo(spr_ralseir_lookdown, "CUTMID");
807
    var krwait = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(krstart, krpos, 4);
808
    var rawait = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(rastart, rapos, 4);
809
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
810
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
811
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
812
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(krpos.x, krpos.y, krwait);
813
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(krwait + 1, "r");
814
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
815
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(rapos.x, rapos.y, rawait);
816
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(rawait + 1, "r");
817
    
c_pan_fancy
c_pan_fancy

function
c_pan_fancy(arg0, arg1, arg2, arg3 = 
{ doround: true, easetype: "default" }) {
c_cmd("panfancy", arg0, arg1, arg2, arg3);
} function c_panobj_fancy(arg0, arg1, arg2 = { doround: true, easetype: "default" }) {
c_cmd("panfancyobj", arg0, arg1, arg2);
}
(campos.x, camstart.y, 30);
818
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(max(krwait, rawait, 30));
819
    if (!ralseis)
820
    {
821
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
822
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face F* Susie,Delay 11 Susie!Wait for input
"\\EF* Susie^1, Susie!/", "obj_dw_garden_susiechase_slash_Step_0_gml_1022_0"
);
823
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "7");
824
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 7* Dude!Delay 11 Look at this cool ribbon Flowery got me!Wait for input
"\\E7* Dude^1! Look at this cool ribbon Flowery got me!/", "obj_dw_garden_susiechase_slash_Step_0_gml_1024_0"
);
825
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "5");
826
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 5* I...Delay 11 I thought you didn't like ribbons!Wait for input
"\\E5* I..^1. I thought you didn't like ribbons!/", "obj_dw_garden_susiechase_slash_Step_0_gml_1026_0"
);
827
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "7");
828
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 7* Yeah,Delay 11 but this one's all spikey!Wait for input
"\\E7* Yeah^1, but this one's all spikey!/", "obj_dw_garden_susiechase_slash_Step_0_gml_1028_0"
);
829
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "8");
830
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 8* Haha,Delay 11 I see!Wait for inputClose Message
"\\E8* Haha^1, I see!/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1030_0"
);
831
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
832
        
c_wait_box_end
c_wait_box_end

function
c_wait_box_end(arg0 = 0)
{
c_cmd("waitboxend", arg0, 0, 0, 0);
}
(0);
833
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
834
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_left_dw_cup_ribbon);
835
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
836
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
837
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_right_dw_cup_ribbon);
838
    }
839
    else
840
    {
841
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
842
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
843
        
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
844
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
845
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face J*Wait for input
"\\EJ*/", "obj_dw_garden_susiechase_slash_Step_0_gml_1043_0"
);
846
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 7157, 0);
847
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face K*Wait for input
"\\EK*/", "obj_dw_garden_susiechase_slash_Step_0_gml_1044_0"
);
848
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 7157, 1);
849
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face J*Wait for inputClose Message
"\\EJ*/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1045_0"
);
850
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 7157, 2);
851
        c_talkwait();
852
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
853
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
854
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
855
    }
856
    c_panobj_fancy(kr_actor, 30);
857
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
858
    if (!ralseis)
859
    {
860
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
861
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
862
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("l");
863
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
864
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face A* Kris,Delay 11 we have to get over there now.Wait for inputClose Message
"\\EA* Kris^1, we have to get over there now./%", "obj_dw_garden_susiechase_slash_Step_0_gml_1075_0"
);
865
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
866
    }
867
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
868
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
869
    
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
870
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
871
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
872
}
873
if (con == 8)
874
{
875
    if (!instance_exists(obj_cutscene_master))
876
    {
877
        
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate(arg0 = "none")
{ if (arg0 == "all") { with (obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else if (arg0 == "none") { if (object_index == obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else { with (obj_caterpillarchara) { if (name == arg0) scr_caterpillar_interpolate_old(); } } } function scr_caterinterp(arg0 = "none") {
scr_caterpillar_interpolate(arg0);
} function scr_caterpillar_interpolate_old() { var _newfacing = direction_to_object_bbox(id, 1200, true); remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (var _iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x + halign, _iaia / target); remy[_iaia] = lerp(obj_mainchara.y, y + valign, _iaia / target); facing[_iaia] = _newfacing; } }
("ralsei");
878
        with (tempflowery)
879
            instance_destroy();
880
        con = 9;
881
        global.interact = 0;
882
        global.facing = 0;
883
    }
884
}
885
if (con == 9)
886
{
887
    if (ralseis && scr_trigcheck_ext("RALNPC", 1391))
888
    {
889
        subcon = 40;
890
        con = 10;
891
    }
892
    if (!ralseis && 
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("RALNPC"))
893
    {
894
        con = 10.5;
895
        global.interact = 1;
896
    }
897
}
898
if (subcon == 40)
899
{
900
    with (obj_caterpillarchara)
901
    {
902
        if (name == "ralsei")
903
        {
904
            visible = false;
905
            other.fakeralsei = 
scr_marker_frominstance
scr_marker_frominstance

function
scr_marker_frominstance(arg0 = id, arg1 = false)
{ var obj = 1240; if (arg1) obj = 1498; var _marker = instance_create(arg0.x, arg0.y, obj); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; return _marker; } function scr_fog_marker_frominstance(arg0 = id, arg1 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fog); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.color = arg1; return _marker; } function scr_blend_marker_frominstance(arg0 = id, arg1 = 1) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_blend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; return _marker; } function scr_fogblend_marker_frominstance(arg0 = id, arg1 = 1, arg2 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fogblend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; _marker.color = arg2; return _marker; }
(id);
906
        }
907
    }
908
    var ralnpc = findspriteinfo(spr_ralseid, "NPCs");
909
    if (instance_exists(fakeralsei))
910
    {
911
        var waittime = -1;
912
        subcon = 40.001;
913
        with (fakeralsei)
914
        {
915
            sprite_index = spr_ralseiu;
916
            image_speed = 0.25;
917
            waittime = max(round(abs(ralnpc.y - y) / 6), 1);
918
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", y, ralnpc.y, waittime);
919
        }
920
        if (waittime != -1)
921
            scr_delay_var("subcon", 41, waittime + 1);
922
    }
923
}
924
if (subcon == 41)
925
{
926
    var ralnpc = findspriteinfo(spr_ralseid, "NPCs");
927
    var waittime = -1;
928
    subcon = 41.001;
929
    with (fakeralsei)
930
    {
931
        sprite_index = spr_ralseir;
932
        image_speed = 0.25;
933
        waittime = max(round(abs(ralnpc.x - x) / 6), 1);
934
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, ralnpc.x, waittime);
935
    }
936
    if (waittime != -1)
937
        scr_delay_var("subcon", 42, waittime + 1);
938
}
939
if (subcon == 42)
940
{
941
    with (fakeralsei)
942
    {
943
        sprite_index = spr_ralseid;
944
        image_speed = 0;
945
        image_index = 0;
946
    }
947
    ralsei_npc = scr_makenpc_from_marker(fakeralsei);
948
    with (ralsei_npc)
949
    {
950
        issolid = false;
951
        failure = false;
952
        markerstick = false;
953
    }
954
    subcon = 0;
955
}
956
with (fakeralsei)
957
    
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
958
with (ralsei_npc)
959
{
960
    dofail = function()
961
    {
962
        failure++;
963
        if (failure < 5)
964
        {
965
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
(marker, 8);
966
            with (marker)
967
            {
968
                if (sprite_index != spr_ralsei_sweaty_dark)
969
                    sprite_index = spr_ralsei_sweaty_dark;
970
                else
971
                    image_index++;
972
            }
973
        }
974
        else if (failure == 5)
975
        {
976
            if (marker.sprite_index != spr_ralsei_splat_dark)
977
            {
978
                snd_play(snd_splat);
979
                marker.sprite_index = spr_ralsei_splat_dark;
980
            }
981
        }
982
        else if (failure == 10)
983
        {
984
            with (obj_dw_garden_susiechase)
985
            {
986
                failcon = 1;
987
                myinteract = 999;
988
            }
989
        }
990
    };
991
    
992
    if (myinteract == 3)
993
    {
994
        
scr_debug_print
scr_debug_print

function
scr_debug_print()
{ if (!
scr_debug())
exit; } function scr_debug_clear_all() { }
(failure);
995
        global.interact = 1;
996
        
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
997
        msgsetloc(0, 
Face K*Wait for inputClose Message
"\\EK*/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1202_0"
);
998
        var faceArray = ["9", "K", "N", "P", "Q", "R"];
999
        var failface = min(failure, 5);
1000
        msgsetsub(0, "\\E~1*/%", faceArray[failface]);
1001
        d_make();
1002
        myinteract = 999;
1003
        talked++;
1004
    }
1005
    if (myinteract == 999 && !d_ex())
1006
    {
1007
        myinteract = 0;
1008
        global.interact = 0;
1009
    }
1010
}
1011
if (con == 10)
1012
{
1013
    if (global.interact == 0 && puzzlesolved == true)
1014
    {
1015
        global.interact = 1;
1016
        fakeralsei = 
scr_marker_frominstance
scr_marker_frominstance

function
scr_marker_frominstance(arg0 = id, arg1 = false)
{ var obj = 1240; if (arg1) obj = 1498; var _marker = instance_create(arg0.x, arg0.y, obj); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; return _marker; } function scr_fog_marker_frominstance(arg0 = id, arg1 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fog); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.color = arg1; return _marker; } function scr_blend_marker_frominstance(arg0 = id, arg1 = 1) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_blend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; return _marker; } function scr_fogblend_marker_frominstance(arg0 = id, arg1 = 1, arg2 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fogblend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; _marker.color = arg2; return _marker; }
(ralsei_npc.marker);
1017
        with (ralsei_npc)
1018
        {
1019
            marker.visible = false;
1020
            setxy(room_width * 2, y);
1021
            setxy(room_width * 2, y, marker);
1022
        }
1023
        var krx = obj_mainchara.x - 2;
1024
        var kry = obj_mainchara.y - 12;
1025
        var xspot = [];
1026
        xspot[0] = [krx, kry - 60];
1027
        xspot[1] = [krx - 60, kry];
1028
        xspot[2] = [krx + 60, kry];
1029
        xspot[3] = [krx, kry + 60];
1030
        var loc = [0, 0];
1031
        for (var i = 0; i < array_length(xspot); i++)
1032
        {
1033
            if (!instance_place(xspot[i][0], xspot[i][1], obj_solidblock))
1034
            {
1035
                loc = xspot[i];
1036
                show_debug_message_concat("found a good spot:", loc, " option:", i);
1037
                break;
1038
            }
1039
        }
1040
        with (fakeralsei)
1041
        {
1042
            var facing = direction_to_object_bbox(id, 1200, 1);
1043
            if (facing == 0)
1044
                sprite_index = spr_ralseid;
1045
            if (facing == 1)
1046
                sprite_index = spr_ralseir;
1047
            if (facing == 2)
1048
                sprite_index = spr_ralseiu;
1049
            if (facing == 3)
1050
                sprite_index = spr_ralseil;
1051
            image_speed = 0.25;
1052
            var waittime = 
scr_returnwait
scr_returnwait

function
scr_returnwait(arg0, arg1, arg2, arg3, arg4)
{ return max(1, round(point_distance(arg0, arg1, arg2, arg3) / arg4)); }
(x, y, loc[0], loc[1], 6);
1053
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, loc[0], waittime);
1054
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", y, loc[1], waittime);
1055
            
1056
            var endwalk = function()
1057
            {
1058
                global.interact = 0;
1059
                global.facing = 0;
1060
                with (obj_caterpillarchara)
1061
                {
1062
                    if (name == "ralsei")
1063
                    {
1064
                        setxy(other.x, other.y);
1065
                        visible = true;
1066
                        follow = true;
1067
                        
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate(arg0 = "none")
{ if (arg0 == "all") { with (obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else if (arg0 == "none") { if (object_index == obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else { with (obj_caterpillarchara) { if (name == arg0) scr_caterpillar_interpolate_old(); } } } function scr_caterinterp(arg0 = "none") {
scr_caterpillar_interpolate(arg0);
} function scr_caterpillar_interpolate_old() { var _newfacing = direction_to_object_bbox(id, 1200, true); remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (var _iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x + halign, _iaia / target); remy[_iaia] = lerp(obj_mainchara.y, y + valign, _iaia / target); facing[_iaia] = _newfacing; } }
(name);
1068
                    }
1069
                }
1070
                with (obj_dw_garden_susiechase)
1071
                    con = 20;
1072
                instance_destroy();
1073
            };
1074
            
1075
            delay_function(endwalk, waittime);
1076
        }
1077
    }
1078
}
1079
if (con == 10.5)
1080
{
1081
    con = 11;
1082
    
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
1083
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
1084
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
1085
    var camx = camerax();
1086
    var camy = cameray();
1087
    var camstart = 
1088
    {
1089
        x: camx,
1090
        y: camy
1091
    };
1092
    var campos = findspriteinfo(spr_debug_cameraregionpreview, "CUT_PUZZLE");
1093
    var krstart = 
1094
    {
1095
        x: kr_actor.x,
1096
        y: kr_actor.y
1097
    };
1098
    var rastart = 
1099
    {
1100
        x: ra_actor.x,
1101
        y: ra_actor.y
1102
    };
1103
    var sustart = 
1104
    {
1105
        x: su_actor.x,
1106
        y: su_actor.y
1107
    };
1108
    var krpos = findspriteinfo(spr_krisr_heart, "CUT_PUZZLE");
1109
    var krwaittime = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(krstart, krpos, 4);
1110
    var rapos = findspriteinfo(spr_ralseir, "CUT_PUZZLE");
1111
    var rawaittime = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(rastart, rapos, 6);
1112
    var waittime = max(rawaittime, krwaittime);
1113
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1114
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(rapos.x, rapos.y, rawaittime);
1115
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(rawaittime + 1, "r");
1116
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
1117
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(krpos.x, krpos.y, krwaittime);
1118
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(krwaittime + 1, "r");
1119
    
c_pan_fancy
c_pan_fancy

function
c_pan_fancy(arg0, arg1, arg2, arg3 = 
{ doround: true, easetype: "default" }) {
c_cmd("panfancy", arg0, arg1, arg2, arg3);
} function c_panobj_fancy(arg0, arg1, arg2 = { doround: true, easetype: "default" }) {
c_cmd("panfancyobj", arg0, arg1, arg2);
}
(campos.x, campos.y, waittime + 1);
1120
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(waittime + 1);
1121
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1122
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
1123
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 1* Oh...Delay 11 a...Delay 11 puzzle!Wait for inputClose Message
"\\E1* Oh..^1. a..^1. puzzle!/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1317_0"
);
1124
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
1125
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1126
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1127
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_kick_dark);
1128
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
1129
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1130
    {
1131
        with (obj_actor)
1132
        {
1133
            if (name == "ralsei")
1134
            {
1135
                image_index = 0;
1136
                
1137
                var kick = function()
1138
                {
1139
                    image_index = 1;
1140
                    snd_play(snd_bump);
1141
                    var block = -4;
1142
                    with (obj_pushable_block)
1143
                    {
1144
                        if (!i_ex(block))
1145
                            block = id;
1146
                        else if (x < block.x)
1147
                            block = id;
1148
                    }
1149
                    with (block)
1150
                        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, x + 40, 12, -1, "out");
1151
                    scr_delay_var("image_index", 2, 2);
1152
                    scr_delay_var("image_index", 3, 4);
1153
                };
1154
                
1155
                delay_function(kick, 2);
1156
            }
1157
        }
1158
    });
1159
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1160
    var raposkick = findspriteinfo(spr_ralsei_kick_dark, "CUT_PUZZLE");
1161
    var rawaitk = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(rapos, raposkick, 6);
1162
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1163
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(1);
1164
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(raposkick.x, raposkick.y, rawaitk);
1165
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(rawaitk + 15);
1166
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
1167
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1168
    {
1169
        with (obj_floorswitch)
1170
            actsound = -4;
1171
        with (obj_actor)
1172
        {
1173
            if (name == "ralsei")
1174
            {
1175
                var animspeed = 2;
1176
                sprite_index = spr_ralsei_kick_dark;
1177
                image_index = 0;
1178
                scr_delay_var("image_index", 1, animspeed * 1);
1179
                snd_play_delay(snd_hit, 2);
1180
                scr_delay_var("image_index", 1, animspeed * 2);
1181
                scr_delay_var("image_index", 1, animspeed * 3);
1182
                
1183
                var resetSpr = function()
1184
                {
1185
                    sprite_index = rsprite;
1186
                    image_index = 0;
1187
                    auto_walk = 1;
1188
                    auto_facing = 1;
1189
                };
1190
                
1191
                delay_function(resetSpr, animspeed * 4);
1192
            }
1193
        }
1194
        delay_function(quicksolve, 2);
1195
    });
1196
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
1197
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1198
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("l");
1199
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
1200
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 6* We...Delay 11 don't need to spend time doing this,Delay 11 right,Delay 11 Kris?Wait for inputClose Message
"\\E6* We..^1. don't need to spend time doing this^1, right^1, Kris?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1390_0"
);
1201
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
1202
    var rapos2 = findspriteinfo(spr_ralseir_blush, "CUT_PUZZLE");
1203
    var waittimera2 = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(rapos, rapos2, 4);
1204
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1205
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(rapos2.x, rapos2.y, waittimera2);
1206
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(waittimera2 + 1, "r");
1207
    c_panobj_fancy(kr_actor, waittimera2 + 1);
1208
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(waittimera2 + 2);
1209
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
1210
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
1211
    
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
1212
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
1213
}
1214
if (con == 11 && !instance_exists(obj_cutscene_master))
1215
{
1216
    con = 20;
1217
    global.interact = 0;
1218
    global.facing = 0;
1219
}
1220
if (con == 20)
1221
{
1222
    if (
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("CUT2"))
1223
    {
1224
        global.interact = 1;
1225
        con = 21;
1226
    }
1227
}
1228
if (con == 21)
1229
{
1230
    con = 22;
1231
    
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
1232
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
1233
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
1234
    
c_msgside
c_msgside

function
c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
}
("bottom");
1235
    var camx = camerax();
1236
    var camy = cameray();
1237
    var camstart = 
1238
    {
1239
        x: camx,
1240
        y: camy
1241
    };
1242
    var krstart = 
1243
    {
1244
        x: kr_actor.x,
1245
        y: kr_actor.y
1246
    };
1247
    var rastart = 
1248
    {
1249
        x: ra_actor.x,
1250
        y: ra_actor.y
1251
    };
1252
    var sustart = 
1253
    {
1254
        x: su_actor.x,
1255
        y: su_actor.y
1256
    };
1257
    var kr1 = findspriteinfo(spr_krisl_dark, "CUT2");
1258
    var ra1 = findspriteinfo(spr_ralsei_left, "CUT2");
1259
    var walkspeed = 4;
1260
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1261
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_right_dw_cup_ribbon);
1262
    var krwait1 = max(abs(krstart.y - kr1.y) / walkspeed, 1);
1263
    var krwait2 = max(abs(krstart.x - kr1.x) / walkspeed, 1);
1264
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
1265
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(krstart.x, kr1.y, krwait1);
1266
    
c_delaywalkdirect
c_delaywalkdirect

function
c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
}
(krwait1, kr1.x, kr1.y, krwait2);
1267
    var rawait1 = max(abs(rastart.y - ra1.y) / walkspeed, 1);
1268
    var rawait2 = max(abs(rastart.x - ra1.x) / walkspeed, 1);
1269
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1270
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(rastart.x, ra1.y, rawait1);
1271
    
c_delaywalkdirect
c_delaywalkdirect

function
c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
}
(rawait1, ra1.x, ra1.y, rawait2);
1272
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1273
    {
1274
        snd_volume(global.currentsong[1], 0, 40);
1275
    });
1276
    var campos = findspriteinfo(spr_debug_cameraregionpreview, "CUT2", c_yellow);
1277
    var camwait = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(camstart, campos, 2);
1278
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(campos.x, campos.y, camwait);
1279
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(max(krwait1 + krwait2, rawait1 + rawait2));
1280
    flowery = scr_marker_fromasset(findsprite(spr_flowery_walk_downleft, "CUT2", c_fuchsia));
1281
    flowery.x = campos.x + 640 + 40;
1282
    
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
(flowery);
1283
    flowery.image_blend = c_white;
1284
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1285
    if (ralseis == true)
1286
    {
1287
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
1288
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 7* Hey,Delay 11 guys!Delay 11 What's up?Wait for input
"\\E7* Hey^1, guys^1! What's up?/", "obj_dw_garden_susiechase_slash_Step_0_gml_1489_0"
);
1289
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "J");
1290
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face J* Wait for input
"\\EJ* /", "obj_dw_garden_susiechase_slash_Step_0_gml_1491_0"
);
1291
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "6");
1292
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 6* ...Delay 11 Ralsei?Wait for inputClose Message
"\\E6* ..^1. Ralsei?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1493_0"
);
1293
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1294
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1295
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1296
        {
1297
            with (flowery)
1298
            {
1299
                var flend = findspriteinfo(spr_flowery_pose_point_cooler, "CUT2", #FF7F7F);
1300
                setxy(camerax() + 640, flend.y);
1301
                sprite_index = spr_flowery_walk_downleft;
1302
                var waittime = 
scr_returnwait
scr_returnwait

function
scr_returnwait(arg0, arg1, arg2, arg3, arg4)
{ return max(1, round(point_distance(arg0, arg1, arg2, arg3) / arg4)); }
(x, y, flend.x, flend.y, 4);
1303
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, flend.x, waittime);
1304
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", y, flend.y, waittime);
1305
                show_debug_message_concat("waittime=", waittime);
1306
                image_speed = 0.25;
1307
                
1308
                var endwalk = function()
1309
                {
1310
                    image_index = 0;
1311
                    image_speed = 0;
1312
                };
1313
                
1314
                delay_function(endwalk, waittime - 1);
1315
            }
1316
        });
1317
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(41);
1318
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1319
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
1320
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
1321
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1322
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
1323
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("flowery");
1324
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 3\Vi* Kris,Delay 11 don't bully your friend like that.Wait for input
"\\E3\\Vi* Kris^1, don't bully your friend like that./", "obj_dw_garden_susiechase_slash_Step_0_gml_1527_0"
);
1325
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 0\Vd* Here.Delay 11 Have some healing pollen.Wait for inputClose Message
"\\E0\\Vd* Here^1. Have some healing pollen./%", "obj_dw_garden_susiechase_slash_Step_0_gml_1528_0"
);
1326
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1327
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1328
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1329
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1330
        {
1331
            snd_play(snd_wing, 0.6);
1332
            flowery.sprite_index = spr_flowery_pose_point_cooler;
1333
            snd_play(snd_sparkle_glock);
1334
            dustup();
1335
        });
1336
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1337
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("d");
1338
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(12);
1339
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1340
        {
1341
            with (flowery)
1342
                sprite_index = spr_flowery_walk_left_cup;
1343
        });
1344
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1345
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1346
        {
1347
            ralseicough();
1348
        });
1349
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(45);
1350
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
1351
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
1352
        
c_msgstay
c_msgstay

function
c_msgstay(arg0)
{
c_cmd("msgstay", arg0, 0, 0, 0);
}
(8);
1353
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
1354
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* Kris,Delay 11 I-I'm sorry...Delay 11 I...Wait for input
"\\E4* Kris^1, I-I'm sorry..^1. I.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1574_0"
);
1355
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 1069);
1356
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 5* I shouldn't have told you to use the CONFIG MENU,Delay 11 to...Wait for input
"\\E5* I shouldn't have told you to use the CONFIG MENU^1, to.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1575_0"
);
1357
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 716);
1358
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "6");
1359
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 6* The...Delay 11 menu?Delay 11 What's that?Wait for inputClose Message
"\\E6* The..^1. menu^1? What's that?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1577_0"
);
1360
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(su, 4897);
1361
        
c_msgsprite
c_msgsprite

function
c_msgsprite(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1)
{ var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_cmd_x("msgcmd", "var", arg0, "sprite_index", arg1, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_index", arg2, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_speed", arg3, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", arg0, "image_blend", arg5, 0, 0);
} else {
c_sel(arg0);
if (arg1 != -1)
c_cmd_x("msgcmd", "sprite", arg1, 0, 0, 0, 0);
if (arg2 != -1)
c_cmd_x("msgcmd", "imageindex", arg2, 0, 0, 0, 0);
if (arg3 != -1)
c_cmd_x("msgcmd", "imagespeed", arg3, 0, 0, 0, 0);
if (arg4 != -1)
c_cmd_x("msgcmd", "var", 0, "image_alpha", arg4, 0, 0);
if (arg5 != -1)
c_cmd_x("msgcmd", "var", 0, "image_blend", arg5, 0, 0);
} } function c_sprite_set(arg0, arg1 = -1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg0 > actorcount && instance_exists(arg0)) { if (arg1 != -1)
c_var_instance(arg0, "sprite_index", arg1);
if (arg2 != -1)
c_var_instance(arg0, "image_index", arg2);
if (arg3 != -1)
c_var_instance(arg0, "image_speed", arg3);
if (arg4 != -1)
c_var_instance(arg0, "image_alpha", arg4);
if (arg5 != -1)
c_var_instance(arg0, "image_blend", arg5);
} else {
c_sel(arg0);
if (arg1 != -1)
c_var("sprite_index", arg1);
if (arg2 != -1)
c_var("image_index", arg2);
if (arg3 != -1)
c_var("image_speed", arg3);
if (arg4 != -1)
c_var("image_alpha", arg4);
if (arg5 != -1)
c_var("image_blend", arg5);
} } function c_delay_sprite(arg0, arg1, arg2 = -1, arg3 = -1, arg4 = -1, arg5 = -1, arg6 = -1) { var actorcount = 0; with (obj_cutscene_master) actorcount = array_length(actor_id); if (arg1 > actorcount && instance_exists(arg1)) {
c_delay_customfunc(arg0, function(arg0)
{ var actor = arg0[0]; var spr = arg0[1]; var index = arg0[2]; var spd = arg0[3]; var alpha = arg0[4]; var blend = arg0[5]; with (actor) { if (spr != -1) sprite_index = spr; if (index != -1) image_index = index; if (spd != -1) image_speed = spd; if (alpha != -1) image_alpha = alpha; if (blend != -1) image_blend = blend; } }, [arg1, arg2, arg3, arg4, arg5, arg6]); } else {
c_delay_customfunc(arg0, function(arg0)
...
(ra, 1069);
1362
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
1363
    }
1364
    else
1365
    {
1366
        if (global.flag[1391] == 1)
1367
        {
1368
            
c_msgstay
c_msgstay

function
c_msgstay(arg0)
{
c_cmd("msgstay", arg0, 0, 0, 0);
}
(8);
1369
            
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
1370
            
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 7* Hey,Delay 11 Ralsei,Delay 11 Kris!Wait for input
"\\E7* Hey^1, Ralsei^1, Kris!/", "obj_dw_garden_susiechase_slash_Step_0_gml_1589_0"
);
1371
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face K* Kris,Delay 11 hey,Delay 11 Flowery's voice thing doesn't work anymore.Wait for input
"\\EK* Kris^1, hey^1, Flowery's voice thing doesn't work anymore./", "obj_dw_garden_susiechase_slash_Step_0_gml_1590_0"
);
1372
            
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "L");
1373
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face L* Ha,Delay 11 right.Delay 11 Because Kris turned it off in the menu.Wait for inputClose Message
"\\EL* Ha^1, right^1. Because Kris turned it off in the menu./%", "obj_dw_garden_susiechase_slash_Step_0_gml_1592_0"
);
1374
            
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1375
            
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1376
        }
1377
        else
1378
        {
1379
            
c_msgstay
c_msgstay

function
c_msgstay(arg0)
{
c_cmd("msgstay", arg0, 0, 0, 0);
}
(8);
1380
            
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
1381
            
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 2* Hey guys,Delay 11 what's up?Wait for input
"\\E2* Hey guys^1, what's up?/", "obj_dw_garden_susiechase_slash_Step_0_gml_1600_0"
);
1382
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* Flowery's voice lines are kinda funny,Delay 11 huh?Wait for input
"\\E9* Flowery's voice lines are kinda funny^1, huh?/", "obj_dw_garden_susiechase_slash_Step_0_gml_1601_0"
);
1383
            
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "K");
1384
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face K* Umm...Delay 11 ha ha...Delay 11 w-well...Wait for input
"\\EK* Umm..^1. ha ha..^1. w-well.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1603_0"
);
1385
            
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "9");
1386
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* 'Specially "Help!Delay 11 You're eating my flesh!" Cracks me up,Delay 11 man.Wait for input
"\\E9* 'Specially \"Help^1! You're eating my flesh!\" Cracks me up^1, man./", "obj_dw_garden_susiechase_slash_Step_0_gml_1605_0"
);
1387
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 7* ...Delay 11 hey,Delay 11 think I could learn how to do 'em,Delay 11 too?Wait for input
"\\E7* ..^1. hey^1, think I could learn how to do 'em^1, too?/", "obj_dw_garden_susiechase_slash_Step_0_gml_1606_0"
);
1388
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face A* Like...Delay 11 when I do a sick move,Delay 11 its name,Delay 11 I could like...Wait for input
"\\EA* Like..^1. when I do a sick move^1, its name^1, I could like.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1607_0"
);
1389
            
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "J");
1390
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face J* Umm,Delay 11 well,Delay 11 actually...Wait for input
"\\EJ* Umm^1, well^1, actually.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1609_0"
);
1391
            
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face K* Perhaps,Delay 11 Kris might end up turning them off in the MENU,Delay 11 s-so...Wait for inputClose Message
"\\EK* Perhaps^1, Kris might end up turning them off in the MENU^1, s-so.../%", "obj_dw_garden_susiechase_slash_Step_0_gml_1610_0"
);
1392
            
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1393
            
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1394
        }
1395
        
c_msgstay
c_msgstay

function
c_msgstay(arg0)
{
c_cmd("msgstay", arg0, 0, 0, 0);
}
(10);
1396
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1397
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_right_dw_cup_ribbonunhappy);
1398
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1399
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
1400
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 6* The...Delay 11 menu?Delay 11 What's that?Wait for inputClose Message
"\\E6* The..^1. menu^1? What's that?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1620_0"
);
1401
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
1402
    }
1403
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1404
    {
1405
        with (flowery)
1406
        {
1407
            hspeed = 4;
1408
            sprite_index = spr_flowery_walk_right_mindingmyownbusiness;
1409
            image_speed = 0.25;
1410
        }
1411
    });
1412
    
c_msgstay
c_msgstay

function
c_msgstay(arg0)
{
c_cmd("msgstay", arg0, 0, 0, 0);
}
(0);
1413
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1414
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_sweaty_dark);
1415
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
1416
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
1417
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 3* H-huh?Delay 11 I...Delay 11 um...Wait for input
"\\E3* H-huh^1? I..^1. um.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1638_0"
);
1418
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 1* ...Wait for inputClose Message
"\\E1* .../%", "obj_dw_garden_susiechase_slash_Step_0_gml_1639_0"
);
1419
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1420
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
1421
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1422
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
1423
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseil_lookdown);
1424
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1425
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1426
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
1427
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1428
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1429
    {
1430
        with (ra_actor)
1431
        {
1432
            auto_depth = false;
1433
            depth = 500;
1434
        }
1435
        fade = 
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, arg12 = false)
{ var objinst = 1240; if (arg12) objinst = 1498; var thismarker = instance_create(arg0, arg1, objinst); 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_alt();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; } function scr_marker_fromasset(arg0, arg1 = depth, arg2 = false, arg3 = false) { if (is_undefined(arg0)) { debug_message("Warning: scr_marker_fromasset() sprite_instance didn't exist"); return -4; } var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var imagespeed = layer_sprite_get_speed(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var markertype = 1240; if (arg3) markertype = 1498; var thismarker = instance_create_depth(xloc, yloc, arg1, markertype); with (thismarker) { sprite_index = sprite; image_index = index; image_speed = imagespeed; image_xscale = xscale; image_yscale = yscale; image_angle = angle; image_blend = blend; image_alpha = alpha; if (arg2)
scr_depth_alt(id, arg2);
} return thismarker; } function scr_assetgetinfo(arg0) { var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var imagespeed = layer_sprite_get_speed(arg0); return [sprite, index, xloc, yloc, xscale, yscale, angle, blend, alpha, imagespeed]; }
(camerax() - 40, cameray() - 40, spr_pxwhite, 720, 560, undefined, undefined, c_black, 510, undefined, undefined, 0);
1436
        with (fade)
1437
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 0, 0.8, 30);
1438
    });
1439
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
1440
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
1441
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 5* No,Delay 11 Susie,Delay 11 I...Wait for input
"\\E5* No^1, Susie^1, I.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1669_0"
);
1442
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 6* I won't avoid the truth anymore.Wait for input
"\\E6* I won't avoid the truth anymore./", "obj_dw_garden_susiechase_slash_Step_0_gml_1670_0"
);
1443
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 5* Even...Delay 11 even if it sounds strange!Wait for input
"\\E5* Even..^1. even if it sounds strange!/", "obj_dw_garden_susiechase_slash_Step_0_gml_1671_0"
);
1444
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 1* ...Delay 11 listen.Wait for inputClose Message
"\\E1* ..^1. listen./%", "obj_dw_garden_susiechase_slash_Step_0_gml_1672_0"
);
1445
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1446
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
1447
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1448
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseiu);
1449
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(4);
1450
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1451
    {
1452
        fade2 = 
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, arg12 = false)
{ var objinst = 1240; if (arg12) objinst = 1498; var thismarker = instance_create(arg0, arg1, objinst); 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_alt();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; } function scr_marker_fromasset(arg0, arg1 = depth, arg2 = false, arg3 = false) { if (is_undefined(arg0)) { debug_message("Warning: scr_marker_fromasset() sprite_instance didn't exist"); return -4; } var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var imagespeed = layer_sprite_get_speed(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var markertype = 1240; if (arg3) markertype = 1498; var thismarker = instance_create_depth(xloc, yloc, arg1, markertype); with (thismarker) { sprite_index = sprite; image_index = index; image_speed = imagespeed; image_xscale = xscale; image_yscale = yscale; image_angle = angle; image_blend = blend; image_alpha = alpha; if (arg2)
scr_depth_alt(id, arg2);
} return thismarker; } function scr_assetgetinfo(arg0) { var sprite = layer_sprite_get_sprite(arg0); var index = layer_sprite_get_index(arg0); var xloc = layer_sprite_get_x(arg0); var yloc = layer_sprite_get_y(arg0); var xscale = layer_sprite_get_xscale(arg0); var yscale = layer_sprite_get_yscale(arg0); var angle = layer_sprite_get_angle(arg0); var blend = layer_sprite_get_blend(arg0); var alpha = layer_sprite_get_alpha(arg0); var imagespeed = layer_sprite_get_speed(arg0); return [sprite, index, xloc, yloc, xscale, yscale, angle, blend, alpha, imagespeed]; }
(camerax() - 40, cameray() - 40, spr_pxwhite, 720, 560, undefined, undefined, c_black, 490, undefined, undefined, 0);
1453
        with (fade2)
1454
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 0, 1, 60);
1455
    });
1456
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1457
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
1458
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1459
    {
1460
        flashback = snd_init("flashback_excerpt.ogg");
1461
        flashbackloop = snd_loop(flashback);
1462
        instance_create_depth(0, 0, 480, obj_dw_garden_susiechase_darknessexplanation_new);
1463
    });
1464
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
There's...Delay 11 something special.Delay 11 About the Dark World.Wait for input
"There's..^1. something special^1. About the Dark World./", "obj_dw_garden_susiechase_slash_Step_0_gml_1692_0"
);
1465
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Next time we fight the enemy...Wait for input
"Next time we fight the enemy.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1693_0"
);
1466
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
If you close your eyes hard...Wait for input
"If you close your eyes hard.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1694_0"
);
1467
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
...Delay 11 and look,Delay 11 carefully,Delay 11 past the edge of your periphery...Wait for input
"..^1. and look^1, carefully^1, past the edge of your periphery.../", "obj_dw_garden_susiechase_slash_Step_0_gml_1695_0"
);
1468
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
You'll recognize it.Wait for input
"You'll recognize it./", "obj_dw_garden_susiechase_slash_Step_0_gml_1696_0"
);
1469
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Another layer.Wait for input
"Another layer./", "obj_dw_garden_susiechase_slash_Step_0_gml_1697_0"
);
1470
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
One normally seen only in your subconscious.Wait for input
"One normally seen only in your subconscious./", "obj_dw_garden_susiechase_slash_Step_0_gml_1698_0"
);
1471
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Something that looks like...Delay 11 symbols.Wait for input
"Something that looks like..^1. symbols./", "obj_dw_garden_susiechase_slash_Step_0_gml_1699_0"
);
1472
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
That...Delay 11 is...Wait for inputClose Message
"That..^1. is.../%", "obj_dw_garden_susiechase_slash_Step_0_gml_1700_0"
);
1473
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1474
    {
1475
        global.typer = 202;
1476
        instance_create_depth(camerax() + 58, cameray() + 340, 0, obj_writer);
1477
        writerwatcher = true;
1478
    });
1479
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
1480
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1481
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("l");
1482
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1483
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_armsback_ribbon);
1484
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1485
    {
1486
        with (obj_dw_garden_susiechase_darknessexplanation_new)
1487
            instance_destroy();
1488
        snd_play(snd_whip_crack_only);
1489
        with (fade)
1490
            instance_destroy();
1491
        with (fade2)
1492
            instance_destroy();
1493
        snd_stop(flashbackloop);
1494
        snd_free(flashback);
1495
    });
1496
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
1497
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 7* Oh,Delay 11 THAT stuff?Delay 11 Yeah,Delay 11 I know about that.Wait for input
"\\E7* Oh^1, THAT stuff^1? Yeah^1, I know about that./", "obj_dw_garden_susiechase_slash_Step_0_gml_1726_0"
);
1498
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "9");
1499
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* Y-you do?Wait for input
"\\E9* Y-you do?/", "obj_dw_garden_susiechase_slash_Step_0_gml_1728_0"
);
1500
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1501
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("sprite", 7947);
1502
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1503
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("sprite", 7860);
1504
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("shakeobj");
1505
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("soundplay", 301);
1506
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face K* ...Delay 11 umm,Delay 11 how?Wait for input
"\\EK* ..^1. umm^1, how?/", "obj_dw_garden_susiechase_slash_Step_0_gml_1735_0"
);
1507
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1508
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("sprite", 7326);
1509
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "7");
1510
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 7* Flowery told me.Wait for input
"\\E7* Flowery told me./", "obj_dw_garden_susiechase_slash_Step_0_gml_1739_0"
);
1511
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "A");
1512
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face A* He...Delay 11 he TOLD YOU!?Delay 11 A-About!?Wait for inputClose Message
"\\EA* He..^1. he TOLD YOU!^1? A-About!?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1741_0"
);
1513
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1514
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("sprite", 7860);
1515
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("shakeobj");
1516
    
c_msgcmd
c_msgcmd

function
c_msgcmd(arg0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("msgcmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
("soundplay", 301);
1517
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1518
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1519
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1520
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1521
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
1522
    
c_autofacing
c_autofacing

function
c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
}
(0);
1523
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("l");
1524
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1525
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1526
    {
1527
        with (instance_create_depth(0, 0, 0, obj_object))
1528
        {
1529
            step_func = function()
1530
            {
1531
                var _trig = false;
1532
                with (obj_smallface)
1533
                    _trig = true;
1534
                if (_trig == true)
1535
                {
1536
                    snd_play_flowery(645);
1537
                    instance_destroy();
1538
                }
1539
                if (!instance_exists(obj_cutscene_master))
1540
                    instance_destroy();
1541
            };
1542
        }
1543
    });
1544
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
1545
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face C* ...Delay 11 WHAT.Delay 11 Are you drinking?Wait for input
"\\EC* ..^1. WHAT^1. Are you drinking?/", "obj_dw_garden_susiechase_slash_Step_0_gml_1759_0"
);
1546
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "7");
1547
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 7* Fruit punch.Delay 11 Flowery made it.Delay 11 Want some?Mini text 0 Wait for input
"\\E7* Fruit punch^1. Flowery made it^1. Want some?\\f0/", "obj_dw_garden_susiechase_slash_Step_0_gml_1761_0"
);
1548
    var smfloc = [327, 72];
1549
    if (global.lang == "ja")
1550
        smfloc = [307, 72];
1551
    var smallfacetext = stringsetloc(
You're eating my flesh.
"You're eating my flesh.", "obj_dw_garden_susiechase_slash_Step_0_gml_1764_0"
);
1552
    
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "ralsei" && global.flag[1311]) global.smsprite[arg0] = spr_face_r_dark; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "flowery") global.smsprite[arg0] = spr_face_flowery; if (arg1 == "toriel") global.smsprite[arg0] = spr_face_t0; if (arg1 == "opuppet") { global.smsprite[arg0] = spr_miniface_orange; global.smcolor[arg0] = c_orange; global.smshake[arg0] = 1; } if (arg1 == "sans") global.smsprite[arg0] = asset_get_index("spr_face_sans" + string(arg2)); var flower_list = ["orange", "aqua", "green", "seth", "blue", "yellow"]; for (var i = 0; i < array_length(flower_list); i++) { if (arg1 != flower_list[i]) continue; global.smsprite[arg0] = spr_empty; break; } if (arg1 == "orange") global.smcolor[arg0] = #FFAC87; if (arg1 == "aqua") global.smcolor[arg0] = #84F9FF; if (arg1 == "green") global.smcolor[arg0] = #AEFFBC; if (arg1 == "seth") global.smcolor[arg0] = #E2A8FC; if (arg1 == "blue") global.smcolor[arg0] = #86A7FF; if (arg1 == "yellow") global.smcolor[arg0] = #FFF8A1; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } ...
(0, "flowery", 0, smfloc[0], smfloc[1], smallfacetext);
1553
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "H");
1554
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face H* Umm,Delay 11 no.Delay 11 I'm fine,Delay 11 thank you.Delay 11 Haha.Wait for inputClose Message
"\\EH* Umm^1, no^1. I'm fine^1, thank you^1. Haha./%", "obj_dw_garden_susiechase_slash_Step_0_gml_1767_0"
);
1555
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
1556
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1557
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseil_slightannoyed);
1558
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
1559
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(4);
1560
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseil_lookdown);
1561
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
1562
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1563
    {
1564
        lightstairs = true;
1565
        lightstairstarget = flowery;
1566
        with (flowery)
1567
        {
1568
            vspeed = 0;
1569
            hspeed = 0;
1570
            var flstart = findspriteinfo(spr_flowery_walk_downright, "CUT2", #FF6565);
1571
            var flend = findspriteinfo(spr_flowery_walk_downleft, "CUT2", c_fuchsia);
1572
            sprite_index = spr_flowery_walk_downright;
1573
            setxy(flstart.x, flstart.y);
1574
            var waittime = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(flstart, flend, 6);
1575
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", flstart.x, flend.x, waittime);
1576
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", flstart.y, flend.y, waittime);
1577
            show_debug_message_concat("waittime=", waittime);
1578
            image_speed = 0.25;
1579
            
1580
            var endwalk = function()
1581
            {
1582
                image_index = 0;
1583
                image_speed = 0;
1584
            };
1585
            
1586
            delay_function(endwalk, waittime - 1);
1587
        }
1588
    });
1589
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(20);
1590
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1591
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralseil_annoyed);
1592
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(21);
1593
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1594
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("flowery");
1595
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 2\Vl* Hey team,Delay 11 how 'bout that puzzley wuzzley?Wait for inputClose Message
"\\E2\\Vl* Hey team^1, how 'bout that puzzley wuzzley?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1812_0"
);
1596
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
1597
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1598
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_left_dw_cup_ribbon);
1599
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
1600
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("l");
1601
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1602
    {
1603
        with (flowery)
1604
        {
1605
            hspeed = -6;
1606
            vspeed = -6;
1607
            sprite_index = spr_flowery_shrug_spin;
1608
            image_index = 200;
1609
            image_speed = -0.2;
1610
        }
1611
        makefloweryafterimages = true;
1612
        fltimer = 60;
1613
    });
1614
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1615
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("l");
1616
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1617
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_right_dw_cup_ribbon);
1618
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
1619
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face S* (C'mon,Delay 11 Ralsei,Delay 11 only gotta deal with him a little more...)Wait for inputClose Message
"\\ES* (C'mon^1, Ralsei^1, only gotta deal with him a little more...)/%", "obj_dw_garden_susiechase_slash_Step_0_gml_1835_0"
);
1620
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
1621
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
1622
    var spos = findspriteinfo(spr_susie_left_dw, "CUT2");
1623
    var sposwait = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(su_actor, spos, 6);
1624
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(false);
1625
    
c_autofacing
c_autofacing

function
c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
}
(false);
1626
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_left_dw_cup_ribbon);
1627
    c_image_speed(0.25);
1628
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(su_actor, "hspeed", -4);
1629
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(sposwait + 4);
1630
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(su_actor, "vspeed", -4);
1631
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
1632
    c_panobj_fancy(kr_actor, 15);
1633
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
1634
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
1635
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face C* ...Delay 11 let's go,Delay 11 Kris.Wait for inputClose Message
"\\EC* ..^1. let's go^1, Kris./%", "obj_dw_garden_susiechase_slash_Step_0_gml_1858_0"
);
1636
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
1637
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
1638
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1639
    {
1640
        global.facing = 0;
1641
    });
1642
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
1643
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
1644
    
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
1645
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
1646
}
1647
if (con == 22 && !instance_exists(obj_cutscene_master))
1648
{
1649
    global.plot = plotset;
1650
    snd_volume(global.currentsong[1], 1, 30);
1651
    with (obj_caterpillarchara)
1652
    {
1653
        if (name == "susie")
1654
        {
1655
            visible = false;
1656
            follow = false;
1657
        }
1658
    }
1659
    
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate(arg0 = "none")
{ if (arg0 == "all") { with (obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else if (arg0 == "none") { if (object_index == obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else { with (obj_caterpillarchara) { if (name == arg0) scr_caterpillar_interpolate_old(); } } } function scr_caterinterp(arg0 = "none") {
scr_caterpillar_interpolate(arg0);
} function scr_caterpillar_interpolate_old() { var _newfacing = direction_to_object_bbox(id, 1200, true); remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (var _iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x + halign, _iaia / target); remy[_iaia] = lerp(obj_mainchara.y, y + valign, _iaia / target); facing[_iaia] = _newfacing; } }
("ralsei");
1660
    global.facing = 0;
1661
    global.interact = 0;
1662
    con = 23;
1663
    endcon = 1;
1664
}
1665
if (resetlines)
1666
{
1667
    if (!d_ex())
1668
    {
1669
        global.flag[1391] = 1;
1670
        global.voiceclipmode = 2;
1671
    }
1672
}
1673
if (writerwatcher)
1674
{
1675
    if (!instance_exists(obj_writer))
1676
    {
1677
        writerwatcher = false;
1678
        
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
1679
    }
1680
}
1681
if (makefloweryafterimages)
1682
{
1683
    fltimer--;
1684
    if (fltimer > 0)
1685
    {
1686
        var rainbow = flrainbow();
1687
        var col = rainbow[
scr_wrap
scr_wrap

function
scr_wrap(arg0, arg1, arg2)
{ if ((arg0 % 1) == 0) { while (arg0 > arg2 || arg0 < arg1) { if (arg0 > arg2) { arg0 = (arg1 + arg0) - arg2 - 1; } else if (arg0 < arg1) { arg0 = ((arg2 + arg0) - arg1) + 1; } else { } } return arg0; } else { var _old = argument[0] + 1; while (arg0 != _old) { _old = arg0; if (arg0 < arg1) { arg0 = arg2 - (arg1 - arg0); } else if (arg0 > arg2) { arg0 = arg1 + (arg0 - arg2); } else { } } return arg0; } }
(fltimer, 0, array_length(rainbow) - 1)];
1688
        with (flowery)
1689
        {
1690
            with (scr_afterimage_fog(undefined, col, 8))
1691
            {
1692
                depth = (other.depth + 61) - obj_dw_garden_susiechase.fltimer;
1693
                image_speed = 0;
1694
            }
1695
        }
1696
    }
1697
    else
1698
    {
1699
        makefloweryafterimages = false;
1700
    }
1701
}
1702
if (con == 23)
1703
{
1704
    if (ralseis == 1 && 
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("RASTOP"))
1705
    {
1706
        con = 23.1;
1707
        global.interact = 1;
1708
        with (obj_caterpillarchara)
1709
        {
1710
            if (name == "susie")
1711
                x = room_width * 2;
1712
        }
1713
        var lay = "CUT_RALSEIQ";
1714
        
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
1715
        
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
1716
        var camx = camerax();
1717
        var camy = cameray();
1718
        var camstart = 
1719
        {
1720
            x: camx,
1721
            y: camy
1722
        };
1723
        var camend = findspriteinfo(spr_debug_cameraregionpreview, lay);
1724
        var krstart = 
1725
        {
1726
            x: kr_actor.x,
1727
            y: kr_actor.y
1728
        };
1729
        var rastart = 
1730
        {
1731
            x: ra_actor.x,
1732
            y: ra_actor.y
1733
        };
1734
        var krpos = findspriteinfo(spr_krisl_dark, lay);
1735
        var rapos = findspriteinfo(spr_ralsei_slighturn_dark, lay);
1736
        var walkspeed = 4;
1737
        if (button3_h())
1738
            walkspeed = 8;
1739
        var krwait = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(krstart, krpos, walkspeed);
1740
        var rawait = 
scr_returnwait_instance
scr_returnwait_instance

function
scr_returnwait_instance(arg0, arg1, arg2)
{ var dist = max(1, round(point_distance(arg0.x, arg0.y, arg1.x, arg1.y) / arg2)); return dist; }
(rastart, rapos, walkspeed);
1741
        
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
1742
        
c_pan_fancy
c_pan_fancy

function
c_pan_fancy(arg0, arg1, arg2, arg3 = 
{ doround: true, easetype: "default" }) {
c_cmd("panfancy", arg0, arg1, arg2, arg3);
} function c_panobj_fancy(arg0, arg1, arg2 = { doround: true, easetype: "default" }) {
c_cmd("panfancyobj", arg0, arg1, arg2);
}
(camend.x, camend.y, krwait);
1743
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
1744
        
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(krpos.x, krpos.y, krwait);
1745
        
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(krwait + 1, "l");
1746
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
1747
        
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(rapos.x, rapos.y, rawait);
1748
        
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(rawait + 1, "l");
1749
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(max(rawait, krwait) + 1);
1750
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
1751
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
1752
        
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
1753
        
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
1754
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
1755
        {
1756
            global.facing = 1;
1757
            with (obj_caterpillarchara)
1758
            {
1759
                if (name == "ralsei")
1760
                    
scr_caterpillar_facing
scr_caterpillar_facing

function
scr_caterpillar_facing(arg0)
{ with (obj_caterpillarchara) { for (i = 0; i < 25; i += 1) facing[i] = arg0; } }
(3);
1761
            }
1762
        });
1763
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
1764
        
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
1765
        
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
1766
    }
1767
}
1768
if (con == 23.1 && !instance_exists(obj_cutscene_master))
1769
{
1770
    con = 24;
1771
    
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
1772
    msgsetloc(0, 
Face 4* Kris,Delay 11 I'm really sorry for...Wait for input
"\\E4* Kris^1, I'm really sorry for.../", "obj_dw_garden_susiechase_slash_Step_0_gml_2004_0"
);
1773
    scr_msgfunc(function()
1774
    {
1775
        with (obj_caterpillarchara)
1776
        {
1777
            if (name == "ralsei")
1778
            {
1779
                fun = 1;
1780
                image_index = 0;
1781
                sprite_index = spr_ralseil_lookdown;
1782
            }
1783
        }
1784
    });
1785
    msgnextloc(
Face 5* For acting...Delay 11 s-so thoughtless.Wait for input
"\\E5* For acting..^1. s-so thoughtless./", "obj_dw_garden_susiechase_slash_Step_0_gml_2005_0"
);
1786
    scr_msgfunc(function()
1787
    {
1788
        with (obj_caterpillarchara)
1789
        {
1790
            if (name == "ralsei")
1791
                sprite_index = spr_ralseil_dejected;
1792
        }
1793
    });
1794
    msgnextloc(
Face 4* I've never encountered someone...Delay 11 that bothered me so much.Wait for input
"\\E4* I've never encountered someone..^1. that bothered me so much./", "obj_dw_garden_susiechase_slash_Step_0_gml_2006_0"
);
1795
    msgnextloc(
Face 3* ...Delay 11 I suppose...Delay 11 I haven't been handling it really well.Wait for input
"\\E3* ..^1. I suppose..^1. I haven't been handling it really well./", "obj_dw_garden_susiechase_slash_Step_0_gml_2007_0"
);
1796
    scr_msgfunc(function()
1797
    {
1798
        with (obj_caterpillarchara)
1799
        {
1800
            if (name == "ralsei")
1801
                sprite_index = spr_ralseil;
1802
        }
1803
    });
1804
    msgnextloc(
Face 1* Kris...Wait for input
"\\E1* Kris.../", "obj_dw_garden_susiechase_slash_Step_0_gml_2008_0"
);
1805
    scr_msgfunc(function()
1806
    {
1807
        with (obj_caterpillarchara)
1808
        {
1809
            if (name == "ralsei")
1810
                sprite_index = spr_ralseil_lookdown;
1811
        }
1812
    });
1813
    msgnextloc(
Face 5* If you like Flowery,Delay 11 I'll try and like him,Delay 11 too!Wait for input
"\\E5* If you like Flowery^1, I'll try and like him^1, too!/", "obj_dw_garden_susiechase_slash_Step_0_gml_2009_0"
);
1814
    scr_msgfunc(function()
1815
    {
1816
        with (obj_caterpillarchara)
1817
        {
1818
            if (name == "ralsei")
1819
                sprite_index = spr_ralseil;
1820
        }
1821
    });
1822
    var option1 = stringsetloc(
#Let's be#his friend
"#Let's be#his friend", "obj_dw_garden_susiechase_slash_Step_0_gml_2010_0"
);
1823
    var option2 = stringsetloc(
#Wait and see
"#Wait and see", "obj_dw_garden_susiechase_slash_Step_0_gml_2011_0"
);
1824
    var option3 = stringsetloc(
He sucks
"He sucks", "obj_dw_garden_susiechase_slash_Step_0_gml_2012_0"
);
1825
    
scr_readychoicer
scr_readychoicer

function
scr_readychoicer(arg0 = "", arg1 = "", arg2 = "", arg3 = "", arg4 = -1, arg5 = -1)
{ global.msc = -99; global.choice = -1; global.choicemsg = [arg0, arg1, arg2, arg3]; var count = 2; if (arg2 != "") count++; if (arg3 != "") count++; var chooseString = "\\C" + string(count); if (arg4 == -1 && instance_exists(obj_cutscene_master)) arg4 = true; if (arg5) { if (arg4)
c_msgset(0, chooseString);
else msgset(0, chooseString); } else if (arg4) {
c_msgnext(chooseString);
} else { msgnext(chooseString); } }
(option1, option2, option3);
1826
    d_make(0, undefined, undefined, 1);
1827
}
1828
if (con == 24 && global.choice != -1)
1829
{
1830
    global.flag[1392] = 5 + global.choice;
1831
    k_d(1);
1832
    if (global.choice == 0)
1833
    {
1834
        
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
1835
        msgsetloc(0, 
Face 4* R-right!Wait for input
"\\E4* R-right!/", "obj_dw_garden_susiechase_slash_Step_0_gml_2024_0"
);
1836
        scr_msgfunc(function()
1837
        {
1838
            with (obj_caterpillarchara)
1839
            {
1840
                if (name == "ralsei")
1841
                    sprite_index = spr_ralseil;
1842
            }
1843
        });
1844
        msgnextloc(
Face 1* No matter...Delay 11 the kind of strange feelings I might have...Wait for input
"\\E1* No matter..^1. the kind of strange feelings I might have.../", "obj_dw_garden_susiechase_slash_Step_0_gml_2025_0"
);
1845
        scr_msgfunc(function()
1846
        {
1847
            with (obj_caterpillarchara)
1848
            {
1849
                if (name == "ralsei")
1850
                    sprite_index = spr_ralseil_lookaway;
1851
            }
1852
        });
1853
        msgnextloc(
Face 4* No matter the...Delay 11 doubts...Wait for input
"\\E4* No matter the..^1. doubts.../", "obj_dw_garden_susiechase_slash_Step_0_gml_2026_0"
);
1854
        scr_msgfunc(function()
1855
        {
1856
            with (obj_caterpillarchara)
1857
            {
1858
                if (name == "ralsei")
1859
                    sprite_index = spr_ralseil_lookdown;
1860
            }
1861
        });
1862
        msgnextloc(
Face 8* In the end,Delay 11 Kris,Delay 11 I'll always trust your judgment.Wait for inputClose Message
"\\E8* In the end^1, Kris^1, I'll always trust your judgment./%", "obj_dw_garden_susiechase_slash_Step_0_gml_2027_0"
);
1863
        scr_msgfunc(function()
1864
        {
1865
            with (obj_caterpillarchara)
1866
            {
1867
                if (name == "ralsei")
1868
                    sprite_index = spr_ralseil;
1869
            }
1870
        });
1871
        d_make(0);
1872
        con = 30;
1873
    }
1874
    if (global.choice == 1)
1875
    {
1876
        
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
1877
        msgsetloc(0, 
Face E* Right...Delay 11 isn't there something just a little strange about him?Wait for input
"\\EE* Right..^1. isn't there something just a little strange about him?/", "obj_dw_garden_susiechase_slash_Step_0_gml_2034_0"
);
1878
        scr_msgfunc(function()
1879
        {
1880
            with (obj_caterpillarchara)
1881
            {
1882
                if (name == "ralsei")
1883
                    sprite_index = spr_ralseil_hat_mad;
1884
            }
1885
        });
1886
        msgnextloc(
Face D* ...Delay 11 I...Delay 11 I don't hate him.Delay 11 There are things...Delay 11 to like about him.Wait for input
"\\ED* ..^1. I..^1. I don't hate him^1. There are things..^1. to like about him./", "obj_dw_garden_susiechase_slash_Step_0_gml_2035_0"
);
1887
        msgnextloc(
Face E* But I just...Delay 11 I don't like...Delay 11 how he does things.Wait for input
"\\EE* But I just..^1. I don't like..^1. how he does things./", "obj_dw_garden_susiechase_slash_Step_0_gml_2036_0"
);
1888
        scr_msgfunc(function()
1889
        {
1890
            with (obj_caterpillarchara)
1891
            {
1892
                if (name == "ralsei")
1893
                    sprite_index = spr_ralseil_slightannoyed;
1894
            }
1895
        });
1896
        msgnextloc(
Face 9* ...Wait for input
"\\E9* .../", "obj_dw_garden_susiechase_slash_Step_0_gml_2037_0"
);
1897
        scr_msgfunc(function()
1898
        {
1899
            with (obj_caterpillarchara)
1900
            {
1901
                if (name == "ralsei")
1902
                    sprite_index = spr_ralseil_lookaway;
1903
            }
1904
        });
1905
        msgnextloc(
Face G* H...Delay 11 huh?Delay 11 Is there...Delay 11 something behind me?Wait for input
"\\EG* H..^1. huh^1? Is there..^1. something behind me?/", "obj_dw_garden_susiechase_slash_Step_0_gml_2038_0"
);
1906
        scr_msgfunc(function()
1907
        {
1908
            with (obj_caterpillarchara)
1909
            {
1910
                if (name == "ralsei")
1911
                    sprite_index = spr_ralsei_slighturn_dark;
1912
            }
1913
        });
1914
        msgnextloc(
Face K* U-umm,Delay 11 anyway,Delay 11 let's go,Delay 11 Kris.Wait for inputClose Message
"\\EK* U-umm^1, anyway^1, let's go^1, Kris./%", "obj_dw_garden_susiechase_slash_Step_0_gml_2039_0"
);
1915
        scr_msgfunc(function()
1916
        {
1917
            with (obj_caterpillarchara)
1918
            {
1919
                if (name == "ralsei")
1920
                    sprite_index = spr_ralseil;
1921
            }
1922
        });
1923
        d_make(0);
1924
        con = 30;
1925
    }
1926
    if (global.choice == 2)
1927
    {
1928
        
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
1929
        msgsetloc(0, 
Face 8* R-really?Delay 11 Haha!Delay 11 I'm...Wait for input
"\\E8* R-really^1? Haha^1! I'm.../", "obj_dw_garden_susiechase_slash_Step_0_gml_2067_0"
);
1930
        scr_msgfunc(function()
1931
        {
1932
            with (obj_caterpillarchara)
1933
            {
1934
                if (name == "ralsei")
1935
                    sprite_index = spr_ralseil_slighthappy;
1936
            }
1937
        });
1938
        msgnextloc(
Face 3* Oh,Delay 11 no,Delay 11 I shouldn't be glad to hear that.Delay 11 That's...Wait for input
"\\E3* Oh^1, no^1, I shouldn't be glad to hear that^1. That's.../", "obj_dw_garden_susiechase_slash_Step_0_gml_2068_0"
);
1939
        scr_msgfunc(function()
1940
        {
1941
            with (obj_caterpillarchara)
1942
            {
1943
                if (name == "ralsei")
1944
                    sprite_index = spr_ralseil_blush;
1945
            }
1946
        });
1947
        msgnextloc(
Face 5* K-Kris...Delay 11 perhaps we should try to...Delay 11 like him?Wait for input
"\\E5* K-Kris..^1. perhaps we should try to..^1. like him?/", "obj_dw_garden_susiechase_slash_Step_0_gml_2069_0"
);
1948
        scr_msgfunc(function()
1949
        {
1950
            with (obj_caterpillarchara)
1951
            {
1952
                if (name == "ralsei")
1953
                    sprite_index = spr_ralseil;
1954
            }
1955
        });
1956
        msgnextloc(
Face K* Even...Delay 11 if it's difficult.Wait for inputClose Message
"\\EK* Even..^1. if it's difficult./%", "obj_dw_garden_susiechase_slash_Step_0_gml_2070_0"
);
1957
        scr_msgfunc(function()
1958
        {
1959
            with (obj_caterpillarchara)
1960
            {
1961
                if (name == "ralsei")
1962
                    sprite_index = spr_ralseil_slightannoyed;
1963
            }
1964
        });
1965
        d_make(0, 2);
1966
        con = 30;
1967
    }
1968
}
1969
if (con == 30 && !d_ex())
1970
{
1971
    with (obj_caterpillarchara)
1972
    {
1973
        if (name == "ralsei")
1974
        {
1975
            sprite_index = lsprite;
1976
            fun = 0;
1977
        }
1978
    }
1979
    global.interact = 0;
1980
    con = 99;
1981
}
1982
if (lightstairs)
1983
{
1984
    var litcount = 0;
1985
    if (i_ex(lightstairstarget))
1986
    {
1987
        for (var i = 0; i < array_length(stairs); i++)
1988
        {
1989
            if (stairs[i].bbox_right < camerax())
1990
            {
1991
                stairs[i].lit = true;
1992
                stairs[i].visible = true;
1993
            }
1994
            if (stairs[i].lit == false)
1995
            {
1996
                litcount++;
1997
                if (stairs[i].x < lightstairstarget.bbox_right)
1998
                {
1999
                    lightstairs++;
2000
                    stairs[i].lit = true;
2001
                    with (stairs[i])
2002
                    {
2003
                        var ind = 
scr_wrap
scr_wrap

function
scr_wrap(arg0, arg1, arg2)
{ if ((arg0 % 1) == 0) { while (arg0 > arg2 || arg0 < arg1) { if (arg0 > arg2) { arg0 = (arg1 + arg0) - arg2 - 1; } else if (arg0 < arg1) { arg0 = ((arg2 + arg0) - arg1) + 1; } else { } } return arg0; } else { var _old = argument[0] + 1; while (arg0 != _old) { _old = arg0; if (arg0 < arg1) { arg0 = arg2 - (arg1 - arg0); } else if (arg0 > arg2) { arg0 = arg1 + (arg0 - arg2); } else { } } return arg0; } }
(other.lightstairs, 1, 7);
2004
                        show_debug_message_concat(ind);
2005
                        snd_play(asset_get_index("snd_pluey_" + string(ind)), 0.7);
2006
                        y += 40;
2007
                        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", y, y - 40, 8, -1, "out");
2008
                        image_alpha = 0;
2009
                        visible = true;
2010
                        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 0, 1, 8, 2, "out");
2011
                    }
2012
                }
2013
            }
2014
        }
2015
    }
2016
    if (litcount == 0)
2017
    {
2018
        show_debug_message_concat("done");
2019
        lightstairs = false;
2020
    }
2021
}
2022
if (grasscon == 0)
2023
{
2024
    var targfl = -4;
2025
    with (obj_marker)
2026
    {
2027
        if (sprite_index == spr_flowery_walk_right_cup)
2028
            targfl = id;
2029
    }
2030
    for (var i = 0; i < array_length(flowerygrass); i++)
2031
    {
2032
        var bloom = false;
2033
        with (flowerygrass[i])
2034
        {
2035
            if (i_ex(targfl) && (targfl.x + 40) > x && (targfl.x + 40) < (bbox_right + 20))
2036
                bloom = true;
2037
            if (bloom)
2038
                image_index = lerp(image_index, 6, 0.16666666666666666);
2039
            else
2040
                image_index = lerp(image_index, 0, 0.16666666666666666);
2041
            if (image_index >= 1 && !soundplayed)
2042
            {
2043
                snd_play(asset_get_index("snd_pluey_" + string(min(i + 1, 7))), 0.7 - (i / 8));
2044
                soundplayed = 1;
2045
            }
2046
        }
2047
    }
2048
}
2049
if (grasscon == 1)
2050
{
2051
    for (var i = 0; i < array_length(flowerygrass); i++)
2052
    {
2053
        with (flowerygrass[i])
2054
            instance_destroy();
2055
    }
2056
    grasscon = -1;
2057
}
2058
if (endcon == 1)
2059
{
2060
    if (
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("loopstart"))
2061
        endcon = 2;
2062
}
2063
if (endcon == 2 && global.interact == 0)
2064
{
2065
    if (
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("loopend"))
2066
    {
2067
        endcon = 3;
2068
        global.interact = 1;
2069
        var lapcount = scr_flag_get_ext(1880, 1, 3);
2070
        scr_flag_set_ext(1880, 1, lapcount + 1, 3);
2071
        switch (lapcount)
2072
        {
2073
            case 0:
2074
                
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
2075
                msgsetloc(0, 
Face 8* Ummm,Delay 11 nice lap,Delay 11 Kris!Delay 11 Do you feel exercised?Wait for inputClose Message
"\\E8* Ummm^1, nice lap^1, Kris^1! Do you feel exercised?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_2202_0"
);
2076
                break;
2077
            case 1:
2078
                
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
2079
                msgsetloc(0, 
Face 7* Aww,Delay 11 Kris really wants walkies today,Delay 11 huh?Wait for inputClose Message
"\\E7* Aww^1, Kris really wants walkies today^1, huh?/%", "obj_dw_garden_susiechase_slash_Step_0_gml_2206_0"
);
2080
                break;
2081
            case 2:
2082
                
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
2083
                msgsetloc(0, 
Face L* Okay,Delay 11 let's not get your bone density too high...Wait for inputClose Message
"\\EL* Okay^1, let's not get your bone density too high.../%", "obj_dw_garden_susiechase_slash_Step_0_gml_2210_0"
);
2084
                break;
2085
            case 3:
2086
                
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
2087
                msgsetloc(0, 
Face L* (Maybe I should just stop saying things?)Wait for inputClose Message
"\\EL* (Maybe I should just stop saying things?)/%", "obj_dw_garden_susiechase_slash_Step_0_gml_2214_0"
);
2088
                break;
2089
        }
2090
        d_make(undefined, undefined, undefined, 1);
2091
    }
2092
}
2093
if (endcon == 3 && !d_ex())
2094
{
2095
    global.interact = 0;
2096
    endcon = 1;
2097
    if (scr_flag_get_ext(1880, 1, 3) == 4)
2098
    {
2099
        
scr_debug_print
scr_debug_print

function
scr_debug_print()
{ if (!
scr_debug())
exit; } function scr_debug_clear_all() { }
("done with this");
2100
        endcon = 0;
2101
    }
2102
}
2103
with (spikery)
2104
{
2105
    if (myinteract == 3)
2106
    {
2107
        global.interact = 1;
2108
        
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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("no_name");
2109
        var bonus = "";
2110
        if (global.flag[1391] != 1)
2111
            bonus = "\\S0";
2112
        global.writersnd[0] = 
scr_84_get_sound
scr_84_get_sound

function
scr_84_get_sound(arg0)
{ return ds_map_find_value(global.chemg_sound_map, arg0); }
("snd_flowery_voiceclip_stingus");
2113
        msgsetsubloc(0, 
* (Spikery.)Argument №11Wait for input
"* (Spikery.)~1/", bonus, "obj_dw_garden_susiechase_slash_Step_0_gml_2246_0"
);
2114
        var hat = ralseiHatState();
2115
        if (global.flag[1391] != 1)
2116
        {
2117
            var face = ["C", "X"];
2118
            
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", face[hat]);
2119
            msgnextsubloc(
Face <span class="cc cc-arg">Argument №11* (What is he even saying on that one...)Wait for inputClose Message
"\\E~1* (What is he even saying on that one...)/%", face[hat], "obj_dw_garden_susiechase_slash_Step_0_gml_2254_0"
);
2120
        }
2121
        else
2122
        {
2123
            var face = ["L", "K"];
2124
            
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", face[hat]);
2125
            msgnextsubloc(
Face <span class="cc cc-arg">Argument №11* (At least it doesn't talk!)Wait for inputClose Message
"\\E~1* (At least it doesn't talk!)/%", face[hat], "obj_dw_garden_susiechase_slash_Step_0_gml_2260_0"
);
2126
        }
2127
        d_make();
2128
        myinteract = 999;
2129
    }
2130
    if (myinteract == 999 && !d_ex())
2131
    {
2132
        myinteract = 0;
2133
        global.interact = 0;
2134
    }
2135
}
2136
var movespeed = 3;
2137
if (failcon == 1)
2138
{
2139
    ftimer = 0;
2140
    failnpc = 
scr_marker_frominstance
scr_marker_frominstance

function
scr_marker_frominstance(arg0 = id, arg1 = false)
{ var obj = 1240; if (arg1) obj = 1498; var _marker = instance_create(arg0.x, arg0.y, obj); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; return _marker; } function scr_fog_marker_frominstance(arg0 = id, arg1 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fog); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.color = arg1; return _marker; } function scr_blend_marker_frominstance(arg0 = id, arg1 = 1) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_blend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; return _marker; } function scr_fogblend_marker_frominstance(arg0 = id, arg1 = 1, arg2 = 32768) { var _marker = instance_create(arg0.x, arg0.y, obj_marker_fogblend); _marker.sprite_index = arg0.sprite_index; _marker.image_alpha = arg0.image_alpha; _marker.image_angle = arg0.image_angle; _marker.image_blend = arg0.image_blend; _marker.image_index = arg0.image_index; _marker.image_speed = arg0.image_speed; _marker.image_xscale = arg0.image_xscale; _marker.image_yscale = arg0.image_yscale; _marker.mask_index = arg0.mask_index; _marker.depth = arg0.depth; _marker.blend = arg1; _marker.color = arg2; return _marker; }
(fakeralsei);
2141
    failnpc.hspeed = movespeed;
2142
    with (ralsei_npc)
2143
    {
2144
        x = room_width * 4;
2145
        marker.visible = false;
2146
    }
2147
    with (fakeralsei)
2148
        visible = false;
2149
    failcon = 2;
2150
}
2151
if (failcon == 2)
2152
{
2153
    if (failnpc.x >= rlox[0].x)
2154
    {
2155
        failnpc.x = rlox[0].x;
2156
        failnpc.hspeed = 0;
2157
        failnpc.vspeed = movespeed;
2158
        failcon++;
2159
    }
2160
}
2161
if (failcon == 3)
2162
{
2163
    if (failnpc.y >= rlox[1].y)
2164
    {
2165
        failnpc.y = rlox[1].y;
2166
        failnpc.hspeed = movespeed;
2167
        failnpc.vspeed = 0;
2168
        failcon++;
2169
    }
2170
}
2171
if (failcon == 4)
2172
{
2173
    if (failnpc.x >= rlox[1].x)
2174
    {
2175
        failnpc.x = rlox[1].x;
2176
        failnpc.hspeed = 0;
2177
        failnpc.vspeed = 0;
2178
        failcon++;
2179
        with (pathblock)
2180
            y += 80;
2181
    }
2182
}
2183
if (failcon == 5)
2184
{
2185
    if (obj_mainchara.x >= rlox[2].x)
2186
    {
2187
        con = 20;
2188
        failcon = 6;
2189
        var loc = rlox[3];
2190
        failnpc.visible = false;
2191
        with (obj_caterpillarchara)
2192
        {
2193
            if (name == "ralsei")
2194
            {
2195
                setxy(loc.x, loc.y);
2196
                visible = true;
2197
                
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate(arg0 = "none")
{ if (arg0 == "all") { with (obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else if (arg0 == "none") { if (object_index == obj_caterpillarchara) scr_caterpillar_interpolate_old(); } else { with (obj_caterpillarchara) { if (name == arg0) scr_caterpillar_interpolate_old(); } } } function scr_caterinterp(arg0 = "none") {
scr_caterpillar_interpolate(arg0);
} function scr_caterpillar_interpolate_old() { var _newfacing = direction_to_object_bbox(id, 1200, true); remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (var _iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x + halign, _iaia / target); remy[_iaia] = lerp(obj_mainchara.y, y + valign, _iaia / target); facing[_iaia] = _newfacing; } }
(name);
2198
            }
2199
        }
2200
        with (pathblock)
2201
            y -= 80;
2202
        with (obj_solidblocksized_alt)
2203
            instance_destroy();
2204
    }
2205
}
2206
if (failcon == 6)
2207
{
2208
    if (obj_mainchara.y <= rlox[4].y)
2209
    {
2210
        failcon = 7;
2211
        with (obj_starwalker_offswitch)
2212
            instance_destroy();
2213
        clearPath();
2214
    }
2215
}