|
1
|
con = -1;
|
|
2
|
var dojo_npc = instance_create(290, 220, obj_npc_dojo);
|
|
3
|
with (dojo_npc)
|
|
4
|
{
|
|
5
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
6
|
image_xscale = 2;
|
|
7
|
image_yscale = 2;
|
|
8
|
}
|
|
9
|
var puzzle_master_npc = instance_create(130, 80, obj_npc_puzzlemaster2);
|
|
10
|
with (puzzle_master_npc)
|
|
11
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
12
|
var desk_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;
} (84, 112, bg_dw_dojo_help_desk);
|
|
13
|
desk_marker.depth = puzzle_master_npc.depth - 10;
|
|
14
|
var desk_collider = instance_create(84, 115, obj_soliddark);
|
|
15
|
desk_collider.image_xscale = 4;
|
|
16
|
desk_collider.image_yscale = 1.5;
|
|
17
|
var help_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;
} (115, 30, bg_dw_dojo_help);
|
|
18
|
with (help_marker)
|
|
19
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
20
|
var clover_npc = instance_create(370, 248, obj_npc_room);
|
|
21
|
clover_npc.sprite_index = spr_clubs_idle;
|
|
22
|
with (clover_npc)
|
|
23
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
24
|
var blockguy_npc = instance_create(480, 78, obj_npc_room);
|
|
25
|
blockguy_npc.sprite_index = spr_blockguy_idleFriendly;
|
|
26
|
with (blockguy_npc)
|
|
27
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
28
|
if (global.flag[640 recruit_www] != 1 || global.plot < 200)
|
|
29
|
{
|
|
30
|
var pippins_npc = instance_create(472, 200, obj_npc_room);
|
|
31
|
pippins_npc.sprite_index = spr_npc_pippins;
|
|
32
|
with (pippins_npc)
|
|
33
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
34
|
}
|
|
35
|
else
|
|
36
|
{
|
|
37
|
var were_npc = instance_create(452, 220, obj_npc_room);
|
|
38
|
were_npc.sprite_index = spr_werewerewire_idle;
|
|
39
|
with (were_npc)
|
|
40
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
41
|
}
|