| 1 | with (all) |
| 2 | { |
| 3 | var destroy_self = true; |
| 4 | for (var i = 0; i < ds_list_size(other.instance_list); i++) |
| 5 | { |
| 6 | if (ds_list_find_value(other.instance_list, i) == id) |
| 7 | destroy_self = false; |
| 8 | } |
| 9 | if (destroy_self == true) |
| 10 | instance_destroy(); |
| 11 | } |
| 12 | with (obj_dialogue_box_battle_transformation_any) |
| 13 | event_user(0); |