Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_castle_town_dungeon_bars_Create_0

(view raw script w/o annotations or w/e)
1
tile_map = layer_get_id("TILES_BARS");
2
tile_map_id = layer_tilemap_get_id(tile_map);
3
tile_map_alpha = 1;
4
bg_surface = -4;
5
bg_sprite = -4;
6
7
hide_bars = function()
8
{
9
    scr_lerp_var_instance(id, "tile_map_alpha", 1, 0, 30);
10
};
11
12
show_bars = function()
13
{
14
    scr_lerp_var_instance(id, "tile_map_alpha", 0, 1, 30);
15
};