Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_kingcutscene_Step_0

(view raw script w/o annotations or w/e)
1
if (con < 76)
2
{
3
    if (con == 0)
4
    {
5
        with (obj_npc_facing)
6
            instance_destroy();
7
        with (obj_npc_room)
8
            instance_destroy();
9
        snd_free_all();
10
        global.currentsong[0] = snd_init("wind.ogg");
11
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.5, 0.7);
12
        part = 1;
13
        with (obj_mainchara)
14
        {
15
            visible = 0;
16
            cutscene = 1;
17
        }
18
        with (obj_caterpillarchara)
19
            visible = 0;
20
        con = 1;
21
        k = 
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; }
(-20, 200, spr_krisr_dark);
22
        s = 
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; }
(-75, 180, spr_susier_dark);
23
        r = 
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; }
(-130, 190, spr_ralseir);
24
        with (obj_marker)
25
        {
26
            hspeed = 4;
27
            image_speed = 0.25;
28
        }
29
        alarm[4]
 = 50;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
30
        if (global.tempflag[8] == 1)
31
        {
32
            with (obj_marker)
33
            {
34
                hspeed = 8;
35
                image_speed = 0.25;
36
            }
37
            alarm[4]
 = 25;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
38
        }
39
        l = 
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; }
(512, 194, spr_lancer_rt);
40
    }
41
    if (con == 1)
42
        global.interact = 1;
43
    if (con == 2)
44
    {
45
        with (obj_marker)
46
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
47
        con = 3;
48
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
49
        if (global.tempflag[8] == 1)
50
            alarm[4]
 = 2;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
51
    }
52
    if (con == 4)
53
    {
54
        global.fc = 1;
55
        global.typer = 30;
56
        global.fe = 2;
57
        global.msg[0] = 
* Hey,Delay 11 there's Lancer...!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_72_0")
;
58
        if (global.tempflag[8] == 0)
59
            instance_create(0, 0, obj_dialoguer);
60
        con = 5;
61
    }
62
    if (con == 5 && !d_ex())
63
    {
64
        king = 
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; }
(820 + global.xoff, 120, spr_kingu_shadow);
65
        with (l)
66
            hspeed = 5;
67
        if (global.tempflag[8] == 0)
68
            
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(8, 0, 90);
69
        con = 5.1;
70
        alarm[4]
 = 90;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
71
        if (global.tempflag[8] == 1)
72
        {
73
            with (l)
74
                hspeed = 10;
75
            
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(16, 0, 45);
76
            con = 5.1;
77
            alarm[4]
 = 45;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
78
        }
79
    }
80
    if (con == 6.1)
81
    {
82
        with (l)
83
            hspeed = 0;
84
        con = 6;
85
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
86
    }
87
    if (con == 7)
88
    {
89
        with (l)
90
            hspeed = 0;
91
        global.fc = 5;
92
        global.typer = 32;
93
        global.fe = 3;
94
        global.msg[0] = 
* Father!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_110_0")
;
95
        
scr_kingface
scr_kingface

function
scr_kingface(arg0, arg1)
{ if (global.plot >= 235) global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char K Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_3_0")
, string(arg1));
else global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_7_0")
, string(arg1));
}
(1, 0);
96
        global.msg[2] = 
* Lancer,Delay 11 my son.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_112_0")
;
97
        global.msg[3] = 
* Have you dispatched the Lightners,Delay 11 as I commanded?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_113_0")
;
98
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(4, 7);
99
        global.msg[5] = 
* N...Delay 11 No,Delay 11 b-but...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_115_0")
;
100
        global.msg[6] = 
Face 3* I did even better!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_116_0")
;
101
        global.msg[7] = 
Face 2* It turns out we don't actually have to fight them!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_117_0")
;
102
        global.msg[8] = 
Face 3* They said they could just talk to you,Delay 11 and...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_118_0")
;
103
        if (global.tempflag[8] == 0)
104
            instance_create(0, 0, obj_dialoguer);
105
        con = 8;
106
        if (global.tempflag[8] == 1)
107
            con = 9;
108
    }
109
    if (con == 8 && !d_ex())
110
    {
111
        with (king)
112
        {
113
            sprite_index = spr_kingl_shadow;
114
            snd_play(snd_impact);
115
            instance_create(0, 0, obj_shake);
116
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
117
        }
118
        global.fc = 0;
119
        global.typer = 36;
120
        global.msg[0] = 
* They're ALIVE?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_137_0")
;
121
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(1, 3);
122
        global.msg[2] = 
* Yes,Delay 11 and I think you'll like them a lot!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_139_0")
;
123
        global.msg[3] = 
Face 2* There's Susie,Delay 11 she's very purple and strong,Delay 11 and...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_140_0")
;
124
        
scr_kingface
scr_kingface

function
scr_kingface(arg0, arg1)
{ if (global.plot >= 235) global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char K Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_3_0")
, string(arg1));
else global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_7_0")
, string(arg1));
}
(4, 0);
125
        global.msg[5] = 
* WHERE ARE THEY NOW?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_142_0")
;
126
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(6, 4);
127
        global.msg[7] = 
* Ummm...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_144_0")
;
128
        instance_create(0, 0, obj_dialoguer);
129
        con = 9;
130
    }
131
    if (con == 9 && !d_ex())
132
    {
133
        with (king)
134
            sprite_index = spr_kingl_shadow;
135
        with (k)
136
        {
137
            x = 440 + global.xoff;
138
            y = 50;
139
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
140
        }
141
        with (s)
142
        {
143
            x = 440 + global.xoff;
144
            y = 130;
145
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
146
        }
147
        with (r)
148
        {
149
            x = 440 + global.xoff;
150
            y = 210;
151
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
152
        }
153
        with (l)
154
            sprite_index = spr_lancer_lt;
155
        if (global.tempflag[8] == 0)
156
            
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(-4, 0, 30);
157
        con = 10;
158
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
159
        if (global.tempflag[8] == 1)
160
        {
161
            
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(-8, 0, 15);
162
            alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
163
        }
164
    }
165
    if (con == 11)
166
    {
167
        global.typer = 30;
168
        global.fc = 1;
169
        global.fe = 1;
170
        global.msg[0] = 
* Hey.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_175_0")
;
171
        
scr_ralface
scr_ralface

function
scr_ralface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char R Sound R Close Message
scr_84_get_lang_string("scr_ralface_slash_scr_ralface_gml_1_0")
, string(arg1));
}
(1, 0);
172
        global.msg[2] = 
* It's nice to meet you!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_177_0")
;
173
        if (global.tempflag[8] == 0)
174
            instance_create(0, 0, obj_dialoguer);
175
        con = 12;
176
    }
177
    if (con == 12 && !d_ex())
178
    {
179
        with (l)
180
            sprite_index = spr_lancer_rt;
181
        global.typer = 36;
182
        global.fc = 0;
183
        global.msg[0] = 
* ... Lancer.Delay 11
* Lancer,Delay 11 my son.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_187_0")
;
184
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(1, 7);
185
        global.msg[2] = 
* Y...Delay 11 Yes,Delay 11 father?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_189_0")
;
186
        if (global.tempflag[8] == 0)
187
            instance_create(0, 0, obj_dialoguer);
188
        con = 13;
189
    }
190
    if (con == 13 && !d_ex())
191
    {
192
        with (king)
193
        {
194
            hspeed = -2;
195
            image_speed = 0.1;
196
        }
197
        con = 14;
198
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
199
    }
200
    if (con == 15)
201
    {
202
        with (l)
203
            visible = 0;
204
        with (king)
205
        {
206
            hspeed = 0;
207
            sprite_index = spr_king_liftlancer;
208
            image_index = 0;
209
            image_speed = 0.2;
210
        }
211
        con = 16;
212
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
213
    }
214
    if (con == 17)
215
    {
216
        with (s)
217
            sprite_index = spr_susier_dark_unhappy;
218
        with (king)
219
        {
220
            image_index = 3;
221
            image_speed = 0;
222
        }
223
        global.typer = 36;
224
        global.fe = 0;
225
        global.fc = 0;
226
        global.msg[0] = 
* Do you remember what I told you?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_223_0")
;
227
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(1, 5);
228
        global.msg[2] = 
* D...Delay 11 Don't...Delay 11 get too attached?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_225_0")
;
229
        if (global.tempflag[8] == 0)
230
            instance_create(0, 0, obj_dialoguer);
231
        con = 17.1;
232
    }
233
    if (con == 17.1 && !d_ex())
234
    {
235
        with (king)
236
        {
237
            image_index = 3;
238
            image_speed = 0.1;
239
        }
240
        con = 17.3;
241
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
242
    }
243
    if ((con >= 17.3 && con < 19) || (con == 19 && d_ex()))
244
    {
245
        if (king.image_index > 4.9)
246
        {
247
            king.image_speed = 0;
248
            king.image_index = 5;
249
        }
250
    }
251
    if (con == 18.3 && !d_ex())
252
    {
253
        global.typer = 36;
254
        global.fc = 0;
255
        global.msg[0] = 
* You have failed.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_251_0")
;
256
        global.msg[1] = 
* They have poisoned you with their sentimentality.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_252_0")
;
257
        global.msg[2] = 
* Free yourself,Delay 11 Lancer.Delay 11
* They care NOT for you.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_253_0")
;
258
        global.msg[3] = 
* Their only goal is to destroy our glorious Fountain.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_254_0")
;
259
        global.msg[4] = 
* They.Delay 11 Are.Delay 11 Scum.Delay 11Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_255_0")
;
260
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(5, "A");
261
        global.msg[6] = 
* N...Delay 11 no they aren't...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_257_0")
;
262
        con = 19;
263
        if (global.tempflag[8] == 0)
264
            instance_create(0, 0, obj_dialoguer);
265
    }
266
    if (con == 19 && !d_ex())
267
    {
268
        snd_free_all();
269
        snd_play(snd_grab);
270
        with (s)
271
            sprite_index = spr_susie_shock_r;
272
        with (r)
273
            sprite_index = spr_ralsei_shock_overworld;
274
        with (king)
275
        {
276
            image_index = 5;
277
            image_speed = 0.2;
278
        }
279
        con = 20;
280
        alarm[4]
 = 4;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
281
    }
282
    if (con == 20)
283
    {
284
        with (king)
285
        {
286
            if (image_index > 5)
287
                image_index = 6;
288
        }
289
    }
290
    if (con == 21)
291
    {
292
        with (king)
293
        {
294
            if (image_index > 6)
295
            {
296
                image_speed = 0;
297
                image_index = 7;
298
            }
299
        }
300
        con = 22;
301
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
302
    }
303
    if (con == 23)
304
    {
305
        with (king)
306
        {
307
            image_speed = 0;
308
            image_index = 7;
309
        }
310
        global.typer = 36;
311
        global.fc = 0;
312
        global.msg[0] = 
* WHAT DID YOU SAY!?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_285_0")
;
313
        global.msg[1] = "%";
314
        if (global.tempflag[8] == 0)
315
            instance_create(0, 0, obj_dialoguer);
316
        con = 24;
317
    }
318
    if (con == 24 && !d_ex())
319
    {
320
        snd_play(snd_weaponpull);
321
        with (r)
322
            sprite_index = spr_ralseir;
323
        with (s)
324
        {
325
            sprite_index = spr_susieb_attackready_unhappy;
326
            hspeed = 8;
327
        }
328
        con = 25;
329
        alarm[4]
 = 5;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
330
    }
331
    if (con == 26)
332
    {
333
        with (s)
334
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
335
        con = 27;
336
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
337
    }
338
    if (con == 28)
339
    {
340
        global.currentsong[0] = snd_init("GALLERY.ogg");
341
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.8, 1);
342
        global.fc = 1;
343
        global.fe = 0;
344
        global.typer = 30;
345
        global.msg[0] = 
* Let him go.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_316_0")
;
346
        
scr_noface
scr_noface

function
scr_noface(arg0)
{ global.msg[arg0] =
Sound X Char 0 Sound 0 Close Message
scr_84_get_lang_string("scr_noface_slash_scr_noface_gml_1_0")
;
}
(1);
347
        
scr_kingface
scr_kingface

function
scr_kingface(arg0, arg1)
{ if (global.plot >= 235) global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char K Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_3_0")
, string(arg1));
else global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_7_0")
, string(arg1));
}
(2, 0);
348
        global.msg[3] = 
* Ha ha ha ha...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_319_0")
;
349
        global.msg[4] = 
* You want me to LET HIM GO!?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_320_0")
;
350
        global.msg[5] = 
* Then how about this...?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_321_0")
;
351
        if (global.tempflag[8] == 0)
352
            instance_create(0, 0, obj_dialoguer);
353
        con = 30;
354
    }
355
    if (con == 30 && !d_ex())
356
    {
357
        snd_play(snd_noise);
358
        with (king)
359
            image_speed = 0.25;
360
        con = 31;
361
        alarm[4]
 = 8;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
362
    }
363
    if (con == 32)
364
    {
365
        with (king)
366
        {
367
            image_index = 9;
368
            image_speed = 0;
369
        }
370
        con = 33;
371
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
372
        if (global.tempflag[8] == 1)
373
            alarm[4]
 = 2;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
374
    }
375
    if (con == 34)
376
    {
377
        global.fc = 0;
378
        global.typer = 36;
379
        global.msg[0] = 
* I'll drop him off the edge and let him splatter...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_348_0")
;
380
        global.msg[1] = 
* Unless you all KNEEL and learn your place!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_349_0")
;
381
        global.msg[2] = "%";
382
        con = 34.1;
383
        if (global.tempflag[8] == 0)
384
            instance_create(0, 0, obj_dialoguer);
385
    }
386
    if (con == 34.1 && !d_ex())
387
    {
388
        alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
389
        con = 34.2;
390
    }
391
    if (con == 35.2)
