|
1
|
if (room == room_dw_b3bs_rouxls_lanina)
|
|
2
|
{
|
|
3
|
holeid = -999;
|
|
4
|
global.flag[1169 got_lanina_points] = 1;
|
|
5
|
var pointsDisplay = instance_create(x + 16, y, obj_board_pointsGetDisplay);
|
|
6
|
pointsDisplay.amount = 100;
|
|
7
|
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, spr_board_holemarker, 0, depth, 2);
|
|
8
|
instance_destroy();
|
|
9
|
}
|
|
10
|
if (holeid == 0)
|
|
11
|
{
|
|
12
|
var pointsDisplay = instance_create(x + 16, y, obj_board_pointsGetDisplay);
|
|
13
|
pointsDisplay.amount = 10;
|
|
14
|
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, spr_board_holemarker, 0, depth, 2);
|
|
15
|
instance_destroy();
|
|
16
|
}
|
|
17
|
if (holeid == 1)
|
|
18
|
{
|
|
19
|
if (!skip)
|
|
20
|
{
|
|
21
|
with (obj_board_b3bs_intro)
|
|
22
|
con = 1;
|
|
23
|
}
|
|
24
|
if (global.flag[1040 got_hero_photo] < 3)
|
|
25
|
global.flag[1040 got_hero_photo] = 3;
|
|
26
|
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, spr_board_holemarker, 0, depth, 2);
|
|
27
|
instance_destroy();
|
|
28
|
}
|
|
29
|
if (holeid == 2)
|
|
30
|
{
|
|
31
|
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, spr_board_stairs, 0, depth, 2);
|
|
32
|
with (instance_create(x, y, obj_board_bs_warp))
|
|
33
|
{
|
|
34
|
scr_darksizescr_darksize
function scr_darksize()
{
var inst = id;
if (argument_count)
inst = argument0;
inst.image_xscale = 2;
inst.image_yscale = 2;
} (id);
|
|
35
|
playX = 480;
|
|
36
|
playY = 128;
|
|
37
|
buffer = 10;
|
|
38
|
}
|
|
39
|
if (!skip)
|
|
40
|
snd_play(snd_link_secret);
|
|
41
|
if (global.flag[1040 got_hero_photo] < 1)
|
|
42
|
global.flag[1040 got_hero_photo] = 1;
|
|
43
|
instance_destroy();
|
|
44
|
}
|
|
45
|
if (holeid == 3)
|
|
46
|
{
|
|
47
|
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, spr_board_stairs, 0, depth, 2);
|
|
48
|
with (instance_create(x, y, obj_board_bs_warp))
|
|
49
|
{
|
|
50
|
scr_darksizescr_darksize
function scr_darksize()
{
var inst = id;
if (argument_count)
inst = argument0;
inst.image_xscale = 2;
inst.image_yscale = 2;
} (id);
|
|
51
|
playX = 224;
|
|
52
|
playY = 128;
|
|
53
|
buffer = 10;
|
|
54
|
}
|
|
55
|
if (!skip)
|
|
56
|
snd_play(snd_link_secret);
|
|
57
|
if (global.flag[1040 got_hero_photo] < 2)
|
|
58
|
global.flag[1040 got_hero_photo] = 2;
|
|
59
|
instance_destroy();
|
|
60
|
}
|
|
61
|
if (holeid == 9)
|
|
62
|
{
|
|
63
|
digamt = 1;
|
|
64
|
var pointsDisplay = instance_create(x + 16, y, obj_board_pointsGetDisplay);
|
|
65
|
pointsDisplay.amount = 1;
|
|
66
|
}
|
|
67
|
if (holeid == 10)
|
|
68
|
{
|
|
69
|
digamt = 1;
|
|
70
|
var pointsDisplay = instance_create(x + 16, y, obj_board_pointsGetDisplay);
|
|
71
|
pointsDisplay.amount = 10;
|
|
72
|
if (x == 896 && global.flag[1246 got_100_dig] == 0)
|
|
73
|
{
|
|
74
|
pointsDisplay.amount = 100;
|
|
75
|
global.flag[1246 got_100_dig] = 1;
|
|
76
|
}
|
|
77
|
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, spr_board_holemarker, 0, depth, 2);
|
|
78
|
instance_destroy();
|
|
79
|
}
|