Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_tile_layer_delete_at

(view raw script w/o annotations or w/e)
1
function tile_layer_delete_at(argument0, argument1, argument2) //gml_Script_tile_layer_delete_at
2
{
3
    var __depth = argument0
4
    var __x = argument1
5
    var __y = argument2
6
    var __tile_el = tile_layer_find(__depth, __x, __y)
7
    if (__tile_el != -1)
8
        layer_tile_destroy(__tile_el)
9
}