1 |
if (door_open_alarm_counter == 0) |
2 |
{ |
3 |
audio_play_sound(snd_doorclose, 1, 0) |
4 |
alarm[0] = 25alarm[0]if (door_open_alarm_counter == 0)
{
audio_play_sound(snd_doorclose, 1, 0)
alarm[0] = 25
door_open_alarm_counter++
}
else if (door_open_alarm_counter == 1)
{
audio_play_sound(snd_doorlock, 1, 0)
if ( global.flag[17 Dalv fate] == 3)
{
audio_play_sound(snd_doorlock, 1, 0)
alarm[0] = 25
door_open_alarm_counter++
global.flag[17 Dalv fate] = 4
}
}
else
{
global.cutscene = false
obj_pl.state = gml_Script_scr_normal_state
with (obj_dalv2)
instance_destroy()
instance_destroy()
} |
5 |
door_open_alarm_counter++ |
6 |
} |
7 |
else if (door_open_alarm_counter == 1) |
8 |
{ |
9 |
audio_play_sound(snd_doorlock, 1, 0) |
10 |
if (global.flag[17 Dalv fate] == 3) |
11 |
{ |
12 |
audio_play_sound(snd_doorlock, 1, 0) |
13 |
alarm[0] = 25alarm[0]if (door_open_alarm_counter == 0)
{
audio_play_sound(snd_doorclose, 1, 0)
alarm[0] = 25
door_open_alarm_counter++
}
else if (door_open_alarm_counter == 1)
{
audio_play_sound(snd_doorlock, 1, 0)
if ( global.flag[17 Dalv fate] == 3)
{
audio_play_sound(snd_doorlock, 1, 0)
alarm[0] = 25
door_open_alarm_counter++
global.flag[17 Dalv fate] = 4
}
}
else
{
global.cutscene = false
obj_pl.state = gml_Script_scr_normal_state
with (obj_dalv2)
instance_destroy()
instance_destroy()
} |
14 |
door_open_alarm_counter++ |
15 |
global.flag[17 Dalv fate] = 4 |
16 |
} |
17 |
} |
18 |
else |
19 |
{ |
20 |
global.cutscene = false |
21 |
obj_pl.state = gml_Script_scr_normal_state |
22 |
with (obj_dalv2) |
23 |
instance_destroy() |
24 |
instance_destroy() |
25 |
} |