392
    {
393
        global.msg[0] = 
* What will it be, Lightners!?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_363_0")
;
394
        global.msg[2] = "%";
395
        con = 35.3;
396
        if (global.tempflag[8] == 0)
397
            instance_create(0, 0, obj_dialoguer);
398
    }
399
    if (con == 35.3 && !d_ex())
400
    {
401
        con = 36;
402
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
403
        if (global.tempflag[8] == 1)
404
            alarm[4]
 = 2;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
405
    }
406
    if (con == 37 && !d_ex())
407
    {
408
        with (s)
409
        {
410
            sprite_index = spr_susier_dark_unhappy;
411
            image_speed = 0.2;
412
            hspeed = -2;
413
        }
414
        con = 38;
415
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
416
    }
417
    if (con == 39)
418
    {
419
        with (s)
420
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
421
        con = 39.1;
422
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
423
        if (global.tempflag[8] == 1)
424
            alarm[4]
 = 2;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
425
    }
426
    if (con == 40.1)
427
    {
428
        global.fe = 12;
429
        global.fc = 5;
430
        global.typer = 32;
431
        global.msg[0] = 
* D-don't listen to him Susie,Delay 11 he'll...Delay 11 he'll...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_396_0")
;
432
        global.msg[1] = "%";
433
        con = 41;
434
        if (global.tempflag[8] == 0)
435
            instance_create(0, 0, obj_dialoguer);
436
    }
437
    if (con == 41 && !d_ex())
438
    {
439
        con = 40.2;
440
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
441
        if (global.tempflag[8] == 1)
442
            alarm[4]
 = 2;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
443
    }
444
    if (con == 41.2 && !d_ex())
445
    {
446
        with (r)
447
            sprite_index = spr_ralseir_kneel;
448
        with (s)
449
            sprite_index = spr_susier_kneel;
450
        with (k)
451
            sprite_index = spr_krisr_kneel;
452
        con = 42;
453
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
454
        if (global.tempflag[8] == 1)
455
            alarm[4]
 = 2;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
456
    }
457
    if (con == 43)
458
    {
459
        with (king)
460
            hspeed = -1;
461
        con = 44;
462
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
463
    }
464
    if (con == 45)
465
    {
466
        with (king)
467
            hspeed = 0;
468
        con = 46;
469
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
470
    }
471
    if (con == 47)
472
    {
473
        global.typer = 36;
474
        global.fc = 0;
475
        global.msg[0] = 
* Now WATCH,Delay 11 Lancer...!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_437_0")
;
476
        global.msg[1] = "%";
477
        if (global.tempflag[8] == 0)
478
            instance_create(0, 0, obj_dialoguer);
479
        con = 48;
480
    }
481
    if (con == 48 && !d_ex())
482
    {
483
        snd_play(snd_spearappear);
484
        c[0] = k;
485
        c[1] = s;
486
        c[2] = r;
487
        for (i = 0; i < 3; i += 1)
488
        {
489
            spadechunk[i] = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(c[i].x + 100, c[i].y + 50, spr_spadebullet_chunk);
490
            spadechunk[i].image_angle = 180;
491
            spadechunk[i].image_alpha = 0;
492
            spadechunk[i].hspeed = 2;
493
            spadechunk[i].friction = 0.1;
494
        }
495
        con = 49;
496
    }
497
    if (con == 49)
498
    {
499
        for (i = 0; i < 3; i += 1)
500
        {
501
            spadechunk[i].image_alpha += 0.1;
502
            if (spadechunk[i].image_alpha >= 3)
503
                con = 50;
504
        }
505
    }
506
    if (con == 50)
507
    {
508
        global.msg[0] = 
* SEE what happens when you befriend Lightners!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_471_0")
;
509
        global.msg[1] = "%";
510
        if (global.tempflag[8] == 0)
511
            instance_create(0, 0, obj_dialoguer);
512
        con = 51;
513
    }
514
    if (con == 51 && !d_ex())
515
    {
516
        snd_play(snd_spearrise);
517
        with (king)
518
        {
519
            image_speed = 0.25;
520
            image_index = 10;
521
        }
522
        alarm[4]
 = 16;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
523
        con = 52;
524
    }
525
    if (con == 53)
526
    {
527
        with (king)
528
        {
529
            image_speed = 0;
530
            image_index = 13;
531
        }
532
        lspade = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(__view_get(e__VW.XView, 0) + 660, king.y + 60, spr_spadebullet);
533
        lspade.image_angle = 180;
534
        lspade.hspeed = -16;
535
        con = 54;
536
    }
537
    if (con == 54)
538
    {
539
        if (lspade.x <= (king.x + 70))
540
        {
541
            snd_play(snd_damage);
542
            snd_play(snd_dadblast);
543
            with (lspade)
544
                instance_destroy();
545
            with (king)
546
            {
547
                sprite_index = spr_king_droplancer;
548
                image_index = 0;
549
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
550
            }
551
            with (l)
552
            {
553
                x += 24;
554
                y -= 60;
555
                sprite_index = spr_lancer_l_unhappy;
556
                vspeed = 10;
557
                hspeed = -4;
558
                visible = 1;
559
            }
560
            con = 55;
561
            alarm[4]
 = 6;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
562
            spadechunk[0].image_alpha = 1;
563
            spadechunk[1].image_alpha = 1;
564
            spadechunk[2].image_alpha = 1;
565
        }
566
    }
567
    if (con == 55)
568
    {
569
        for (i = 0; i < 3; i += 1)
570
            spadechunk[i].image_alpha -= 0.18;
571
    }
572
    if (con == 56)
573
    {
574
        for (i = 0; i < 3; i += 1)
575
        {
576
            with (spadechunk[i])
577
                instance_destroy();
578
        }
579
        with (l)
580
            speed = 0;
581
        global.msg[0] = 
* Wh...Delay 11 What the!?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_529_0")
;
582
        global.msg[1] = "%";
583
        if (global.tempflag[8] == 0)
584
            instance_create(0, 0, obj_dialoguer);
585
        con = 57;
586
    }
587
    if (con == 57 && !d_ex())
588
    {
589
        with (l)
590
        {
591
            hspeed = -16;
592
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
593
        }
594
        with (r)
595
            sprite_index = spr_ralseir;
596
        with (s)
597
            sprite_index = spr_susier_dark_unhappy;
598
        with (k)
599
            sprite_index = spr_krisr_dark;
600
        con = 58;
601
        global.msg[0] = 
* YOU...Delay 11 YOU TRAITOR...!Delay 11
* COME BACK HERE...!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_543_0")
;
602
        global.msg[1] = "%";
603
        if (global.tempflag[8] == 0)
604
            instance_create(0, 0, obj_dialoguer);
605
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
606
    }
607
    if (con == 59 && !d_ex())
608
    {
609
        global.fc = 1;
610
        global.typer = 30;
611
        global.fe = 0;
612
        global.msg[0] = 
* Alright,Delay 11 enough already.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_554_0")
;
613
        global.msg[1] = "%";
614
        if (global.tempflag[8] == 0)
615
            instance_create(0, 0, obj_dialoguer);
616
        con = 60;
617
    }
618
    if (con == 60 && !d_ex())
619
    {
620
        snd_play(snd_laz_c);
621
        with (k)
622
            
scr_anim
scr_anim

function
scr_anim(arg0, arg1)
{ objanim = instance_create(x, y, obj_anim); objanim.target = id; objanim.sprite_index = arg0; objanim.framespeed = arg1; with (objanim) event_user(0); }
(455, 0.25);
623
        with (s)
624
            
scr_anim
scr_anim

function
scr_anim(arg0, arg1)
{ objanim = instance_create(x, y, obj_anim); objanim.target = id; objanim.sprite_index = arg0; objanim.framespeed = arg1; with (objanim) event_user(0); }
(481, 0.25);
625
        with (r)
626
            
scr_anim
scr_anim

function
scr_anim(arg0, arg1)
{ objanim = instance_create(x, y, obj_anim); objanim.target = id; objanim.sprite_index = arg0; objanim.framespeed = arg1; with (objanim) event_user(0); }
(496, 0.25);
627
        con = 61;
628
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
629
    }
630
    if (con == 62)
631
    {
632
        global.fe = 3;
633
        global.msg[0] = 
* Who the hell do you think you are?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_573_0")
;
634
        global.msg[1] = "%";
635
        if (global.tempflag[8] == 0)
636
            instance_create(0, 0, obj_dialoguer);
637
        con = 64;
638
    }
639
    if (con == 64 && !d_ex())
640
    {
641
        with (king)
642
        {
643
            image_index = 1;
644
            hspeed = 3;
645
            friction = 0.1;
646
        }
647
        con = 65;
648
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
649
    }
650
    if (con == 66)
651
    {
652
        with (king)
653
        {
654
            hspeed = 0;
655
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
656
        }
657
        global.typer = 36;
658
        global.fc = 0;
659
        global.msg[0] = 
* Heheh...Delay 11
* Heheheheh...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_592_0")
;
660
        global.msg[1] = 
* To my people,Delay 11 I am a hero...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_593_0")
;
661
        global.msg[2] = 
* ... to you?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_594_0")
;
662
        global.msg[3] = "%";
663
        if (global.tempflag[8] == 0)
664
            instance_create(0, 0, obj_dialoguer);
665
        con = 67;
666
    }
667
    if (con == 67 && !d_ex())
668
    {
669
        with (king)
670
        {
671
            sprite_index = spr_king_pullweapon;
672
            image_index = 0;
673
            image_speed = 0.5;
674
        }
675
        con = 66.1;
676
        alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
677
    }
678
    if (con == 67.1)
679
    {
680
        with (king)
681
        {
682
            image_index = 6;
683
            image_speed = 0;
684
        }
685
        shadowking = 
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; }
(king.x, king.y, spr_king_pullweapon);
686
        shadowking.image_speed = 0;
687
        shadowking.image_index = 5;
688
        shadowking.depth = king.depth - 1;
689
        con = 68.2;
690
        snd_free_all();
691
        snd_play(snd_shadowpendant);
692
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
693
    }
694
    if (con == 68.2)
695
    {
696
        with (shadowking)
697
            image_alpha -= 0.03;
698
    }
699
    if (con == 69.2)
700
    {
701
        global.plot = 235;
702
        with (shadowking)
703
            instance_destroy();
704
        global.typer = 33;
705
        global.fe = 4;
706
        global.fc = 20;
707
        global.msg[0] = 
* I'M THE BAD GUY!!!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_636_0")
;
708
        global.msg[1] = "%";
709
        if (global.tempflag[8] == 0)
710
            instance_create(0, 0, obj_dialoguer);
711
        con = 68.1;
712
    }
713
    if (con == 68.1 && !d_ex())
714
    {
715
        king.sprite_index = spr_king_laugh;
716
        king.image_speed = 0.334;
717
        con = 69;
718
        snd_play(snd_dadlaugh);
719
        alarm[4]
 = 70;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
720
    }
721
    if (con == 70 && !d_ex())
722
    {
723
        global.tempflag[8] = 1;
724
        obj_mainchara.x = k.x;
725
        obj_mainchara.y = k.y;
726
        global.cinstance[0].x = s.x;
727
        global.cinstance[0].y = s.y;
728
        global.cinstance[1].x = r.x;
729
        global.cinstance[1].y = r.y;
730
        with (global.cinstance[0])
731
            
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate()
{ remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = global.facing; for (i = target; i > 0; i -= 1) { facing[i] = 2; remx[i] = obj_mainchara.x + ((x - obj_mainchara.x) * (i / target)); remy[i] = obj_mainchara.y + ((y - obj_mainchara.y) * (i / target)); } }
();
732
        with (global.cinstance[1])
733
            
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate()
{ remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = global.facing; for (i = target; i > 0; i -= 1) { facing[i] = 2; remx[i] = obj_mainchara.x + ((x - obj_mainchara.x) * (i / target)); remy[i] = obj_mainchara.y + ((y - obj_mainchara.y) * (i / target)); } }
();
734
        
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);
735
        with (obj_mainchara)
736
        {
737
            visible = 1;
738
            sprite_index = spr_krisb_idle;
739
            fun = 1;
740
        }
741
        with (global.cinstance[0])
742
        {
743
            visible = 1;
744
            sprite_index = spr_susieb_idle_serious;
745
            fun = 1;
746
        }
747
        with (global.cinstance[1])
748
        {
749
            visible = 1;
750
            sprite_index = spr_ralseib_idle;
751
            fun = 1;
752
        }
753
        with (k)
754
            visible = 0;
755
        with (r)
756
            visible = 0;
757
        with (s)
758
            visible = 0;
759
        global.flag[9 battle_music] = 1;
760
        global.batmusic[0] = snd_init("kingboss.ogg");
761
        global.encounterno = 40;
762
        
scr_encountersetup
scr_encountersetup

