|
1
|
function scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
}
(arg0, arg1)
|
|
2
|
{
|
|
3
|
global.flag[arg0] = arg1;
|
|
4
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
}
())
|
|
5
|
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
|
|
6
|
}
|
|
7
|
|
|
8
|
function scr_setflag(arg0, arg1)
|
|
9
|
{
|
|
10
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
}
(arg0, arg1);
|
|
11
|
}
|