1 |
if (global.route != 1 || instance_exists(obj_credits_final_neutral)) |
2 |
{ |
3 |
instance_destroy() |
4 |
return; |
5 |
} |
6 |
with (instance_create_depth(205, 300, 0, obj_martlet_npc)) |
7 |
{ |
8 |
can_walk = false |
9 |
up_sprite = 3617 |
10 |
right_sprite = 3143 |
11 |
down_sprite = 2486 |
12 |
left_sprite = 3622 |
13 |
up_sprite_idle = 2324 |
14 |
right_sprite_idle = 3294 |
15 |
down_sprite_idle = 3564 |
16 |
left_sprite_idle = 1469 |
17 |
npc_direction = "up" |
18 |
} |
19 |
scene = 0 |
20 |
cutscene_timer = 0 |
21 |
cutscene_music = snd_ceroba_staff_lock |
22 |
clover_shake = false |
23 |
draw_alpha = 0 |
24 |
draw_alpha_white = 0 |
25 |
draw_clover_yellow_alpha = 0 |
26 |
global.player_can_run = false |
27 |
if (global.hotland_flag[12] == 1) |
28 |
{ |
29 |
scene = 60 |
30 |
obj_pl.image_alpha = 0 |
31 |
obj_pl.x = obj_martlet_npc.x |
32 |
obj_pl.y = obj_martlet_npc.y + 60 |
33 |
instance_create(obj_martlet_npc.x, (obj_martlet_npc.y + 20), obj_flowey_npc) |
34 |
obj_flowey_npc.image_alpha = 0 |
35 |
instance_destroy(obj_martlet_npc) |
36 |
draw_alpha = 1 |
37 |
cutscene_music = audio_play_sound(mus_missing_inaction, 1, 0) |
38 |
audio_sound_set_track_position(cutscene_music, 15) |
39 |
audio_sound_gain(cutscene_music, 0, 0) |
40 |
audio_sound_gain(cutscene_music, 1, 500) |
41 |
} |