function
scr_encountersetup(arg0)
{ xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); for (i = 0; i < 3; i += 1) { global.heromakex[i] = xx + 80; global.heromakey[i] = yy + 50 + (80 * i); global.monsterinstancetype[i] = obj_lancerboss; global.monstertype[i] = 1Enemy (placeholder/G-BODY); global.monstermakex[i] = xx + 540; global.monstermakey[i] = yy + 160 + (80 * i); } if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) global.heromakey[0] = yy + 140; if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) { global.heromakey[0] = yy + 100; global.heromakey[1] = yy + 180; } switch (arg0) { case 0: break; case 1: global.monsterinstancetype[0] = obj_placeholderenemy; global.monstertype[0] = 1Enemy (placeholder/G-BODY); global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_placeholderenemy; global.monstertype[1] = 1Enemy (placeholder/G-BODY); global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0(None); break; case 2: global.monsterinstancetype[0] = obj_lancerboss; global.monstertype[0] = 2Lancer; global.monstermakex[0] = xx + 540; global.monstermakey[0] = yy + 200; global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); break; case 3: global.monsterinstancetype[0] = obj_dummyenemy; global.monstertype[0] = 3Dummy; global.monstermakex[0] = xx + 500; global.monstermakey[0] = yy + 160; if (instance_exists(obj_npc_room)) { global.monstermakex[0] = obj_npc_room.xstart; global.monstermakey[0] = obj_npc_room.ystart; } global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); break; case 4: global.monsterinstancetype[0] = obj_diamondenemy; global.monstertype[0] = 5Rudinn; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 140; global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); global.battlemsg[0] =
* Rudinn drew near!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0")
;
if (global.flag[500 times_rudinn_fought] >= 1) global.battlemsg[0] =
* A different Rudinn from last time drew near!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0")
;
if (global.flag[500 times_rudinn_fought] == 2) global.battlemsg[0] =
* Assumedly another different Rudinn appeared!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0")
;
break; case 5: global.monsterinstancetype[0] = obj_diamondenemy; global.monstertype[0] = 5Rudinn; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_diamondenemy; global.monstertype[1] = 5Rudinn; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0(None); global.battlemsg[0] =
* A necklace of Rudinns blocks your path.
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0")
;
break; case 6: global.monsterinstancetype[0] = obj_diamondenemy; global.monstertype[0] = 5Rudinn; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_heartenemy; global.monstertype[1] = 6Hathy; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0(None); global.battlemsg[0] =
* Rudinn and Hathy blocked the way!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0")
;
break; case 7: global.monsterinstancetype[0] = obj_smallcheckers_enemy; global.monstertype[0] = 9C.Round; global.monstermakex[0] = xx + 440; global.monstermakey[0] = yy + 150; global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); global.battlemsg[0] =
* C. Round attacked violently!
* (You recall Ralsei's advice to include Susie in an ACT.)
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0")
;
...
(global.encounterno);
763
        global.specialbattle = 3;
764
        remkingx = king.x;
765
        remkingy = king.y;
766
        instance_create(0, 0, obj_encounterbasic);
767
        con = 71;
768
        king.sprite_index = spr_chainking_idle;
769
        king.image_index = 0;
770
        king.image_speed = 0;
771
        with (king)
772
            
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; }
(global.monstermakex[0], global.monstermakey[0], 10);
773
        with (king)
774
            depth = 1000;
775
        alarm[4]
 = 25;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
776
        bultimer = 0;
777
    }
778
    if (con == 72)
779
    {
780
        with (king)
781
            visible = 0;
782
        con = 73;
783
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
784
    }
785
    if (con == 74)
786
    {
787
        if (!instance_exists(obj_battlecontroller))
788
        {
789
            with (king)
790
                visible = 1;
791
            king.remkingx = remkingx;
792
            king.remkingy = remkingy;
793
            with (king)
794
                
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; }
(remkingx, remkingy, 10);
795
            con = 75;
796
            alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
797
        }
798
    }
799
}
800
if (con >= 76 && con < 150)
801
{
802
    if (con == 76 && !d_ex())
803
    {
804
        if (part == 0)
805
        {
806
            __view_set(e__VW.XView, 0, 360 + global.xoff);
807
            k = 
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; }
(0, 0, spr_krisb_idle);
808
            s = 
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; }
(0, 0, spr_susieb_idle_serious);
809
            r = 
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; }
(0, 0, spr_ralseib_idle);
810
            king = 
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; }
(784 + global.xoff, 120, spr_king_kneeldown);
811
            with (k)
812
            {
813
                x = 440 + global.xoff;
814
                y = 50;
815
                
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
816
            }
817
            with (s)
818
            {
819
                x = 440 + global.xoff;
820
                y = 130;
821
                
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
822
            }
823
            with (r)
824
            {
825
                x = 440 + global.xoff;
826
                y = 210;
827
                
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
828
            }
829
            part = 1;
830
        }
831
        else
832
        {
833
            with (k)
834
                visible = 1;
835
            with (s)
836
                visible = 1;
837
            with (r)
838
                visible = 1;
839
            obj_mainchara.visible = 0;
840
            with (obj_caterpillarchara)
841
                visible = 0;
842
            k.sprite_index = spr_krisb_idle;
843
            s.sprite_index = spr_susieb_idle_serious;
844
            r.sprite_index = spr_ralseib_idle;
845
            king.sprite_index = spr_king_kneeldown;
846
        }
847
        con = 78;
848
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
849
    }
850
    if (con == 79)
851
    {
852
        global.fc = 20;
853
        global.typer = 33;
854
        global.fe = 3;
855
        global.msg[0] = 
* I...Delay 11 I see...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_762_0")
;
856
        global.msg[1] = 
* You are much stronger...Delay 11 than I envisioned...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_763_0")
;
857
        if (global.flag[247 spared_king] == 1)
858
        {
859
            global.msg[0] = 
* Enough...Delay 11 is enough...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_766_0")
;
860
            global.msg[1] = 
* I see...Delay 11 I see that I cannot defeat you.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_767_0")
;
861
            global.msg[2] = 
* I have grown exhausted from our long battle.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_768_0")
;
862
        }
863
        instance_create(0, 0, obj_dialoguer);
864
        con = 81;
865
    }
866
    if (con == 81 && !d_ex())
867
    {
868
        snd_play(snd_heavyswing);
869
        with (king)
870
            
scr_anim
scr_anim

function
scr_anim(arg0, arg1)
{ objanim = instance_create(x, y, obj_anim); objanim.target = id; objanim.sprite_index = arg0; objanim.framespeed = arg1; with (objanim) event_user(0); }
(761, 0.1);
871
        con = 82;
872
        alarm[4]
 = 50;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
873
    }
874
    if (con == 83)
875
    {
876
        snd_play(snd_whistlebreath);
877
        king.sprite_index = spr_king_kneel;
878
        king.image_index = 0;
879
        king.image_speed = 0;
880
        cape = 
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; }
(king.x, king.y, spr_kingcape);
881
        cape.image_speed = 0.25;
882
        cape.hspeed = 6;
883
        cape.vspeed = -1;
884
        cape.friction = 0.2;
885
        cape.gravity = -0.3;
886
        cape.depth = king.depth + 1;
887
        con = 84;
888
        alarm[4]
 = 50;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
889
    }
890
    if (con == 85)
891
    {
892
        global.msg[0] = 
* Lightners...Delay 11 I...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_802_0")
;
893
        global.msg[1] = 
Face 3* Perhaps I... I have been too cruel.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_803_0")
;
894
        global.msg[2] = 
Face 1* The truth is... I was not always this way.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_804_0")
;
895
        global.msg[3] = 
Face 3* There once was a time...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_805_0")
;
896
        global.msg[4] = 
* ... where Darkners and Lightners lived in harmony.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_806_0")
;
897
        global.msg[5] = 
* A time where Darkners could fulfill their purpose in peace...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_807_0")
;
898
        global.msg[6] = 
Face 2* It would be a lie to say that I,Delay 11 too...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_808_0")
;
899
        global.msg[7] = 
Face 3* ... do not yearn for those days.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_809_0")
;
900
        global.msg[8] = "%";
901
        instance_create(0, 0, obj_dialoguer);
902
        con = 86;
903
    }
904
    if (con == 86 && !d_ex())
905
    {
906
        with (king)
907
        {
908
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
909
            image_index = 2;
910
        }
911
        snd_play(snd_break1);
912
        con = 87;
913
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
914
    }
915
    if (con == 88)
916
    {
917
        with (king)
918
            image_index = 2;
919
        global.msg[0] = 
* ... Perhaps...Delay 11 Perhaps you young ones are right.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_826_0")
;
920
        global.msg[1] = 
Face 2* Please...Delay 11 let us put away our weapons.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_827_0")
;
921
        global.msg[2] = 
* There must be a peaceful solution to all this.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_828_0")
;
922
        global.msg[3] = "%";
923
        instance_create(0, 0, obj_dialoguer);
924
        con = 88.1;
925
    }
926
    if (con == 88.1 && !d_ex())
927
    {
928
        con = 88.2;
929
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
930
    }
931
    if (con == 89.2 && !d_ex())
932
    {
933
        snd_play(snd_smallswing);
934
        with (r)
935
            sprite_index = spr_ralseir;
936
        con = 90;
937
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
938
    }
939
    if (con == 91)
940
    {
941
        snd_play(snd_smallswing);
942
        with (k)
943
            sprite_index = spr_krisr_dark;
944
        con = 92;
945
        alarm[4]
 = 45;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
946
    }
947
    if (con == 93)
948
    {
949
        global.fc = 1;
950
        global.fe = 0;
951
        global.typer = 30;
952
        global.msg[0] = 
* ...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_861_0")
;
953
        
scr_ralface
scr_ralface

function
scr_ralface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char R Sound R Close Message
scr_84_get_lang_string("scr_ralface_slash_scr_ralface_gml_1_0")
, string(arg1));
}
(1, 8);
954
        global.msg[2] = 
* (Come now,Delay 11 Susie!)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_863_0")
;
955
        instance_create(0, 0, obj_dialoguer);
956
        con = 94;
957
    }
958
    if (con == 94 && !d_ex())
959
    {
960
        con = 95;
961
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
962
    }
963
    if (con == 96)
964
    {
965
        snd_play(snd_smallswing);
966
        with (s)
967
            sprite_index = spr_susier_dark_unhappy;
968
        con = 97;
969
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
970
    }
971
    if (con == 98)
972
    {
973
        with (s)
974
        {
975
            hspeed = 3;
976
            image_speed = 0.2;
977
        }
978
        with (k)
979
        {
980
            hspeed = 3;
981
            image_speed = 0.2;
982
        }
983
        with (r)
984
        {
985
            hspeed = 4;
986
            image_speed = 0.2;
987
        }
988
        con = 99;
989
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
990
    }
991
    if (con == 100)
992
    {
993
        with (k)
994
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
995
        with (s)
996
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
997
        with (r)
998
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
999
        con = 101;
1000
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1001
    }
1002
    if (con == 102)
1003
    {
1004
        global.fc = 2;
1005
        global.fe = 8;
1006
        global.typer = 31;
1007
        global.msg[0] = 
* I'm glad you're starting to realize,Delay 11 Mr. King...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_919_0")
;
1008
        global.msg[1] = 
Face 6* None of us really want to fight.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_920_0")
;
1009
        global.msg[2] = 
Face 0* If you can just tell us about your worries...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_921_0")
;
1010
        global.msg[3] = 
Face 8* I'm sure we can all be friends,Delay 11 Mr. King!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_922_0")
;
1011
        
scr_kingface
scr_kingface

function
scr_kingface(arg0, arg1)
{ if (global.plot >= 235) global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char K Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_3_0")
, string(arg1));
else global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_7_0")
, string(arg1));
}
(4, 2);
1012
        global.msg[5] = 
* Y-yes... "Friends..."Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_924_0")
;
1013
        global.msg[6] = 
* That sounds... lovely...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_925_0")
;
1014
        instance_create(0, 0, obj_dialoguer);
1015
        con = 103;
1016
    }
1017
    if (con == 103 && !d_ex())
1018
    {
1019
        snd_play(snd_break1);
1020
        with (king)
1021
        {
1022
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1023
            image_index = 2;
1024
        }
1025
        con = 104;
1026
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1027
    }
1028
    if (con == 105)
1029
    {
1030
        global.fe = 1;
1031
        global.msg[0] = 
* (C... cough)
Delay 11* My apologies,Delay 11 I am...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_941_0")
;
1032
        global.msg[1] = 
Face 3* I am not used to...Delay 11 fighting like that...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_942_0")
;
1033
        global.msg[2] = 
* My body is...Delay 11 getting weak...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_943_0")
;
1034
        
scr_ralface
scr_ralface

function
scr_ralface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char R Sound R Close Message
scr_84_get_lang_string("scr_ralface_slash_scr_ralface_gml_1_0")
, string(arg1));
}
(3, 6);
1035
        global.msg[4] = 
* Oh,Delay 11 don't say another word!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_945_0")
;
1036
        global.msg[5] = "%";
1037
        instance_create(0, 0, obj_dialoguer);
1038
        con = 106;
1039
    }
1040
    if (con == 106 && !d_ex())
1041
    {
1042
        disto = point_distance(r.x, r.y, king.x - 90, king.y + 50) / 2;
1043
        r.king = king;
1044
        with (r)
1045
        {
1046
            image_speed = 0.25;
1047
            move_towards_point(king.x - 90, king.y + 50, 2);
1048
        }
1049
        con = 107;
1050
        alarm[4]
 = disto;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1051
    }
1052
    if (con == 108)
1053
    {
1054
        with (r)
1055
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1056
        con = 109;
1057
        alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1058
    }
1059
    if (con == 110)
1060
    {
1061
        with (r)
1062
        {
1063
            
scr_anim
scr_anim

function
scr_anim(arg0, arg1)
{ objanim = instance_create(x, y, obj_anim); objanim.target = id; objanim.sprite_index = arg0; objanim.framespeed = arg1; with (objanim) event_user(0); }
(503, 0.25);
1064
            x -= 10;
1065
            y -= 10;
1066
        }
1067
        snd_play(snd_spellcast);
1068
        con = 111;
1069
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1070
    }
1071
    if (con == 112)
1072
    {
1073
        snd_play(snd_power);
1074
        healanim = instance_create(king.x, king.y, obj_healanim);
1075
        healanim.target = king;
1076
        con = 115;
1077
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1078
    }
1079
    if (con == 116)
1080
    {
1081
        with (r)
1082
        {
1083
            sprite_index = spr_ralseir;
1084
            x += 10;
1085
            y += 10;
1086
        }
1087
        global.fe = 8;
1088
        global.msg[0] = 
* There,Delay 11 you should be all healed up!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_994_0")
;
1089
        global.msg[1] = 
Face 6* How do you feel...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_995_0")
;
1090
        
scr_kingface
scr_kingface

function
scr_kingface(arg0, arg1)
{ if (global.plot >= 235) global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char K Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_3_0")
, string(arg1));
else global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_7_0")
, string(arg1));
}
(2, 1);
1091
        global.msg[3] = 
