1 |
switch scene |
2 |
{ |
3 |
case 0: |
4 |
with (obj_event_collider) |
5 |
{ |
6 |
if (trigger == true) |
7 |
{ |
8 |
instance_destroy() |
9 |
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
} () |
10 |
if (global.sworks_flag[15] == 0) |
11 |
{ |
12 |
obj_pl.direction = 180 |
13 |
other.scene++ |
14 |
} |
15 |
} |
16 |
} |
17 |
break |
18 |
case 1: |
19 |
cutscene_instance_create((obj_pl.x - 40), obj_pl.y, obj_flowey_npc) |
20 |
obj_flowey_npc.action_sprite = true |
21 |
obj_flowey_npc.sprite_index = spr_floweyrise |
22 |
obj_flowey_npc.image_speed = 0.2 |
23 |
break |
24 |
case 2: |
25 |
if (obj_flowey_npc.image_index >= (obj_flowey_npc.image_number - 1)) |
26 |
{ |
27 |
obj_flowey_npc.npc_direction = "right" |
28 |
obj_flowey_npc.action_sprite = false |
29 |
cutscene_advance() |
30 |
} |
31 |
break |
32 |
case 3: |
33 |
cutscene_wait(0.5) |
34 |
break |
35 |
case 4: |
36 |
cutscene_dialogue() |
37 |
with (msg) |
38 |
{ |
39 |
talker[0] = 3194 |
40 |
message[0] = "* Howdy!" |
41 |
message[1] = "* Boy am I glad that fox# lady let you roam free# for a bit." |
42 |
message[2] = "* Not being able to talk# to my pal has been# torture!" |
43 |
message[3] = "* Now, I know she roped# ya into some Lab detour# but..." |
44 |
message[4] = "* Come on... captive# monsters? Talk about a# conspiracy nut!" |
45 |
message[5] = "* I mean, it's like you# don't wanna follow my# advice!" |
46 |
message[6] = "* Remember your REAL# mission, Clover." |
47 |
message[7] = "* The five children you# set out to find in the# first place." |
48 |
message[8] = "* There's no need to# visit that dingy lab, ya# know?" |
49 |
message[9] = "* ASGORE's still out# there threatening human# lives!" |
50 |
message[10] = "* Keep your head in the# game." |
51 |
message[11] = "* This is our journey.# Not Ceroba's." |
52 |
prt[0] = 348 |
53 |
prt[1] = 347 |
54 |
prt[2] = 357 |
55 |
prt[3] = 347 |
56 |
prt[4] = 349 |
57 |
prt[5] = 349 |
58 |
prt[6] = 3251 |
59 |
prt[7] = 348 |
60 |
prt[8] = 357 |
61 |
prt[9] = 356 |
62 |
prt[10] = 353 |
63 |
prt[11] = 352 |
64 |
} |
65 |
break |
66 |
case 5: |
67 |
cutscene_npc_action_sprite(3194, 245, 0.25, true, 0) |
68 |
break |
69 |
case 6: |
70 |
instance_destroy(obj_flowey_npc) |
71 |
cutscene_wait(1) |
72 |
break |
73 |
case 7: |
74 |
cutscene_instance_create((camera_get_view_x(view_camera[0]) + camera_get_view_width(view_camera[0]) + 40), obj_pl.y, obj_ceroba_npc) |
75 |
break |
76 |
case 8: |
77 |
cutscene_dialogue() |
78 |
with (msg) |
79 |
{ |
80 |
talker[0] = 1161 |
81 |
message[0] = "* Hey, wait up!" |
82 |
prt[0] = 370 |
83 |
} |
84 |
obj_pl.direction = 0 |
85 |
break |
86 |
case 9: |
87 |
audio_sound_gain(obj_radio.current_song, 0, 500) |
88 |
cutscene_advance() |
89 |
break |
90 |
case 10: |
91 |
cutscene_npc_walk(1161, (obj_pl.x + 40), obj_pl.y, 3, "x", "left") |
92 |
break |
93 |
case 11: |
94 |
cutscene_dialogue() |
95 |
with (msg) |
96 |
{ |
97 |
talker[0] = 1161 |
98 |
message[0] = "* I think I'm ready to# get back into things." |
99 |
message[1] = "* Lead the way." |
100 |
prt[0] = 377 |
101 |
prt[1] = 370 |
102 |
} |
103 |
break |
104 |
case 12: |
105 |
cutscene_npc_walk(1161, (obj_pl.x + 20), obj_pl.y, 3, "x", "left") |
106 |
break |
107 |
case 13: |
108 |
audio_sound_gain(obj_radio.current_song, 1, 500) |
109 |
cutscene_advance() |
110 |
break |
111 |
case 14: |
112 |
obj_pl.direction = 180 |
113 |
scr_actor_into_followerscr_actor_into_followerfunction scr_actor_into_follower(argument0, argument1) //gml_Script_scr_actor_into_follower
{
if (!instance_exists(argument0))
return false;
if (argument1 == noone)
return false;
instance_create(argument0.x, argument0.y, argument1)
argument1.x = argument0.x
argument1.y = argument0.y
with (argument0)
{
switch npc_direction
{
case "up":
argument1.sprite_index = argument1.up_sprite_idle
break
case "down":
argument1.sprite_index = argument1.down_sprite_idle
break
case "left":
argument1.sprite_index = argument1.left_sprite_idle
break
case "right":
argument1.sprite_index = argument1.right_sprite_idle
break
}
}
instance_destroy(argument0)
} (obj_ceroba_npc, obj_ceroba_follower) |
114 |
global.party_member = 1171 |
115 |
global.sworks_flag[15] = 1 |
116 |
cutscene_advance() |
117 |
break |
118 |
case 15: |
119 |
cutscene_end() |
120 |
break |
121 |
} |