Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_swordroute_event_leavescreen_Step_0

(view raw script w/o annotations or w/e)
1
if (init == 0)
2
{
3
    lilkris.nocamtransition = true;
4
    lilkris.ignoredepth = true;
5
    lilkris.facing = 2;
6
    init = 1;
7
    if (prefire == 1)
8
    {
9
        prefire = 0;
10
        with (obj_treasure_room)
11
            global.flag[itemflag] = 1;
12
        
scr_armorget
scr_armorget

function
scr_armorget(arg0)
{ noroom = 0; var legacy = 0; var __i = 0; if (legacy == 0) { var __itemcount = 0; __armor[0] = arg0; for (__i = 0; __i < 48; __i++) { if (global.armor[__i] != 0) { __armor[__itemcount + 1] = global.armor[__i]; __itemcount++; } } if (__itemcount >= 48) { noroom = 1; } else { for (__i = 0; __i < 48; __i++) { if (__i <= __itemcount) global.armor[__i] = __armor[__i]; else global.armor[__i] = 0; } } } else if (legacy) { loop = 1; global.armor[48] = 999; while (loop == 1) { if (global.armor[__i] == 0) { global.armor[__i] = arg0; break; } if (__i == 48) { noroom = 1; break; } __i += 1; } } script_execute(scr_armorinfo_all); }
(23);
13
        scare = 0;
14
        creepcon = 0;
15
        creeptoolate = 0;
16
        endcreep = 0;
17
        makelilkrisleave = 0;
18
        sodamake = 0;
19
        darkenblend = true;
20
        posCorrect = 0;
21
        creepinpuit = 0;
22
        cantgoback = true;
23
        krisandsusie = 0;
24
        grayblend = 0.5;
25
        con = 18;
26
        creeptimer = 0;
27
        inthetvcon = 3;
28
        hidekris = false;
29
        controller = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(344, 362, spr_ch3_controller);
30
        controller.depth = 99800;
31
        controller.image_blend = merge_color(c_white, c_black, 0.5);
32
        with (obj_mainchara)
33
        {
34
            cutscene = 1;
35
            x = 256;
36
            y = 300;
37
            direction = 180;
38
            image_blend = c_gray;
39
            depth = 96250;
40
            fun = 0;
41
            freeze = 0;
42
        }
43
        with (obj_mainchara_board)
44
        {
45
            x = 871;
46
            y = 467;
47
            depth = 10000;
48
            walktimer = 9.5;
49
            wspeed = 2;
50
            walk = 1;
51
            walkbuffer = 5.25;
52
            controlled = 0;
53
            sword = true;
54
            nocamtransition = true;
55
            caninteract = false;
56
            swordlv = 5;
57
            xp = 0;
58
            cantleave = false;
59
        }
60
        with (obj_gameshow_swordroute)
61
        {
62
            skip = false;
63
            skiponce = false;
64
            disableshadow = false;
65
            debugdraw = 0;
66
            screencolor = #001DFF;
67
            newcolor = 16719104;
68
            screenalpha = 0;
69
            drawshadow = true;
70
            shadowfade = 1;
71
            drawui = true;
72
            colorchange = 0;
73
        }
74
    }
75
}
76
if (con == 0)
77
{
78
    if (cantgoback == false)
79
    {
80
        var createblock = 0;
81
        with (lilkris)
82
        {
83
            if (x >= 508)
84
            {
85
                depth = 10000;
86
                createblock = 1;
87
            }
88
        }
89
        if (createblock == 1)
90
        {
91
            cantgoback = true;
92
            instance_create_board(11, 4, obj_board_solid);
93
        }
94
    }
95
    with (lilkris)
96
    {
97
        if (place_meeting(x, y, obj_board_trigger))
98
        {
99
            var inst = instance_place(x, y, obj_board_trigger);
100
            if (inst.extflag == "1")
101
            {
102
                wspeed = 3;
103
                boardgrid = false;
104
                other.con = 1;
105
                safe_delete(inst);
106
            }
107
        }
108
    }
109
}
110
if (con == 1)
111
{
112
    with (lilkris)
113
    {
114
        if (place_meeting(x, y, obj_board_trigger))
115
        {
116
            var inst = instance_place(x, y, obj_board_trigger);
117
            if (inst.extflag == "2")
118
            {
119
                other.kris.sprite_index = spr_krisu_holdcontroller_lookright;
120
                other.con = 2;
121
                safe_delete(inst);
122
            }
123
        }
124
    }
125
}
126
if (con == 2)
127
{
128
    with (lilkris)
129
    {
130
        if (place_meeting(x, y, obj_board_trigger))
131
        {
132
            var inst = instance_place(x, y, obj_board_trigger);
133
            if (inst.extflag == "3")
134
            {
135
                wspeed = 2;
136
                other.con = 3;
137
                safe_delete(inst);
138
            }
139
        }
140
    }
141
}
142
if (con == 3)
143
{
144
    with (obj_gameshow_swordroute)
145
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("screenalpha", screenalpha, 0, 60);
146
    kris.sprite_index = spr_krisr_dark;
147
    kris.hspeed = -5;
148
    kris.friction = 0.45;
149
    controller = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(kris.x + 24, kris.y + 40, spr_ch3_controller);
150
    controller.depth = 99800;
151
    controller.image_blend = merge_color(c_white, c_black, 0.5);
152
    with (controller)
153
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("y", y, (y + 20 + 8) - 4, 6, 2, "in");
154
    with (controller)
155
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("x", x, (x + 20 + 13) - 13, 6);
156
    snd_play_delay(snd_noise, 4);
157
    con = 4;
158
}
159
if (con == 4)
160
{
161
    var krisdist = abs(kris.x - lilkris.x);
162
    if (krisdist < 100)
163
        scare = 1;
164
    if (krisdist < 140 && left_h())
165
    {
166
        kris.x -= 1 + scare;
167
        kris.image_index += 0.25;
168
    }
169
    var skipthis = false;
170
    if (krisdist < 140 && lilkris.swordbuffer >= 6)
171
    {
172
        con = -999;
173
        skipthis = true;
174
        kris.hspeed = -8;
175
        kris.friction = 0.45;
176
        kris.image_speed = 0;
177
        kris.image_index = 0;
178
        kris.fun = 1;
179
        var _delay = 6;
180
        with (kris)
181
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, _delay, "sprite_index", spr_kris_fallen_dark);
182
        snd_play_delay(snd_wing, _delay);
183
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 70, "con", 15);
184
        lilkris.canfreemove = 0;
