| 1 |
xx = random(shaker) - random(shaker); |
| 2 |
yy = random(shaker) - random(shaker); |
| 3 |
if (spared == 0) |
| 4 |
{ |
| 5 |
draw_sprite_ext(spr_endogeny, 0, x + xx, y + yy, 2, 2, 0, c_white, image_alpha); |
| 6 |
draw_sprite_ext(spr_endogeny_head, floor(mouth), x + xx, y + yy, 2, 2, 0, c_white, image_alpha); |
| 7 |
} |
| 8 |
if (spared == 1) |
| 9 |
{ |
| 10 |
draw_sprite_ext(spr_endogeny_2, 0, x + xx, y + yy, 2, 2, 0, c_white, image_alpha); |
| 11 |
draw_sprite_ext(spr_endogeny_head, 0, x + xx, y + yy, 2, 2, 0, c_white, image_alpha); |
| 12 |
} |
| 13 |
mouth += mouthspeed; |
| 14 |
if (spared == 1) |
| 15 |
{ |
| 16 |
mouthspeed = 0; |
| 17 |
shaker = 0; |
| 18 |
} |
| 19 |
if (fader == 1) |
| 20 |
{ |
| 21 |
if (image_alpha > 0) |
| 22 |
image_alpha -= 0.02; |
| 23 |
} |