Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_bell_Other_76

(view raw script w/o annotations or w/e)
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
            for (var i = 0; i < 2; i++)
9
            {
10
                var ring = instance_create_depth(x, y, -100, choose(953, 653))
11
                ring.attack_delay = i * 15
12
            }
13
            break
14
    }
15
16
}