1 |
event_inherited() |
2 |
if interact |
3 |
{ |
4 |
if (!audio_is_playing(snd_locked_door)) |
5 |
audio_play_sound(snd_locked_door, 1, 0) |
6 |
if (global.hotland_flag[13] == 0 && global.route != 3 && global.hotland_flag[10] == 0) |
7 |
{ |
8 |
scr_cutscene_startscr_cutscene_startfunction scr_cutscene_start() //gml_Script_scr_cutscene_start
{
global.cutscene = true
obj_pl.state = gml_Script_scr_frozen_state
obj_pl.image_index = 0
obj_pl.image_speed = 0
} () |
9 |
alarm[0] = 10 |
10 |
global.hotland_flag[13] = 1 |
11 |
} |
12 |
} |
13 |
if (waiter == 1) |
14 |
{ |
15 |
global.cutscene = false |
16 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
17 |
with (msg) |
18 |
{ |
19 |
sndfnt = 102 |
20 |
message[0] = "* Hmm... " |
21 |
message[1] = "* It is rather late isn't# it?" |
22 |
message[2] = "* Narrows down the# locations they could've# gone at least." |
23 |
prt[0] = 311 |
24 |
prt[1] = 324 |
25 |
prt[2] = 321 |
26 |
} |
27 |
waiter = 0 |
28 |
} |