Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_green_room_racing_game_Alarm_0

(view raw script w/o annotations or w/e)
1
if (game_won)
2
    exit;
3
timer--;
4
if (timer < 0)
5
{
6
    snd_stop(snd_racing);
7
    time_up();
8
}
9
else
10
{
11
    if ((timer % 120) == 1)
12
        snd_play(snd_racing);
13
    alarm[0]
 = 1;
gml_Object_obj_ch3_green_room_racing_game_Alarm_0.gml

if (game_won) exit; timer--; if (timer < 0) { snd_stop(snd_racing); time_up(); } else { if ((timer % 120) == 1) snd_play(snd_racing); alarm[0]
 = 1;
}
14
}