1 | frameIndex = floor(image_index); |
2 | draw_self(); |
3 | if (topsprite != 0) |
4 | { |
5 | if (frameIndex == 0) |
6 | draw_sprite_ext(topsprite, 0, x + topxoff, (y + topyoff) - 14, 2, 2, 0, c_white, 1); |
7 | if (frameIndex == 1) |
8 | draw_sprite_ext(topsprite, 0, x + topxoff, (y + topyoff) - 34, 2, 2, -5, c_white, 1); |
9 | if (frameIndex == 2 || frameIndex == 3 || frameIndex == 4 || frameIndex == 5 || frameIndex == 6) |
10 | draw_sprite_ext(topsprite, 0, (x + topxoff) - 2, (y + topyoff) - 42, 2, 2, -10, c_white, 1); |
11 | } |