185
        global.interact = 1;
186
    }
187
    if (lilkris.x <= 240 && !skipthis)
188
    {
189
        lilkris.x = 240;
190
        lilkris.canfreemove = 0;
191
        con = -999;
192
        kris.image_speed = 0;
193
        kris.image_index = 0;
194
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 60, "con", 15);
195
    }
196
    if (lilkris.x >= 608 && !skipthis)
197
    {
198
        lilkris.canfreemove = 0;
199
        con = -999;
200
        kris.image_speed = 0;
201
        kris.image_index = 0;
202
        lilkris.hspeed = lilkris.wspeed;
203
        lilkris.sprite_index = lilkris.rsprite;
204
        lilkris.fun = 1;
205
        lilkris.image_speed = 0.125;
206
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 70, "con", 15);
207
    }
208
    if (kris.x < 140)
209
        kris.x = 140;
210
}
211
if (con == 15)
212
{
213
    kris.image_speed = 0;
214
    lilkris.sprite_index = lilkris.dsprite;
215
    lilkris.facing = 0;
216
    lilkris.fun = 1;
217
    lilkris.image_speed = 0.125;
218
    lilkris.vspeed = 2;
219
    if (kris.sprite_index != spr_kris_fallen_dark)
220
    {
221
        with (kris)
222
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 12, "sprite_index", spr_krisd_dark);
223
    }
224
    
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 60, "con", 16);
225
    con = -999;
226
}
227
if (con == 16)
228
{
229
    posCorrect = 0;
230
    var delay = 1;
231
    if (kris.sprite_index == spr_kris_fallen_dark)
232
    {
233
        snd_play(snd_noise);
234
        posCorrect = 1;
235
        kris.sprite_index = spr_kris_dw_landed;
236
        kris.image_index = 0;
237
        kris.x -= 8;
238
        kris.y -= 4;
239
        with (kris)
240
        {
241
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 10, "image_index", 1);
242
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 20, "image_index", 2);
243
        }
244
        delay = 40;
245
    }
246
    with (obj_mainchara_board)
247
        controlled = 0;
248
    
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, delay, "con", 16.1);
249
    con = -999;
250
}
251
if (con == 16.1)
252
{
253
    lilkris.hspeed = 0;
254
    lilkris.vspeed = 0;
255
    kris.fun = 0;
256
    kris.freeze = false;
257
    global.facing = 2;
258
    global.interact = 0;
259
    kris.y = 298;
260
    if (posCorrect)
261
        kris.x += 8;
262
    kris.x = round(kris.x);
263
    con = 17;
264
    with (obj_event_manager)
265
        trigger_event(UnknownEnum.Value_0, UnknownEnum.Value_28);
266
}
267
if (con == 18)
268
{
269
    var _play = collision_rectangle(256, 340, 384, 380, obj_mainchara, 0, 0);
270
    if (_play != -4)
271
    {
272
        obj_gameshow_swordroute.drawshadow = false;
273
        obj_gameshow_swordroute.disableshadow = true;
274
        global.interact = 1;
275
        timer = 0;
276
        con = 19;
277
    }
278
}
279
if (con == 19)
280
{
281
    global.facing = 1;
282
    
scr_getchar
scr_getchar

function
scr_getchar(arg0)
{ switch (arg0) { case "kr": case "kris": arg0 = 1; break; case "su": case "susie": arg0 = 2; break; case "ra": case "ralsei": arg0 = 3; break; case "no": case "noelle": arg0 = 4; break; } var characterToGet = arg0; getchar = 0; if (global.char[0] == 0) { global.char[0] = characterToGet; getchar = 1; } if (global.char[1] == 0 && getchar == 0) { global.char[1] = characterToGet; getchar = 1; } if (global.char[2] == 0 && getchar == 0) { global.char[2] = characterToGet; getchar = 1; } with (obj_darkcontroller) { chartotal = 0; havechar[0] = 0; havechar[1] = 0; havechar[2] = 0; havechar[3] = 0; for (i = 0; i < 3; i += 1) { global.faceaction[i] = 0; if (global.char[i] != 0) chartotal += 1; if (global.char[i] == 1) { havechar[0] = 1; charpos[0] = i; } if (global.char[i] == 2) { havechar[1] = 1; charpos[1] = i; } if (global.char[i] == 3) { havechar[2] = 1; charpos[2] = i; } if (global.char[i] == 4) { havechar[3] = 1; charpos[3] = i; } } } }
("susie");
283
    
scr_makecaterpillar
scr_makecaterpillar

function
scr_makecaterpillar(arg0, arg1, arg2, arg3)
{ global.cinstance[arg3] = instance_create(arg0, arg1, obj_caterpillarchara); global.cinstance[arg3].target = 12 + (arg3 * 12); if (arg2 == 3) { with (global.cinstance[arg3]) { usprite = spr_ralseiu; dsprite = spr_ralseid; rsprite = spr_ralseir; lsprite = spr_ralseil; if (global.chapter >= 2) { name = "ralsei"; usprite = spr_ralsei_walk_up; dsprite = spr_ralsei_walk_down; rsprite = spr_ralsei_walk_right; lsprite = spr_ralsei_walk_left; } } } if (arg2 == 4) { with (global.cinstance[arg3]) { name = "noelle"; usprite = spr_noelle_walk_up_dw; dsprite = spr_noelle_walk_down_dw; rsprite = spr_noelle_walk_right_dw; lsprite = spr_noelle_walk_left_dw; if (global.chapter == 2 && global.plot == 95) { dsprite = spr_noelle_walk_down_blush_dw; rsprite = spr_noelle_walk_right_blush_dw; lsprite = spr_noelle_walk_left_blush_dw; } } } if (arg2 == 5) { with (global.cinstance[arg3]) { name = "berdly"; usprite = spr_berdly_walk_up_dw; dsprite = spr_berdly_walk_down_dw; rsprite = spr_berdly_walk_right_dw; lsprite = spr_berdly_walk_left_dw; } } if (arg2 == 6) { with (global.cinstance[arg3]) { name = "starwalker"; usprite = spr_npc_originalstarwalker; dsprite = spr_npc_originalstarwalker; rsprite = spr_npc_originalstarwalker; lsprite = spr_npc_originalstarwalker; } } return global.cinstance[arg3]; }
(640, 282, 2, 0);
284
    with (obj_caterpillarchara)
285
        follow = 0;
286
    cutscene_master = 
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; }
();
287
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ 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; } } } }
();
288
    rim.visible = false;
