|
1
|
con = -1;
|
|
2
|
var bratty_door = instance_create(920, 60, obj_readable_room1);
|
|
3
|
bratty_door.image_xscale = 1.5;
|
|
4
|
with (obj_doorX)
|
|
5
|
instance_destroy();
|
|
6
|
var flower_sign = instance_create(1255, 70, obj_npc_sign);
|
|
7
|
flower_sign.sprite_index = spr_flowershop_sign;
|
|
8
|
with (flower_sign)
|
|
9
|
depth = 98700;
|
|
10
|
var sign_collider = instance_create(1250, 96, obj_solidblock);
|
|
11
|
sign_collider.image_xscale = 2;
|
|
12
|
sign_collider.image_yscale = 1.1;
|
|
13
|
var froggit_npc = instance_create(1050, 190, obj_npc_room);
|
|
14
|
froggit_npc.sprite_index = spr_smallfrog;
|
|
15
|
with (froggit_npc)
|
|
16
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
17
|
var rabbit_npc = instance_create(1135, 105, obj_npc_room);
|
|
18
|
rabbit_npc.sprite_index = spr_npc_bunbun;
|
|
19
|
with (rabbit_npc)
|
|
20
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
21
|
var mw_npc = instance_create(1295, 105, obj_npc_room);
|
|
22
|
mw_npc.sprite_index = spr_npc_mikewazowski;
|
|
23
|
with (mw_npc)
|
|
24
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|