Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_dw_gameshow_screen_Step_0

(view raw script w/o annotations or w/e)
1
if (switch_game_screen)
2
{
3
    switch_game_screen_timer++;
4
    if (switch_game_screen_timer == 1)
5
    {
6
        with (evaluation_screen)
7
            show_overlay(8);
8
    }
9
    if (switch_game_screen_timer == 9)
10
    {
11
        transition_to_state(switch_game_screen_target, 8);
12
        with (evaluation_screen)
13
            instance_destroy();
14
    }
15
    if (switch_game_screen_timer == 32)
16
    {
17
        switch_game_screen = false;
18
        switch_game_screen_timer = 0;
19
    }
20
}