* L...Delay 11 Let's see...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_997_0")
;
1092
        instance_create(0, 0, obj_dialoguer);
1093
        con = 125;
1094
    }
1095
    if (con == 125 && !d_ex())
1096
    {
1097
        snd_play(snd_bigcut);
1098
        snd_play(snd_spearrise);
1099
        with (king)
1100
            image_index = 4;
1101
        deathhit0 = 0;
1102
        deathhit1 = 0;
1103
        deathhit2 = 0;
1104
        for (i = 0; i < 15; i += 1)
1105
        {
1106
            deathwave[i][0] = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(k.x + 20, 500 + (i * 30), spr_spadebullet_chunk);
1107
            deathwave[i][1] = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(r.x + 20, 500 + (i * 30), spr_spadebullet_chunk);
1108
            for (j = 0; j < 2; j += 1)
1109
            {
1110
                with (deathwave[i][j])
1111
                {
1112
                    vspeed = -40;
1113
                    image_angle = 90;
1114
                }
1115
            }
1116
        }
1117
        con = 126;
1118
        alarm[4]
 = 80;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1119
    }
1120
    if (con == 126)
1121
    {
1122
        if (deathwave[0][0].y <= (s.y + 20) && deathhit0 == 0)
1123
        {
1124
            with (s)
1125
            {
1126
                sprite_index = spr_susie_fell;
1127
                vspeed = 4;
1128
                hspeed = -1;
1129
                friction = 0.2;
1130
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1131
            }
1132
            deathhit0 = 1;
1133
            snd_play(snd_damage);
1134
        }
1135
        if (deathwave[0][0].y <= (k.y + 20) && deathhit1 == 0)
1136
        {
1137
            with (k)
1138
            {
1139
                sprite_index = spr_kris_fell;
1140
                hspeed = 2;
1141
                vspeed = 4;
1142
                friction = 0.2;
1143
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1144
            }
1145
            deathhit1 = 1;
1146
            instance_create(0, 0, obj_shake);
1147
            snd_play(snd_hurt1);
1148
        }
1149
        if (deathwave[0][1].y <= (r.y + 20) && deathhit2 == 0)
1150
        {
1151
            with (r)
1152
            {
1153
                sprite_index = spr_ralsei_fell;
1154
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1155
                hspeed = 2;
1156
                vspeed = -6;
1157
                friction = 0.2;
1158
            }
1159
            deathhit2 = 1;
1160
            snd_play(snd_damage);
1161
        }
1162
    }
1163
    if (con == 127)
1164
    {
1165
        snd_play(snd_smallswing);
1166
        with (king)
1167
            sprite_index = spr_kingl;
1168
        con = 128;
1169
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1170
    }
1171
    if (con == 129)
1172
    {
1173
        global.fe = 0;
1174
        global.msg[0] = 
* Never better.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1067_0")
;
1175
        global.msg[1] = "%";
1176
        instance_create(0, 0, obj_dialoguer);
1177
        con = 130;
1178
    }
1179
    if (con == 130 && !d_ex())
1180
    {
1181
        global.currentsong[0] = snd_init("GALLERY.ogg");
1182
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.8, 1);
1183
        snd_play(snd_break1);
1184
        with (s)
1185
        {
1186
            sprite_index = spr_susier_kneel;
1187
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1188
        }
1189
        with (k)
1190
        {
1191
            sprite_index = spr_krisr_kneel;
1192
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1193
        }
1194
        con = 131;
1195
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1196
    }
1197
    if (con == 132)
1198
    {
1199
        global.fe = 9;
1200
        global.fc = 1;
1201
        global.typer = 30;
1202
        global.msg[0] = 
* Y...Delay 11 You...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1090_0")
;
1203
        global.msg[1] = "%";
1204
        con = 133;
1205
        instance_create(0, 0, obj_dialoguer);
1206
    }
1207
    if (con == 133 && !d_ex())
1208
    {
1209
        snd_play(snd_spearappear);
1210
        con = 134;
1211
        spadechunk2 = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(s.x + 200, s.y + 50, spr_spadebullet_chunk);
1212
        spadechunk2.image_angle = 180;
1213
        spadechunk2.image_alpha = 0;
1214
        spadechunk2.hspeed = 2;
1215
        spadechunk2.friction = 0.1;
1216
        for (i = 0; i < 15; i += 1)
1217
        {
1218
            for (j = 0; j < 2; j += 1)
1219
            {
1220
                with (deathwave[i][j])
1221
                    instance_destroy();
1222
            }
1223
        }
1224
    }
1225
    if (con == 134)
1226
    {
1227
        spadechunk2.image_alpha += 0.1;
1228
        if (spadechunk2.image_alpha >= 2)
1229
            con = 135;
1230
    }
1231
    if (con == 135)
1232
    {
1233
        global.typer = 33;
1234
        global.fc = 20;
1235
        global.fe = 0;
1236
        global.msg[0] = 
* Did I say you could get up?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1137_0")
;
1237
        global.msg[1] = "%";
1238
        instance_create(0, 0, obj_dialoguer);
1239
        con = 136;
1240
    }
1241
    if (con == 136 && !d_ex())
1242
    {
1243
        snd_play(snd_spearrise);
1244
        hdisto = ((s.x + 90) - spadechunk2.x) / 10;
1245
        spadechunk2.hspeed = hdisto + 7;
1246
        spadechunk2.friction = -1;
1247
        disto = point_distance(k.x, k.y, s.x + 60, s.y + 10) / 10;
1248
        k.s = s;
1249
        k.disto = disto;
1250
        with (k)
1251
        {
1252
            
scr_anim
scr_anim

function
scr_anim(arg0, arg1)
{ objanim = instance_create(x, y, obj_anim); objanim.target = id; objanim.sprite_index = arg0; objanim.framespeed = arg1; with (objanim) event_user(0); }
(465, 0.5);
1253
            move_towards_point(s.x + 60, s.y + 10, disto);
1254
        }
1255
        con = 137;
1256
        alarm[4]
 = disto;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1257
    }
1258
    if (con == 138)
1259
    {
1260
        snd_play(snd_bell);
1261
        with (k)
1262
        {
1263
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1264
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1265
        }
1266
        with (spadechunk2)
1267
            instance_destroy();
1268
        con = 139;
1269
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1270
    }
1271
    if (con == 140)
1272
    {
1273
        global.fe = 9;
1274
        global.fc = 1;
1275
        global.typer = 30;
1276
        global.msg[0] = 
* Kris...!?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1176_0")
;
1277
        global.msg[1] = "%";
1278
        instance_create(0, 0, obj_dialoguer);
1279
        con = 141;
1280
    }
1281
    if (con == 141 && !d_ex())
1282
    {
1283
        snd_play(snd_bigcut);
1284
        snd_play(snd_spearrise);
1285
        deathhit0 = 0;
1286
        deathhit1 = 0;
1287
        for (i = 0; i < 15; i += 1)
1288
        {
1289
            deathwave[i][0] = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(k.x, -30 - (i * 30), spr_spadebullet_chunk);
1290
            with (deathwave[i][0])
1291
            {
1292
                vspeed = 40;
1293
                image_angle = 270;
1294
            }
1295
        }
1296
        con = 142;
1297
        alarm[4]
 = 40;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1298
    }
1299
    if (con == 142)
1300
    {
1301
        if (deathwave[0][0].y >= (s.y + 20) && deathhit0 == 0)
1302
        {
1303
            snd_play(snd_damage);
1304
            with (s)
1305
            {
1306
                sprite_index = spr_susie_fell;
1307
                vspeed = 4;
1308
                hspeed = 2;
1309
                friction = 0.2;
1310
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1311
            }
1312
            deathhit0 = 1;
1313
        }
1314
        if (deathwave[0][0].y >= (k.y + 20) && deathhit1 == 0)
1315
        {
1316
            instance_create(0, 0, obj_shake);
1317
            snd_play(snd_damage);
1318
            snd_play(snd_hurt1);
1319
            with (k)
1320
            {
1321
                sprite_index = spr_krisr_kneel;
1322
                hspeed = 1;
1323
                vspeed = 2;
1324
                friction = 0.2;
1325
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1326
            }
1327
            deathhit1 = 1;
1328
        }
1329
    }
1330
    if (con == 143)
1331
    {
1332
        global.fe = 0;
1333
        global.typer = 33;
1334
        global.fc = 20;
1335
        global.msg[0] = 
* Oh,Delay 11 spare me the heroics.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1227_0")
;
1336
        global.msg[1] = "%";
1337
        con = 143.1;
1338
        instance_create(0, 0, obj_dialoguer);
1339
    }
1340
    if (con == 143.1 && !d_ex())
1341
    {
1342
        snd_play(snd_spearrise);
1343
        spadechunk3 = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(k.x + 30, -30, spr_spadebullet_chunk);
1344
        spadechunk3.vspeed = 30;
1345
        spadechunk3.image_angle = 270;
1346
        deathhit1 = 0;
1347
        con = 144;
1348
    }
1349
    if (con == 144)
1350
    {
1351
        if (spadechunk3.y >= (k.y + 20) && deathhit1 == 0)
1352
        {
1353
            snd_play(snd_hurt1);
1354
            with (k)
1355
            {
1356
                sprite_index = spr_kris_fell;
1357
                hspeed = -16;
1358
                vspeed = 0;
1359
                friction = 0.2;
1360
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1361
            }
1362
            deathhit1 = 1;
1363
            con = 145;
1364
        }
1365
    }
1366
    if (con == 145)
1367
    {
1368
        if (__view_get(e__VW.XView, 0) > 0)
1369
        {
1370
            __view_set(e__VW.XView, 0, __view_get(e__VW.XView, 0) + (k.hspeed * 2));
1371
            if (__view_get(e__VW.XView, 0) <= 0)
1372
                __view_set(e__VW.XView, 0, 0);
1373
        }
1374
        if (abs(k.hspeed) < 0.2)
1375
            con = 150;
1376
    }
1377
}
1378
if (con >= 150 && con < 250)
1379
{
1380
    if (con == 150)
1381
    {
1382
        if (part == 0)
1383
        {
1384
            k = 
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; }
(266, 180, spr_kris_fell);
1385
            part = 1;
1386
        }
1387
        else
1388
        {
1389
            with (king)
1390
                instance_destroy();
1391
            with (s)
1392
                instance_destroy();
1393
            with (r)
1394
                instance_destroy();
1395
            with (obj_marker)
1396
                instance_destroy();
1397
            k = 
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; }
(266, 180, spr_kris_fell);
1398
        }
1399
        con = 151;
1400
        alarm[4]
 = 1;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1401
    }
1402
    if (con == 152)
1403
    {
1404
        king = 
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; }
(640, k.y - 80, spr_kingl);
1405
        siner = 0;
1406
        con = 153;
1407
    }
1408
    if (con == 153)
1409
    {
1410
        siner += 1;
1411
        sinup = abs(sin(siner / 8) * 3);
1412
        if (sinup >= 1)
1413
            king.image_index = 1;
1414
        else
1415
            king.image_index = 0;
1416
        king.x -= sinup;
1417
        if (king.x <= (k.x + 47))
1418
        {
1419
            king.x = k.x + 46;
1420
            with (king)
1421
                
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1422
            con = 154;
1423
            alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1424
        }
1425
    }
1426
    if (con == 155)
1427
    {
1428
        global.fe = 5;
1429
        global.msg[0] = 
* You...Delay 11 You're the leader,Delay 11 aren't you?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1324_0")
;
1430
        global.msg[1] = 
Face 0* So,Delay 11 what's your plan?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1325_0")
;
1431
        global.msg[2] = 
Face 5* To laugh,Delay 11 as you cast us all back into obscurity?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1326_0")
;
1432
        global.msg[3] = 
Face 5* ...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1327_0")
;
1433
        global.msg[4] = 
Face 0* You can't even say...?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1328_0")
;
1434
        global.msg[5] = "%";
1435
        instance_create(0, 0, obj_dialoguer);
1436
        con = 156;
1437
    }
1438
    if (con == 156 && !d_ex())
1439
    {
1440
        k.visible = 0;
1441
        with (king)
1442
        {
1443
            sprite_index = spr_king_liftkris;
1444
            image_index = 1;
1445
        }
1446
        con = 157;
1447
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1448
    }
1449
    if (con == 158)
1450
    {
1451
        global.fe = 1;
1452
        global.msg[0] = 
* Young one...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1345_0")
;
1453
        global.msg[1] = 
Face 2* Let me tell you a secret.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1346_0")
;
1454
        global.msg[2] = "%";
1455
        instance_create(0, 0, obj_dialoguer);
1456
        con = 159;
1457
        grabsounded = 0;
1458
    }
1459
    if (con == 159 && !d_ex())
1460
    {
1461
        if (grabsounded == 0)
1462
        {
1463
            snd_play(snd_grab);
1464
            grabsounded = 1;
1465
        }
1466
        king.image_index += 0.25;
1467
        if (king.image_index >= 4)
1468
        {
1469
            snd_play(snd_spearappear);
1470
            spadechunk4 = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(k.x + 20, 100, spr_spadebullet_chunk);
1471
            spadechunk4.image_alpha = 0;
1472
            spadechunk4.vspeed = -2;
1473
            spadechunk4.friction = 0.1;
1474
            spadechunk4.image_angle = 270;
1475
            con = 160;
1476
            alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1477
        }
1478
    }
1479
    if (con == 160)
1480
        spadechunk4.image_alpha += 0.1;
1481
    if (con == 161)
1482
    {
1483
        global.fe = 4;
1484
        global.msg[0] = 
* Quiet people PISS ME OFF.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1379_0")
;
1485
        global.msg[1] = "%";
1486
        instance_create(0, 0, obj_dialoguer);
1487
        con = 162;
1488
    }
1489
    if (con == 162 && !d_ex())
