Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_susiezilla_gamecontroller_Create_0

(view raw script w/o annotations or w/e)
1
depth = 100000;
2
if (i_ex(obj_tenna_enemy))
3
    depth = 1000;
4
obj_mainchara.cutscene = 1;
5
mode = 0;
6
loss_counter = 0;
7
timer = 0;
8
balltimer = 0;
9
time_timer = 99;
10
time_counter = 0;
11
enemy_limit = 8;
12
show_spawned = 0;
13
fadeout = 0;
14
fadeout2 = 0;
15
started = 0;
16
rush_modifier = -1;
17
xorig = 0;
18
yorig = 0;
19
width = 1280;
20
bgxoffset = 0;
21
perfect_timer = 0;
22
perfect_counter = -1;
23
perfect_popularity = false;
24
shake = 0;
25
global.interact = 1;
26
gameover = false;
27
finished = false;
28
resolution_counter = 0;
29
wave = 0;
30
wave_offset = 0;
31
wave_do = false;
32
enemy_count = 0;
33
gunman_spawned = false;
34
dozer_count = 0;
35
spamton_hit = false;
36
resolve_this = false;
37
ending_type = 0;
38
timer = 0;
39
global.susie_cleartime_sec = 0;
40
wave_count[0] = 0;
41
wave_count[1] = 0;
42
wave_count[2] = 0;
43
wave_count[3] = 0;
44
wave_count[4] = 0;
45
wave_count[5] = 0;
46
wave_count[6] = 0;
47
wave_count[7] = 0;
48
wave_count[8] = 0;
49
wave_count[9] = 0;
50
wave_count[10] = 0;
51
melee = 185;
52
red = 1552;
53
blue = 573;
54
gun = 911;
55
rocket = 716;
56
dozer = 726;
57
laser = 1009;
58
tenna = obj_susiezilla_singlescreen_karatenna;
59
ralsei_attacker[0] = melee;
60
ralsei_attacker[1] = melee;
61
ralsei_attacker[2] = melee;
62
ralsei_attacker[3] = melee;
63
ralsei_attacker[4] = melee;
64
ralsei_attacker[5] = melee;
65
ralsei_attacker[6] = melee;
66
ralsei_attacker[7] = melee;
67
ralsei_attacker[8] = melee;
68
ralsei_attacker[9] = melee;
69
ralsei_attacker[10] = melee;
70
ralsei_attacker[11] = melee;
71
ralsei_attacker[12] = melee;
72
ralsei_attacker[13] = melee;
73
ralsei_attacker[14] = melee;
74
ralsei_attacker[15] = melee;
75
ralsei_attacker[16] = melee;
76
ralsei_attacker[17] = melee;
77
ral_count = 0;
78
ral_difficulty = 1;
79
if (i_ex(obj_tenna_enemy))
80
{
81
    if ((global.flag[1198 suziezilla_best_rank] <= 3 && global.flag[1197 suziezilla_best_score] > 0) || obj_tenna_enemy.ralsei1withouttakingdamage == 1)
82
        ral_difficulty = 2;
83
    if ((global.flag[1198 suziezilla_best_rank] == 0 && global.flag[1197 suziezilla_best_score] > 0) || obj_tenna_enemy.ralsei2withouttakingdamage == 1)
84
        ral_difficulty = 3;
85
}
86
replayversion = true;
87
88
spawn = function(arg0, arg1, arg2, arg3)
89
{
90
    
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(instance_create, arg3, (width * 0.5) + arg0, 280 + arg1, arg2);
91
    enemy_count++;
92
};
93
94
check_enemies = function()
95
{
96
    enemy_count--;
97
    if (mode == 1)
98
        spawn((120 + irandom(120)) * choose(-1, 1), irandom_range(-60, 60), tenna, 16);
99
    var ultimatevictory = false;
100
    with (obj_susiezilla_singlescreen_hud_score)
101
    {
102
        if (my_score >= 800)
103
            ultimatevictory = true;
104
    }
105
    if (ultimatevictory)
106
    {
107
        ending_type = 2;
108
        with (obj_susiezilla_singlescreen_shadowguy_parent)
109
        {
110
            if (object_index != obj_susiezilla_singlescreen_shadowguy_in_dozer)
111
                instant_defeat();
112
            else
113
                instant_defeat_dozer();
114
        }
115
        with (obj_script_delayed)
116
        {
117
            if (target == other.id)
118
                instance_destroy();
119
        }
120
        mus_fade(global.currentsong[1], 60);
121
        var tetalk21 = stringsetloc(
* WOW! YOU GUYS BEAT THEM ALL!!! I CAN'T BELIEVE IT!
"* WOW! YOU GUYS BEAT THEM ALL!!! I CAN'T BELIEVE IT!", "obj_susiezilla_gamecontroller_slash_Create_0_gml_185_0"
);
122
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_tennashouter, 80, tetalk21, 82);
123
        var tetalk22 = stringsetloc(
* I'M GOING TO GIVE YOU GUYS A MASSIVE BONUS AFTER THIS!
"* I'M GOING TO GIVE YOU GUYS A MASSIVE BONUS AFTER THIS!", "obj_susiezilla_gamecontroller_slash_Create_0_gml_188_0"
);
124
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_tennashouter, 160, tetalk22, 82);
125
        var tetalk23 = stringsetloc(
* GET OUT YOUR WALLETS! THIS TIME, I'M GONNA GIVE YOU
"* GET OUT YOUR WALLETS! THIS TIME, I'M GONNA GIVE YOU", "obj_susiezilla_gamecontroller_slash_Create_0_gml_191_0"
);
126
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_tennashouter, 240, tetalk23, 54, 0, -1, false);
127
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(snd_play, 294, snd_pombark);
128
        var tetalk24 = stringsetloc(
* WHAT THE HECK!?!?!?
"* WHAT THE HECK!?!?!?", "obj_susiezilla_gamecontroller_slash_Create_0_gml_200_0"
);
129
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_tennashouter, 350, tetalk24, 60);
130
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(instance_create, 410, 0, 0, 540);
131
        alarm[3]
 = 410;
