1 |
image_index = global.faceemotion; |
2 |
rr1 = random(0.6) - random(0.6); |
3 |
rr2 = random(0.6) - random(0.6); |
4 |
if (global.faceemotion == 2) |
5 |
{ |
6 |
siner += 1; |
7 |
draw_sprite(sprite_index, image_index, x, y + (sin(siner) * 1)); |
8 |
} |
9 |
if (global.faceemotion == 3) |
10 |
draw_sprite(spr_bpants_arms, 0, (x - 20) + (rr1 * 1.1), y + (rr2 * 1.1)); |
11 |
if (global.faceemotion != 5 && global.faceemotion != 2 && global.faceemotion != 1) |
12 |
draw_sprite(sprite_index, image_index, x, y); |
13 |
if (global.faceemotion == 5 || global.faceemotion == 1) |
14 |
draw_sprite(sprite_index, image_index, x + rr1, y + rr2); |
15 |
if (global.faceemotion == 6) |
16 |
draw_sprite(spr_bpants_cloud, anim, x - 5, y); |
17 |
anim += 0.1; |
18 |
draw_set_color(c_white); |
19 |
ossafe_fill_rectangle(0, 120, 600, 124); |