1 |
if live_call() |
2 |
return global.live_result; |
3 |
switch scene |
4 |
{ |
5 |
case 0: |
6 |
if (obj_pl.y <= 980) |
7 |
{ |
8 |
obj_pl.direction = 90 |
9 |
cutscene_instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
10 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(argument0, argument1) //gml_Script_scr_audio_fade_out
{
var snd = argument0
var fade_len = argument1
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len)
if instance_exists(obj_audio_fade_helper)
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd
} (obj_radio.bgm, 1000) |
11 |
} |
12 |
break |
13 |
case 1: |
14 |
cutscene_npc_walk(1168, 1140, obj_player_npc.y, 3, "x", "up") |
15 |
break |
16 |
case 2: |
17 |
cutscene_camera_move(actor_martlet.x, 930, 2) |
18 |
break |
19 |
case 3: |
20 |
cutscene_instance_create(actor_martlet.x, (actor_martlet.y - 45), obj_cutscene_ex) |
21 |
break |
22 |
case 4: |
23 |
cutscene_wait(1) |
24 |
break |
25 |
case 5: |
26 |
instance_destroy(obj_cutscene_ex) |
27 |
cutscene_npc_direction(actor_martlet, "down") |
28 |
break |
29 |
case 6: |
30 |
cutscene_wait(0.5) |
31 |
break |
32 |
case 7: |
33 |
cutscene_dialogue() |
34 |
with (msg) |
35 |
{ |
36 |
sndfnt = 102 |
37 |
message[0] = "* ...Clover?" |
38 |
message[1] = "* Clover!!! It is you!" |
39 |
message[2] = "* I can't believe it!" |
40 |
message[3] = "* Come here!" |
41 |
position = 0 |
42 |
} |
43 |
break |
44 |
case 8: |
45 |
cutscene_npc_walk(actor_martlet, 1140, (obj_pl.y - 12), 3, "y", "down") |
46 |
break |
47 |
case 9: |
48 |
obj_player_npc.image_alpha = 0 |
49 |
if cutscene_npc_action_sprite(actor_martlet, 1465, 1, false) |
50 |
obj_player_npc.image_alpha = 1 |
51 |
break |
52 |
case 10: |
53 |
cutscene_wait(1.5) |
54 |
break |
55 |
case 11: |
56 |
cutscene_dialogue() |
57 |
with (msg) |
58 |
{ |
59 |
sndfnt = 102 |
60 |
message[0] = "* I was so scared! " |
61 |
message[1] = "* This place..." |
62 |
message[2] = "* It's Snowdin right? Sure looks# like it." |
63 |
message[3] = "* I haven't the slightest clue# what's going on here." |
64 |
message[4] = "* The last thing I remember was# us talking on that rooftop..." |
65 |
message[5] = "* Oh yeah! We were going to my# house!" |
66 |
message[6] = "* I don't quite know where it is# from here but we'll search# together!" |
67 |
message[7] = "* I'm so happy I found you!" |
68 |
message[8] = "* So happy I found you." |
69 |
message[9] = "* I found you." |
70 |
} |
71 |
break |
72 |
case 12: |
73 |
cutscene_npc_action_sprite(actor_martlet, 3743, 1, true, 0) |
74 |
break |
75 |
case 13: |
76 |
cutscene_dialogue() |
77 |
with (msg) |
78 |
{ |
79 |
sndfnt = 102 |
80 |
message[0] = "* I F O U N D Y O U . " |
81 |
skippable = false |
82 |
if (cutoff >= string_length(message[message_current])) |
83 |
{ |
84 |
with (obj_martlet_npc) |
85 |
{ |
86 |
action_sprite = true |
87 |
audio_play_sound(snd_flowey_martlet_melt, 1, 0) |
88 |
sprite_index = spr_martlet_flowey_melt |
89 |
image_speed = 1 |
90 |
image_index = 0 |
91 |
obj_battle_flashback_07_controller.scene++ |
92 |
} |
93 |
} |
94 |
} |
95 |
break |
96 |
case 14: |
97 |
with (obj_martlet_npc) |
98 |
{ |
99 |
if (image_index >= (image_number - 1)) |
100 |
{ |
101 |
image_index = image_number - 1 |
102 |
image_speed = 0 |
103 |
global.dialogue_open = false |
104 |
other.scene++ |
105 |
} |
106 |
} |
107 |
break |
108 |
case 15: |
109 |
cutscene_camera_move(obj_pl.x, obj_pl.y, 1) |
110 |
break |
111 |
case 16: |
112 |
global.player_can_run = true |
113 |
instance_destroy(obj_player_npc) |
114 |
camera_set_view_target(view_camera[0], 1031) |
115 |
scr_cutscene_end() |
116 |
scr_radio_restart() |
117 |
scene++ |
118 |
break |
119 |
case 17: |
120 |
break |
121 |
} |