1 |
switch scene |
2 |
{ |
3 |
case 0: |
4 |
if global.dialogue_open |
5 |
return; |
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 |
cutscene_wait(1.5) |
8 |
break |
9 |
case 1: |
10 |
instance_create(300, 170, obj_flowey_npc) |
11 |
obj_flowey_npc.action_sprite = true |
12 |
obj_flowey_npc.sprite_index = spr_floweyrise |
13 |
obj_flowey_npc.image_speed = 0.2 |
14 |
obj_flowey_npc.npc_direction = "left" |
15 |
obj_pl.direction = 0 |
16 |
cutscene_advance() |
17 |
break |
18 |
case 2: |
19 |
if (obj_flowey_npc.image_index >= (obj_flowey_npc.image_number - 1)) |
20 |
{ |
21 |
obj_flowey_npc.image_speed = 0 |
22 |
obj_flowey_npc.action_sprite = false |
23 |
cutscene_advance() |
24 |
} |
25 |
break |
26 |
case 3: |
27 |
cutscene_dialogue() |
28 |
with (msg) |
29 |
{ |
30 |
talker[0] = 3194 |
31 |
message[0] = "* Well done, Clover! That# stuff might just melt# the lock!" |
32 |
message[1] = "* Make sure to be extra# careful handling it!" |
33 |
prt[0] = 348 |
34 |
prt[1] = 357 |
35 |
} |
36 |
break |
37 |
case 4: |
38 |
cutscene_wait(0.5) |
39 |
break |
40 |
case 5: |
41 |
if cutscene_npc_action_sprite_reverse(3194, 242, 0.15, true, 0) |
42 |
{ |
43 |
global.sworks_flag[25] = 4 |
44 |
instance_destroy(obj_flowey_npc) |
45 |
cutscene_end() |
46 |
} |
47 |
break |
48 |
} |