Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_thrashmaker_event_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 1)
2
{
3
    snd_free_all();
4
    y = 200;
5
    global.interact = 1;
6
    ral = 
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; }
(-50, global.cinstance[0].y, spr_ralseir);
7
    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, obj_mainchara.y, spr_krisr_dark);
8
    c[0] = k;
9
    c[1] = ral;
10
    with (obj_caterpillarchara)
11
        visible = 0;
12
    with (obj_mainchara)
13
        visible = 0;
14
    with (ral)
15
    {
16
        hspeed = 4;
17
        image_speed = 0.2;
18
    }
19
    with (k)
20
    {
21
        hspeed = 4;
22
        image_speed = 0.2;
23
    }
24
    con = 2;
25
    alarm[4]
 = 30;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
26
}
27
if (con == 2)
28
    global.interact = 1;
29
if (con == 3)
30
{
31
    with (obj_marker)
32
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
33
    con = 4;
34
    alarm[4]
 = 20;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
35
}
36
if (con == 5)
37
{
38
    global.fc = 0;
39
    global.fe = 0;
40
    global.typer = 32;
41
    global.msg[0] = 
Face D* Oh,Delay 11 woe!Delay 11 Woe is me...!Delay 11 Rows and rows of woes and woes!Delay 11 If only a hero would help...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_thrashmaker_event_slash_Step_0_gml_57_0")
;
42
    
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, 3);
43
    global.msg[2] = 
* Lancer...?Delay 11 Is everything 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_thrashmaker_event_slash_Step_0_gml_59_0")
;
44
    instance_create(0, 0, obj_dialoguer);
45
    con = 5.1;
46
}
47
if (con == 5.1 && !d_ex())
48
{
49
    global.currentsong[0] = snd_init("lancer.ogg");
50
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.6, 1);
51
    sprite_index = spr_lancer_lt_mustache;
52
    global.fc = 5;
53
    global.fe = 13;
54
    global.typer = 32;
55
    global.msg[0] = 
* Oh,Delay 11 I'm not Lancer!Delay 11
* I'm just a sweet little boy!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_thrashmaker_event_slash_Step_0_gml_74_0")
;
56
    
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, 1);
57
    global.msg[2] = 
* Why does a sweet little boy have a mustache.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_thrashmaker_event_slash_Step_0_gml_76_0")
;
58
    
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));
}
(3, "E");
59
    global.msg[4] = 
* As a disguise.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_thrashmaker_event_slash_Step_0_gml_78_0")
;
60
    instance_create(0, 0, obj_dialoguer);
61
    con = 6;
62
}
63
if (con == 6 && !d_ex())
64
{
65
    snd_play(snd_lancerlaugh);
66
    sprite_index = spr_lancer_lt_laugh_mustache;
67
    image_speed = 0.25;
68
    con = 7;
69
    alarm[4]
 = 50;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
70
}
71
if (con == 8)
72
{
73
    sprite_index = spr_lancer_lt_mustache;
74
    image_index = 0;
75
    image_speed = 0;
76
    global.fc = 2;
77
    global.typer = 31;
78
    global.fe = 11;
79
    global.msg[0] = 
* ... so what kind of help do you need?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_thrashmaker_event_slash_Step_0_gml_103_0")
;
80
    
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, "D");
81
    global.msg[2] = 
* See,Delay 11 I have this EVIL PLAN that I need to make...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_thrashmaker_event_slash_Step_0_gml_105_0")
;
82
    
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, "C");
83
    global.msg[4] = 
* ... and why does a "sweet boy" need an evil 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_thrashmaker_event_slash_Step_0_gml_107_0")
;
84
    
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, "E");
85
    global.msg[6] = 
* To impress his cool friend 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_thrashmaker_event_slash_Step_0_gml_109_0")
;
86
    
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));
}
(7, 1);
87
    global.msg[8] = 
* ...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_thrashmaker_event_slash_Step_0_gml_111_0")
;
88
    global.msg[9] = 
