| 1 | if (instance_exists(obj_mandogbody)) |
| 2 | { |
| 3 | image_speed = 0.125; |
| 4 | image_index = obj_mandogbody.image_index; |
| 5 | } |
| 6 | else |
| 7 | { |
| 8 | image_speed = 0; |
| 9 | } |
| 10 | if (image_index == 0) |
| 11 | { |
| 12 | if (depth == 10) |
| 13 | depth = 9; |
| 14 | else |
| 15 | depth = 10; |
| 16 | } |