289
    lil = instance_create(640, 320, obj_marker);
290
    with (lil)
291
    {
292
        sprite_index = spr_board_kris_walk_right;
293
        image_speed = 0.125;
294
        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
295
    }
296
    con = 20;
297
}
298
if (con == 20)
299
{
300
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hidekris", false);
301
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(lil, "x", 640);
302
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(lil, "y", 340);
303
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
304
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(316, 298, 32);
305
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
306
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
307
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
308
    
c_autofacing
c_autofacing

function
c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
}
(0);
309
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
310
    
c_imageindex
c_imageindex

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_kris_dw_landed);
312
    c_sndplay(snd_noise);
313
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(controller, "visible", false);
314
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
315
    
c_autofacing
c_autofacing

function
c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
}
(1);
316
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
317
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(300, 298, 12);
318
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_krisu_holdcontroller);
319
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(14);
320
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
321
    
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* Hey Kris!Wait for inputClose Message
"\\E9* Hey Kris!/%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_269_0"
);
322
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hidebar", 1);
323
    
c_talk_wait
c_talk_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
325
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(340, 282, 64);
326
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(8);
327
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "creepcon", 1);
328
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
329
    
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* What the hell are you doing?Wait for input
"\\E2* What the hell are you doing?/", "obj_swordroute_event_leavescreen_slash_Step_0_gml_276_0"
);
330
    
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* Being a tryhard all by yourself?Wait for inputClose Message
"\\EL* Being a tryhard all by yourself?/%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_277_0"
);
331
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
332
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
333
    
c_talk_wait
c_talk_wait

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(45);
335
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susieu_dark_faceleft);
336
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(1368, "fun", 1);
337
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(1368, "sprite_index", spr_susieu_dark_faceleft);
338
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kris, "fun", 1);
339
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kris, "sprite_index", spr_krisu_dark_slightright);
340
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(6);
341
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "con", 21);
342
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kris, "visible", true);
343
    
c_actortokris
c_actortokris

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

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
();
345
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
346
    con = -99;