1490
    {
1491
        snd_free_all();
1492
        snd_play(snd_impact);
1493
        snd_play(snd_damage);
1494
        instance_create(0, 0, obj_shake);
1495
        hitanim = instance_create(king.x + 52, king.y + 80, obj_animation);
1496
        hitanim.depth = -100;
1497
        hitanim.sprite_index = spr_attack_mash2;
1498
        hitanim.image_xscale = 2;
1499
        hitanim.image_yscale = 2;
1500
        hitanim.image_speed = 0.5;
1501
        spadechunk4.image_alpha = 1;
1502
        k2 = 
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; }
(king.x - 30, king.y + 34, spr_kris_drop);
1503
        k2.gravity = 1;
1504
        k2.hspeed = -2;
1505
        with (king)
1506
        {
1507
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1508
            image_index = 5;
1509
        }
1510
        con = 163;
1511
    }
1512
    if (con == 163)
1513
    {
1514
        spadechunk4.image_alpha -= 0.2;
1515
        if (k2.y >= (king.y + 80))
1516
        {
1517
            k.x = k2.x;
1518
            with (k2)
1519
                instance_destroy();
1520
            k.visible = 1;
1521
            con = 164;
1522
            alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1523
        }
1524
    }
1525
    if (con == 165)
1526
    {
1527
        s = 
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; }
(640, king.y + 76, spr_susie_brave);
1528
        
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(4, 0, 50);
1529
        con = 166;
1530
        alarm[4]
 = 50;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1531
    }
1532
    if (con == 167)
1533
    {
1534
        con = 168;
1535
        alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1536
    }
1537
    if (con == 169)
1538
    {
1539
        global.currentsong[0] = snd_init("wind.ogg");
1540
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.5, 0.7);
1541
        global.flag[29 susie_show_eyes] = 1;
1542
        global.fc = 1;
1543
        global.typer = 30;
1544
        global.fe = 2;
1545
        global.msg[0] = 
* Hey.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1442_0")
;
1546
        global.msg[1] = 
* Get away.Delay 11
* From my.Delay 11
* Friend.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1443_0")
;
1547
        global.msg[2] = "%";
1548
        instance_create(0, 0, obj_dialoguer);
1549
        con = 170;
1550
    }
1551
    if (con == 170 && !d_ex())
1552
    {
1553
        snd_play(snd_smallswing);
1554
        with (king)
1555
        {
1556
            sprite_index = spr_kingr;
1557
            hspeed = 4;
1558
            friction = 0.5;
1559
            image_index = 0;
1560
        }
1561
        con = 171;
1562
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1563
    }
1564
    if (con == 172)
1565
    {
1566
        global.fc = 20;
1567
        global.typer = 33;
1568
        global.fe = 0;
1569
        global.msg[0] = 
* Heh heh heh heh...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1470_0")
;
1570
        global.msg[1] = 
Face 4* OR WHAT?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1471_0")
;
1571
        global.msg[2] = 
Face 0* Surely you must realize...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1472_0")
;
1572
        global.msg[3] = 
Face 5* How exhausted I am,Delay 11 Lightner.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1473_0")
;
1573
        global.msg[4] = 
* Any hit from you would kill me.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1474_0")
;
1574
        global.msg[5] = 
Face 0* Why not do it,Delay 11 Lightner?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1475_0")
;
1575
        global.msg[6] = 
Face 5* Kill me and show my son how much you REALLY care.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1476_0")
;
1576
        global.msg[7] = "%";
1577
        if (type == 1)
1578
        {
1579
            global.msg[1] = 
* OR WHAT?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1480_0")
;
1580
            global.msg[2] = 
Face 4* You'll KILL me?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1481_0")
;
1581
            global.msg[3] = "%";
1582
        }
1583
        instance_create(0, 0, obj_dialoguer);
1584
        con = 173;
1585
    }
1586
    if (con == 173 && !d_ex())
1587
    {
1588
        con = 174;
1589
        alarm[4]
 = 7;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1590
    }
1591
    if (con == 175)
1592
    {
1593
        with (s)
1594
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1595
        con = 176;
1596
        alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1597
    }
1598
    if (con == 177)
1599
    {
1600
        global.fc = 1;
1601
        global.typer = 30;
1602
        global.fe = 2;
1603
        global.msg[0] = 
* Nah.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1513_0")
;
1604
        global.msg[1] = "%";
1605
        instance_create(0, 0, obj_dialoguer);
1606
        con = 178;
1607
        siner = 0;
1608
        kingxnow = king.x;
1609
    }
1610
    if (con == 178 && !d_ex())
1611
    {
1612
        siner += 1;
1613
        sinup = abs(sin(siner / 8) * 3);
1614
        king.x += sinup;
1615
        if (sinup >= 1.5)
1616
            king.image_index = 1;
1617
        else
1618
            king.image_index = 0;
1619
        if (king.x >= (s.x - 240))
1620
        {
1621
            king.x = s.x - 240;
1622
            with (king)
1623
                
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1624
            con = 179;
1625
            alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1626
        }
1627
    }
1628
    if (con == 180)
1629
    {
1630
        with (king)
1631
            image_index = 0;
1632
        con = 181;
1633
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1634
    }
1635
    if (con == 182)
1636
    {
1637
        global.typer = 33;
1638
        global.fe = 5;
1639
        global.fc = 20;
1640
        global.msg[0] = 
* So what's your plan,Delay 11 then...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1550_0")
;
1641
        global.msg[1] = 
* To TALK me to death...?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1551_0")
;
1642
        global.msg[2] = "%";
1643
        if (type == 1)
1644
        {
1645
            global.msg[0] = 
* So what's your plan,Delay 11 then...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1555_0")
;
1646
            global.msg[1] = 
* To TALK me to death...?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1556_0")
;
1647
            global.msg[2] = "%";
1648
        }
1649
        instance_create(0, 0, obj_dialoguer);
1650
        con = 183;
1651
        siner = 0;
1652
        kx = king.x;
1653
    }
1654
    if (con == 183 && !d_ex())
1655
    {
1656
        siner += 1;
1657
        sinup = abs(sin(siner / 8) * 2);
1658
        king.x += sinup;
1659
        if (sinup >= 1)
1660
            king.image_index = 1;
1661
        else
1662
            king.image_index = 0;
1663
        if (king.x >= (kx + 80))
1664
            con = 187;
1665
    }
1666
    if (con == 187)
1667
    {
1668
        with (s)
1669
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1670
        with (king)
1671
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1672
        con = 188;
1673
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1674
    }
1675
    if (con == 189)
1676
    {
1677
        global.fe = 0;
1678
        global.msg[0] = 
* You stupid,Delay 11 stupid Lightner.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1590_0")
;
1679
        global.msg[1] = 
* You honestly think you have any way...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1591_0")
;
1680
        if (type == 1)
1681
        {
1682
            global.msg[0] = 
* You stupid,Delay 11 stupid Lightner.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1594_0")
;
1683
            global.msg[1] = 
* You honestly think you have any way...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1595_0")
;
1684
            global.msg[2] = "%";
1685
        }
1686
        instance_create(0, 0, obj_dialoguer);
1687
        con = 190;
1688
    }
1689
    if (con == 190 && !d_ex())
1690
    {
1691
        global.fe = 4;
1692
        global.msg[0] = 
* To convince me NOT to kill you?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1605_0")
;
1693
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(1, 4);
1694
        global.msg[2] = 
* Just wait a second.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1607_0")
;
1695
        
scr_kingface
scr_kingface

function
scr_kingface(arg0, arg1)
{ if (global.plot >= 235) global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char K Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_3_0")
, string(arg1));
else global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_7_0")
, string(arg1));
}
(3, 5);
1696
        global.msg[4] = 
* Wait for WHAT?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1609_0")
;
1697
        global.msg[5] = "%";
1698
        if (type == 1)
1699
        {
1700
            global.msg[0] = 
* ... to convince me NOT to kill you?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1613_0")
;
1701
            global.msg[1] = "%";
1702
        }
1703
        instance_create(0, 0, obj_dialoguer);
1704
        con = 191;
1705
        snd_play(snd_spearappear);
1706
        spadechunkf[0] = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(k.x + 30, k.y - 100, spr_spadebullet_chunk);
1707
        spadechunkf[1] = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(s.x + 70, s.y - 100, spr_spadebullet_chunk);
1708
        for (i = 0; i < 2; i += 1)
1709
        {
1710
            spadechunkf[i].image_angle = 270;
1711
            spadechunkf[i].image_alpha = 0;
1712
            spadechunkf[i].vspeed = -4;
1713
            spadechunkf[i].friction = 0.5;
1714
        }
1715
    }
1716
    if (con == 191)
1717
    {
1718
        for (i = 0; i < 2; i += 1)
1719
        {
1720
            spadechunkf[i].image_alpha += 0.1;
1721
            if (spadechunkf[i].image_alpha >= 3)
1722
                con = 192;
1723
        }
1724
        if (con == 192 && type == 1)
1725
            con = 240;
1726
    }
1727
    if (con == 192 && !d_ex())
1728
    {
1729
        snd_free_all();
1730
        with (king)
1731
            sprite_index = spr_kingr_fallasleep;
1732
        with (king)
1733
        {
1734
            o = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1735
            o.flashcolor = c_blue;
1736
        }
1737
        snd_play(snd_shadowpendant);
1738
        king.image_index = 0;
1739
        con = 193;
1740
        spadetimer = 0;
1741
        spadechunkf[0].image_alpha = 1;
1742
        spadechunkf[1].image_alpha = 1;
1743
    }
1744
    if (con == 193)
1745
    {
1746
        spadetimer += 1;
1747
        for (i = 0; i < 2; i += 1)
1748
            spadechunkf[i].image_alpha -= 0.1;
1749
        if (spadetimer >= 60)
1750
        {
1751
            with (spadechunkf[0])
1752
                instance_destroy();
1753
            with (spadechunkf[1])
1754
                instance_destroy();
1755
            con = 194;
1756
        }
1757
    }
1758
    if (con == 194)
1759
    {
1760
        global.fe = 6;
1761
        global.typer = 33;
1762
        global.fc = 20;
1763
        global.msg[0] = 
* H...Delay 11 Huh?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1678_0")
;
1764
        global.msg[1] = 
* Why am I suddenly...Delay 11 so sleepy...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1679_0")
;
1765
        global.msg[2] = 
Face 5* Why you...Delay 11 you little...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1680_0")
;
1766
        global.msg[3] = "%";
1767
        instance_create(0, 0, obj_dialoguer);
1768
        con = 195;
1769
    }
1770
    if (con == 195 && !d_ex())
1771
    {
1772
        with (king)
1773
        {
1774
            image_index = 1;
1775
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
1776
            hspeed = -4;
1777
            friction = 0.5;
1778
        }
1779
        global.fe = 1;
1780
        global.msg[0] = 
* You sweet...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1690_0")
;
1781
        global.msg[1] = 
* ... little...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1691_0")
;
1782
        global.msg[2] = "%";
1783
        instance_create(0, 0, obj_dialoguer);
1784
        con = 196;
1785
    }
1786
    if (con == 196 && !d_ex())
1787
    {
1788
        with (king)
1789
            image_index = 2;
1790
        global.typer = 36;
1791
        global.fe = 8;
1792
        global.msg[0] = 
* ... pumpkin...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1702_0")
;
1793
        global.msg[1] = "%";
1794
        instance_create(0, 0, obj_dialoguer);
1795
        con = 197;
1796
    }
1797
    if (con == 197 && !d_ex())
1798
    {
1799
        con = 201;
1800
        with (king)
1801
        {
1802
            sprite_index = spr_kingr_asleep;
1803
            image_speed = 0.1;
1804
        }
1805
        with (s)
1806
        {
1807
            x += 60;
1808
            y -= 10;
1809
            sprite_index = spr_susiel_eye_dark_unhappy;
1810
        }
1811
    }
1812
    if (con == 200)
1813
    {
1814
        king = 
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; }
(480, 100, spr_kingr_asleep);
1815
        with (king)
1816
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
1817
        k = 
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; }
(262, 180, spr_kris_fell);
1818
        with (k)
1819
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
1820
        s = 
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; }
(700, 166, spr_susiel_eye_dark_unhappy);
1821
        with (s)
1822
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
1823
        __view_set(e__VW.XView, 0, 200);
1824
        con = 201;
1825
    }
1826
    if (con == 201)
1827
    {
1828
        with (s)
1829
        {
1830
            hspeed = -13;
1831
            image_speed = 0.25;
1832
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
1833
        }
1834
        with (k)
1835
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
1836
        with (king)
1837
        {
1838
            vspeed = -8;
1839
            friction = 0.8;
1840
            depth = 800000;
1841
        }
1842
        
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(-7, 0, 28);
1843
        con = 202;
1844
        blend = c_black;
1845
        alarm[4]
 = 28;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1846
    }
1847
    if (con == 202)
1848
    {
1849
        blend += 0.02;
1850
        king.image_blend = merge_color(c_white, c_black, blend);
1851
    }
1852
    if (con == 203)
1853
    {
1854
        with (r)
1855
            instance_destroy();
1856
        with (s)
1857
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1858
        con = 204;
1859
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1860
    }
1861
    if (con == 205)
1862
    {
1863
        with (k)
1864
            sprite_index = spr_krisr_kneel;
1865
        global.fe = 3;
1866
        global.fc = 1;
1867
        global.typer = 30;
1868
        global.msg[0] = 
* Hey Kris,Delay 11 y'alright?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1760_0")
;
1869
        global.msg[1] = "%";
1870
        instance_create(0, 0, obj_dialoguer);
1871
        con = 206;
1872
    }
1873
    if (con == 206 && !d_ex())
1874
    {
1875
        r = 
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; }
(__view_get(e__VW.XView, 0) + 640, s.y + 10, spr_ralseil);
1876
        with (r)
1877
        {
1878
            hspeed = -6;
1879
            image_speed = 0.2;
1880
        }
1881
        r.depth = s.depth - 1000;