Face 7* (Kris,Delay 11 if it's for friendship...)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_thrashmaker_event_slash_Step_0_gml_112_0")
;
89
    global.msg[10] = 
Face 8* Well then,Delay 11 we'll gladly help.Delay 11 What shall we do?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_thrashmaker_event_slash_Step_0_gml_113_0")
;
90
    
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));
}
(11, "E");
91
    global.msg[12] = 
* It's all on the paper,Delay 11 you delicious little apple!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_thrashmaker_event_slash_Step_0_gml_115_0")
;
92
    instance_create(0, 0, obj_dialoguer);
93
    con = 8.1;
94
}
95
if (con == 8.1 && !d_ex())
96
{
97
    easel = 
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; }
(280, -80, spr_thrashdesign);
98
    with (easel)
99
    {
100
        vspeed = 3;
101
        gravity = 0.5;
102
        depth = 700000;
103
    }
104
    snd_play(snd_spearrise);
105
    con = 8.2;
106
}
107
if (con == 8.2)
108
{
109
    if (easel.y >= 155)
110
    {
111
        with (easel)
112
        {
113
            speed = 0;
114
            gravity = 0;
115
            y = 160;
116
        }
117
        snd_play(snd_impact);
118
        instance_create(0, 0, obj_shake);
119
        con = 8.3;
120
        alarm[4]
 = 30;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
121
    }
122
}
123
if (con == 9.3 && !d_ex())
124
{
125
    with (k)
126
    {
127
        hspeed = 8;
128
        sprite_index = spr_krisr_dark;
129
        image_speed = 0.25;
130
    }
131
    with (ral)
132
    {
133
        hspeed = 8;
134
        sprite_index = spr_ralseir;
135
        image_speed = 0.25;
136
    }
137
    hspeed = -1;
138
    con = 10;
139
    alarm[4]
 = 26;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
140
}
141
if (con == 11)
142
{
143
    with (k)
144
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
145
    with (ral)
146
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
147
    with (k)
148
        sprite_index = spr_krisu_dark;
149
    with (ral)
150
        sprite_index = spr_ralseiu;
151
    
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
152
    con = 12;
153
    alarm[4]
 = 30;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
154
}
155
if (con == 13)
156
{
157
    global.typer = 32;
158
    global.fc = 5;
159
    global.fe = 14;
160
    global.msg[0] = 
* Just fill it with the most evil thing you can imagine!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_thrashmaker_event_slash_Step_0_gml_187_0")
;
161
    global.msg[1] = 
* Ho ho ho!Delay 11 Let the Clown-Generated-Content begin!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_thrashmaker_event_slash_Step_0_gml_188_0")
;
162
    instance_create(0, 0, obj_dialoguer);
163
    con = 23;
164
}
165
if (con == 23 && !d_ex())
166
{
167
    snd_free_all();
168
    with (ral)
169
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
170
    with (k)
171
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
172
    con = 24;
173
    alarm[4]
 = 5;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
174
}
175
if (con == 25)
176
{
177
    global.currentsong[0] = snd_init("thrashmachine.ogg");
178
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.6, 1);
179
    instance_create(0, 0, obj_thrashcontroller);
180
    con = 30;
181
}
182
if (con == 30 && !instance_exists(obj_thrashcontroller))
183
{
184
    snd_free_all();
185
    with (ral)
186
        sprite_index = spr_ralseir;
187
    with (k)
188
        sprite_index = spr_krisr_dark;
189
    global.typer = 32;
190
    global.fc = 5;
191
    global.fe = 14;
192
    global.msg[0] = 
* Wow!!Delay 11 Looks nasty!Delay 11
* Are you sure you aren't evil!?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_thrashmaker_event_slash_Step_0_gml_223_0")
;
193
    
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);
194
    global.msg[2] = 
* Err,Delay 11 no,Delay 11 I suppose we just have a knack for 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_thrashmaker_event_slash_Step_0_gml_225_0")
;
195
    instance_create(0, 0, obj_dialoguer);
196
    con = 31;