347
}
348
if (con == 21)
349
{
350
    kris.sprite_index = spr_krisu_dark_slightright;
351
    global.msc = 1250;
352
    
scr_text
scr_text

function
scr_text(arg0)
{ switch (arg0) { case 0: break; case 10: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_8_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_9_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_12_0_b"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_13_0_b"
);
global.msg[0] = stringsetloc(
* You really didn't want to throw it away.Wait for input
"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0"
);
global.msg[1] = stringsetloc(
* Throw it away anyway?Wait for input
"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0"
);
global.msg[2] = stringsetloc(
Choice type 2
"\\C2 ", "scr_text_slash_scr_text_gml_14_0"
);
if (global.chapter >= 2) msgsetloc(0,
* You took it from your pocket.Delay 11
* You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input
"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0"
);
break; case 11: if (global.choice == 0) { global.flag[466 junkball_dropped] = 1; snd_play(snd_bageldefeat); global.msg[0] = stringsetloc(
* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input
"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0"
);
global.msg[1] = stringsetloc(
* It broke into pieces.Wait for input
"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0"
);
global.msg[2] = stringsetloc(
* You felt bitter.Wait for inputClose Message
"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0"
);
script_execute(scr_litemshift, global.menucoord[1], 0); for (var i = 0; i < 12; i += 1) global.item[i] = 0; for (var i = 0; i < 48; i += 1) { global.armor[i] = 0; global.weapon[i] = 0; } } else { global.msg[0] = stringsetloc(
* You felt a feeling of relief.Wait for inputClose Message
"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0"
);
} break; case 100: global.msg[0] = stringsetloc(
* Hey, Kris!Delay 11 What's up?Delay 11
* Didja lose your pencil again?Wait for input
"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0"
);
global.msg[1] = stringsetloc(
Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input
"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0"
);
global.msg[2] = stringsetloc(
Face 1* Huh?Delay 11
* You want to be partners?Wait for input
"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0"
);
global.msg[3] = stringsetloc(
Face 4* Ummm...Delay 11 Sorry...Delay 11
* Berdly already asked me...Wait for input
"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0"
);
global.msg[4] = stringsetloc(
Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input
"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0"
);
global.msg[5] = stringsetloc(
Face 4* I'll ask if you're sure!

Not yet Yes. Ask.Choice type 1
"\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0"
);
global.msg[6] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_47_0"
);
break; case 101: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message
"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0"
);
break; case 102: global.msg[0] = stringsetloc(
Face 0* Do you wanna be partners?
Not yet YesChoice type 1
"\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0"
);
global.msg[1] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_65_0"
);
break; case 103: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Umm,Delay 11 OK.Delay 11
* You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message
"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0"
);
break; case 104: global.msg[0] = stringsetloc(
Face 0* Alright.Delay 11
* Let's get this over with.Wait for input
"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0"
);
global.msg[1] = stringsetloc(
* We'll get more chalk.Delay 11
* Mosey back to class.Delay 11
* And then,Delay 11 Kris...Wait for input
"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0"
);
global.msg[2] = stringsetloc(
Face 2* YOU'LL do our project.Wait for input
"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0"
);
global.msg[3] = stringsetloc(
* How's that sound?

Good BadChoice type 1
"* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0"
);
global.msg[4] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_86_0"
);
break; case 105: global.msg[0] = stringsetloc(
Close MessageClose Message
" %%", "scr_text_slash_scr_text_gml_90_0"
);
break; case 110: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_92_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_93_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_96_0"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_97_0"
);
if (global.flag[100 got_glowshard] == 0) { global.msg[0] = stringsetloc(
* (There's something glowing inside.)Wait for input
"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0"
);
global.msg[1] = stringsetloc(
* (Take it?)Wait for input
"* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0"
);
global.msg[2] = stringsetloc(
Choice type 2
" \\C2", "scr_text_slash_scr_text_gml_100_0"
);
} else { global.msg[0] = stringsetloc(
* (It's dark inside.)Wait for inputClose Message
"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0"
);
} break; case 111: ...
(global.msc);
353
    d_make();
354
    con = 22;
355
    timer = 0;
356
}
357
if (con == 25 && !d_ex())
358
{
359
    timer++;
360
    if (timer == 5)
361
    {
362
        if (noturn == false)
363
            kris.sprite_index = spr_krisu_dark_slightright_down;
364
    }
365
    if (timer == 30)
366
    {
367
        obj_caterpillarchara.sprite_index = spr_susieu_dark_faceleft_smile;
368
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("susie");
369
        msgsetloc(0, 
Face 0* ...Wait for input
"\\E0* .../", "obj_swordroute_event_leavescreen_slash_Step_0_gml_321_0"
);
370
        msgnextloc(
Face Q* If you get all sweaty playing games alone...Wait for input
"\\EQ* If you get all sweaty playing games alone.../", "obj_swordroute_event_leavescreen_slash_Step_0_gml_322_0"
);
371
        msgnextloc(
Face 9* You're gonna end up like Berdly,Delay 11 right?Wait for inputClose Message
"\\E9* You're gonna end up like Berdly^1, right?/%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_323_0"
);
372
        d_make();
373
        timer = 0;
374
        con = 25.5;
375
    }
376
}
377
if (con == 25.5 && !d_ex())
378
{
379
    obj_caterpillarchara.sprite_index = spr_susieu_dark_faceleft;
380
    timer++;
381
    if (timer == 30)
382
    {
383
        var _weird = global.flag[456 beat_snowgrave_neo];
384
        if (_weird)
385
        {
386
            obj_caterpillarchara.sprite_index = spr_susieu_dark_faceleft_unhappy;
387
            msgsetloc(0, 
Face 0* ...Wait for input
"\\E0* .../", "obj_swordroute_event_leavescreen_slash_Step_0_gml_339_0"
);
388
            msgnextloc(
Face K* Hey,Delay 11 uh,Delay 11 it's just a joke. Chill.Wait for inputClose Message
"\\EK* Hey^1, uh^1, it's just a joke. Chill./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_340_0"
);
389
        }
390
        else
391
        {
392
            msgsetloc(0, 
Face K* ... Okay,Delay 11 enough bird noises. I get it.Wait for inputClose Message
"\\EK* ... Okay^1, enough bird noises. I get it./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_344_0"
);
393
        }
394
        d_make();
395
        timer = 0;
396
        con = 26;
397
        creeptoolate = 1;
398
    }
399
}
400
if (con == 26)
401
{
402
    if (creepcon == 3)
403
    {
404
        creepcon = -1;
405
        con = -999;
406
        if (lilkris.y > 325)
407
        {
408
            lilkris.canfreemove = 0;
409
            lilkris.fun = 1;
410
            lilkris.swordbuffer = 0;
411
            lilkris.vspeed = 2;
412
            lilkris.sprite_index = lilkris.dsprite;
413
            lilkris.image_speed = 0.125;
414
            scr_delay_var("con", 26.1, 30);
415
        }
416
        else
417
        {
418
            lilkris.canfreemove = 0;
419
            lilkris.fun = 1;
420
            lilkris.swordbuffer = 0;
421
            lilkris.hspeed = 2;
422
            if (lilkris.x < 560)
423
                lilkris.hspeed = 3;
424
            lilkris.sprite_index = lilkris.rsprite;
425
            lilkris.image_speed = 0.125;
426
            scr_delay_var("con", 26.1, 30);
427
        }
428
    }
429
    else
430
    {
431
        con = 26.1;
432
    }
433
}
434
if (con == 26.1 && !d_ex())
435
{
436
    con = -999;
437
    cutscene_master = 
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; }
();
438
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ 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; } } } }
();
439
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
440
    
c_walkdirect_speed
c_walkdirect_speed

function
c_walkdirect_speed(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 0);
}
(400, 282, 4);
441
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
442
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "con", 120);
443
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(1368, "fun", 1);
444
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(1368, "sprite_index", spr_susie_right_dw);
445
    
c_actortokris
c_actortokris

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

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
();
447
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
448
}
449
if (con == 70 && !d_ex())
450
{
451
    timer++;
452
    if (timer == 15)
453
        obj_caterpillarchara.sprite_index = spr_susieu_dark_faceleft_unhappy;
454
    if (timer == 30)
455
        con = 71;
456
}
457
if (con == 71)
458
{
459
    con = -999;
460
    cutscene_master = 
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; }
();
461
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ 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; } } } }
();
462
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
463
    
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 V* ...Wait for input
"\\EV* .../", "obj_swordroute_event_leavescreen_slash_Step_0_gml_417_0"
);
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 W* Okay,Delay 11 then here's an idea.Wait for inputClose Message
"\\EW* Okay^1, then here's an idea./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_418_0"
);
465
    
c_talk_wait
c_talk_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
467
    
c_walk
c_walk

function
c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
}
("l", 2, 34);
468
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
469
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.125);
470
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_left_dw_unhappy);
471
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
472
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
473
    
c_autofacing
c_autofacing

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_krisr_dark);
475
    
c_walk
c_walk

function
c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
}
("l", 2, 34);
476
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
477
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "creeptoolate", 1);
478
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
479
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(1);
480
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
481
    
c_facing
c_facing

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
483
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(controller, "visible", false);
484
    
c_autofacing
c_autofacing

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susieu_dark_benddown);
486
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
487
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
488
    c_sound_play(snd_wing);
489
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "endcreep", true);
490
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(20);
491
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_up_dw);
492
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(20);
493
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
494
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
495
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_sm5_holdcontroller_left);
496
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
497
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "dropcontroller", 1);
498
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_sm5_dropcontroller_left);
499
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(20);
500
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
501
    
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 Y* Don't play it.Wait for inputClose Message
"\\EY* Don't play it./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_444_0"
);
502
    
c_talk_wait
c_talk_wait

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
504
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
505
    
