Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_boxpuzzle_event_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 1)
2
{
3
    global.interact = 1;
4
    sus = 
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 - 100, global.cinstance[1].y, spr_susier_dark);
5
    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; }
(obj_mainchara.x - 50, global.cinstance[0].y, spr_ralseir);
6
    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_krisr_dark);
7
    with (obj_caterpillarchara)
8
        instance_destroy();
9
    with (obj_mainchara)
10
        visible = 0;
11
    with (obj_marker)
12
    {
13
        hspeed = 4;
14
        image_speed = 0.2;
15
    }
16
    con = 2;
17
    alarm[4]
 = 40;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
18
}
19
if (con == 2)
20
    global.interact = 1;
21
if (con == 3)
22
{
23
    con = 4;
24
    with (obj_marker)
25
        
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
26
    obj_mainchara.x = k.x;
27
    obj_mainchara.visible = 1;
28
    with (k)
29
        instance_destroy();
30
    alarm[4]
 = 30;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
31
    instance_create(ral.x + 20, ral.y - 20, obj_excblcon);
32
}
33
if (con == 5)
34
{
35
    global.typer = 31;
36
    global.fc = 2;
37
    global.fe = 8;
38
    global.msg[0] = 
* Oh,Delay 11 look,Delay 11 Kris!Delay 11
* Another puzzle!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_boxpuzzle_event_slash_Step_0_gml_39_0")
;
39
    
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, 0);
40
    global.msg[2] = 
* Oh no.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_boxpuzzle_event_slash_Step_0_gml_41_0")
;
41
    
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, 8);
42
    global.msg[4] = 
* Let's read the instructions!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_boxpuzzle_event_slash_Step_0_gml_43_0")
;
43
    con = 6;
44
    instance_create(0, 0, obj_dialoguer);
45
}
46
if (con == 6 && d_ex() == 0)
47
{
48
    with (sus)
49
        sprite_index = spr_susieu_dark;
50
    global.facing = 2;
51
    with (ral)
52
    {
53
        sprite_index = spr_ralseiu;
54
        vspeed = -6;
55
        image_speed = 0.25;
56
    }
57
    con = 12;
58
}
59
if (con == 12)
60
{
61
    global.facing = 2;
62
    if (ral.y <= 100)
63
    {
64
        with (ral)
65
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
66
        with (ral)
67
            sprite_index = spr_ralseid;
68
        con = 13;
69
        alarm[4]
 = 10;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
70
    }
71
}
72
if (con == 14)
73
{
74
    global.fc = 2;
75
    global.fe = 3;
76
    global.typer = 31;
77
    global.msg[0] = 
* H... Huh!?Delay 11
* The instructions are vandalized...!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_boxpuzzle_event_slash_Step_0_gml_82_0")
;
78
    global.msg[1] = 
Face 1* It says...Delay 11 "Thoust fools, thou will NEVER figure it out 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_boxpuzzle_event_slash_Step_0_gml_83_0")
;
79
    global.msg[2] = 
Face 3* Ruining instructions... That's definitely against the rules!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_boxpuzzle_event_slash_Step_0_gml_84_0")
;
80
    global.msg[3] = 
Face 1* Then it,Delay 11 um,Delay 11 says,Delay 11
"PS - I make my own Rules. - RK"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_boxpuzzle_event_slash_Step_0_gml_85_0")
;
81
    
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));
}
(4, 2);
82
    global.msg[5] = 
* Well,Delay 11 that explains that.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_boxpuzzle_event_slash_Step_0_gml_87_0")
;
83
    instance_create(0, 0, obj_dialoguer);
84
    con = 5.5;
