1 |
switch scene |
2 |
{ |
3 |
case 0: |
4 |
instance_create(obj_pl.x, (obj_pl.y + 30), obj_flowey_npc) |
5 |
obj_flowey_npc.action_sprite = true |
6 |
obj_flowey_npc.sprite_index = spr_floweyrise |
7 |
obj_flowey_npc.image_speed = 0.2 |
8 |
cutscene_advance() |
9 |
break |
10 |
case 1: |
11 |
if (obj_flowey_npc.image_index >= (obj_flowey_npc.image_number - 1)) |
12 |
{ |
13 |
obj_flowey_npc.image_speed = 0 |
14 |
obj_flowey_npc.action_sprite = false |
15 |
cutscene_advance() |
16 |
} |
17 |
break |
18 |
case 2: |
19 |
cutscene_npc_direction(obj_flowey_npc, "up") |
20 |
break |
21 |
case 3: |
22 |
cutscene_dialogue() |
23 |
with (msg) |
24 |
{ |
25 |
talker[0] = 3194 |
26 |
message[0] = "* Hey! That's a real# piece of art you made# there!" |
27 |
message[1] = "* Give it a go!" |
28 |
prt[0] = 348 |
29 |
prt[1] = 348 |
30 |
} |
31 |
break |
32 |
case 4: |
33 |
cutscene_instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
34 |
break |
35 |
case 5: |
36 |
cutscene_wait(0.75) |
37 |
break |
38 |
case 6: |
39 |
cutscene_npc_walk(1168, 150, obj_player_npc.y, 2, "x", "up") |
40 |
break |
41 |
case 7: |
42 |
cutscene_wait(1) |
43 |
break |
44 |
case 8: |
45 |
audio_play_sound(snd_sliding_door_open, 1, 0) |
46 |
layer_set_visible("door_visible", false) |
47 |
cutscene_advance() |
48 |
break |
49 |
case 9: |
50 |
cutscene_wait(1) |
51 |
break |
52 |
case 10: |
53 |
cutscene_dialogue() |
54 |
with (msg) |
55 |
{ |
56 |
talker[0] = 3194 |
57 |
message[0] = "* Wouldja look at that!# Worked like a charm." |
58 |
message[1] = "* I might have to# personally commission# you someday, haha!" |
59 |
prt[0] = 348 |
60 |
prt[1] = 3251 |
61 |
} |
62 |
break |
63 |
case 11: |
64 |
cutscene_wait(0.5) |
65 |
break |
66 |
case 12: |
67 |
if cutscene_npc_action_sprite_reverse(3194, 242, 0.4, true, 0) |
68 |
{ |
69 |
instance_destroy(105301) |
70 |
instance_destroy(105300) |
71 |
instance_destroy(obj_flowey_npc) |
72 |
cutscene_end() |
73 |
global.sworks_flag[26] = 2 |
74 |
} |
75 |
break |
76 |
} |