1 |
var actor_starlo = obj_starlo_npc |
2 |
switch scene |
3 |
{ |
4 |
case 0: |
5 |
cutscene_player_interact(actor_starlo) |
6 |
break |
7 |
case 1: |
8 |
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
} () |
9 |
cutscene_wait(2) |
10 |
break |
11 |
case 2: |
12 |
cutscene_npc_direction(actor_starlo, "up") |
13 |
break |
14 |
case 3: |
15 |
cutscene_wait(2) |
16 |
break |
17 |
case 4: |
18 |
cutscene_npc_direction(actor_starlo, "down") |
19 |
break |
20 |
case 5: |
21 |
cutscene_dialogue() |
22 |
with (msg) |
23 |
{ |
24 |
message[0] = "* This is really bad." |
25 |
message[1] = "* I'm a fake test Starlo." |
26 |
message[2] = "* But I won't leave# it this way!" |
27 |
message[3] = "* (It doesn't have to be this way.)" |
28 |
prt[0] = 406 |
29 |
prt[1] = 426 |
30 |
prt[2] = 422 |
31 |
sndfnt_array[0] = 107 |
32 |
sndfnt_array[3] = 391 |
33 |
talker[0] = actor_starlo |
34 |
talker[3] = -4 |
35 |
} |
36 |
break |
37 |
case 6: |
38 |
cutscene_wait(2) |
39 |
break |
40 |
case 7: |
41 |
cutscene_npc_walk(actor_starlo, actor_starlo.x, (actor_starlo.y + 40), 2, "y", "down", 1031) |
42 |
break |
43 |
case 8: |
44 |
cutscene_wait(3) |
45 |
break |
46 |
case 9: |
47 |
cutscene_music_start(176, 300) |
48 |
break |
49 |
case 10: |
50 |
cutscene_wait(2) |
51 |
break |
52 |
case 11: |
53 |
cutscene_dialogue() |
54 |
with (msg) |
55 |
{ |
56 |
message[0] = "* A" |
57 |
prt[0] = 417 |
58 |
sndfnt_array[0] = 107 |
59 |
talker[0] = actor_starlo |
60 |
} |
61 |
break |
62 |
case 12: |
63 |
scr_cutscene_end() |
64 |
break |
65 |
} |