| 1 | if (scr_debug() && keyboard_check_pressed(vk_f11) && spriteID != -4) |
| 2 | { |
| 3 | otherfound = false; |
| 4 | scr_debug_print("searching for objects that use " + string(sprite_get_name(spriteID)) + ":"); |
| 5 | with (all) |
| 6 | { |
| 7 | if (sprite_index == other.spriteID) |
| 8 | { |
| 9 | scr_debug_print(object_get_name(object_index)); |
| 10 | other.otherfound = true; |
| 11 | } |
| 12 | } |
| 13 | if (!other.otherfound) |
| 14 | scr_debug_print(""); |
| 15 | } |