1 |
timer += 1; |
2 |
if (timer < 150) |
3 |
{ |
4 |
if (image_alpha < 1) |
5 |
image_alpha += 0.02; |
6 |
} |
7 |
if (timer == 150) |
8 |
{ |
9 |
sepiaebott = instance_create(x, y, obj_npc_marker); |
10 |
sepiaebott.image_xscale = 2; |
11 |
sepiaebott.image_yscale = 2; |
12 |
sepiaebott.image_speed = 0; |
13 |
sepiaebott.image_index = 1; |
14 |
sepiaebott.sprite_index = sprite_index; |
15 |
sepiaebott.depth = depth + 10; |
16 |
sepiaebott.visible = true; |
17 |
} |
18 |
if (timer >= 150 && timer <= 250) |
19 |
image_alpha -= 0.01; |
20 |
if (timer >= 300 && timer <= 700) |
21 |
{ |
22 |
offer += 1; |
23 |
if (offer == 4) |
24 |
{ |
25 |
view_yview[0] += 1; |
26 |
offer = 0; |
27 |
} |
28 |
} |
29 |
if (timer == 560) |
30 |
n_active = 1; |
31 |
n_index += 1; |
32 |
if (n_timer >= 140) |
33 |
{ |
34 |
caster_free(all); |
35 |
room_goto(room_creditsdodger Pacifist credits - Special Thanks [Dogchecked]); |
36 |
} |
37 |
caster_set_volume(s8, 1 - n_alpha); |
38 |
caster_set_volume(noise, n_alpha); |
39 |
audio_sound_gain(mus_f_noise, 0.9, 1); |
40 |
if (n_active == 1) |
41 |
n_timer += 1; |