1 |
siner1 = 0; |
2 |
siner2 = 120; |
3 |
siner3 = 240; |
4 |
siner4 = 0; |
5 |
siner5 = 120; |
6 |
sinerx = 0; |
7 |
for (i = 0; i < 3; i += 1) |
8 |
{ |
9 |
tspr1[i] = choose(spr_trash_paperball, spr_trash_dustorb); |
10 |
trash1[i] = instance_create(x, y, obj_npc_marker); |
11 |
if (instance_exists(trash1[i])) |
12 |
{ |
13 |
trash1[i].sprite_index = tspr1[i]; |
14 |
with (trash1[i]) |
15 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
16 |
} |
17 |
} |
18 |
for (i = 0; i < 3; i += 1) |
19 |
{ |
20 |
tspr2[i] = choose(spr_trash_paperball, spr_trash_dustorb); |
21 |
trash2[i] = instance_create(x, y, obj_npc_marker); |
22 |
if (instance_exists(trash2[i])) |
23 |
{ |
24 |
trash2[i].sprite_index = tspr2[i]; |
25 |
with (trash2[i]) |
26 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
27 |
} |
28 |
} |
29 |
for (i = 0; i < 3; i += 1) |
30 |
{ |
31 |
tspr3[i] = choose(spr_trash_paperball, spr_trash_dustorb, spr_trash_paperball, spr_notepaper); |
32 |
trash3[i] = instance_create(x, y, obj_npc_marker); |
33 |
if (instance_exists(trash3[i])) |
34 |
{ |
35 |
trash3[i].sprite_index = tspr3[i]; |
36 |
with (trash3[i]) |
37 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
38 |
} |
39 |
} |
40 |
for (i = 0; i < 3; i += 1) |
41 |
{ |
42 |
tspr4[0] = choose(spr_trash_paperball); |
43 |
tspr4[1] = choose(spr_book); |
44 |
tspr4[2] = choose(spr_spaghettialone); |
45 |
trash4[i] = instance_create(x, y, obj_npc_marker); |
46 |
if (instance_exists(trash4[i])) |
47 |
{ |
48 |
trash4[i].sprite_index = tspr4[i]; |
49 |
with (trash4[i]) |
50 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
51 |
} |
52 |
} |
53 |
for (i = 0; i < 3; i += 1) |
54 |
{ |
55 |
if (global.flag[497 got_sans_room_key] < 2) |
56 |
{ |
57 |
tspr5[0] = choose(spr_trash_paperball); |
58 |
tspr5[1] = choose(spr_book); |
59 |
tspr5[2] = choose(spr_trash_takeout); |
60 |
} |
61 |
else |
62 |
{ |
63 |
tspr5[0] = choose(spr_trash_paperball); |
64 |
tspr5[2] = choose(spr_trash_takeout); |
65 |
tspr5[1] = choose(spr_book, spr_trash_paperball, spr_book, spr_tobdog_sleep_trash); |
66 |
} |
67 |
trash5[i] = instance_create(x, y, obj_npc_marker); |
68 |
if (instance_exists(trash5[i])) |
69 |
{ |
70 |
trash5[i].sprite_index = tspr5[i]; |
71 |
with (trash5[i]) |
72 |
image_speed = 0.2; |
73 |
with (trash1[i]) |
74 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
75 |
} |
76 |
} |
77 |
obj_npc_marker.visible = true; |
78 |
with (obj_npc_marker) |
79 |
{ |
80 |
if (depth < 100) |
81 |
depth = 100; |
82 |
} |