gml_Object_obj_susiezilla_gamecontroller_Alarm_3.gml

with (instance_create(0, 0, obj_susiezilla_pan_object)) { pan_x = obj_susiezilla_statue.x; hold = 9999; }
132
    }
133
    if (wave <= (array_length(wave_count) - 1))
134
    {
135
        if (enemy_count <= wave_count[wave])
136
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 4, "wave_do", true);
137
    }
138
};
139
140
living_enemies = function()
141
{
142
    var enm_count = 0;
143
    with (obj_susiezilla_singlescreen_shadowguy_parent)
144
    {
145
        if (state != states.dead)
146
            enm_count++;
147
    }
148
    return enm_count;
149
};
150
151
check_imminent_enemy = function()
152
{
153
    with (obj_script_delayed)
154
    {
155
        if (target == other.id && (alarm[0] == 0 || alarm[0]
 == 1) && script == instance_create)
gml_Object_obj_susiezilla_gamecontroller_Alarm_0.gml

with (obj_susiezilla_house_single) event_user(0); if (perfect_popularity) { snd_play(snd_applause); snd_play(snd_crowd_ooh); instance_create_depth(clamp(obj_susiezilla_player.myxcenter, xorig + 160, (xorig + width) - 160), obj_susiezilla_player.y + 30, depth - 900000, obj_susiezilla_perfect_popularity); with (obj_susiezilla_singlescreen_hud_score) score_change(99); perfect_popularity = false; } wave_do = true;
156
            return true;
157
    }
158
    return false;
159
};
160
161
setup = function(arg0)
162
{
163
    mode = arg0;
164
    var temp_width = 1280;
165
    if (mode > 0)
166
        temp_width = 640;
167
    game_bounds(x, y, temp_width);
168
    susie = instance_create((xorig + (width * 0.5)) - 40, 180, obj_susiezilla_player);
169
    if (mode == 0)
170
        susie.visible = false;
171
    if (mode >= 1)
172
        bgxoffset = 320;
173
    if (mode == 3 || mode == 4)
174
        susie.x -= 160;
175
    if (mode < 3)
176
        susie.y += 50;
177
    if (mode == 1 || mode == 2)
178
        time_timer = 16;
179
    if (mode >= 3)
180
        time_timer = 18;
181
    if (mode >= 5)
182
        time_timer = 10;
183
    if (!i_ex(obj_tenna_enemy))
184
    {
185
        curtain1 = 
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; }
(xorig - 8, -8, spr_dw_gameshow_curtain);
186
        curtain2 = 
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; }
(xorig + width + 8, -8, spr_dw_gameshow_curtain);
187
    }
188
    else
189
    {
190
        curtain1 = 
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; }
(xorig - 8, -6, spr_dw_gameshow_curtain_short);
191
        curtain2 = 
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; }
(xorig + width + 8, -6, spr_dw_gameshow_curtain_short);
192
    }
193
    curtain2.image_xscale = -2;
194
    curtain1.image_yscale = 2.5;
195
    curtain2.image_yscale = 2.5;
196
    curtain1.depth = 500;
197
    curtain2.depth = 500;
198
    if (!i_ex(obj_tenna_enemy))
199
    {
200
        lights1 = 
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; }
(xorig + 38, -8, spr_dw_tvland_lights);
201
        lights2 = 
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; }
((xorig + width) - 38, -8, spr_dw_tvland_lights);
202
        lights1.image_xscale = 1;