c_autofacing
c_autofacing

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_left_dw);
507
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
508
    
c_walkdirect_speed
c_walkdirect_speed

function
c_walkdirect_speed(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 0);
}
(420, 282, 4);
509
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
510
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
511
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "con", 120);
512
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kris, "fun", 1);
513
    
c_actortokris
c_actortokris

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

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
();
515
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
516
    with (obj_caterpillarchara)
517
    {
518
        fun = 1;
519
        sprite_index = spr_susie_walk_right_dw;
520
    }
521
}
522
if (con == 120)
523
{
524
    if (creepcon == 3)
525
    {
526
        creepcon = -1;
527
        con = -999;
528
        if (lilkris.y > 325)
529
        {
530
            lilkris.canfreemove = 0;
531
            lilkris.fun = 1;
532
            lilkris.swordbuffer = 0;
533
            lilkris.vspeed = 2;
534
            lilkris.sprite_index = lilkris.dsprite;
535
            lilkris.image_speed = 0.125;
536
            scr_delay_var("con", 120.1, 30);
537
        }
538
        else
539
        {
540
            lilkris.canfreemove = 0;
541
            lilkris.fun = 1;
542
            lilkris.swordbuffer = 0;
543
            lilkris.hspeed = 2;
544
            if (lilkris.x < 560)
545
                lilkris.hspeed = 3;
546
            lilkris.sprite_index = lilkris.rsprite;
547
            lilkris.image_speed = 0.125;
548
            scr_delay_var("con", 120.1, 30);
549
        }
550
    }
551
    else
552
    {
553
        con = 120.1;
554
    }
555
}
556
if (con == 120.1)
557
{
558
    creeptoolate = 1;
559
    global.facing = 1;
560
    cutscene_master = 
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; }
();
561
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ 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; } } } }
();
562
    con = -999;
563
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
564
    
c_facing
c_facing

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
566
    
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 0* Anyway.Wait for input
"\\E0* Anyway./", "obj_swordroute_event_leavescreen_slash_Step_0_gml_513_0"
);
567
    
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* Here. Stole you a drink.Wait for input
"\\E2* Here. Stole you a drink./", "obj_swordroute_event_leavescreen_slash_Step_0_gml_514_0"
);
568
    
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 Q* Now stop making us wait already.Wait for inputClose Message
"\\EQ* Now stop making us wait already./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_515_0"
);
569
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
570
    
c_facing
c_facing

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
572
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "sodamake", 1);
573
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
574
    
c_walk
c_walk

function
c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
}
("r", 4, 60);
575
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
576
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "con", 121);
577
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kris, "fun", 0);
578
    global.facing = 0;
579
    
c_actortokris
c_actortokris

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

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
();
581
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
582
}
583
if (con == 121 && !i_ex(cutscene_master))
584
{
585
    global.flag[7 disable_menu?] = 0;
586
    obj_gameshow_swordroute.bg.depth = 999994;
587
    obj_gameshow_swordroute.depth = 999980;
588
    obj_board_controller.depth = 999980;
589
    with (obj_treasure_room)
590
        depth = 999990;
591
    obj_gameshow_swordroute.gameconsole.depth = 999985;
592
    obj_swordroute_event_susiesoda.depth = 999985;
593
    global.flag[1278 swordroute_soda] = 1;
594
    with (obj_marker)
595
    {
596
        if (x == 0 && y == 380)
597
            depth = 999979;
598
    }
599
    with (obj_mainchara)
600
    {
601
        ignoredepth = 1;
602
        depth = 999979;
603
    }
604
    instance_create(574, 308, obj_solidblocksized);
605
    kris.fun = 0;
606
    kris.freeze = 0;
607
    global.interact = 0;
608
    
scr_losechar
scr_losechar

function
scr_losechar()
{ global.char[2] = 0; global.char[1] = 0; with (obj_darkcontroller) { chartotal = 0; havechar[0] = 0; havechar[1] = 0; havechar[2] = 0; havechar[3] = 0; for (i = 0; i < 3; i += 1) { global.faceaction[i] = 0; if (global.char[i] != 0) chartotal += 1; if (global.char[i] == 1) { havechar[0] = 1; charpos[0] = i; } if (global.char[i] == 2) { havechar[1] = 1; charpos[1] = i; } if (global.char[i] == 3) { havechar[2] = 1; charpos[2] = i; } if (global.char[i] == 4) { havechar[3] = 1; charpos[3] = i; } } } global.submenu = 0; global.charselect = -1; for (i = 0; i < 36; i += 1) global.submenucoord[i] = 0; }
();
609
    safe_delete(obj_caterpillarchara);
610
    with (cont2)
611
        depth = obj_mainchara.depth - 10;
612
    con++;
613
}
614
if (controllerdrop == 1)
615
{
616
    controllerdrop = 0;
617
    with (controller)
618
    {
619
        visible = true;
620
        image_angle = 0;
621
        setxy(300, 308);
622
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("y", y, 350, 8, 2, "in");
623
    }
624
    
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 8, "controllerdrop", 2);
625
}
626
if (controllerdrop == 2)
627
{
628
    with (controller)
629
    {
630
        
scr_lerpvar
scr_lerpvar

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

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

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("x", x, x - 20, 4, 2, "out");
633
    }
634
    controllerdrop = 0;
635
}
636
if (i_ex(kris))
637
{
638
    with (kris)
639
    {
640
        if (other.inthetvcon == 0)
641
        {
642
            if (place_meeting(x, y, obj_bpush2_stucktrigger))
643
                other.inthetvcon = 1;
644
        }
645
        if (other.inthetvcon == 1)
646
        {
647
            var open = 0;
648
            with (obj_treasure_room)
649
            {
650
                if (image_index == 1)
651
                    open++;
652
            }
653
            if (open != 0)
654
            {
655
                with (obj_gameshow_swordroute)
656
                    shadowfade = 1;
657
                other.inthetvcon = 2;
658
            }
659
        }
660
        if (other.inthetvcon == 2)
661
        {
662
            if (!place_meeting(x, y, obj_bpush2_stucktrigger))
663
            {
664
                other.con = 18;
665
                other.inthetvcon = 3;
666
                with (obj_bpush2_stucktrigger)
667
                {
668
                    copy = instance_create(x, y, obj_solidblock);
669
                    copy.sprite_index = sprite_index;
670
                    copy.image_xscale = image_xscale;
671
                    copy.image_yscale = image_yscale;
672
                    instance_destroy();
673
                }
674
                other.darkenblend = true;
675
            }
676
        }
677
    }
678
}
679
if (darkenblend)
680
{
681
    grayblend = lerp(grayblend, 0.5, 0.25);
682
    var mygray = grayblend;
683
    with (obj_mainchara)
684
        image_blend = merge_color(c_white, c_black, mygray);
685
    with (obj_actor)
686
        color_blend = merge_color(c_white, c_black, mygray);
687
    with (obj_caterpillarchara)
688
        image_blend = merge_color(c_white, c_black, mygray);
689
}
690
if (sodamake == 1)
691
{
692
    sodamake = 2;
693
    var __x = 444;
694
    if (i_ex(obj_caterpillarchara))
695
        __x = obj_caterpillarchara.x + 22;
696
    if (i_ex(obj_actor))
697
    {
698
        with (obj_actor)
699
        {
700
            if (name == "susie")
701
                __x = x + 22;
702
        }
703
    }
704
    with (obj_mainchara_board)
705
        instance_destroy();
706
    soda = instance_create(__x, 354, obj_swordroute_event_susiesoda);
707
    soda.depth = 99990;
708
    soda.image_blend = merge_color(c_white, c_black, 0.5);
709
    safe_delete(exitblocker);
710
    global.tempflag[90] = 0;
711
}
712
if (creepcon == 1 && creeptoolate == 0)
713
{
714
    if (!left_h() && !up_h())
715
        creepinput = 0;
716
    if (left_h() || up_h())
717
        creepinput++;
718
    if (creepinput >= 10)
719
    {
720
        var _condelay = 34;
721
        if (up_h())
722
        {
723
            with (lilkris)
724
            {
725
                visible = true;
726
                setxy(520, 480);
727
                canfreemove = false;
728
                interactoverride = true;
729
                fun = 1;
730
                sprite_index = spr_board_kris_walk_up;
731
                image_speed = 0.125;
732
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("y", 481, 345, 34);
733
                _condelay = 34;
734
            }
735
        }
736
        else
737
        {
738
            with (lilkris)
739
            {
740
                visible = true;
741
                setxy(640, 345);
742
                canfreemove = false;
743
                interactoverride = true;
744
                fun = 1;
745
                sprite_index = spr_board_kris_walk_left;
746
                image_speed = 0.125;
747
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("x", 640, 576, 32);
748
                _condelay = 32;
749
            }
750
        }
751
        with (obj_mainchara_board)
752
            controlled = true;
753
        creepcon = -999;
754
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, _condelay, "creepcon", 2);
755
        with (lilkris)
756
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, _condelay, "image_speed", 0);
757
    }
