Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mansion_trapdoor_Other_76

(view raw script w/o annotations or w/e)
1
if (ds_map_find_value(event_data, "event_type") == "sprite event")
2
{
3
    switch ds_map_find_value(event_data, "message")
4
    {
5
        case "trapdoor_spawn_particles":
6
            instance_create_depth((x + 24), (y + 17), (depth - 1), obj_mansion_trapdoor_particles)
7
            break
8
    }
9
10
}