1 | if live_call() |
2 | return global.live_result; |
3 | if (ds_map_find_value(event_data, "event_type") == "sprite event" && layer_instance_get_instance(ds_map_find_value(event_data, "element_id")) == id) |
4 | { |
5 | switch ds_map_find_value(event_data, "message") |
6 | { |
7 | case "ceroba_bell_debris": |
8 | if (destroy_type == 1) |
9 | instance_create_depth(x, y, -100, obj_attack_ceroba_bell_ring_orange) |
10 | else |
11 | instance_create_depth(x, y, -100, obj_attack_ceroba_bell_ring_blue) |
12 | break |
13 | } |
14 | |
15 | } |