1 | siner += 1; |
2 | if (spec < 2) |
3 | { |
4 | draw_sprite_ext(spr_blocktree_parts, 1, x, y, 2, 2, 0, image_blend, 1); |
5 | draw_sprite_ext(spr_blocktree_parts, 2, x + (sin(siner / 12) * 2), y + (cos(siner / 20) * 2), 2, 2, 0, image_blend, 1); |
6 | draw_sprite_ext(spr_blocktree_parts, 3, x + (sin(siner / 14) * 1), y + (cos(siner / 24) * 1), 2, 2, 0, image_blend, 1); |
7 | } |
8 | else |
9 | { |
10 | draw_sprite_ext(spr_blocktree_switch, siner / 6, x, y, 2, 2, 0, image_blend, 1); |
11 | } |