203
        lights2.image_xscale = -1;
204
        lights1.image_yscale = 1;
205
        lights2.image_yscale = 1;
206
        lights1.depth = 501;
207
        lights2.depth = 501;
208
    }
209
    if (mode == 0)
210
    {
211
        statue = instance_create(xorig + (width * 0.5), 270, obj_susiezilla_statue);
212
        statue.visible = false;
213
    }
214
    if (mode == 1)
215
        statue = instance_create(xorig + (width * 0.5), 270, obj_susiezilla_statue_enemy);
216
    if (mode == 2)
217
    {
218
        statue = instance_create(xorig + (width * 0.5), 270, obj_susiezilla_statue);
219
        statue.maxhp = 40;
220
        statue.hp = statue.maxhp;
221
        statue.sprite_index = spr_susiezilla_ralsei_tower;
222
        var _side = choose(-1, 1);
223
        if (i_ex(obj_tenna_zoom) && obj_tenna_zoom.minigameinsanity)
224
        {
225
            repeat (4)
226
                spawn((180 + irandom(60)) * _side, irandom_range(-60, 60), ralsei_attacker[ral_count % 18], 1);
227
        }
228
    }
229
    if (mode == 3 || mode == 4)
230
    {
231
        statue = instance_create(xorig + (width * 0.5), 270, obj_susiezilla_singlescreen_kickboxin_tenna);
232
        statue.maxhp = 3;
233
        statue.hp = statue.maxhp;
234
    }
235
    if (mode == 5)
236
        alarm[10]
 = 30;
gml_Object_obj_susiezilla_gamecontroller_Alarm_10.gml

var arr = [[0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0]]; perfect_counter = 0; for (var i = 0; i < 16; i++) { for (var j = 0; j < 5; j++) { if (arr[j][i]) { house = instance_create(-10 + (i * 66), 190 + (j * 32), obj_susiezilla_house_single); house.delay = 5 + (j * 3); if (i == 6) house.delay = 5 + (j * 3); perfect_counter++; } } } perfect_timer = -1;
237
    if (mode == 6)
238
        alarm[11]
 = 30;
gml_Object_obj_susiezilla_gamecontroller_Alarm_11.gml

perfect_counter = 0; perfect_timer = -1; house1 = instance_create(-40, 0, obj_susiezilla_house_single); house1.type = 2; house1._path_position = 0.1; house = instance_create(0, 180, obj_susiezilla_house_single); house.type = 3; house = instance_create(-40, 0, obj_susiezilla_house_single); house.type = 4; house = instance_create(-40, 0, obj_susiezilla_house_single); house.type = 5; house = instance_create(-40, 0, obj_susiezilla_house_single); house.type = 5; house._path_position = 0.1; house = instance_create(-40, 0, obj_susiezilla_house_single); house.type = 5; house._path_position = 0.2; with (obj_susiezilla_house_single) delay = 30;
239
    if (mode == 7)
240
    {
241
    }
242
    krisandsusie = instance_create_depth(xorig + (width * 0.5), 80, depth + 50, obj_susiezilla_krisandralsei);
243
    if (mode == 0)
244
        krisandsusie.visible = false;
245
    if (mode == 2)
246
        krisandsusie.sprite_index = spr_susiezilla_kris_tug;
247
    camerax_set(clamp(susie.myxcenter - 320, xorig, (xorig + width) - 640));
248
    cameray_set(0);
249
    if (mode != 0)
250
    {
251
        with (instance_create(camerax() - 80, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_score))
252
        {
253
            xoff = 40;
254
            movespeed = 0.7;
255
        }
256
        with (instance_create(camerax() - 40, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_hp))
257
        {
258
            xoff = 305;
259
            movespeed = 0.3;
260
            if (other.mode == 5 || other.mode == 6)
261
                tracker = instance_create(x, y, obj_susiezilla_house_timer);
262
            else
263
                tracker = other.statue;
264
        }
265
        with (instance_create(camerax() + camerawidth() + 40, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_time))
266
        {
267
            xoff = 380;
268
            movespeed = 0.35;
269
        }
270
        with (instance_create(camerax() + camerawidth() + 80, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_time_counter))
271
        {
272
            xoff = 520;
273
            movespeed = 0.45;
274
        }
275
        with (instance_create(camerax() + camerawidth() + 100, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_time_counter))
276
        {
277
            xoff = 580;
278
            movespeed = 0.6;
279
            digit = 2;
280
        }
281
    }
282
    if (mode == 1)
283
    {
284
        for (a = 0; a < 4; a++)
285
            spawn((120 + irandom(120)) * choose(-1, 1), irandom_range(-60, 60), tenna, 45 + (15 * a));
286
    }
