1 |
event_inherited() |
2 |
if (scene == 0) |
3 |
{ |
4 |
if interact |
5 |
{ |
6 |
drawing_poster = 1 |
7 |
scene = 1 |
8 |
audio_play_sound(snd_mainmenu_select, 1, 0) |
9 |
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
} () |
10 |
return; |
11 |
} |
12 |
} |
13 |
else if (scene == 1) |
14 |
{ |
15 |
if (drawing_poster == 1) |
16 |
{ |
17 |
if (draw_alpha < 1) |
18 |
draw_alpha += 0.2 |
19 |
if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) |
20 |
{ |
21 |
drawing_poster = 2 |
22 |
audio_play_sound(snd_fail, 1, 0) |
23 |
scr_cutscene_end() |
24 |
} |
25 |
} |
26 |
if (drawing_poster == 2) |
27 |
{ |
28 |
if (draw_alpha > 0) |
29 |
draw_alpha -= 0.2 |
30 |
else |
31 |
{ |
32 |
drawing_poster = 0 |
33 |
scene = 2 |
34 |
} |
35 |
} |
36 |
} |
37 |
else if (scene == 2) |
38 |
{ |
39 |
scene = 0 |
40 |
global.cutscene = false |
41 |
if (npc_flag == 0 && global.party_member != -4) |
42 |
{ |
43 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
44 |
with (msg) |
45 |
{ |
46 |
sndfnt = 102 |
47 |
message[0] = "* I can't stand looking# at that..." |
48 |
message[1] = "* It's..." |
49 |
message[2] = "* ...Let's just move on." |
50 |
prt[0] = 329 |
51 |
prt[1] = 329 |
52 |
prt[2] = 317 |
53 |
} |
54 |
npc_flag = 1 |
55 |
} |
56 |
} |