758
}
759
if (creepcon == 2)
760
{
761
    tvblocker = instance_create(504, 192, obj_board_solid);
762
    lilkris.canfreemove = 1;
763
    lilkris.interactoverride = true;
764
    lilkris.fun = 0;
765
    lilkris.sword = false;
766
    kris.freeze = true;
767
    creepcon = 3;
768
}
769
fakeswordhit = 0;
770
if (fakeswordcon == 1)
771
{
772
    var _hit = 0;
773
    fakeswordcon = -999;
774
    var _fakeswordcondelay = 9;
775
    scr_delay_var("fakeswordcon", 0, _fakeswordcondelay);
776
    if (lilkris.x <= 424 && lilkris.facing == 3)
777
        _hit = 1;
778
    if (_hit == 0)
779
    {
780
        snd_play(choose(snd_board_sword1, snd_board_sword2, snd_board_sword3));
781
        lilkris.swordbuffer = 8;
782
        lilkris.swordfacing = lilkris.facing;
783
        lilkris.canfreemove = 0;
784
        with (lilkris)
785
            
scr_var_delay
scr_var_delay

function
scr_var_delay(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
} function scr_var_delayed(arg0, arg1, arg2) {
scr_script_delayed(scr_var, arg2, arg0, arg1);
} function scr_delay_var(arg0, arg1, arg2) {
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
("canfreemove", 1, _fakeswordcondelay);
786
    }
787
    else
788
    {
789
        var __delay = 2;
790
        with (lilkris)
791
        {
792
            canfreemove = 0;
793
            scr_delay_var("swordbuffer", 8, __delay);
794
            scr_delay_var("swordfacing", facing, __delay);
795
            snd_play_delay(choose(snd_board_sword1, snd_board_sword2, snd_board_sword3), __delay);
796
        }
797
        fakeswordhit = 1;
798
    }
799
}
800
if (creepcon == 3)
801
{
802
    with (obj_mainchara_board)
803
    {
804
        interactoverride = true;
805
        fun = 0;
806
    }
807
    var breakEverything = false;
808
    lilkrisXClamp = 406;
809
    with (obj_actor)
810
    {
811
        if (name == "susie")
812
            other.lilkrisXClamp = ((id.x + sprite_width + 24) - 24) + 6;
813
    }
814
    if (lilkris.x < lilkrisXClamp)
815
        lilkris.x = lilkrisXClamp;
816
    if (button1_p())
817
    {
818
        if (fakeswordcon == 0)
819
            fakeswordcon = 1;
820
    }
821
    if (endcreep)
822
    {
823
        with (lilkris)
824
        {
825
            visible = false;
826
            splash = instance_create(x + 16, y + 16, obj_board_enemydefeatsplash);
827
            splash.depth = 0;
828
        }
829
        endcreep = 2;
830
        creepcon = -999;
831
        breakEverything = false;
832
        with (obj_event_manager)
833
            trigger_event(UnknownEnum.Value_0, UnknownEnum.Value_29);
834
    }
835
    if (fakeswordhit == true)
836
        breakEverything = true;
837
    if (breakEverything == true)
838
        creepcon++;
839
}
840
if (creepcon == 4)
841
{
842
    con = -999;
843
    var krisX = 0;
844
    var krisY = 0;
845
    global.interact = 1;
846
    if (i_ex(obj_cutscene_master))
847
    {
848
        with (obj_actor)
849
        {
850
            if (name == "kris")
851
            {
852
                krisX = id.x;
853
                krisY = id.y;
854
            }
855
        }
856
        with (obj_mainchara_board)
857
        {
858
            interactoverride = 0;
859
            canfreemove = 0;
860
        }
861
        with (obj_actor)
862
            instance_destroy();
863
        with (obj_cutscene_master)
864
            instance_destroy();
865
        with (obj_dialoguer)
866
            instance_destroy();
867
        with (obj_choicer_neo)
868
            instance_destroy();
869
        with (obj_writer)
870
            instance_destroy();
871
    }
872
    else
873
    {
874
        krisX = obj_mainchara.x;
875
        krisY = obj_mainchara.y;
876
        with (obj_mainchara)
877
            visible = false;
878
        with (obj_caterpillarchara)
879
            visible = false;
880
    }
881
    with (obj_choicer_neo)
882
        instance_destroy();
883
    with (obj_writer)
884
        instance_destroy();
885
    with (obj_dialoguer)
886
        instance_destroy();
887
    with (obj_lerpvar)
888
        instance_destroy();
889
    if (subcon == 0)
890
    {
891
        subcon = 1;
892
        subtimer = 0;
893
        var susX = 340;
894
        var susY = 282;
895
        kris.visible = false;
896
        with (obj_actor)
897
        {
898
            if (name == "susie")
899
                other.susie = id;
900
        }
901
        if (!i_ex(susie))
902
            susie = 1368;
903
        susie.visible = false;
904
        snd_play(snd_grab);
905
        krisandsusie = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(susX, susY, spr_dw_ch3_SM03_grab_1);
906
        krisandsusie.image_blend = merge_color(c_white, c_black, 0.5);
907
    }
908
}
909
if (subcon == 1)
910
{
911
    subtimer++;
912
    if (subtimer == 2)
913
        krisandsusie.x -= 4;
914
    if (subtimer == 3)
915
        krisandsusie.x -= 2;
916
    if (subtimer == 4)
917
        krisandsusie.x -= 2;
918
    if (subtimer == 5)
919
    {
920
        with (krisandsusie)
921
        {
922
            sprite_index = spr_dw_ch3_SM03_grab_2;
923
            image_speed = 0.125;
924
            hspeed = -12;
925
            vspeed = -3.5;
926
            gravity = 0.95;
927
        }
928
    }
929
    if (subtimer == 11)
930
    {
931
        with (krisandsusie)
932
        {
933
            sprite_index = spr_dw_ch3_SM03_grab_3;
934
            image_index = 0;
935
            image_speed = 0;
936
        }
937
    }
938
    if (subtimer == 12)
939
    {
940
        with (krisandsusie)
941
        {
942
            y = 282;
943
            friction = 1.5;
944
            vspeed = 0;
945
            gravity = 0;
946
        }
947
    }
948
    if (subtimer == 12)
949
        krisandsusie.sprite_index = spr_dw_ch3_SM03_grab_3_breathing;
950
    var startbreathing = 12;
951
    var endbreathing = 117;
952
    if (subtimer > startbreathing && subtimer < endbreathing)
953
        krisandsusie.image_speed = (1 - ((subtimer - startbreathing) / (endbreathing - startbreathing))) * 0.25;
954
    if (subtimer == 57)
955
        makelilkrisleave = true;
956
    var timeperframe = 6;
957
    if (subtimer == 129)
958
    {
959
        with (krisandsusie)
960
        {
961
            debug_print("change");
962
            sprite_index = spr_dw_ch3_SM03_grab_3;
963
            image_index = 0;
964
            image_speed = 0;
965
            for (var i = 0; i < 5; i++)
966
                scr_delay_var("image_index", i, i * timeperframe);
967
            scr_delay_var("image_index", 0, (6 * timeperframe) - 1);
968
            scr_delay_var("sprite_index", 3449, (6 * timeperframe) - 1);
969
        }
970
    }
971
    if (subtimer == 194)
972
    {
973
        creepcon = 6;
974
        subcon++;
975
        subtimer = 0;
976
    }
977
}
978
if (makelilkrisleave == true)
979
{
980
    makelilkrisleave = false;
981
    with (
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(obj_mainchara_board.x, obj_mainchara_board.y, spr_board_kris_walk_down))
982
    {
983
        depth = obj_mainchara_board.depth;
984
        image_index = 0;
985
        scr_delay_var("image_index", 1, 4);
986
        vspeed = 2;
987
        
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; } }
(id, 64);
988
    }
