1 |
if (global.sworks_flag[36] >= 1) |
2 |
instance_destroy() |
3 |
if (global.sworks_flag[42] >= 1) |
4 |
{ |
5 |
instance_destroy() |
6 |
return; |
7 |
} |
8 |
switch scene |
9 |
{ |
10 |
case -1: |
11 |
if place_meeting(x, y, obj_pl) |
12 |
{ |
13 |
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
} () |
14 |
cutscene_advance() |
15 |
} |
16 |
break |
17 |
case 0: |
18 |
cutscene_instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
19 |
break |
20 |
case 1: |
21 |
cutscene_follower_into_actor() |
22 |
break |
23 |
case 2: |
24 |
cutscene_npc_walk(1168, 660, 660, 3, "x", "up") |
25 |
scene++ |
26 |
break |
27 |
case 3: |
28 |
cutscene_npc_walk(1161, 630, 660, 3, "x", "up") |
29 |
scene++ |
30 |
break |
31 |
case 4: |
32 |
if (obj_player_npc.npc_arrived && obj_ceroba_npc.npc_arrived) |
33 |
scene++ |
34 |
break |
35 |
case 5: |
36 |
cutscene_wait(0.75) |
37 |
break |
38 |
case 6: |
39 |
cutscene_dialogue() |
40 |
with (msg) |
41 |
{ |
42 |
sndfnt = 108 |
43 |
message[0] = "* Really? Another door?" |
44 |
message[1] = "* ..." |
45 |
message[2] = "* Let's look around. Has# to be a switch or a# panel somewhere." |
46 |
prt[0] = 368 |
47 |
prt[1] = 394 |
48 |
prt[2] = 370 |
49 |
if (message_current == 2) |
50 |
obj_ceroba_npc.npc_direction = "right" |
51 |
} |
52 |
break |
53 |
case 7: |
54 |
cutscene_npc_walk(1161, obj_pl.x, (obj_pl.y + 20), 3, "y", "up") |
55 |
break |
56 |
case 8: |
57 |
obj_pl.direction = 90 |
58 |
cutscene_actor_into_follower() |
59 |
break |
60 |
case 9: |
61 |
cutscene_end() |
62 |
break |
63 |
} |