1882
        con = 207;
1883
        alarm[4]
 = 36;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1884
    }
1885
    if (con == 208)
1886
    {
1887
        with (r)
1888
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1889
        with (s)
1890
            sprite_index = spr_susier_eye_dark;
1891
        with (k)
1892
            sprite_index = spr_krisr_dark;
1893
        global.fc = 2;
1894
        global.fe = 1;
1895
        global.typer = 31;
1896
        global.msg[0] = 
* Th...Delay 11 That was close,Delay 11 Susie!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1785_0")
;
1897
        global.msg[1] = 
Face 6* I'm surprised you remembered my Pacify spell...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1786_0")
;
1898
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(2, 2);
1899
        global.msg[3] = 
* Hey,Delay 11 c'mon.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1788_0")
;
1900
        global.msg[4] = 
Face 9* I'd never forget something I made fun of you for.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1789_0")
;
1901
        instance_create(0, 0, obj_dialoguer);
1902
        con = 209;
1903
    }
1904
    if (con == 209 && !d_ex())
1905
    {
1906
        with (r)
1907
            sprite_index = spr_ralseir;
1908
        con = 210;
1909
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1910
    }
1911
    if (con == 211)
1912
    {
1913
        global.fc = 2;
1914
        global.fe = 4;
1915
        global.typer = 31;
1916
        global.msg[0] = 
* Kris,Delay 11 Susie...Delay 11 I'm...Delay 11 I'm sorry.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1806_0")
;
1917
        global.msg[1] = 
* Because I healed the KING,Delay 11 we almost... we almost...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1807_0")
;
1918
        global.msg[2] = 
Face 6* Susie,Delay 11 you were right.Delay 11 I...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1808_0")
;
1919
        global.msg[3] = 
Face 4* I was foolish to think we could act so soft to everyone...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1809_0")
;
1920
        global.msg[4] = 
Face 4* This isn't a world where kindness always wins,Delay 11 is it?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1810_0")
;
1921
        instance_create(0, 0, obj_dialoguer);
1922
        con = 212;
1923
    }
1924
    if (con == 212 && !d_ex())
1925
    {
1926
        with (s)
1927
        {
1928
        }
1929
        with (r)
1930
            sprite_index = spr_ralseil;
1931
        con = 213;
1932
        alarm[4]
 = 4;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1933
    }
1934
    if (con == 214)
1935
    {
1936
        with (s)
1937
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1938
        global.fc = 1;
1939
        global.typer = 30;
1940
        global.fe = 3;
1941
        global.msg[0] = 
Face 1* Eh,Delay 11 it's complicated.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1828_0")
;
1942
        global.msg[1] = 
Face 0* Yeah,Delay 11 sometimes there's people you just gotta fight.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1829_0")
;
1943
        global.msg[2] = 
Face 1* But if you NEVER let your guard down,Delay 11 then...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1830_0")
;
1944
        global.msg[3] = "%";
1945
        instance_create(0, 0, obj_dialoguer);
1946
        con = 215;
1947
    }
1948
    if (con == 215 && !d_ex())
1949
    {
1950
        with (s)
1951
            sprite_index = spr_susiel_eye_dark;
1952
        con = 216;
1953
    }
1954
    if (con == 216 && !d_ex())
1955
    {
1956
        with (k)
1957
            sprite_index = spr_krisl_dark;
1958
        with (l)
1959
            instance_destroy();
1960
        l = 
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; }
(__view_get(e__VW.XView, 0) - 80, k.y, spr_lancer_rt);
1961
        with (l)
1962
            hspeed = 8;
1963
        con = 217;
1964
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
1965
    }
1966
    if (con == 218)
1967
    {
1968
        with (l)
1969
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
1970
        global.fe = 2;
1971
        global.msg[0] = 
* You might just...Delay 11 hurt someone you care about,Delay 11 too.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1856_0")
;
1972
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(1, 3);
1973
        global.msg[2] = 
* Everyone!!!Delay 11
* You're OK!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1858_0")
;
1974
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(3, 9);
1975
        global.msg[4] = 
* Lancer!Delay 11 Hey!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1860_0")
;
1976
        global.msg[5] = 
Face 3* Sorry,Delay 11 I kinda beat up your dad.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1861_0")
;
1977
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(6, 2);
1978
        global.msg[7] = 
* That's OK!Delay 11 It happens!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1863_0")
;
1979
        global.msg[8] = 
Face 3* Oh,Delay 11 it even looks like he's having a beauty nap!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1864_0")
;
1980
        global.msg[9] = 
Face 1* That's good.Delay 11
* He seemed cranky.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1865_0")
;
1981
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(10, 9);
1982
        global.msg[11] = 
* Man,Delay 11 you can say that again!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1867_0")
;
1983
        instance_create(0, 0, obj_dialoguer);
1984
        con = 219;
1985
    }
1986
    if (con == 219 && !d_ex())
1987
    {
1988
        screen_noise = snd_loop(snd_rumble);
1989
        with (l)
1990
            sprite_index = spr_lancer_l_unhappy;
1991
        with (s)
1992
            sprite_index = spr_susie_shock;
1993
        with (r)
1994
            sprite_index = spr_ralsei_shock_overworld;
1995
        shake = instance_create(0, 0, obj_shake);
1996
        with (shake)
1997
        {
1998
            permashake = 1;
1999
            shakex = 2;
2000
            shakey = 2;
2001
        }
2002
        con = 220;
2003
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2004
    }
2005
    if (con == 221)
2006
    {
2007
        with (shake)
2008
            permashake = 0;
2009
        snd_stop(screen_noise);
2010
        with (l)
2011
            sprite_index = spr_lancer_r_unhappy;
2012
        with (s)
2013
            sprite_index = spr_susiel_eye_dark_unhappy;
2014
        with (r)
2015
            sprite_index = spr_ralseil;
2016
        global.typer = 31;
2017
        global.fc = 2;
2018
        global.fe = 3;
2019
        global.msg[0] = 
* Err,Delay 11 Lancer...?Delay 11
* What's that noise...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1896_0")
;
2020
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(1, 4);
2021
        global.msg[2] = 
* Oh.Delay 11 I actually...Delay 11 came to WARN you clownlings.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1898_0")
;
2022
        global.msg[3] = 
Face 6* I informed the Guys you were fighting My Dad,Delay 11 but...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1899_0")
;
2023
        global.msg[4] = 
Face 7* Instead of eagerly volunteering to help you,Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1900_0")
;
2024
        global.msg[5] = 
Face 4* Everyone just caught the "freak-outs."Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1901_0")
;
2025
        global.msg[6] = 
Face 7* Now they appear to be...Delay 11 um...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1902_0")
;
2026
        instance_create(0, 0, obj_dialoguer);
2027
        con = 222;
2028
    }
2029
    if (con == 222 && !d_ex())
2030
    {
2031
        with (l)
2032
            sprite_index = spr_lancer_l_unhappy;
2033
        global.fe = 4;
2034
        global.msg[0] = 
* Breaking through the door to the throne room.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1911_0")
;
2035
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(1, 3);
2036
        global.msg[2] = 
* Well,Delay 11 uh,Delay 11 that's not the best.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1913_0")
;
2037
        instance_create(0, 0, obj_dialoguer);
2038
        con = 223;
2039
    }
2040
    if (con == 223 && !d_ex())
2041
    {
2042
        with (l)
2043
            sprite_index = spr_lancer_r_unhappy;
2044
        with (r)
2045
        {
2046
            sprite_index = spr_ralseid;
2047
            image_speed = 0.25;
2048
            vspeed = 3;
2049
        }
2050
        con = 222.1;
2051
        alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2052
    }
2053
    if (con == 223.1)
2054
    {
2055
        with (r)
2056
        {
2057
            sprite_index = spr_ralseil;
2058
            vspeed = 0;
2059
            hspeed = -6;
2060
        }
2061
        con = 222.2;
2062
        alarm[4]
 = 35;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2063
    }
2064
    if (con == 223.2)
2065
    {
2066
        with (r)
2067
        {
2068
            sprite_index = spr_ralseiu;
2069
            vspeed = -3;
2070
            hspeed = 0;
2071
        }
2072
        with (k)
2073
        {
2074
            hspeed = 3;
2075
            image_speed = 0.25;
2076
        }
2077
        with (s)
2078
        {
2079
            hspeed = 3;
2080
            image_speed = 0.25;
2081
        }
2082
        con = 224;
2083
        alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2084
    }
2085
    if (con == 225)
2086
    {
2087
        with (k)
2088
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2089
        with (s)
2090
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2091
        with (r)
2092
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2093
        with (r)
2094
            sprite_index = spr_ralseir;
2095
        con = 226;
2096
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2097
    }
2098
    if (con == 227)
2099
    {
2100
        global.fc = 2;
2101
        global.typer = 31;
2102
        global.fe = 1;
2103
        global.msg[0] = 
* Kris,Delay 11 Susie...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1957_0")
;
2104
        global.msg[1] = 
Face 6* It seems that you must hurry to the Fountain.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1958_0")
;
2105
        instance_create(0, 0, obj_dialoguer);
2106
        con = 268;
2107
    }
2108
    if (con == 240 && !d_ex())
2109
    {
2110
        global.typer = 30;
2111
        global.fc = 1;
2112
        global.fe = 4;
2113
        global.msg[0] = 
* Nah.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1973_0")
;
2114
        global.msg[1] = 
Face 2* But THEY might.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_1974_0")
;
2115
        instance_create(0, 0, obj_dialoguer);
2116
        con = 241;
2117
    }
2118
    if (con == 241 && !d_ex())
2119
    {
2120
        snd_free_all();
2121
        with (s)
2122
        {
2123
            x += 60;
2124
            y -= 10;
2125
            sprite_index = spr_susiel_eye_dark;
2126
        }
2127
        with (king)
2128
            sprite_index = spr_king_shock;
2129
        king.image_index = 0;
2130
        king.siner = 0;
2131
        shake = instance_create(0, 0, obj_shake);
2132
        with (shake)
2133
        {
2134
            permashake = 1;
2135
            shakex = 2;
2136
            shakey = 2;
2137
        }
2138
        rumble = snd_loop(snd_rumble);
2139
        con = 242;
2140
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2141
    }
2142
    if (con == 242)
2143
    {
2144
        with (spadechunkf[0])
2145
            image_alpha -= 0.1;
2146
        with (spadechunkf[1])
2147
            image_alpha -= 0.1;
2148
    }
2149
    if (con == 243)
2150
        con = 250;
2151
}
2152
if (con >= 250 && con <= 265)
2153
{
2154
    if (con == 250)
2155
    {
2156
        if (part == 0)
2157
        {
2158
            k = 
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; }
(266, 180, spr_kris_fell);
2159
            with (k)
2160
                depth = 800000;
2161
            __view_set(e__VW.XView, 0, 200);
2162
            king = 
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; }
(439, 100, spr_king_kneel);
2163
            king.siner = 0;
2164
            part = 1;
2165
        }
2166
        with (k)
2167
            depth = 800000;
2168
        xmake = 8;
2169
        ymake = 4;
2170
        for (i = 0; i < xmake; i += 1)
2171
        {
2172
            for (j = 0; j < ymake; j += 1)
2173
            {
2174
                cwp[i][j] = 
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; }
(__view_get(e__VW.XView, 0) - 180 - (i * 90), 230 + (j * 30), spr_crowdpiece);
2175
                with (cwp[i][j])
2176
                {
2177
                    siner = 0;
2178
                    hspeed = 12;
2179
                    
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2180
                }
2181
                cwp[i][j].siner = i + (j * 2);
2182
            }
2183
        }
2184
        l = 
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; }
(__view_get(e__VW.XView, 0) - 180 - 280, 60, spr_lancer_rt);
2185
        with (l)
2186
        {
2187
            hspeed = 12;
2188
            siner = 0;
2189
        }
2190
        crowdshift = 1;
2191
        con = 251;
2192
        alarm[4]
 = 45;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2193
        lifttimer = 0;
2194
        liftking = 0;
2195
    }
2196
    if (crowdshift == 1)
2197
    {
2198
        for (i = 0; i < xmake; i += 1)
2199
        {
2200
            for (j = 0; j < ymake; j += 1)
2201
            {
2202
                with (cwp[i][j])
2203
                {
2204
                    siner += 1;
2205
                    image_xscale = 2 + (sin(siner / 12) * 0.05);
2206
                    image_yscale = 2 + (sin(siner / 6) * 0.1);
2207
                }
2208
            }
2209
        }
2210
        with (l)
2211
        {
2212
            siner += 1;
2213
            y += sin(siner / 6);
2214
        }
2215
    }
2216
    if (liftking == 1)
2217
    {
2218
        with (king)
2219
        {
2220
            siner += 1;
2221
            y += sin(siner / 6);
2222
        }
2223
    }
2224
    if (con == 251)
2225
    {
2226
        lifttimer += 1;
2227
        if (lifttimer == 18 || lifttimer == 35)
2228
            snd_play(snd_wing);
2229
        if (lifttimer >= 18)
2230
        {
2231
            with (k)
2232
            {
2233
                sprite_index = spr_krisr_kneel;
2234
                x += 12;
2235
            }
2236
        }
2237
        if (lifttimer >= 35)
2238
        {
2239
            with (king)
2240
            {
2241
                vspeed = -8;
2242
                friction = 1;
2243
                sprite_index = spr_king_fall;
2244
                image_speed = 0.2;
2245
            }
2246
            liftking = 1;
2247
        }
2248
    }
2249
    if (con == 252)
2250
    {
2251
        global.currentsong[0] = snd_init("lancer.ogg");
2252
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.8, 1);
2253
        with (obj_shake)
2254
            permashake = 0;
2255
        snd_stop(snd_rumble);
2256
        with (l)
2257
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2258
        for (i = 0; i < xmake; i += 1)