85
}
86
if (con == 5.5 && d_ex() == 0)
87
{
88
    global.facing = 1;
89
    with (sus)
90
    {
91
        sprite_index = spr_susier_dark;
92
        hspeed = 12;
93
        image_speed = 0.334;
94
    }
95
    con = 6.5;
96
}
97
if (con == 6.5)
98
{
99
    if (sus.x >= 480)
100
    {
101
        sus.vspeed = -12;
102
        sus.hspeed = 0;
103
        sus.sprite_index = spr_susieu_dark;
104
        con = 7.5;
105
    }
106
}
107
if (con == 7.5)
108
{
109
    if (sus.y <= 100)
110
    {
111
        with (sus)
112
            
scr_halt
scr_halt

function
scr_halt()
{ image_index = 0; image_speed = 0; speed = 0; }
();
113
        con = 8.5;
114
        alarm[4]
 = 10;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
115
    }
116
}
117
if (con == 9.5)
118
{
119
    with (sus)
120
        sprite_index = spr_susied_dark;
121
    global.typer = 30;
122
    global.fc = 1;
123
    global.fe = 1;
124
    global.msg[0] = 
* Why don't we just climb over this spiked fence?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_boxpuzzle_event_slash_Step_0_gml_134_0")
;
125
    
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);
126
    global.msg[2] = 
* Umm,Delay 11 because then we'd get impaled and die...?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_boxpuzzle_event_slash_Step_0_gml_136_0")
;
127
    
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);
128
    global.msg[4] = 
* Cool,Delay 11 I'll work on that and you do the puzzle.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_boxpuzzle_event_slash_Step_0_gml_138_0")
;
129
    
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));
}
(5, 8);
130
    global.msg[6] = 
* Umm,Delay 11 try your best,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_boxpuzzle_event_slash_Step_0_gml_140_0")
;
131
    instance_create(0, 0, obj_dialoguer);
132
    con = 15;
133
}
134
if (con == 15 && d_ex() == 0)
135
{
136
    global.flag[212 box_puzzle_state] = 1;
137
    with (obj_pushableblock)
138
        event = 0;
139
    sus2 = instance_create(sus.x, sus.y, obj_npc_facing);
140
    ral2 = instance_create(ral.x, ral.y, obj_npc_facing);
141
    with (sus)
142
        instance_destroy();
143
    with (ral)
144
        instance_destroy();
145
    global.interact = 0;
146
    con = 20;
147
    boxcon = 1;
148
    leavecon = 1;
149
    instance_activate_object(obj_doorB);
150
}
151
if (leavecon == 1 && global.interact == 0)
152
{
153
    if (obj_mainchara.x < 70)
154
    {
155
        obj_mainchara.x = 70;
156
        global.facing = 1;
157
        global.interact = 1;
158
        leavecon = 2;
159
        global.typer = 30;
160
        global.fc = 1;
161
        global.fe = 7;
162
        global.msg[0] = 
* (Can you REALLY not figure it out,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_boxpuzzle_event_slash_Step_0_gml_170_0")
;
163
        instance_create(0, 0, obj_dialoguer);
164
    }
165
}
166
if (leavecon == 2)
167
{
168
    if (d_ex() == 0)
169
    {
170
        leavecon = 1;
171
        global.interact = 0;
172
    }
173
}
174
if (con == 20)
175
{
176
    boxcount = 0;
177
    tilecount = 0;
178
    with (obj_pushableblock)
179
    {
180
        if (sprite_index == spr_npc_block_solved)
181
        {
182
            with (obj_boxpuzzle_event)
183
                boxcount += 1;
184
        }
185
    }
186
    with (obj_blocktile)
187
    {
188
        if (sprite_index == spr_glowtile_on)
189
        {
190
            with (obj_boxpuzzle_event)
191
                tilecount += 1;
192
        }
193
    }
194
    if (boxcount == 0 && global.interact == 0 && boxon == 2)
195
    {
196
        global.fc = 2;
197
        global.fe = 1;
198
        global.typer = 31;
199
        global.interact = 1;
200
        boxon = 3;
201
        global.msg[0] = 
* Umm,Delay 11 Kris,Delay 11 I don't think that's...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_boxpuzzle_event_slash_Step_0_gml_207_0")
;
202
        
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);
203
        global.msg[2] = 
* Great job,Delay 11 Kris!
* I think you're onto something!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_boxpuzzle_event_slash_Step_0_gml_209_0")
;
204
        instance_create(0, 0, obj_dialoguer);
205
    }
206
    if (boxcount == 1 && global.interact == 0 && boxon == 0)
207
    {
208
        global.fc = 2;
209
        global.fe = 6;
210
        global.typer = 31;
211
        global.interact = 1;
212
        boxon = 1;
213
        global.msg[0] = 
* Great job, Kris!Delay 11
* I think you're onto something!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_boxpuzzle_event_slash_Step_0_gml_220_0")
;
214
        
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);
215
        global.msg[2] = 
* Hey Kris,Delay 11 give up whenever you feel like it.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_boxpuzzle_event_slash_Step_0_gml_222_0")
;
216
        global.msg[3] = 
* It's all good.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_boxpuzzle_event_slash_Step_0_gml_223_0")
;
217
        instance_create(0, 0, obj_dialoguer);
218
    }
