1 |
switch scene |
2 |
{ |
3 |
case 0: |
4 |
if (obj_pl.x < 850) |
5 |
{ |
6 |
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
} () |
7 |
global.sworks_flag[53] = 1 |
8 |
cutscene_advance() |
9 |
} |
10 |
break |
11 |
case 1: |
12 |
cutscene_follower_into_actor() |
13 |
global.party_member = -4 |
14 |
break |
15 |
case 2: |
16 |
cutscene_npc_direction(obj_ceroba_npc, "left") |
17 |
break |
18 |
case 3: |
19 |
cutscene_dialogue() |
20 |
with (msg) |
21 |
{ |
22 |
talker[0] = 1161 |
23 |
message[0] = "* Again?" |
24 |
message[1] = "* Well, best get on with# it." |
25 |
message[2] = "* Watch your step." |
26 |
prt[0] = 371 |
27 |
prt[1] = 377 |
28 |
prt[2] = 370 |
29 |
} |
30 |
break |
31 |
case 4: |
32 |
cutscene_wait(0.5) |
33 |
break |
34 |
case 5: |
35 |
cutscene_npc_walk(actor_follower, 860, 120, 3, "x", "down") |
36 |
break |
37 |
case 6: |
38 |
scr_cutscene_end() |
39 |
cutscene_advance() |
40 |
break |
41 |
case 7: |
42 |
if ((!pacifist_skip) && obj_ceroba_npc.interact == true) |
43 |
{ |
44 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
45 |
with (msg) |
46 |
{ |
47 |
talker[0] = 1161 |
48 |
message[0] = "* I know you're skilled# enough for this small# task." |
49 |
message[1] = "* Go on." |
50 |
prt[0] = 395 |
51 |
prt[1] = 372 |
52 |
} |
53 |
} |
54 |
if (obj_pl.x <= 190) |
55 |
cutscene_advance() |
56 |
break |
57 |
case 8: |
58 |
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
} () |
59 |
cutscene_advance() |
60 |
break |
61 |
case 9: |
62 |
cutscene_sfx_play(snd_success, 1) |
63 |
break |
64 |
case 10: |
65 |
cutscene_instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
66 |
break |
67 |
case 11: |
68 |
cutscene_npc_walk(1168, 160, 324, 3, "x", "left") |
69 |
break |
70 |
case 12: |
71 |
cutscene_wait(0.5) |
72 |
break |
73 |
case 13: |
74 |
with (obj_steamworks_17_lever) |
75 |
{ |
76 |
image_speed = (1/3) |
77 |
audio_play_sound(snd_switch, 1, 0) |
78 |
} |
79 |
with (obj_steamworks_steam_blaster) |
80 |
instance_destroy() |
81 |
cutscene_advance() |
82 |
break |
83 |
case 14: |
84 |
if (obj_steamworks_17_lever.image_speed == 0) |
85 |
cutscene_advance() |
86 |
break |
87 |
case 15: |
88 |
cutscene_wait(1) |
89 |
break |
90 |
case 16: |
91 |
cutscene_npc_direction(obj_player_npc, "right") |
92 |
break |
93 |
case 17: |
94 |
instance_destroy(obj_player_npc) |
95 |
cutscene_advance() |
96 |
if pacifist_skip |
97 |
cutscene_advance(23) |
98 |
break |
99 |
case 18: |
100 |
obj_ceroba_npc.x = 384 |
101 |
obj_ceroba_npc.y = obj_pl.y |
102 |
cutscene_advance() |
103 |
break |
104 |
case 19: |
105 |
cutscene_npc_set_sprites(obj_ceroba_npc, 81, 80, 78, 79, 61, 65, 60, 63) |
106 |
break |
107 |
case 20: |
108 |
cutscene_npc_walk(1161, (obj_pl.x + 20), obj_pl.y, 4, "x", "left") |
109 |
break |
110 |
case 21: |
111 |
obj_pl.direction = 180 |
112 |
global.party_member = 1171 |
113 |
actor_follower = 1161 |
114 |
cutscene_actor_into_follower() |
115 |
break |
116 |
case 22: |
117 |
global.sworks_flag[53] = 2 |
118 |
cutscene_end() |
119 |
break |
120 |
case 23: |
121 |
cutscene_wait(0.5) |
122 |
break |
123 |
case 24: |
124 |
cutscene_npc_direction(obj_player_npc, "down") |
125 |
global.sworks_flag[53] = 2 |
126 |
cutscene_end() |
127 |
break |
128 |
} |