2259
        {
2260
            for (j = 0; j < ymake; j += 1)
2261
            {
2262
                with (cwp[i][j])
2263
                    
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2264
            }
2265
        }
2266
        con = 253;
2267
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2268
    }
2269
    if (con == 254)
2270
    {
2271
        global.typer = 33;
2272
        global.fc = 20;
2273
        global.fe = 6;
2274
        global.msg[0] = 
* L...Delay 11 Lancer!?Delay 11
* E...Delay 11 Everyone!?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2116_0")
;
2275
        global.msg[1] = 
* WHAT is the meaning of this!?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2117_0")
;
2276
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(2, 2);
2277
        global.msg[3] = 
* Sorry,Delay 11 Dad!Delay 11
* You're being overthrown!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2119_0")
;
2278
        global.msg[4] = 
Face 0* When I told everyone you were fighting the Lightners...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2120_0")
;
2279
        global.msg[5] = 
Face 3* Everyone remembered how kind they were!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2121_0")
;
2280
        global.msg[6] = 
Face 0* They decided they'd rather have a king...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2122_0")
;
2281
        global.msg[7] = 
Face 1* That accepts them!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2123_0")
;
2282
        global.msg[8] = 
Face 2* Me!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2124_0")
;
2283
        global.msg[9] = 
Face 3* Now I'm the dad!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2125_0")
;
2284
        
scr_kingface
scr_kingface

function
scr_kingface(arg0, arg1)
{ if (global.plot >= 235) global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char K Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_3_0")
, string(arg1));
else global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Sound K Close Message
scr_84_get_lang_string("scr_kingface_slash_scr_kingface_gml_7_0")
, string(arg1));
}
(10, 6);
2285
        global.msg[11] = 
* You IDIOTS!Delay 11 The Lightners are your ENEMIES!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2127_0")
;
2286
        global.msg[12] = 
* FOOLS!Delay 11 I'LL KILL YOU!Delay 11 I'LL KILL ALL OF YOU!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2128_0")
;
2287
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(13, 2);
2288
        global.msg[14] = 
* Yikes!Delay 11 I think someone needs a time out!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2130_0")
;
2289
        global.msg[15] = 
Face 3* Go to your room,Delay 11 Dad!!!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2131_0")
;
2290
        instance_create(0, 0, obj_dialoguer);
2291
        con = 255;
2292
    }
2293
    if (con == 255 && !d_ex())
2294
    {
2295
        mus_volume(global.currentsong[1], 0, 60);
2296
        with (king)
2297
        {
2298
            hspeed = -12;
2299
            friction = 0;
2300
        }
2301
        with (l)
2302
            hspeed = -12;
2303
        for (i = 0; i < xmake; i += 1)
2304
        {
2305
            for (j = 0; j < ymake; j += 1)
2306
            {
2307
                with (cwp[i][j])
2308
                    hspeed = -12;
2309
            }
2310
        }
2311
        con = 256;
2312
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2313
        global.fc = 20;
2314
        global.fe = 6;
2315
        global.typer = 33;
2316
        global.msg[0] = 
* NOOOOOOOOOOOOOOOOOO!!!!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2155_0")
;
2317
        instance_create(0, 0, obj_dialoguer);
2318
    }
2319
    if (con == 257 && !d_ex())
2320
    {
2321
        snd_free_all();
2322
        con = 350;
2323
    }
2324
}
2325
if (con >= 265 && con < 320)
2326
{
2327
    if (con == 268 && !d_ex())
2328
    {
2329
        with (s)
2330
            sprite_index = spr_susier_eye_dark_lookup;
2331
        con = 269;
2332
        alarm[4]
 = 15;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2333
    }
2334
    if (con == 270)
2335
    {
2336
        global.fe = 0;
2337
        global.typer = 30;
2338
        global.fc = 1;
2339
        global.msg[0] = 
* ... No time for goodbyes,Delay 11 huh...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2182_0")
;
2340
        instance_create(0, 0, obj_dialoguer);
2341
        con = 275;
2342
    }
2343
    if (con == 275 && !d_ex())
2344
    {
2345
        with (s)
2346
            sprite_index = spr_susiel_eye_dark;
2347
        with (l)
2348
        {
2349
            hspeed = 8;
2350
            sprite_index = spr_lancer_rt;
2351
        }
2352
        with (r)
2353
            sprite_index = spr_ralseil;
2354
        with (k)
2355
            sprite_index = spr_krisl_dark;
2356
        con = 276;
2357
        alarm[4]
 = 3;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2358
    }
2359
    if (con == 277 && !d_ex())
2360
    {
2361
        with (l)
2362
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2363
        global.typer = 32;
2364
        global.fc = 5;
2365
        global.fe = 1;
2366
        global.msg[0] = 
* Yes!!!Delay 11 Of course no goodbyes!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2205_0")
;
2367
        global.msg[1] = 
Face 2* We're bad guys,Delay 11 so we only have BAD-byes!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2206_0")
;
2368
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(2, 2);
2369
        global.msg[3] = 
* Heheh,Delay 11 you've learned a lot,Delay 11 huh.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2208_0")
;
2370
        
scr_lanface
scr_lanface

function
scr_lanface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char L Sound L Close Message
scr_84_get_lang_string("scr_lanface_slash_scr_lanface_gml_1_0")
, string(arg1));
}
(4, 3);
2371
        global.msg[5] = 
* Only from the best!Delay 11
* Of the worst!!!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2210_0")
;
2372
        instance_create(0, 0, obj_dialoguer);
2373
        con = 280;
2374
    }
2375
    if (con == 280 && !d_ex())
2376
    {
2377
        with (s)
2378
        {
2379
            sprite_index = spr_susiel_dark_laugh;
2380
            image_speed = 0.334;
2381
        }
2382
        with (l)
2383
        {
2384
            sprite_index = spr_lancer_rt_laugh;
2385
            image_speed = 0.334;
2386
        }
2387
        ll = snd_play(snd_lancerlaugh);
2388
        sl = snd_play(snd_suslaugh);
2389
        snd_volume(ll, 0.8, 0);
2390
        snd_volume(sl, 0.8, 0);
2391
        con = 281;
2392
        alarm[4]
 = 70;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2393
    }
2394
    if (con == 282)
2395
    {
2396
        with (s)
2397
        {
2398
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2399
            sprite_index = spr_susiel_dark_eyes;
2400
        }
2401
        with (l)
2402
        {
2403
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2404
            sprite_index = spr_lancer_lt;
2405
        }
2406
        global.typer = 32;
2407
        global.fc = 5;
2408
        global.fe = 3;
2409
        global.msg[0] = 
* OK!Delay 11 I'll go stop the door!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2235_0")
;
2410
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(1, 2);
2411
        global.msg[2] = 
* Later,Delay 11 dude.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2237_0")
;
2412
        instance_create(0, 0, obj_dialoguer);
2413
        con = 283;
2414
    }
2415
    if (con == 283 && !d_ex())
2416
    {
2417
        with (l)
2418
            hspeed = -8;
2419
        with (k)
2420
        {
2421
            hspeed = 6;
2422
            sprite_index = spr_krisr_dark;
2423
            image_speed = 0.2;
2424
        }
2425
        with (s)
2426
        {
2427
            hspeed = 6;
2428
            sprite_index = spr_susier_eye_dark;
2429
            image_speed = 0.2;
2430
        }
2431
        with (r)
2432
        {
2433
            hspeed = 5.5;
2434
            sprite_index = spr_ralseir;
2435
            image_speed = 0.2;
2436
        }
2437
        
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(6, 0, 160);
2438
        con = 284;
2439
        alarm[4]
 = 160;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2440
    }
2441
    if (con == 285)
2442
    {
2443
        with (r)
2444
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2445
        with (s)
2446
        {
2447
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2448
            sprite_index = spr_susiel_eye_dark_unhappy;
2449
        }
2450
        with (k)
2451
        {
2452
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2453
            sprite_index = spr_krisl_dark;
2454
        }
2455
        global.fc = 2;
2456
        global.fe = 4;
2457
        global.typer = 31;
2458
        global.msg[0] = 
* Susie...Delay 11 Kris...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2262_0")
;
2459
        global.msg[1] = 
Face 5* If we must say goodbye,Delay 11 then...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2263_0")
;
2460
        instance_create(0, 0, obj_dialoguer);
2461
        con = 286;
2462
    }
2463
    if (con == 286 && !d_ex())
2464
    {
2465
        with (r)
2466
        {
2467
            sprite_index = spr_ralsei_pullhat;
2468
            image_speed = 0.1;
2469
        }
2470
        global.fc = 0;
2471
        global.msg[0] = 
* Umm,Delay 11 I...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2272_0")
;
2472
        global.msg[1] = 
* I just wanted to say...Delay 11 I...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2273_0")
;
2473
        instance_create(0, 0, obj_dialoguer);
2474
        con = 287;
2475
        rtimer = 0;
2476
    }
2477
    if (con == 287 && !d_ex())
2478
    {
2479
        with (r)
2480
        {
2481
            sprite_index = spr_ralsei_reveal;
2482
            image_index = 0;
2483
            image_speed = 0;
2484
        }
2485
        con = 288;
2486
    }
2487
    if (con == 288)
2488
    {
2489
        rtimer += 0.1;
2490
        with (r)
2491
            image_index += 0.1;
2492
        if (rtimer >= 2)
2493
        {
2494
            con = 289;
2495
            alarm[4]
 = 10;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2496
        }
2497
    }
2498
    if (con == 290)
2499
    {
2500
        global.msg[0] = 
* I...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2294_0")
;
2501
        global.msg[1] = 
* I really enjoyed meeting you two,Delay 11 and...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2295_0")
;
2502
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(2, 4);
2503
        global.msg[3] = 
* Hey,Delay 11 can you STOP mumbling into your hat for a sec?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2297_0")
;
2504
        global.msg[4] = 
* Can barely hear ya,Delay 11 dude.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2298_0")
;
2505
        global.msg[5] = 
Sound X Char 0 Sound R Close Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2299_0")
;
2506
        global.msg[6] = 
* O-oh,Delay 11 I'm sorry!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2300_0")
;
2507
        instance_create(0, 0, obj_dialoguer);
2508
        con = 291;
2509
        hatsounded = 0;
2510
    }
2511
    if (con == 291 && !d_ex())
2512
    {
2513
        if (hatsounded == 0)
2514
        {
2515
            snd_play(snd_wing);
2516
            hatsounded = 1;
2517
        }
2518
        with (r)
2519
            image_index += 0.1;
2520
        rtimer += 0.1;
2521
        if (rtimer >= 6)
2522
        {
2523
            con = 292;
2524
            alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2525
            with (s)
2526
            {
2527
                sprite_index = spr_susie_shock;
2528
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
2529
            }
2530
        }
2531
    }
2532
    if (con == 293)
2533
    {
2534
        global.flag[30 ralsei_hat_state] = 2;
2535
        global.fc = 2;
2536
        global.typer = 31;
2537
        global.fe = 1;
2538
        global.msg[0] = 
* Um...Delay 11 Kris,Delay 11 Susie...Delay 11 I...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2320_0")
;
2539
        instance_create(0, 0, obj_dialoguer);
2540
        con = 294;
2541
    }
2542
    if (con == 294 && !d_ex())
2543
    {
2544
        with (r)
2545
            image_index += 0.1;
2546
        rtimer += 0.1;
2547
        if (rtimer >= 11)
2548
        {
2549
            con = 295;
2550
            alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2551
        }
2552
    }
2553
    if (con == 296)
2554
    {
2555
        global.fe = 0;
2556
        global.msg[0] = 
* I hope I can see you again soon.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2335_0")
;
2557
        global.msg[1] = 
Face 2* Next time I'll make you lots of yummy cakes,Delay 11 alright?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2336_0")
;
2558
        instance_create(0, 0, obj_dialoguer);
2559
        con = 297;
2560
    }
2561
    if (con == 297 && !d_ex())
2562
    {
2563
        global.typer = 30;
2564
        global.fc = 1;
2565
        global.fe = 6;
2566
        global.msg[0] = 
* ??????????Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2347_0")
;
2567
        global.msg[1] = 
Face 7* Umm,Delay 11 yeah!Delay 11 Sure,Delay 11 dude,Delay 11 haha!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2348_0")
;
2568
        instance_create(0, 0, obj_dialoguer);
2569
        con = 298;
2570
    }
2571
    if (con == 298 && !d_ex())
2572
    {
2573
        with (k)
2574
            sprite_index = spr_krisr_dark;
2575
        with (s)
2576
        {
2577
            sprite_index = spr_susier_eye_dark;
2578
            image_index = 1;
2579
            hspeed = 6;
2580
        }
2581
        if (global.plot >= 240)
2582
        {
2583
            with (s)
2584
                hspeed = 0;
2585
        }
2586
        con = 299;
2587
        alarm[4]
 = 4;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2588
    }
2589
    if (con == 300)
2590
    {
2591
        with (s)
2592
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2593
        con = 301;
2594
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2595
    }
2596
    if (con == 302)
2597
    {
2598
        global.fe = 2;
2599
        global.msg[0] = 
* Let's go,Delay 11 Kris!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2372_0")
;
2600
        instance_create(0, 0, obj_dialoguer);
2601
        con = 303;
2602
    }
2603
    if (con == 303 && !d_ex())
2604
    {
2605
        with (s)
2606
        {
2607
            image_speed = 0.2;
2608
            hspeed = 4;
2609
        }
2610
        with (k)
2611
        {
2612
            image_speed = 0.2;
2613
            hspeed = 4;
2614
        }
2615
        con = 304;
2616
        alarm[4]
 = 110;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2617
        fade = instance_create(0, 0, obj_fadeout);
2618
        with (fade)
2619
            fadespeed = 0.01;
2620
        if (global.plot < 240)
2621
            
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(3, 0, 999);
2622
    }
2623
    if (con == 305)