287
    if (mode != 0)
288
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 64, "wave_do", true);
289
};
290
291
game_bounds = function(arg0, arg1, arg2)
292
{
293
    xorig = arg0;
294
    yorig = arg1;
295
    width = arg2;
296
};
297
298
susiezilla_destroy = function()
299
{
300
    with (obj_susiezilla_singlescreen_kickboxin_tenna)
301
        instance_destroy();
302
    with (obj_susiezilla_singlescreen_hittable)
303
        instance_destroy();
304
    with (obj_susiezilla_krisandralsei)
305
        instance_destroy();
306
    with (obj_susiezilla_singlescreen_hazard)
307
        instance_destroy();
308
    with (obj_susiezilla_perfect_chain_letter)
309
        instance_destroy();
310
    with (obj_susiezilla_singlescreen_shadowguy)
311
        instance_destroy();
312
    with (obj_susiezilla_singlescreen_shadowguy_blue)
313
        instance_destroy();
314
    with (obj_susiezilla_singlescreen_shadowguy_red)
315
        instance_destroy();
316
    with (obj_susiezilla_singlescreen_shadowguy_with_gun)
317
        instance_destroy();
318
    with (obj_susiezilla_singlescreen_shadowguy_in_dozer)
319
        instance_destroy();
320
    with (obj_susiezilla_singlescreen_shadowguy_laser_machine)
321
        instance_destroy();
322
    with (obj_dozer_parts)
323
        instance_destroy();
324
    with (obj_susiezilla_house_single)
325
        instance_destroy();
326
    with (obj_susiezilla_repair_spark)
327
        instance_destroy();
328
    with (obj_susiezilla_pan_object)
329
        instance_destroy();
330
    with (obj_susiezilla_singlescreen_karatenna)
331
        instance_destroy();
332
    with (obj_susiezilla_singlescreen_hud_element)
333
        instance_destroy();
334
    with (obj_susiezilla_perfect_chain)
335
        instance_destroy();
336
    with (obj_susiezilla_perfect_chain_letter)
337
        instance_destroy();
338
    with (obj_marker)
339
    {
340
        if (sprite_index == spr_realisticexplosion)
341
            instance_destroy();
342
    }
343
    instance_destroy(curtain1);
344
    instance_destroy(curtain2);
345
    if (!i_ex(obj_tenna_enemy))
346
    {
347
        instance_destroy(lights1);
348
        instance_destroy(lights2);
349
    }
350
    camerax_set(xorig);
351
    cameray_set(yorig);
352
    if (mode == 0)
353
    {
354
        if (!resolve_this && !keyboard_check_pressed(vk_f5))
355
        {
356
            loss_counter = clamp(loss_counter + 1, 0, 8);
357
            
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; }
(1080, loss_counter);
358
            with (obj_minigame_quit_ui)
359
                instance_destroy();
360
            inst = instance_create_depth(0, 0, 0, obj_gameover_minigame);
361
            inst.replayversion = 1;
362
        }
363
        else
364
        {
365
            
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; }
(1081, ending_type + 1);
366
            instance_create(0, 0, obj_victory_minigame);
367
            with (obj_minigame_quit_ui)
368
                instance_destroy();
369
        }
370
    }
371
    instance_destroy();
372
};
373
374
start = function()
375
{
376
    started = true;
377
    with (instance_create(camerax() - 80, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_score))
378
    {
379
        xoff = 40;
380
        movespeed = 0.7;
381
        depth = -98;
382
    }
383
    with (instance_create(camerax() + camerawidth() + 300, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_tenna))
384
    {
385
        xoff = 285;
386
        movespeed = 0.5;
387
        depth = -98;
388
    }
389
    with (instance_create(camerax() - 40, cameray() + cameraheight(), obj_susiezilla_singlescreen_hud_hp))
390
    {
391
        xoff = 305;
392
        movespeed = 0.3;
393
        if (other.mode == 0)
394
        {
395
            xoff = 620;
396
            movespeed = 0.6;
397
            x = camerax() + camerawidth() + 150;
398
            xprevious = x;
399
        }
400
        tracker = other.statue;
401
        depth = -98;
402
    }
403
    with (obj_susiezilla_player)
404
        alarm[1]
 = -1;
gml_Object_obj_susiezilla_gamecontroller_Alarm_1.gml

var arr = [[0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]]; perfect_counter = 0; for (var i = 0; i < 16; i++) { for (var j = 0; j < 4; j++) { if (arr[j][i]) { instance_create(50 + (i * 76), 192 + (j * 38), obj_susiezilla_house_single); perfect_counter++; } } } perfect_timer = -1;
405
    
scr_script_delayed
scr_script_delayed

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