197
}
198
if (con == 31 && !d_ex())
199
{
200
    snd_play(snd_noise);
201
    with (bush)
202
        image_index = 1;
203
    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; }
(bush.x + 88, bush.y + 44, spr_susied_dark);
204
    with (s)
205
    {
206
        vspeed = 8;
207
        image_speed = 0.25;
208
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
209
    }
210
    bush_debris_obj = 
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; }
(s.x, s.y, spr_susiebushdebris);
211
    bush_debris_obj.depth = s.depth - 20;
212
    bush_debris = 1;
213
    hspeed = 8;
214
    con = 32;
215
}
216
if (bush_debris == 1)
217
{
218
    if (instance_exists(s) && instance_exists(bush_debris_obj))
219
    {
220
        bush_debris_obj.x = s.x;
221
        bush_debris_obj.y = s.y;
222
        bush_debris_obj.depth = s.depth - 20;
223
    }
224
}
225
if (con == 32)
226
{
227
    move_finished = 0;
228
    if (s.y >= 185)
229
    {
230
        with (s)
231
        {
232
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
233
            y = 185;
234
            sprite_index = spr_susiel_dark;
235
        }
236
        move_finished += 1;
237
    }
238
    if (x >= 460)
239
    {
240
        x = 460;
241
        speed = 0;
242
        move_finished += 1;
243
    }
244
    if (move_finished == 2)
245
        con = 35;
246
}
247
if (con == 33)
248
{
249
    with (s)
250
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
251
    con = 34;
252
    alarm[4]
 = 10;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
253
}
254
if (con == 35)
255
{
256
    global.currentsong[0] = snd_init("lancer.ogg");
257
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.6, 1);
258
    global.fc = 1;
259
    global.fe = 2;
260
    global.typer = 30;
261
    global.msg[0] = 
* Haha,Delay 11 tricked you,Delay 11 idiots!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_thrashmaker_event_slash_Step_0_gml_299_0")
;
262
    global.msg[1] = 
* NEVER do something someone else can do FOR 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_thrashmaker_event_slash_Step_0_gml_300_0")
;
263
    instance_create(0, 0, obj_dialoguer);
264
    con = 39;
265
}
266
if (con == 39 && !d_ex())
267
{
268
    with (s)
269
    {
270
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
271
        hspeed = -8;
272
        image_speed = 0.334;
273
    }
274
    with (k)
275
        hspeed = -8;
276
    with (ral)
277
        hspeed = -8;
278
    con = 40;
279
    alarm[4]
 = 12;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
280
}
281
if (con == 41)
282
{
283
    with (s)
284
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
285
    with (k)
286
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
287
    with (ral)
288
        
scr_halt
scr_halt

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

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
290
    s.sprite_index = spr_susieu_dark;
291
    con = 123;
292
    alarm[4]
 = 60;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
293
}
294
if (con == 124)
295
{
296
    type = -1;
297
    topstat = -1;
298
    topstatlevel = 0;
299
    for (i = 0; i < 6; i += 1)
300
    {
301
        if (stat[i] == topstatlevel && topstatlevel >= 2)
302
            type = 7;
303
        if (stat[i] > topstatlevel)
304
        {
305
            topstat = i;
306
            topstatlevel = stat[i];
307
        }
308
    }
309
    type = topstat;
310
    if (type == 7)
311
        type = -1;
312
    if (topstatlevel == 0)
313
        type = 6;
314
    con = 128;
315
    global.typer = 30;
316
    global.fc = 1;
317
    global.fe = 4;
318
    global.msg[0] = 
* Heheheheh!!!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_thrashmaker_event_slash_Step_0_gml_359_0")
;
319
    if (type == -1)
320
        global.msg[0] = 
* Heheh,Delay 11 you didn't even give it any weak points!!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_thrashmaker_event_slash_Step_0_gml_363_0")
;
321
    if (type == 0)
322
        global.msg[0] = 
* Heheh,Delay 11 it's even kinda high-class lookin'!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_thrashmaker_event_slash_Step_0_gml_367_0")
;
323
    if (type == 1)
324
        global.msg[0] = 
* Heheh,Delay 11 it even looks kinda fast!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_thrashmaker_event_slash_Step_0_gml_371_0")
;
325
    if (type == 2)
326
        global.msg[0] = 
* Heheh,Delay 11 it almost looks kinda cute!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_thrashmaker_event_slash_Step_0_gml_375_0")
;
327
    if (type == 3)
328
    {
329
        global.msg[0] = 
* Heheh,Delay 11 this thing's,Delay 11 like...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_thrashmaker_event_slash_Step_0_gml_379_0")
;
330
        global.msg[1] = 
Face 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_thrashmaker_event_slash_Step_0_gml_380_0")
;
331
        global.msg[2] = 
Face 6* Uhhh,Delay 11 hey,Delay 11 why did you draw something,Delay 11 like,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_thrashmaker_event_slash_Step_0_gml_381_0")
;
332
        global.msg[3] = 
* ... it looks like you guys wanna kiss?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_thrashmaker_event_slash_Step_0_gml_382_0")
;
333
        
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));
}
(4, 6);
334
        global.msg[5] = 
