1 |
if scr_timerscr_timerfunction scr_timer() //gml_Script_scr_timer
{
if (timer > 0)
{
timer--
return false;
}
else
return true;
} () |
2 |
{ |
3 |
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
} () |
4 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
5 |
with (msg) |
6 |
{ |
7 |
sndfnt = 97 |
8 |
message[0] = "* Hello?" |
9 |
message[1] = "* Are you still present,# little one?" |
10 |
message[2] = "* I am going to rescue# you! Come!" |
11 |
prt[0] = 343 |
12 |
prt[1] = 340 |
13 |
prt[2] = 343 |
14 |
} |
15 |
if (!global.dialogue_open) |
16 |
{ |
17 |
instance_create(160, 145, obj_darkruins_01_rope) |
18 |
instance_destroy() |
19 |
} |
20 |
} |
21 |
if (global.flag[23 Rescue Ending rope status] == 0 && instance_exists(obj_transition)) |
22 |
{ |
23 |
if (obj_transition.newRoom != 14) |
24 |
return; |
25 |
global.flag[23 Rescue Ending rope status] = 2 |
26 |
instance_destroy() |
27 |
} |