|
1
|
depth = 999999;
|
|
2
|
animindex = 0;
|
|
3
|
ver = 0;
|
|
4
|
timer = 0;
|
|
5
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1059) == 0)
|
|
6
|
{
|
|
7
|
with (obj_dw_b3bs_idcardpuzzle_pond)
|
|
8
|
instance_destroy();
|
|
9
|
freeze = 0;
|
|
10
|
elnina = 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;
} (384, 96, spr_board_elnina_cry, 0.125);
|
|
11
|
with (elnina)
|
|
12
|
scr_depth_boardscr_depth_board
function scr_depth_board()
{
depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10));
}
function scr_board_depth()
{
scr_depth_board();
} ();
|
|
13
|
lanino = 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;
} (352, 128, spr_board_lanino_cry, 0.125);
|
|
14
|
with (lanino)
|
|
15
|
scr_depth_boardscr_depth_board
function scr_depth_board()
{
depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10));
}
function scr_board_depth()
{
scr_depth_board();
} ();
|
|
16
|
lanino.image_xscale = -2;
|
|
17
|
}
|
|
18
|
else
|
|
19
|
{
|
|
20
|
ver = 1;
|
|
21
|
with (obj_dw_b3bs_rouxls_lanina_elninapondprogress)
|
|
22
|
instance_destroy();
|
|
23
|
puz = instance_create(x, y, obj_board_event_bridgepuzzle);
|
|
24
|
puz.puzzleid = 1;
|
|
25
|
puz.alwaysactive = true;
|
|
26
|
for (var i = 0; i < 3; i++)
|
|
27
|
{
|
|
28
|
for (var ii = 0; ii < 3; ii++)
|
|
29
|
instance_create(416 + (32 * i), 32 + (32 * ii), obj_board_watertile);
|
|
30
|
}
|
|
31
|
if (global.flag[1106 did_cut_weather_puz] == 1)
|
|
32
|
{
|
|
33
|
with (obj_board_resettile)
|
|
34
|
instance_destroy();
|
|
35
|
safe_delete(puz);
|
|
36
|
with (obj_board_bridgespawner)
|
|
37
|
instance_destroy();
|
|
38
|
for (var i = 0; i < 3; i++)
|
|
39
|
{
|
|
40
|
with (instance_create(224 + (i * 32), 128, obj_board_bridge_placed))
|
|
41
|
{
|
|
42
|
active = true;
|
|
43
|
sprite_index = spr_board_bridge_1x;
|
|
44
|
image_index = 1;
|
|
45
|
image_speed = 0;
|
|
46
|
scr_darksizescr_darksize
function scr_darksize()
{
var inst = id;
if (argument_count)
inst = argument0;
inst.image_xscale = 2;
inst.image_yscale = 2;
} ();
|
|
47
|
depth = 999799;
|
|
48
|
}
|
|
49
|
}
|
|
50
|
}
|
|
51
|
}
|
|
52
|
if (global.flag[1108 lanina_puzz_grass] > 0)
|
|
53
|
{
|
|
54
|
for (var i = 0; i < global.flag[1108 lanina_puzz_grass]; i++)
|
|
55
|
{
|
|
56
|
var trash = instance_find(obj_board_flowers, irandom(instance_number(obj_board_flowers) - 1));
|
|
57
|
with (trash)
|
|
58
|
instance_destroy();
|
|
59
|
}
|
|
60
|
}
|