1 |
scene = 0 |
2 |
cutscene_timer = 0 |
3 |
cutscene_music = 0 |
4 |
audio_sound_gain(mus_wind, 1, 0) |
5 |
wind_sound = audio_play_sound(mus_wind, 1, 1) |
6 |
audio_sound_pitch(wind_sound, 0.5) |
7 |
if (global.route == 3) |
8 |
{ |
9 |
scene = -1 |
10 |
return; |
11 |
} |
12 |
if (global.dunes_flag[39] == 1) |
13 |
{ |
14 |
scene = -1 |
15 |
return; |
16 |
} |
17 |
if (global.dunes_flag[24] == 2) |
18 |
{ |
19 |
scene = -1 |
20 |
instance_create(0, 0, obj_cutscene_starlo_post_fight_neutral) |
21 |
return; |
22 |
} |
23 |
else if (global.dunes_flag[24] == 1 && global.route == 1) |
24 |
{ |
25 |
scene = -1 |
26 |
instance_create(0, 0, obj_cutscene_starlo_post_fight_neutral_alive) |
27 |
return; |
28 |
} |
29 |
var actor_starlo = instance_create(160, 80, obj_starlo_npc) |
30 |
with (actor_starlo) |
31 |
{ |
32 |
up_sprite = 207 |
33 |
right_sprite = 237 |
34 |
down_sprite = 240 |
35 |
left_sprite = 236 |
36 |
up_sprite_idle = 206 |
37 |
right_sprite_idle = 235 |
38 |
down_sprite_idle = 230 |
39 |
left_sprite_idle = 232 |
40 |
} |
41 |
if (global.dunes_flag[24] != 0) |
42 |
{ |
43 |
scene = 17 |
44 |
actor_clover = instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
45 |
actor_ceroba = instance_create(obj_pl.x, (obj_pl.y + 80), obj_ceroba_npc) |
46 |
actor_ceroba.npc_direction = "up" |
47 |
__view_set((9 << 0), 0, actor_starlo) |
48 |
} |
49 |
else |
50 |
{ |
51 |
actor_starlo.action_sprite = true |
52 |
actor_starlo.sprite_index = spr_starlo_up_wind |
53 |
actor_starlo.image_speed = 0.25 |
54 |
} |