1 |
script_execute(gml_Script_scr_depth, 0, 0, 0, 0, 0) |
2 |
if (global.flag[16 Watched Decibat sentinel of silence cutscene] == 1) |
3 |
{ |
4 |
instance_destroy() |
5 |
return; |
6 |
} |
7 |
if (animate == true) |
8 |
{ |
9 |
if (y <= y1) |
10 |
vspeed = 0.2 |
11 |
if (y >= y2) |
12 |
vspeed = -0.2 |
13 |
} |
14 |
if (global.flag[15 Decibat fate] == 1 && waiter == 0) |
15 |
{ |
16 |
image_alpha = 1 |
17 |
global.cutscene = true |
18 |
waiter++ |
19 |
} |
20 |
if ((waiter > 0 && waiter < 30) || (waiter >= 32 && waiter < 90)) |
21 |
waiter++ |
22 |
if (waiter == 30) |
23 |
{ |
24 |
if (!instance_exists(obj_dialogue)) |
25 |
msg = instance_create(x, y, obj_dialogue) |
26 |
with (msg) |
27 |
{ |
28 |
sndfnt = 99 |
29 |
portrait = false |
30 |
message[0] = "* I declare you an honorary# sentinel of silence." |
31 |
message[1] = "* I trust you to keep peace# and order hhear." |
32 |
message[2] = "* I shall go conquer new lands# in the name of quiet." |
33 |
message[3] = "* This is a very hhigh# honor so keep it# hhush hhush." |
34 |
} |
35 |
waiter = 31 |
36 |
} |
37 |
if (waiter == 31 && (!instance_exists(obj_dialogue))) |
38 |
{ |
39 |
vspeed = -3 |
40 |
hspeed = -3 |
41 |
animate = false |
42 |
audio_play_sound(snd_flapaway, 1, 0) |
43 |
waiter++ |
44 |
} |
45 |
if (waiter == 80) |
46 |
{ |
47 |
global.cutscene = false |
48 |
obj_pl.state = gml_Script_scr_normal_state |
49 |
global.flag[16 Watched Decibat sentinel of silence cutscene] = 1 |
50 |
instance_destroy() |
51 |
} |