Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_b4_chef_controller_Alarm_0

(view raw script w/o annotations or w/e)
1
if (!gamestart)
2
    gamestart = true;
3
if (gameover)
4
    exit;
5
timer--;
6
alarm[0]
 = 30;
gml_Object_obj_ch3_b4_chef_controller_Alarm_0.gml

if (!gamestart) gamestart = true; if (gameover) exit; timer--; alarm[0]
 = 30;
if (timer <= 0) { gameover = true; with (obj_ch3_b4_chef_kris) { image_speed = 0; vspeed = 0; hspeed = 0; gravity = 0; } with (obj_ch3_b4_chef_fire) { image_speed = 0; vspeed = 0; hspeed = 0; gravity = 0; } }
7
if (timer <= 0)
8
{
9
    gameover = true;
10
    with (obj_ch3_b4_chef_kris)
11
    {
12
        image_speed = 0;
13
        vspeed = 0;
14
        hspeed = 0;
15
        gravity = 0;
16
    }
17
    with (obj_ch3_b4_chef_fire)
18
    {
19
        image_speed = 0;
20
        vspeed = 0;
21
        hspeed = 0;
22
        gravity = 0;
23
    }
24
}