219
    if (boxcount >= 2 && global.interact == 0)
220
    {
221
        image_index = 1;
222
        with (groundblock)
223
            instance_destroy();
224
        global.interact = 1;
225
        instance_create(0, 0, obj_shake);
226
        snd_play(snd_impact);
227
        con = 25;
228
        alarm[4]
 = 30;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
229
    }
230
    else if (tilecount == 2 && boxcount == 1 && global.interact == 0 && boxcon == 1)
231
    {
232
        global.interact = 1;
233
        boxcon = 2;
234
        global.fc = 2;
235
        global.fe = 6;
236
        global.typer = 31;
237
        global.msg[0] = 
* Kris,Delay 11 you can't solve it by stepping on the switch.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_boxpuzzle_event_slash_Step_0_gml_248_0")
;
238
        global.msg[1] = 
Face 0* You aren't a box,Delay 11 haha.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_boxpuzzle_event_slash_Step_0_gml_249_0")
;
239
        
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);
240
        global.msg[3] = 
* Kris,Delay 11 don't listen to him.Delay 11
* You can be a box.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_boxpuzzle_event_slash_Step_0_gml_251_0")
;
241
        global.msg[4] = 
Face 2* I was a box for Halloween once.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_boxpuzzle_event_slash_Step_0_gml_252_0")
;
242
        
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));
}
(5, 1);
243
        global.msg[6] = 
* ... um,Delay 11 JUST a box?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_boxpuzzle_event_slash_Step_0_gml_254_0")
;
244
        
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));
}
(7, 2);
245
        global.msg[8] = 
* Well it's not like I can dress up as a goddamn monster.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_boxpuzzle_event_slash_Step_0_gml_256_0")
;
246
        instance_create(0, 0, obj_dialoguer);
247
    }
248
}
249
if (boxcon == 2)
250
{
251
    if (d_ex() == 0)
252
    {
253
        boxcon = 3;
254
        global.interact = 0;
255
    }
256
}
257
if (boxon == 1)
258
{
259
    if (d_ex() == 0)
260
    {
261
        boxon = 2;
262
        global.interact = 0;
263
    }
264
}
265
if (boxon == 3)
266
{
267
    if (d_ex() == 0)
268
    {
269
        boxon = 4;
270
        global.interact = 0;
271
    }
272
}
273
if (con == 26)
274
{
275
    global.typer = 31;
276
    global.fc = 2;
277
    global.fe = 0;
278
    global.msg[0] = 
* Wa-ho,Delay 11 you did it,Delay 11 Kris!
* Great job!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_boxpuzzle_event_slash_Step_0_gml_295_0")
;
279
    
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, 0);
280
    global.msg[2] = 
* Damn,Delay 11 didn't get to impale myself.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_boxpuzzle_event_slash_Step_0_gml_297_0")
;
281
    global.msg[3] = 
Face 2* Oh well.Delay 11
* C'mon,Delay 11 chumps.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_boxpuzzle_event_slash_Step_0_gml_298_0")
;
282
    con = 27;
283
    instance_create(0, 0, obj_dialoguer);
284
}
285
if (con == 27)
286
{
287
    if (d_ex() == 0)
288
    {
289
        global.facing = 2;
290
        ral3 = 
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; }
(ral2.x, ral2.y, spr_ralseir);
291
        sus3 = 
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; }
(sus2.x, sus2.y, spr_susiel_dark);
292
        with (ral2)
