|
1
|
image_blend = c_white;
|
|
2
|
myinteract = 0;
|
|
3
|
scr_darksizescr_darksize
function scr_darksize()
{
var inst = id;
if (argument_count)
inst = argument0;
inst.image_xscale = 2;
inst.image_yscale = 2;
} ();
|
|
4
|
image_speed = 0;
|
|
5
|
active = true;
|
|
6
|
depth = 999998;
|
|
7
|
con = 0;
|
|
8
|
timer = 0;
|
|
9
|
mysolid = instance_create(x, y, obj_board_solid);
|
|
10
|
mysolid.image_xscale = 2;
|
|
11
|
mysolid.image_yscale = 2;
|
|
12
|
key = [];
|
|
13
|
array_push(key, instance_create(x - 32, y, obj_board_marker));
|
|
14
|
array_push(key, instance_create(x + 16, y - 32, obj_board_marker));
|
|
15
|
array_push(key, instance_create(x + 64, y, obj_board_marker));
|
|
16
|
for (var i = 0; i < array_length(key); i++)
|
|
17
|
{
|
|
18
|
key[i].sprite_index = spr_board_keyhole;
|
|
19
|
scr_darksizescr_darksize
function scr_darksize()
{
var inst = id;
if (argument_count)
inst = argument0;
inst.image_xscale = 2;
inst.image_yscale = 2;
} (key[i]);
|
|
20
|
key[i].depth = depth + 1;
|
|
21
|
}
|
|
22
|
keystouse = 0;
|
|
23
|
read = 0;
|
|
24
|
dooropened = 0;
|
|
25
|
keytimer = 0;
|
|
26
|
nokeyholes = false;
|
|
27
|
sunmoonstone = 0;
|
|
28
|
if (room == room_board_1_sword)
|
|
29
|
{
|
|
30
|
marker = scr_board_markerscr_board_marker
function scr_board_marker()
{
var _thismarker = instance_create(argument0, argument1, obj_board_marker);
_thismarker.sprite_index = argument2;
_thismarker.image_xscale = 2;
_thismarker.image_yscale = 2;
if (argument_count >= 4)
_thismarker.image_speed = argument3;
if (argument_count >= 5)
{
if (argument4 != -1)
_thismarker.depth = argument4;
}
if (argument_count >= 6)
_thismarker.image_xscale = argument5;
if (argument_count >= 6)
_thismarker.image_yscale = argument5;
if (argument_count >= 7)
_thismarker.animateonce = argument6;
return _thismarker;
} (x, y, sprite_index, image_speed, depth, image_xscale, 0);
|
|
31
|
instance_destroy();
|
|
32
|
}
|
|
33
|
siner = 0;
|
|
34
|
failsafe = 0;
|