* (It's OK to express yourself,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_thrashmaker_event_slash_Step_0_gml_384_0")
;
335
    }
336
    if (type == 4)
337
        global.msg[0] = 
* Heheh,Delay 11 it even looks kinda cool!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_thrashmaker_event_slash_Step_0_gml_388_0")
;
338
    if (type == 5)
339
    {
340
        global.msg[0] = 
Face 3* 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_thrashmaker_event_slash_Step_0_gml_392_0")
;
341
        global.msg[1] = 
Face 6* ... uhh,Delay 11 didn't know you guys liked guns that much?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_thrashmaker_event_slash_Step_0_gml_393_0")
;
342
    }
343
    if (type == 6)
344
    {
345
        with (s)
346
            image_speed = 0;
347
        global.fe = 0;
348
        global.msg[0] = 
Face 3* 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_thrashmaker_event_slash_Step_0_gml_401_0")
;
349
        global.msg[1] = 
Face 1* ...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_thrashmaker_event_slash_Step_0_gml_402_0")
;
350
        global.msg[2] = 
Face 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_thrashmaker_event_slash_Step_0_gml_403_0")
;
351
        global.msg[3] = 
Face 6* It's just a duck?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_thrashmaker_event_slash_Step_0_gml_404_0")
;
352
        con = 126;
353
    }
354
    instance_create(0, 0, obj_dialoguer);
355
}
356
if (con == 126 && !d_ex())
357
{
358
    with (s)
359
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
360
    with (s)
361
        sprite_index = spr_susieu_dark;
362
    con = 127;
363
    alarm[4]
 = 60;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
364
}
365
if (con == 128 && !d_ex())
366
{
367
    with (s)
368
        sprite_index = spr_susier_dark;
369
    global.typer = 30;
370
    global.fc = 1;
371
    global.fe = 2;
372
    global.msg[0] = 
* Anyway,Delay 11 great job,Delay 11 Lancer!Delay 11
* They were sitting ducks!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_thrashmaker_event_slash_Step_0_gml_427_0")
;
373
    
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, "D");
374
    global.msg[2] = 
* Hahaha,Delay 11 yes!Delay 11 And it's all thanks to our 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_thrashmaker_event_slash_Step_0_gml_429_0")
;
375
    global.msg[3] = 
Face E* Thank you very much!!!Delay 11
* Thrash-you-later!!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_thrashmaker_event_slash_Step_0_gml_430_0")
;
376
    if (type == 6)
377
    {
378
        with (s)
379
            sprite_index = spr_susiel_dark_unhappy;
380
        global.fe = 6;
381
        global.msg[0] = 
* Guys?Delay 11 This evil plan...Delay 11 sucks ass.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_thrashmaker_event_slash_Step_0_gml_435_0")
;
382
        
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, "D");
383
        global.msg[2] = 
