|
1
|
if (global.chapter >= 2)
|
|
2
|
{
|
|
3
|
with (obj_caterpillarchara)
|
|
4
|
{
|
|
5
|
follow = 0;
|
|
6
|
visible = 0;
|
|
7
|
}
|
|
8
|
var tallhat = instance_create(185, 95, obj_npc_room);
|
|
9
|
tallhat.sprite_index = spr_npc_most_improved_1997_ch2;
|
|
10
|
var aaron = instance_create(200, 95, obj_npc_room);
|
|
11
|
aaron.sprite_index = spr_npc_aaron;
|
|
12
|
var catti_mom = instance_create(36, 74, obj_npc_room_animated);
|
|
13
|
catti_mom.sprite_index = spr_npc_catti_mom_no1;
|
|
14
|
with (catti_mom)
|
|
15
|
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));
}
} ();
|
|
16
|
var catty_dad = instance_create(42, 120, obj_npc_room);
|
|
17
|
catty_dad.sprite_index = spr_npc_catti_dad_diner;
|
|
18
|
var catti = instance_create(240, 152, obj_npc_room_animated);
|
|
19
|
catti.sprite_index = spr_npc_catty_ukelele;
|
|
20
|
catti.depth = 4000;
|
|
21
|
var jo = instance_create(240, 175, obj_npc_room);
|
|
22
|
jo.sprite_index = spr_jockington_lt;
|
|
23
|
var ficus = instance_create(55, 160, obj_npc_room);
|
|
24
|
ficus.sprite_index = spr_npc_ficus;
|
|
25
|
var diner_table = 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;
} (7, 172, bg_diner_table);
|
|
26
|
diner_table.depth = ficus.depth - 100;
|
|
27
|
var seat_back = 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;
} (236, 212, bg_diner_seat_back);
|
|
28
|
seat_back.depth = jo.depth - 100;
|
|
29
|
}
|
|
30
|
else
|
|
31
|
{
|
|
32
|
instance_destroy();
|
|
33
|
}
|