1 |
if (i_ex(actor)) |
2 |
{ |
3 |
with (actor) |
4 |
{ |
5 |
if (visible) |
6 |
{ |
7 |
var _inst = instance_create(x, y, obj_boxingqueen_aura_image); |
8 |
_inst.sprite_index = sprite_index; |
9 |
_inst.image_index = image_index; |
10 |
if (visible == 0) |
11 |
_inst.sprite_index = Nothing; |
12 |
if (o_boxingqueen.drawflip == 0) |
13 |
_inst.image_xscale = 2; |
14 |
if (o_boxingqueen.drawflip == 1) |
15 |
_inst.image_xscale = -2; |
16 |
_inst.image_yscale = 2; |
17 |
_inst.vspeed = -0.5; |
18 |
_inst.image_blend = other.blend; |
19 |
} |
20 |
} |
21 |
} |
22 |
alarm[1] = refresh;gml_Object_o_boxingqueen_aura_Alarm_1.gmlif (i_ex(actor))
{
with (actor)
{
if (visible)
{
var _inst = instance_create(x, y, obj_boxingqueen_aura_image);
_inst.sprite_index = sprite_index;
_inst.image_index = image_index;
if (visible == 0)
_inst.sprite_index = Nothing;
if (o_boxingqueen.drawflip == 0)
_inst.image_xscale = 2;
if (o_boxingqueen.drawflip == 1)
_inst.image_xscale = -2;
_inst.image_yscale = 2;
_inst.vspeed = -0.5;
_inst.image_blend = other.blend;
}
}
}
alarm[1] = refresh; |