1 |
if (global.sworks_flag[29] == 0) |
2 |
{ |
3 |
if (obj_pl.x < 980) |
4 |
{ |
5 |
instance_create_depth((obj_pl.x + 10), 168, obj_pl.depth, obj_steamworks_34_flowey_disappear) |
6 |
global.sworks_flag[29] = 1 |
7 |
} |
8 |
} |
9 |
switch scene |
10 |
{ |
11 |
case 0: |
12 |
if (obj_pl.x <= (obj_determination.x + 15)) |
13 |
{ |
14 |
cutscene_advance() |
15 |
obj_determination.image_alpha = 0 |
16 |
var flowey_npc = instance_create(obj_determination.x, obj_determination.y, obj_flowey_npc) |
17 |
flowey_npc.action_sprite = true |
18 |
flowey_npc.sprite_index = spr_floweyrise |
19 |
flowey_npc.image_speed = 0.2 |
20 |
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
} () |
21 |
obj_pl.direction = 90 |
22 |
} |
23 |
break |
24 |
case 1: |
25 |
if (obj_flowey_npc.image_index >= (obj_flowey_npc.image_number - 1)) |
26 |
{ |
27 |
obj_flowey_npc.action_sprite = false |
28 |
cutscene_advance() |
29 |
} |
30 |
break |
31 |
case 2: |
32 |
cutscene_dialogue() |
33 |
with (msg) |
34 |
{ |
35 |
talker[0] = 3194 |
36 |
message[0] = "* Howdy!" |
37 |
message[1] = "* Looks like things are# heating up!" |
38 |
message[2] = "* Literally, that is." |
39 |
message[3] = "* Since you shut the bots# down, it should be an# easy stroll to the exit." |
40 |
prt[0] = 348 |
41 |
prt[1] = 347 |
42 |
prt[2] = 353 |
43 |
prt[3] = 348 |
44 |
if (global.dunes_flag[51] == 2) |
45 |
{ |
46 |
message[4] = "* Good luck, Clover." |
47 |
prt[4] = 348 |
48 |
} |
49 |
else |
50 |
{ |
51 |
message[4] = "* But just in case, I'd# like to give you a# little gift..." |
52 |
message[5] = "* From your best friend." |
53 |
prt[4] = 348 |
54 |
prt[5] = 3251 |
55 |
} |
56 |
} |
57 |
break |
58 |
case 3: |
59 |
if (global.dunes_flag[51] == 2) |
60 |
cutscene_advance(6) |
61 |
else |
62 |
{ |
63 |
instance_create_depth(370, 124, 0, obj_steamworks_34_pellets) |
64 |
cutscene_advance() |
65 |
} |
66 |
break |
67 |
case 4: |
68 |
cutscene_wait(1.5) |
69 |
break |
70 |
case 5: |
71 |
cutscene_dialogue() |
72 |
with (msg) |
73 |
{ |
74 |
talker[0] = 3194 |
75 |
message[0] = "* I think it's time you# try your hand at# wielding the pellets." |
76 |
message[1] = "* Sure, you could use# rubber, silver, nails,# whatever." |
77 |
message[2] = "* But these are# the real deal." |
78 |
message[3] = "* It's fully up to you# but I just wanted to let# you know..." |
79 |
message[4] = "* ...Our partnership# means a lot to me." |
80 |
message[5] = "* Good luck, Clover." |
81 |
prt[0] = 348 |
82 |
prt[1] = 349 |
83 |
prt[2] = 349 |
84 |
prt[3] = 347 |
85 |
prt[4] = 3251 |
86 |
prt[5] = 348 |
87 |
} |
88 |
break |
89 |
case 6: |
90 |
scr_determine_save_areascr_determine_save_areafunction scr_determine_save_area() //gml_Script_scr_determine_save_area
{
var current_room = room_get_name(room)
switch current_room
{
case "rm_darkruins_03":
current_save_number = 1
global.saveroom = "Dark Ruins - Entrance"
break
case "rm_darkruins_08":
current_save_number = 2
global.saveroom = "Dark Ruins - Atrium"
break
case "rm_darkruins_10":
current_save_number = 3
global.saveroom = "Dark Ruins - Cliff"
break
case "rm_darkruins_12":
current_save_number = 4
global.saveroom = "Dark Ruins - Puzzle"
break
case "rm_darkruins_16":
current_save_number = 5
global.saveroom = "Dark Ruins - Hall"
break
case "rm_snowdin_03_yellow":
current_save_number = 1
global.saveroom = "Snowdin - Delta Rock"
break
case "rm_snowdin_08_yellow":
current_save_number = 2
global.saveroom = "Snowdin - Ruined Shack"
break
case "rm_snowdin_12_yellow":
current_save_number = 3
global.saveroom = "Snowdin - Pathway"
break
case "rm_snowdin_14_yellow":
current_save_number = 4
global.saveroom = "Snowdin - Resort"
break
case "rm_snowdin_20_yellow":
current_save_number = 5
global.saveroom = "Snowdin - Corridor"
break
case "rm_dunes_02":
current_save_number = 1
global.saveroom = "Dunes - Cave"
break
case "rm_dunes_08":
current_save_number = 2
global.saveroom = "Dunes - Tree"
break
case "rm_dunes_14":
current_save_number = 3
global.saveroom = "Mines - Elevator"
break
case "rm_dunes_20":
current_save_number = 4
global.saveroom = "Mines - Minecart"
break
case "rm_dunes_25":
current_save_number = 5
global.saveroom = "Dunes - Mountaintop"
break
case "rm_dunes_28":
current_save_number = 6
global.saveroom = "Dunes - Playground"
break
case "rm_dunes_34":
current_save_number = 7
global.saveroom = "Dunes - Well"
break
case "rm_dunes_37":
current_save_number = 8
global.saveroom = "Wild East - Town"
break
case "rm_dunes_39":
current_save_number = 9
global.saveroom = "Wild East - Outskirts"
break
case "rm_dunes_41":
current_save_number = 10
global.saveroom = "Wild East - Sunnyside"
break
case "rm_steamworks_05":
current_save_number = 11
global.saveroom = "Steamw. - Generator"
break
case "rm_steamworks_09":
current_save_number = 12
global.saveroom = "Steamw. - Raised Path"
break
case "rm_steamworks_15":
current_save_number = 13
global.saveroom = "Steamw. - Lake"
break
case "rm_steamworks_19":
current_save_number = 14
global.saveroom = "Steamw. - Offices"
break
... () |
91 |
global.sworks_flag[29] = 2 |
92 |
instance_create(((__view_get((0 << 0), 0)) + 160), ((__view_get((1 << 0), 0)) + 120), obj_savebox) |
93 |
cutscene_advance() |
94 |
break |
95 |
case 7: |
96 |
if (!instance_exists(obj_savebox)) |
97 |
cutscene_advance() |
98 |
break |
99 |
case 8: |
100 |
cutscene_npc_action_sprite(3194, 245, 0.2, true, 0) |
101 |
break |
102 |
case 9: |
103 |
instance_destroy(obj_flowey_npc) |
104 |
obj_determination.image_alpha = 1 |
105 |
cutscene_end() |
106 |
break |
107 |
} |