|
1
|
food_marker = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (x + 4, y, spr_diner_hot_chocolate);
|
|
2
|
with (food_marker)
|
|
3
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
4
|
food_readable = instance_create(x, y, obj_readable_room1);
|
|
5
|
food_readable.image_xscale = 0.8;
|
|
6
|
steam_marker = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (x + 4, y - 12, spr_diner_food_steam);
|
|
7
|
steam_marker.image_speed = 0.08;
|
|
8
|
steam_marker.depth = food_marker.depth - 10;
|
|
9
|
steam_siner = 0;
|