293
            instance_destroy();
294
        with (sus2)
295
            instance_destroy();
296
        with (sus3)
297
        {
298
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
299
            hspeed = -8;
300
            image_speed = 0.334;
301
        }
302
        con = 28;
303
    }
304
}
305
if (con == 28)
306
{
307
    global.interact = 1;
308
    if (sus3.x <= ((room_width / 2) - 20) && d_ex() == 0)
309
    {
310
        with (sus3)
311
        {
312
            image_speed = 0.334;
313
            vspeed = -8;
314
            hspeed = 0;
315
            sprite_index = spr_susieu_dark;
316
        }
317
        con = 29;
318
        alarm[4]
 = 60;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
319
    }
320
}
321
if (con == 30)
322
{
323
    with (ral3)
324
        sprite_index = spr_ralseid;
325
    global.typer = 31;
326
    global.fc = 2;
327
    global.fe = 8;
328
    global.msg[0] = 
* Good job,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_boxpuzzle_event_slash_Step_0_gml_347_0")
;
329
    dl = instance_create(0, 0, obj_dialoguer);
330
    dl.side = 1;
331
    con = 31;
332
}
333
if (con == 31)
334
{
335
    if (d_ex() == 0)
336
    {
337
        with (ral3)
338
        {
339
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
340
            sprite_index = spr_ralseir;
341
            hspeed = 6;
342
            image_speed = 0.25;
343
        }
344
        con = 32;
345
    }
346
}
347
if (con == 32)
348
{
349
    if (ral3.x >= ((room_width / 2) - 20))
350
    {
351
        with (ral3)
352
        {
353
            vspeed = -6;
354
            hspeed = 0;
355
            sprite_index = spr_ralseiu;
356
        }
357
        con = 33;
358
        alarm[4]
 = 30;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
359
    }
360
}
361
if (con == 34)
362
{
363
    with (obj_pushableblock)
364
        event = 1;
365
    con = 35;
366
    if (global.plot < 50)
367
        global.plot = 50;
368
    global.facing = 0;
369
    global.interact = 0;
370
    leavecon = 0;
371
    
scr_tempsave
scr_tempsave

function
scr_tempsave()
{ filechoicebk2 = global.filechoice; global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2; }
();
372
}
373
if (con == 50)
374
{
375
    if (d_ex() == 0)
376
    {
377
        con = 51;
378
        global.interact = 1;
379
        fade = instance_create(0, 0, obj_fadeout);
380
        alarm[4]
 = 30;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
381
    }
382
}
383
if (con == 52)
384
{
385
    instance_create(290, 200, obj_npc_room);
386
    instance_create(460, 370, obj_npc_room);
387
    ral3 = 
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; }
(ral2.x, ral2.y, spr_ralseir);
388
    with (ral3)
389
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
390
    with (ral2)
391
        instance_destroy();
392
    sus3 = 
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; }
((room_width / 2) - 22, sus2.y, spr_susied_dark);
393
    with (sus3)
394
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
395
    with (sus2)
396
        instance_destroy();
397
    snd_play(snd_impact);
398
    con = 53;
399
    alarm[4]
 = 30;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
400
}
401
if (con == 54)
402
{
403
    image_index = 2;
404
    with (groundblock)
405
        instance_destroy();
406
    with (obj_pushableblock)
407
        instance_destroy();
408
    with (fade)
409
        instance_destroy();
410
    global.facing = 2;
411
    instance_create(0, 0, obj_fadein);
412
    con = 55;
413
    alarm[4]
 = 50;
gml_Object_obj_boxpuzzle_event_Alarm_4.gml

con += 1;
414
}
415
if (con == 56)
416
{
417
    global.msg[0] = 
* See,Delay 11 I used the box to break in the door.Delay 11
* Easy.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_boxpuzzle_event_slash_Step_0_gml_437_0")
;
418
    dl = instance_create(0, 0, obj_dialoguer);
419
    dl.side = 1;
420
    global.interact = 1;
421
    con = 28;
422
}