989
    with (obj_mainchara_board)
990
        instance_destroy();
991
}
992
if (creepcon == 6)
993
{
994
    susie = 1368;
995
    kris.x = krisandsusie.x - 62;
996
    kris.y = krisandsusie.y + 16;
997
    susie.x = krisandsusie.x - 16;
998
    susie.y = krisandsusie.y;
999
    kris.fun = 1;
1000
    susie.fun = 1;
1001
    kris.sprite_index = spr_krisr_dark;
1002
    susie.sprite_index = spr_susie_left_dw;
1003
    creepcon = 7;
1004
}
1005
if (creepcon == 7)
1006
{
1007
    krisandsusie.sprite_index = spr_dw_ch3_SM03_together;
1008
    krisandsusie.image_speed = 0;
1009
    krisandsusie.image_index = 0;
1010
    
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("susie");
1011
    msgsetloc(0, 
Face Z* K-Kris...? What are you...Wait for input
"\\EZ* K-Kris...? What are you.../", "obj_swordroute_event_leavescreen_slash_Step_0_gml_937_0"
);
1012
    msgnextloc(
Face V* ...Wait for input
"\\EV* .../", "obj_swordroute_event_leavescreen_slash_Step_0_gml_938_0"
);
1013
    msgnextloc(
Face V* Alright,Delay 11 I...Delay 11 I get it.Wait for input
"\\EV* Alright^1, I..^1. I get it./", "obj_swordroute_event_leavescreen_slash_Step_0_gml_939_0"
);
1014
    msgnextloc(
Face W* Well,Delay 11 if...Delay 11 if you really want to.Wait for inputClose Message
"\\EW* Well^1, if..^1. if you really want to./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_1140_0"
);
1015
    d_make();
1016
    creepcon++;
1017
    timer = 0;
1018
}
1019
if (creepcon == 8 && d_ex())
1020
{
1021
    if (
scr_getmsgno_d
scr_getmsgno_d

function
scr_getmsgno_d()
{ if (instance_exists(obj_dialoguer) && instance_exists(obj_dialoguer.writer)) return obj_dialoguer.writer.msgno; }
() == 2)
1022
        krisandsusie.image_index = 1;
1023
}
1024
if (creepcon == 8 && !d_ex())
1025
{
1026
    timer++;
1027
    if (timer == 30)
1028
    {
1029
        krisandsusie.image_index = 2;
1030
        snd_play(snd_swallow);
1031
        snd_play(snd_noise);
1032
    }
1033
    if (timer == 60)
1034
    {
1035
        global.flag[1268 mini_attack_susie] = 1;
1036
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("susie");
1037
        msgsetloc(0, 
Face X* Go ahead.Wait for input
"\\EX* Go ahead./", "obj_swordroute_event_leavescreen_slash_Step_0_gml_963_0"
);
1038
        msgnextloc(
Face Y* I tasted your shampoo in your bathroom,Delay 11 here,Delay 11 you can taste mine.Wait for inputClose Message
"\\EY* I tasted your shampoo in your bathroom^1, here^1, you can taste mine./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_964_0"
);
1039
        d_make();
1040
        creepcon = 8.1;
1041
        timer = 0;
1042
    }
1043
}
1044
if (creepcon == 8.1 && d_ex())
1045
{
1046
    if (
scr_getmsgno_d
scr_getmsgno_d

function
scr_getmsgno_d()
{ if (instance_exists(obj_dialoguer) && instance_exists(obj_dialoguer.writer)) return obj_dialoguer.writer.msgno; }
() == 1)
1047
    {
1048
        krisandsusie.image_index = 3;
1049
        creepcon = 8.2;
1050
        timer = 0;
1051
    }
1052
}
1053
if (creepcon == 8.2 && !d_ex())
1054
{
1055
    timer++;
1056
    if (timer == 60)
1057
    {
1058
        krisandsusie.image_index = 4;
1059
        snd_play(snd_whip_crack_only);
1060
    }
1061
    if (timer == 90)
1062
    {
1063
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("susie");
1064
        msgsetloc(0, 
Face H* WHAT? HOW AM I THE WEIRD ONE HERE!?Wait for inputClose Message
"\\EH* WHAT? HOW AM I THE WEIRD ONE HERE!?/%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_975_0"
);
1065
        d_make();
1066
        timer = 0;
1067
        creepcon = 9;
1068
    }
1069
}
1070
if (creepcon == 9 && !d_ex())
1071
{
1072
    timer++;
1073
    if (timer == 10)
1074
    {
1075
        krisandsusie.visible = false;
1076
        kris.visible = true;
1077
        susie.sprite_index = spr_susie_walk_left_dw_unhappy;
1078
        susie.visible = true;
1079
        susie.hspeed = 4;
1080
        susie.friction = 0.45;
1081
        snd_play(snd_wing);
1082
    }
1083
    if (timer == 30)
1084
    {
1085
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("susie");
1086
        msgsetloc(0, 
Face M* Jeez.Wait for inputClose Message
"\\EM* Jeez./%", "obj_swordroute_event_leavescreen_slash_Step_0_gml_993_0"
);
1087
        d_make();
1088
        creepcon++;
1089
    }
1090
}
1091
if (creepcon == 10 && !d_ex())
1092
{
1093
    with (susie)
1094
        
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(420, 282, 40);
1095
    susie.sprite_index = spr_susie_walk_right_dw;
1096
    susie.image_speed = 0.25;
1097
    creepcon++;
1098
    
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 40, "con", 120);
1099
}
1100
if (creepcon >= 3 && creepcon < 5 && i_ex(lilkris))
1101
{
1102
    if (lilkris.x <= 428)
1103
    {
1104
        with (obj_actor)
1105
        {
1106
            if (name == "kris")
1107
                sprite_index = spr_kris_u_dark_lookright;
1108
        }
1109
        obj_mainchara.sprite_index = spr_kris_u_dark_lookright;
1110
    }
1111
}
1112
if (dropcontroller == 1)
1113
{
1114
    with (obj_mainchara_board)
1115
        controlled = 0;
1116
    safe_delete(cont2);
1117
    dropcontroller = 2;
1118
    var suact = 0;
1119
    with (obj_actor)
1120
    {
1121
        if (name == "susie")
1122
            suact = id;
1123
    }
1124
    cont2 = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(suact.x + 2, suact.y + 34, spr_ch3_controller);
1125
    cont2.image_blend = merge_color(c_white, c_black, 0.5);
1126
    cont2.limiter = scr_limitval_upper(cont2, "y", cont2.y + 37, 40);
1127
    cont2.gravity = 1;
1128
}
1129
if (dropcontroller == 2)
1130
{
1131
    if (i_ex(cont2))
1132
    {
1133
        if (cont2.y >= 352)
1134
        {
1135
            cont2.vspeed = -2;
1136
            cont2.y = 352;
1137
            snd_play_x(snd_noise, 0.7, 1);
1138
            dropcontroller = 3;
1139
            cont2.sprite_index = spr_ch3_controller_laydown;
1140
            with (cont2)
1141
                scr_delay_var("vspeed", 0, 8);
1142
            with (cont2)
1143
                scr_delay_var("gravity", 0, 8);
1144
        }
1145
    }
1146
}
1147
if (hidebar == 1)
1148
{
1149
    with (obj_gameshow_swordroute)
1150
        drawui = false;
1151
    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)
{ var thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { depth = arg8; sprite_index = arg2; image_speed = arg5; image_xscale = arg3; image_yscale = arg4; image_index = arg6; image_blend = arg7; image_alpha = arg11; if (arg9)
scr_depth();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; }
(board_tilex(0), board_tiley(-1), spr_pxwhite, 384, 32, undefined, undefined, c_black, 99999999))
1152
        hidebar = 2;
1153
}
1154
1155
enum UnknownEnum
1156
{
1157
    Value_0,
1158
    Value_28 = 28,
1159
    Value_29
1160
}