|
1
|
smokekill = 5;
|
|
2
|
spikes = instance_create(80, 400, obj_solidblock);
|
|
3
|
with (spikes)
|
|
4
|
{
|
|
5
|
scr_darksizescr_darksize
function scr_darksize()
{
var inst = id;
if (argument_count)
inst = argument0;
inst.image_xscale = 2;
inst.image_yscale = 2;
} ();
|
|
6
|
sprite_index = spr_spiketile;
|
|
7
|
image_speed = 0;
|
|
8
|
visible = true;
|
|
9
|
image_index = 0;
|
|
10
|
}
|
|
11
|
boardswitch = instance_create(480, 176, obj_board_switchtile);
|
|
12
|
con = 0;
|
|
13
|
endcon = 0;
|
|
14
|
if (global.flag[1055 sword_route_progress] >= 6)
|
|
15
|
{
|
|
16
|
scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (128, 64, spr_pxwhite, 416, 256, undefined, undefined, c_black, 99801);
|
|
17
|
endcon = 1;
|
|
18
|
global.flag[1212 susiebridge_state] = 2;
|
|
19
|
}
|
|
20
|
if (global.flag[1212 susiebridge_state] >= 1)
|
|
21
|
{
|
|
22
|
with (obj_board_event_bridgepuzzle)
|
|
23
|
instance_destroy();
|
|
24
|
with (obj_board_bridgespawner)
|
|
25
|
instance_destroy();
|
|
26
|
with (obj_board_resettile)
|
|
27
|
instance_destroy();
|
|
28
|
con = 1;
|
|
29
|
}
|
|
30
|
if (global.flag[1212 susiebridge_state] == 2)
|
|
31
|
{
|
|
32
|
boardswitch.used = true;
|
|
33
|
boardswitch.pressed = true;
|
|
34
|
boardswitch.image_index = 1;
|
|
35
|
with (spikes)
|
|
36
|
{
|
|
37
|
other.spikes = scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (x, y, sprite_index, 2, 2, 0, 1);
|
|
38
|
other.spikes.depth = 99000;
|
|
39
|
instance_destroy();
|
|
40
|
}
|
|
41
|
con = 99;
|
|
42
|
}
|