* Am I at fault in any 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_thrashmaker_event_slash_Step_0_gml_437_0")
;
384
        
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, 2);
385
        global.msg[4] = 
* Nah,Delay 11 you're good.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_thrashmaker_event_slash_Step_0_gml_439_0")
;
386
        
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, "E");
387
        global.msg[6] = 
* Oho!Delay 11 The bad guys get off scot-free again!!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_thrashmaker_event_slash_Step_0_gml_441_0")
;
388
        global.msg[7] = 
* Thrash-you-later,Delay 11 you fools!!!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_thrashmaker_event_slash_Step_0_gml_442_0")
;
389
    }
390
    instance_create(0, 0, obj_dialoguer);
391
    con = 49;
392
}
393
if (con == 49 && !d_ex())
394
{
395
    with (s)
396
    {
397
        sprite_index = spr_susier_dark;
398
        hspeed = 12;
399
        image_speed = 0.334;
400
    }
401
    with (easel)
402
        hspeed = 12;
403
    hspeed = 12;
404
    con = 50;
405
    snd_volume(global.currentsong[1], 0, 30);
406
    alarm[4]
 = 60;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
407
}
408
if (con == 51)
409
{
410
    snd_free_all();
411
    global.typer = 31;
412
    global.fe = 0;
413
    global.fc = 2;
414
    global.msg[0] = 
* Okay.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_thrashmaker_event_slash_Step_0_gml_465_0")
;
415
    instance_create(0, 0, obj_dialoguer);
416
    con = 52;
417
}
418
if (con == 52 && !d_ex())
419
{
420
    with (ral)
421
        sprite_index = spr_ralseir;
422
    with (k)
423
        sprite_index = spr_krisr_dark;
424
    con = 54;
425
    alarm[4]
 = 5;
gml_Object_obj_thrashmaker_event_Alarm_4.gml

con += 1;
426
}
427
if (con == 55)
428
{
429
    r = ral;
430
    obj_mainchara.x = k.x;
431
    obj_mainchara.y = k.y;
432
    with (obj_mainchara)
433
        visible = 1;
434
    
scr_unmarkify_caterpillar
scr_unmarkify_caterpillar

function
scr_unmarkify_caterpillar()
{ for (i = 0; i < 2; i += 1) { if (instance_exists(global.cinstance[i])) { if (global.char[i + 1] == 2) { if (global.cinstance[i].x != s.x || global.cinstance[i].y != s.x) { global.cinstance[i].x = s.x; global.cinstance[i].y = s.y + 10; with (global.cinstance[i])
scr_caterpillar_interpolate();
global.cinstance[i].y -= 10; } with (global.cinstance[i]) { if (global.facing == 0) sprite_index = dsprite; if (global.facing == 1) sprite_index = rsprite; if (global.facing == 2) sprite_index = usprite; if (global.facing == 3) sprite_index = lsprite; visible = 1; } with (s) instance_destroy(); } if (global.char[i + 1] == 3) { if (global.cinstance[i].x != r.x || global.cinstance[i].y != r.x) { global.cinstance[i].x = r.x; global.cinstance[i].y = r.y + 10; with (global.cinstance[i])
scr_caterpillar_interpolate();
global.cinstance[i].y -= 10; } with (global.cinstance[i]) { if (global.facing == 0) sprite_index = dsprite; if (global.facing == 1) sprite_index = rsprite; if (global.facing == 2) sprite_index = usprite; if (global.facing == 3) sprite_index = lsprite; visible = 1; } with (r) instance_destroy(); } } } }
();
435
    
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);
436
    global.facing = 0;
437
    with (ral)
438
        instance_destroy();
439
    with (k)
440
        instance_destroy();
441
    with (s)
442
        instance_destroy();
443
    event_user(1);
444
    con = 56;
445
    global.flag[226 made_thrash_machine] = 1;
446
    global.interact = 0;
447
    
scr_tempsave
scr_tempsave

function
scr_tempsave()
{ filechoicebk2 = global.filechoice; global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2; }
();
448
    instance_destroy();
449
}