|
1
|
function scr_marker_frominstancescr_marker_frominstance
function scr_marker_frominstance(arg0 = id, arg1 = false)
{
var obj = 1238;
if (arg1)
obj = 1496;
var _marker = instance_create(arg0.x, arg0.y, obj);
_marker.sprite_index = arg0.sprite_index;
_marker.image_alpha = arg0.image_alpha;
_marker.image_angle = arg0.image_angle;
_marker.image_blend = arg0.image_blend;
_marker.image_index = arg0.image_index;
_marker.image_speed = arg0.image_speed;
_marker.image_xscale = arg0.image_xscale;
_marker.image_yscale = arg0.image_yscale;
_marker.mask_index = arg0.mask_index;
_marker.depth = arg0.depth;
return _marker;
}
function scr_fog_marker_frominstance(arg0 = id, arg1 = 32768)
{
var _marker = instance_create(arg0.x, arg0.y, obj_marker_fog);
_marker.sprite_index = arg0.sprite_index;
_marker.image_alpha = arg0.image_alpha;
_marker.image_angle = arg0.image_angle;
_marker.image_blend = arg0.image_blend;
_marker.image_index = arg0.image_index;
_marker.image_speed = arg0.image_speed;
_marker.image_xscale = arg0.image_xscale;
_marker.image_yscale = arg0.image_yscale;
_marker.mask_index = arg0.mask_index;
_marker.depth = arg0.depth;
_marker.color = arg1;
return _marker;
}
function scr_blend_marker_frominstance(arg0 = id, arg1 = 1)
{
var _marker = instance_create(arg0.x, arg0.y, obj_marker_blend);
_marker.sprite_index = arg0.sprite_index;
_marker.image_alpha = arg0.image_alpha;
_marker.image_angle = arg0.image_angle;
_marker.image_blend = arg0.image_blend;
_marker.image_index = arg0.image_index;
_marker.image_speed = arg0.image_speed;
_marker.image_xscale = arg0.image_xscale;
_marker.image_yscale = arg0.image_yscale;
_marker.mask_index = arg0.mask_index;
_marker.depth = arg0.depth;
_marker.blend = arg1;
return _marker;
}
function scr_fogblend_marker_frominstance(arg0 = id, arg1 = 1, arg2 = 32768)
{
var _marker = instance_create(arg0.x, arg0.y, obj_marker_fogblend);
_marker.sprite_index = arg0.sprite_index;
_marker.image_alpha = arg0.image_alpha;
_marker.image_angle = arg0.image_angle;
_marker.image_blend = arg0.image_blend;
_marker.image_index = arg0.image_index;
_marker.image_speed = arg0.image_speed;
_marker.image_xscale = arg0.image_xscale;
_marker.image_yscale = arg0.image_yscale;
_marker.mask_index = arg0.mask_index;
_marker.depth = arg0.depth;
_marker.blend = arg1;
_marker.color = arg2;
return _marker;
} (arg0 = id, arg1 = false)
|
|
2
|
{
|
|
3
|
var obj = 1238;
|
|
4
|
if (arg1)
|
|
5
|
obj = 1496;
|
|
6
|
var _marker = instance_create(arg0.x, arg0.y, obj);
|
|
7
|
_marker.sprite_index = arg0.sprite_index;
|
|
8
|
_marker.image_alpha = arg0.image_alpha;
|
|
9
|
_marker.image_angle = arg0.image_angle;
|
|
10
|
_marker.image_blend = arg0.image_blend;
|
|
11
|
_marker.image_index = arg0.image_index;
|
|
12
|
_marker.image_speed = arg0.image_speed;
|
|
13
|
_marker.image_xscale = arg0.image_xscale;
|
|
14
|
_marker.image_yscale = arg0.image_yscale;
|
|
15
|
_marker.mask_index = arg0.mask_index;
|
|
16
|
_marker.depth = arg0.depth;
|
|
17
|
return _marker;
|
|
18
|
}
|
|
19
|
|
|
20
|
function scr_fog_marker_frominstance(arg0 = id, arg1 = 32768)
|
|
21
|
{
|
|
22
|
var _marker = instance_create(arg0.x, arg0.y, obj_marker_fog);
|
|
23
|
_marker.sprite_index = arg0.sprite_index;
|
|
24
|
_marker.image_alpha = arg0.image_alpha;
|
|
25
|
_marker.image_angle = arg0.image_angle;
|
|
26
|
_marker.image_blend = arg0.image_blend;
|
|
27
|
_marker.image_index = arg0.image_index;
|
|
28
|
_marker.image_speed = arg0.image_speed;
|
|
29
|
_marker.image_xscale = arg0.image_xscale;
|
|
30
|
_marker.image_yscale = arg0.image_yscale;
|
|
31
|
_marker.mask_index = arg0.mask_index;
|
|
32
|
_marker.depth = arg0.depth;
|
|
33
|
_marker.color = arg1;
|
|
34
|
return _marker;
|
|
35
|
}
|
|
36
|
|
|
37
|
function scr_blend_marker_frominstance(arg0 = id, arg1 = 1)
|
|
38
|
{
|
|
39
|
var _marker = instance_create(arg0.x, arg0.y, obj_marker_blend);
|
|
40
|
_marker.sprite_index = arg0.sprite_index;
|
|
41
|
_marker.image_alpha = arg0.image_alpha;
|
|
42
|
_marker.image_angle = arg0.image_angle;
|
|
43
|
_marker.image_blend = arg0.image_blend;
|
|
44
|
_marker.image_index = arg0.image_index;
|
|
45
|
_marker.image_speed = arg0.image_speed;
|
|
46
|
_marker.image_xscale = arg0.image_xscale;
|
|
47
|
_marker.image_yscale = arg0.image_yscale;
|
|
48
|
_marker.mask_index = arg0.mask_index;
|
|
49
|
_marker.depth = arg0.depth;
|
|
50
|
_marker.blend = arg1;
|
|
51
|
return _marker;
|
|
52
|
}
|
|
53
|
|
|
54
|
function scr_fogblend_marker_frominstance(arg0 = id, arg1 = 1, arg2 = 32768)
|
|
55
|
{
|
|
56
|
var _marker = instance_create(arg0.x, arg0.y, obj_marker_fogblend);
|
|
57
|
_marker.sprite_index = arg0.sprite_index;
|
|
58
|
_marker.image_alpha = arg0.image_alpha;
|
|
59
|
_marker.image_angle = arg0.image_angle;
|
|
60
|
_marker.image_blend = arg0.image_blend;
|
|
61
|
_marker.image_index = arg0.image_index;
|
|
62
|
_marker.image_speed = arg0.image_speed;
|
|
63
|
_marker.image_xscale = arg0.image_xscale;
|
|
64
|
_marker.image_yscale = arg0.image_yscale;
|
|
65
|
_marker.mask_index = arg0.mask_index;
|
|
66
|
_marker.depth = arg0.depth;
|
|
67
|
_marker.blend = arg1;
|
|
68
|
_marker.color = arg2;
|
|
69
|
return _marker;
|
|
70
|
}
|