1 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (0, 0, 0, 0, 0); |
2 |
script_execute(scr_npcdir, 2); |
3 |
if (s_click == 1 && instance_exists(OBJ_WRITER)) |
4 |
{ |
5 |
if (OBJ_WRITER.stringno == 8) |
6 |
caster_free(all); |
7 |
} |
8 |
if (s_click == 1 && instance_exists(OBJ_WRITER) == 0) |
9 |
{ |
10 |
s_click = 2; |
11 |
snd_play(snd_noise); |
12 |
visible = false; |
13 |
blk = scr_markerscr_markerthismarker = instance_create(argument0, argument1, obj_npc_marker);
thismarker.visible = true;
thismarker.image_speed = 0;
thismarker.sprite_index = argument2;
return thismarker; (0, 0, spr_pixblk); |
14 |
blk.depth = -20; |
15 |
blk.image_xscale = 3000; |
16 |
blk.image_yscale = 1000; |
17 |
global.interact = 1; |
18 |
alarm[4] = 10; |
19 |
} |
20 |
if (s_click == 2) |
21 |
global.interact = 1; |
22 |
if (s_click == 3) |
23 |
{ |
24 |
snd_play(snd_noise); |
25 |
with (blk) |
26 |
instance_destroy(); |
27 |
s_click = 4; |
28 |
with (obj_mainchara) |
29 |
uncan = 0; |
30 |
global.interact = 0; |
31 |
instance_destroy(); |
32 |
} |