1 |
scr_bullet_initscr_bullet_initfunction scr_bullet_init()
{
grazed = 0;
grazetimer = 0;
destroyonhit = 1;
target = 0;
inv = 60;
damage = 10;
element = 0;
grazepoints = 1;
timepoints = 1;
active = 1;
updateimageangle = 0;
} (); |
2 |
fuelbubble = irandom(4) == 4; |
3 |
direction = 90; |
4 |
speed = 2; |
5 |
siner = choose(0, 4 * pi); |
6 |
if (fuelbubble) |
7 |
image_blend = c_teal; |
8 |
image_xscale = 0.5; |
9 |
image_yscale = 0.5; |
10 |
depth = obj_queen_wineglass.depth; |
11 |
scale = 0.5; |
12 |
var d = instance_create(x, y, obj_queen_bubble_half); |
13 |
d.parent = self; |
14 |
d.depth = obj_queen_wineglass.depth - 1; |
15 |
d.image_alpha = 0.4; |
16 |
init = 0; |