1 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (0, 0, 0, 0, 0); |
2 |
scr_npc_animscr_npc_animtt = 0;
if (myinteract == 3)
{
if (instance_exists(OBJ_WRITER))
{
image_speed = 0.2;
if (OBJ_WRITER.halt != 0)
tt = 1;
}
else
{
tt = 1;
}
}
if (tt == 1)
{
image_speed = 0;
image_index = 0;
} (); |
3 |
image_alpha = 0; |
4 |
dist = distance_to_object(obj_mainchara); |
5 |
if (dist < 20) |
6 |
{ |
7 |
if (played == 0 && global.flag[94 current_napstablook_song] == 0) |
8 |
{ |
9 |
caster_loop(global.currentsong, 0.8, 0.5); |
10 |
played = 1; |
11 |
} |
12 |
disto = 10 / (dist + 1); |
13 |
if (disto > 1) |
14 |
disto = 1; |
15 |
image_alpha = disto; |
16 |
} |