Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_controller_CleanUp_0

(view raw script w/o annotations or w/e)
1
if (variable_instance_exists(id, "crt_surface"))
2
{
3
    if (surface_exists(crt_surface))
4
        surface_free(crt_surface);
5
}
6
if (variable_instance_exists(id, "screen_surface"))
7
{
8
    if (surface_exists(screen_surface))
9
        surface_free(screen_surface);
10
}
11
if (room == room_board_dungeon_2 || room == room_board_dungeon_3)
12
    snd_free(global.currentsong[0]);