|
1
|
if (active && scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
2
|
{
|
|
3
|
if (obj_board_camera.shift == "none")
|
|
4
|
{
|
|
5
|
scr_board_objnamescr_board_objname
function scr_board_objname()
{
if (scr_debug())
{
if (global.chemg_show_room)
{
var __cx = board_tilex(12) - 2;
var __cy = board_tiley(0);
if (argument_count >= 1)
__cx = argument0;
if (argument_count >= 2)
__cy = argument1;
draw_set_halign(fa_right);
draw_set_font(fnt_main);
draw_set_color(c_aqua);
draw_text_outline(__cx, __cy, string_copy(object_get_name(object_index), 5, 99));
draw_set_font(fnt_small);
draw_set_halign(fa_left);
draw_set_color(c_white);
}
}
} ();
|
|
6
|
var count = 0;
|
|
7
|
}
|
|
8
|
}
|
|
9
|
if (active)
|
|
10
|
{
|
|
11
|
siner++;
|
|
12
|
if (obj_board_inventory.lancer == true)
|
|
13
|
{
|
|
14
|
depth = 999989;
|
|
15
|
var amt = round(abs(sin(siner / 20)) * 5) / 5;
|
|
16
|
var col = merge_color(#FBC198, #865954, amt);
|
|
17
|
with (myblock)
|
|
18
|
draw_sprite_ext(spr_board_treasuremarker_lmarkonly, 0, x, y, 2, 2, 0, col, 1);
|
|
19
|
}
|
|
20
|
else
|
|
21
|
{
|
|
22
|
depth = 999996;
|
|
23
|
}
|
|
24
|
draw_set_color(#C8E76C);
|
|
25
|
ossafe_fill_rectangle((x - 128 - 32) + board_tilex(6) + 4, (y - 64 - 32) + scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (lancy), ((x - 128 - 32) + board_tilex(7)) - 4 - 1, ((y - 32 - 64) + 284) - 1);
|
|
26
|
var i = 0;
|
|
27
|
while (i < 5)
|
|
28
|
i++;
|
|
29
|
draw_set_color(#83BC19);
|
|
30
|
ossafe_fill_rectangle((x - 128 - 32) + board_tilex(6) + 4 + 2, (y - 64 - 32) + scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (lancy), ((x - 128 - 32) + board_tilex(7)) - 4 - 1 - 2, ((y - 32 - 64) + 284) - 1);
|
|
31
|
draw_set_color(c_white);
|
|
32
|
if (lancy < 284)
|
|
33
|
{
|
|
34
|
draw_sprite_ext(spr_b2perfumeblast, siner / 4, ((x - 128 - 32) + board_tilex(6) + 4 + 2) - 12, scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (lancy), 2, 2, 0, c_white, 1);
|
|
35
|
draw_sprite_ext(spr_b2perfumeblast, (siner / 4) + 1, (((x - 128 - 32) + board_tilex(6) + 4 + 2) - 12) + 44, scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (lancy), -2, 2, 0, c_white, 1);
|
|
36
|
}
|
|
37
|
}
|