1 |
con = -1; |
2 |
if (global.chapter != 2) |
3 |
{ |
4 |
instance_destroy(); |
5 |
} |
6 |
else |
7 |
{ |
8 |
var burgerpants_npc = instance_create(234, 91, obj_npc_room); |
9 |
burgerpants_npc.sprite_index = spr_burgerpants_sit_phone; |
10 |
burgerpants_npc.depth = 100; |
11 |
var napkins = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (212, 118, spr_lw_pizza_table_napkins); |
12 |
napkins.depth = burgerpants_npc.depth - 10; |
13 |
var nicecream_npc = instance_create(77, 52, obj_npc_room); |
14 |
nicecream_npc.sprite_index = spr_npc_nicecream_mop; |
15 |
with (nicecream_npc) |
16 |
scr_depth(); |
17 |
var icewolf_npc = instance_create(73, 133, obj_npc_room); |
18 |
icewolf_npc.sprite_index = spr_npc_icewolf; |
19 |
icewolf_npc.depth = 95000; |
20 |
var table_bottom = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (36, 118, spr_lw_pizza_table_a_bottom); |
21 |
table_bottom.depth = icewolf_npc.depth - 10; |
22 |
} |