1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (room == rm_steamworks_07_v2) |
4 |
flag_check = global.sworks_flag[8] |
5 |
else if (room == rm_steamworks_17b) |
6 |
flag_check = global.sworks_flag[53] |
7 |
else if (room == rm_steamworks_25_b) |
8 |
flag_check = global.sworks_flag[54] |
9 |
else if (room == rm_steamworks_23) |
10 |
flag_check = 1 |
11 |
if (flag_check != 1) |
12 |
return; |
13 |
switch scene |
14 |
{ |
15 |
case 0: |
16 |
if ((!global.cutscene) && place_meeting(x, y, obj_pl)) |
17 |
{ |
18 |
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
} () |
19 |
cutscene_advance() |
20 |
} |
21 |
break |
22 |
case 1: |
23 |
cutscene_dialogue() |
24 |
with (msg) |
25 |
{ |
26 |
talker[0] = 1161 |
27 |
for (var i = 0; i < array_length(other.message); i++) |
28 |
{ |
29 |
message[i] = other.message[i] |
30 |
prt[i] = other.prt[i] |
31 |
} |
32 |
} |
33 |
break |
34 |
case 2: |
35 |
with (obj_pl) |
36 |
{ |
37 |
clover_walk_backwards = false |
38 |
autowalk_direction = other.walk_dir |
39 |
switch other.walk_dir |
40 |
{ |
41 |
case "down": |
42 |
direction = 270 |
43 |
break |
44 |
case "right": |
45 |
direction = 0 |
46 |
break |
47 |
case "left": |
48 |
direction = 180 |
49 |
break |
50 |
case "up": |
51 |
direction = 90 |
52 |
break |
53 |
} |
54 |
|
55 |
state = gml_Script_scr_autowalk_state |
56 |
alarm[1] |
57 |
} |
58 |
cutscene_advance() |
59 |
break |
60 |
case 3: |
61 |
scr_cutscene_end() |
62 |
scene = 0 |
63 |
break |
64 |
} |