2624
    {
2625
        
scr_losechar
scr_losechar

function
scr_losechar()
{ global.char[2] = 0; global.char[1] = 0; for (i = 0; i < 36; i += 1) global.submenucoord[i] = 0; with (obj_darkcontroller) { chartotal = 0; havechar[0] = 0; havechar[1] = 0; havechar[2] = 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; } } } global.submenu = 0; global.charselect = -1; for (i = 0; i < 36; i += 1) global.submenucoord[i] = 0; }
();
2626
        
scr_getchar
scr_getchar

function
scr_getchar(arg0)
{ getchar = 0; if (global.char[0] == 0) { global.char[0] = arg0; getchar = 1; } if (global.char[1] == 0 && getchar == 0) { global.char[1] = arg0; getchar = 1; } if (global.char[2] == 0 && getchar == 0) { global.char[2] = arg0; getchar = 1; } with (obj_darkcontroller) { chartotal = 0; havechar[0] = 0; havechar[1] = 0; havechar[2] = 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; } } } }
(2);
2627
        global.interact = 3;
2628
        global.entrance = 1;
2629
        if (global.plot < 240)
2630
        {
2631
            global.plot = 240;
2632
            global.flag[248 massacre_end] = 1;
2633
        }
2634
        instance_create(0, 0, obj_persistentfadein);
2635
        room_goto_next();
2636
    }
2637
}
2638
if (con >= 350 && con < 700)
2639
{
2640
    if (con == 350 && !d_ex())
2641
    {
2642
        if (part == 0)
2643
        {
2644
            __view_set(e__VW.XView, 0, 200);
2645
            k = 
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; }
(598, 180, spr_krisr_kneel);
2646
            s = 
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; }
(700, 166, spr_susiel_eye_dark_unhappy);
2647
            with (k)
2648
                depth = 800000;
2649
            with (s)
2650
                
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2651
        }
2652
        with (k)
2653
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2654
        with (s)
2655
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2656
        with (r)
2657
            instance_destroy();
2658
        with (s)
2659
        {
2660
            hspeed = -6;
2661
            image_speed = 0.25;
2662
        }
2663
        con = 351;
2664
        alarm[4]
 = 6;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2665
    }
2666
    if (con == 352)
2667
    {
2668
        with (s)
2669
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2670
        global.fe = 3;
2671
        global.typer = 30;
2672
        global.fc = 1;
2673
        global.msg[0] = 
* Y'alright,Delay 11 Kris?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2435_0")
;
2674
        instance_create(0, 0, obj_dialoguer);
2675
        con = 353;
2676
    }
2677
    if (con == 353 && !d_ex())
2678
    {
2679
        with (k)
2680
            sprite_index = spr_krisr_dark;
2681
        with (s)
2682
            sprite_index = spr_susier_eye_dark;
2683
        
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(3, 0, 60);
2684
        r = 
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; }
(__view_get(e__VW.XView, 0) + 800, s.y + 10, spr_ralseil);
2685
        with (r)
2686
        {
2687
            hspeed = -4;
2688
            image_speed = 0.2;
2689
        }
2690
        con = 354;
2691
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2692
    }
2693
    if (con == 355)
2694
    {
2695
        with (r)
2696
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2697
        con = 356;
2698
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2699
    }
2700
    if (con == 357)
2701
    {
2702
        global.fc = 2;
2703
        global.fe = 3;
2704
        global.typer = 31;
2705
        global.msg[0] = 
* Kris!Delay 11
* Susie...!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2463_0")
;
2706
        global.msg[1] = 
Face 6* Oh,Delay 11 you're all right...!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2464_0")
;
2707
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(2, 2);
2708
        global.msg[3] = 
* Yeah,Delay 11 it'll take more than that to take us down.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2466_0")
;
2709
        instance_create(0, 0, obj_dialoguer);
2710
        con = 358;
2711
    }
2712
    if (con == 358 && !d_ex())
2713
    {
2714
        with (r)
2715
            sprite_index = spr_ralseir;
2716
        con = 359;
2717
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2718
    }
2719
    if (con == 360)
2720
    {
2721
        global.fe = 4;
2722
        global.typer = 31;
2723
        global.fc = 2;
2724
        global.msg[0] = 
* Kris,Delay 11 Susie...Delay 11 I'm...Delay 11 I'm sorry.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2484_0")
;
2725
        global.msg[1] = 
* Because I healed the KING,Delay 11 we almost... we almost...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2485_0")
;
2726
        global.msg[2] = 
Face 6* Susie,Delay 11 you were right.Delay 11 I...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2486_0")
;
2727
        global.msg[3] = 
Face 5* I was foolish to think we could act so soft to everyone...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2487_0")
;
2728
        global.msg[4] = 
Face 4* This isn't a world where kindness always wins,Delay 11 is it?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2488_0")
;
2729
        instance_create(0, 0, obj_dialoguer);
2730
        con = 361;
2731
    }
2732
    if (con == 361 && !d_ex())
2733
    {
2734
        with (s)
2735
        {
2736
        }
2737
        with (r)
2738
            sprite_index = spr_ralseil;
2739
        con = 362;
2740
        alarm[4]
 = 4;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2741
    }
2742
    if (con == 363)
2743
    {
2744
        with (s)
2745
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2746
        global.typer = 30;
2747
        global.fc = 1;
2748
        global.fe = 1;
2749
        global.msg[0] = 
* Eh,Delay 11 it's complicated.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2506_0")
;
2750
        global.msg[1] = 
Face 0* Yeah,Delay 11 sometimes there's people you just gotta fight.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2507_0")
;
2751
        global.msg[2] = 
Face 1* But if you NEVER let your guard down,Delay 11 then...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2508_0")
;
2752
        instance_create(0, 0, obj_dialoguer);
2753
        con = 364;
2754
    }
2755
    if (con == 364 && !d_ex())
2756
    {
2757
        with (s)
2758
            sprite_index = spr_susier_eye_dark_lookup;
2759
        global.msg[0] = 
Face 0* You might just...Delay 11 hurt someone you care about.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2516_0")
;
2760
        con = 365;
2761
        instance_create(0, 0, obj_dialoguer);
2762
    }
2763
    if (con == 365 && !d_ex())
2764
    {
2765
        with (s)
2766
            sprite_index = spr_susier_eye_dark_unhappy;
2767
        with (r)
2768
            sprite_index = spr_ralseid_pleased;
2769
        global.typer = 31;
2770
        global.fc = 2;
2771
        global.fe = 8;
2772
        global.msg[0] = 
Face 8* Aww,Delay 11 Susie...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2528_0")
;
2773
        global.msg[1] = 
Face 6* You're beginning to sound like a real hero...!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2529_0")
;
2774
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(2, 2);
2775
        global.msg[3] = 
* Eh,Delay 11 don't get used to it.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2531_0")
;
2776
        instance_create(0, 0, obj_dialoguer);
2777
        con = 366;
2778
    }
2779
    if (con == 366 && !d_ex())
2780
    {
2781
        with (r)
2782
            sprite_index = spr_ralseid;
2783
        con = 367;
2784
        alarm[4]
 = 30;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2785
    }
2786
    if (con == 368)
2787
    {
2788
        with (r)
2789
            sprite_index = spr_ralseil;
2790
        global.typer = 31;
2791
        global.fc = 2;
2792
        global.fe = 1;
2793
        global.msg[0] = 
* Then,Delay 11 I...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2549_0")
;
2794
        global.msg[1] = 
Face 6* I suppose you and Kris should return home now.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2550_0")
;
2795
        
scr_susface
scr_susface

function
scr_susface(arg0, arg1)
{ global.msg[arg0] =
scr_84_get_subst_string(
Sound X Char 0 Face ~1 Char S Sound S Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1));
}
(2, 1);
2796
        global.msg[3] = 
* Yeah,Delay 11 I...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2552_0")
;
2797
        global.msg[4] = 
Face 0* I guess that's right,Delay 11 huh.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2553_0")
;
2798
        instance_create(0, 0, obj_dialoguer);
2799
        con = 369;
2800
    }
2801
    if (con == 369 && !d_ex())
2802
    {
2803
        with (r)
2804
        {
2805
            vspeed = -1;
2806
            image_speed = 0.2;
2807
            sprite_index = spr_ralseid;
2808
        }
2809
        with (s)
2810
        {
2811
            hspeed = 5;
2812
            image_speed = 0.2;
2813
        }
2814
        with (k)
2815
        {
2816
            hspeed = 5;
2817
            image_speed = 0.2;
2818
        }
2819
        with (r)
2820
            depth = 900000;
2821
        
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(4, 0, 50);
2822
        con = 370;
2823
        alarm[4]
 = 50;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2824
    }
2825
    if (con == 371)
2826
    {
2827
        with (r)
2828
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2829
        with (s)
2830
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2831
        with (k)
2832
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2833
        with (r)
2834
            sprite_index = spr_ralseir;
2835
        con = 372;
2836
        alarm[4]
 = 45;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2837
    }
2838
    if (con == 373)
2839
    {
2840
        with (s)
2841
            sprite_index = spr_susiel_eye_dark_unhappy;
2842
        with (k)
2843
            sprite_index = spr_krisl_dark;
2844
        global.fe = 1;
2845
        global.msg[0] = 
* Well,Delay 11 uh...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2584_0")
;
2846
        global.msg[1] = 
Face 3* See ya.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2585_0")
;
2847
        instance_create(0, 0, obj_dialoguer);
2848
        con = 374;
2849
    }
2850
    if (con == 374 && !d_ex())
2851
    {
2852
        with (k)
2853
        {
2854
            sprite_index = spr_krisr_dark;
2855
            image_speed = 0.2;
2856
            hspeed = 6;
2857
        }
2858
        with (s)
2859
        {
2860
            sprite_index = spr_susier_eye_dark_unhappy;
2861
            image_speed = 0.2;
2862
            hspeed = 6;
2863
        }
2864
        
scr_pan
scr_pan

function
scr_pan(arg0, arg1, arg2)
{ panner = instance_create(0, 0, obj_panner); panner.panmax = arg2; panner.panx = arg0; panner.pany = arg1; }
(5, 0, 999);
2865
        con = 375;
2866
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2867
    }
2868
    if (con == 376)
2869
    {
2870
        fade = instance_create(0, 0, obj_fadeout);
2871
        with (fade)
2872
            fadespeed = 0.02;
2873
        con = 377;
2874
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2875
    }
2876
    if (con == 378)
2877
    {
2878
        
scr_losechar
scr_losechar

function
scr_losechar()
{ global.char[2] = 0; global.char[1] = 0; for (i = 0; i < 36; i += 1) global.submenucoord[i] = 0; with (obj_darkcontroller) { chartotal = 0; havechar[0] = 0; havechar[1] = 0; havechar[2] = 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; } } } global.submenu = 0; global.charselect = -1; for (i = 0; i < 36; i += 1) global.submenucoord[i] = 0; }
();
2879
        
scr_getchar
scr_getchar

function
scr_getchar(arg0)
{ getchar = 0; if (global.char[0] == 0) { global.char[0] = arg0; getchar = 1; } if (global.char[1] == 0 && getchar == 0) { global.char[1] = arg0; getchar = 1; } if (global.char[2] == 0 && getchar == 0) { global.char[2] = arg0; getchar = 1; } with (obj_darkcontroller) { chartotal = 0; havechar[0] = 0; havechar[1] = 0; havechar[2] = 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; } } } }
(2);
2880
        global.plot = 240;
2881
        global.entrance = 1;
2882
        global.interact = 3;
2883
        instance_create(0, 0, obj_persistentfadein);
2884
        room_goto_next();
2885
    }
2886
}
2887
if (con >= 700)
2888
{
2889
    if (con == 700 && global.plot >= 243 && global.interact == 0 && obj_mainchara.x >= 1900)
2890
    {
2891
        global.interact = 1;
2892
        con = 701;
2893
        with (obj_caterpillarchara)
2894
            visible = 0;
2895
        with (obj_mainchara)
2896
            visible = 0;
2897
        with (obj_npc_facing)
2898
            visible = 0;
2899
        s = 
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_caterpillarchara.x, obj_caterpillarchara.y, spr_susiel_dark_eyes);
2900
        with (s)
2901
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2902
        k = 
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.x, obj_mainchara.y, spr_krisl_dark);
2903
        with (k)
2904
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2905
        r = 
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_npc_facing.x, obj_npc_facing.y, spr_ralseir);
2906
        with (r)
2907
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2908
        global.typer = 31;
2909
        global.fc = 2;
2910
        global.fe = 6;
2911
        global.msg[0] = 
* Susie,Delay 11 Kris...Delay 11 Are you going to leave...?Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("obj_kingcutscene_slash_Step_0_gml_2648_0")
;
2912
        mus_volume(global.currentsong[1], 0, 80);
2913
        instance_create(0, 0, obj_dialoguer);
2914
    }
2915
    if (con == 701 && !d_ex())
2916
    {
2917
        with (r)
2918
        {
2919
            sprite_index = spr_ralseid;
2920
            image_speed = 0.1;
2921
            vspeed = 1;
2922
        }
2923
        con = 702;
2924
        alarm[4]
 = 60;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2925
    }
2926
    if (con == 703)
2927
    {
2928
        with (r)
2929
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
2930
        con = 704;
2931
        alarm[4]
 = 20;
gml_Object_obj_kingcutscene_Alarm_4.gml

con += 1;
2932
    }
2933
    if (con == 705)
2934
    {
2935
        global.plot = 244;
2936
        snd_free_all();
2937
        con = 286;
2938
    }
2939
}
2940
2941
enum e__VW
2942
{
2943
    XView,
2944
    YView,
2945
    WView,
2946
    HView,
2947
    Angle,
2948
    HBorder,
2949
    VBorder,
2950
    HSpeed,
2951
    VSpeed,
2952
    Object,
2953
    Visible,
2954
    XPort,
2955
    YPort,
2956
    WPort,
2957
    HPort,
2958
    Camera,
2959
    SurfaceID
2960
}