| 1 | g = 0; |
| 2 | if (instance_exists(obj_greatdog)) |
| 3 | { |
| 4 | if (obj_greatdog.dogignore <= 2) |
| 5 | { |
| 6 | draw_self_custom_x(0, 999, 0, 250); |
| 7 | g = 1; |
| 8 | } |
| 9 | } |
| 10 | if (g == 0) |
| 11 | draw_sprite_part_ext(sprite_index, image_index, 43, 0, 17, (250 - y) / image_yscale, x + (44 * image_xscale), y, image_xscale, image_yscale, c_white, 1); |