Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_dw_garden_aquaplatforming_Step_2

related scripts: Alarm_0Create_0Step_0Step_2

(view raw script w/o annotations or w/e)
1
if (pause_enemies && instance_exists(obj_plat_player))
2
{
3
    if (global.interact > 0)
4
    {
5
        with (obj_plat_game)
6
            paused = true;
7
        platpaused = true;
8
    }
9
    else if (platpaused)
10
    {
11
        platpaused = false;
12
        with (obj_plat_game)
13
            paused = false;
14
    }
15
}