1 | draw_sprite(sprite_index, image_index, x, y); |
2 | if (mode == 1 || mode == 3) |
3 | ang = point_direction(x + 11, y + 15, obj_jetpackchara.x + 10, obj_jetpackchara.y + 10); |
4 | if (mode == 3) |
5 | ang += (random(60) - 30); |
6 | draw_sprite_ext(spr_flymettarm, 0, x + 11, y + 15, 1, 1, ang, c_white, 1); |