| 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_start(); |
| 10 |
exit; |
| 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 |
{ |
| 30 |
draw_alpha -= 0.2; |
| 31 |
} |
| 32 |
else |
| 33 |
{ |
| 34 |
drawing_poster = 0; |
| 35 |
scene = 2; |
| 36 |
} |
| 37 |
} |
| 38 |
} |
| 39 |
else if (scene == 2) |
| 40 |
{ |
| 41 |
scene = 0; |
| 42 |
global.cutscene = false; |
| 43 |
if (npc_flag == 0 && global.party_member != -4) |
| 44 |
{ |
| 45 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 46 |
with (msg) |
| 47 |
{ |
| 48 |
sndfnt = 102; |
| 49 |
message[0] = "* I can't stand looking# at that..."; |
| 50 |
message[1] = "* It's..."; |
| 51 |
message[2] = "* ...Let's just move on."; |
| 52 |
prt[0] = 329; |
| 53 |
prt[1] = 329; |
| 54 |
prt[2] = 317; |
| 55 |
} |
| 56 |
npc_flag = 1; |
| 57 |
} |
| 58 |
} |