|
1
|
if (room == room_dw_mansion_krisroom)
|
|
2
|
{
|
|
3
|
var bathbombs = instance_create(120, 152, obj_npc_room);
|
|
4
|
bathbombs.sprite_index = spr_dw_mansion_room_kris_bathbomb;
|
|
5
|
with (bathbombs)
|
|
6
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
7
|
var jongler = instance_create(124, 323, obj_npc_room_animated);
|
|
8
|
jongler.sprite_index = spr_dw_mansion_room_kris_book_juggling;
|
|
9
|
with (jongler)
|
|
10
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
11
|
var tutoriel = instance_create(448, 326, obj_npc_room_animated);
|
|
12
|
tutoriel.sprite_index = spr_dw_mansion_room_kris_toriel_piano;
|
|
13
|
with (tutoriel)
|
|
14
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
15
|
if (global.lang == "en")
|
|
16
|
{
|
|
17
|
var tutorial = instance_create(378, 326, obj_npc_room_animated);
|
|
18
|
tutorial.sprite_index = spr_dw_mansion_room_kris_toriel_piano;
|
|
19
|
with (tutorial)
|
|
20
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
21
|
}
|
|
22
|
var jello = instance_create(124, 275, obj_npc_room_animated);
|
|
23
|
jello.sprite_index = spr_dw_mansion_room_kris_knife_jello;
|
|
24
|
with (jello)
|
|
25
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
26
|
var calendar = instance_create(199, 345, obj_npc_room_animated);
|
|
27
|
calendar.sprite_index = spr_dw_mansion_room_kris_calendar;
|
|
28
|
with (calendar)
|
|
29
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
30
|
var casette = instance_create(470, 266, obj_npc_room_animated);
|
|
31
|
casette.sprite_index = spr_dw_mansion_room_kris_casette_floating;
|
|
32
|
casette.depth = 500000;
|
|
33
|
if (global.plot >= 100)
|
|
34
|
{
|
|
35
|
var computer = instance_create(130, 24, obj_npc_room);
|
|
36
|
computer.sprite_index = spr_dw_mansion_room_kris_monitor;
|
|
37
|
with (computer)
|
|
38
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
39
|
var talktube = instance_create(437, 150, obj_npc_sign);
|
|
40
|
talktube.sprite_index = spr_dw_mansion_room_kris_talk_tube;
|
|
41
|
talktube.image_speed = 0;
|
|
42
|
with (talktube)
|
|
43
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
44
|
}
|
|
45
|
}
|
|
46
|
if (room == room_dw_mansion_susieroom)
|
|
47
|
{
|
|
48
|
var book = instance_create(138, 335, obj_npc_room_animated);
|
|
49
|
book.sprite_index = spr_dw_mansion_room_susie_book_vacuum;
|
|
50
|
with (book)
|
|
51
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
52
|
var egg = instance_create(142, 282, obj_npc_room);
|
|
53
|
egg.sprite_index = spr_dw_mansion_room_susie_easter_egg;
|
|
54
|
with (egg)
|
|
55
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
56
|
var glitch = instance_create(447, 200, obj_npc_room_animated);
|
|
57
|
glitch.sprite_index = spr_dw_mansion_room_susie_glitch;
|
|
58
|
with (glitch)
|
|
59
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
60
|
var computer = instance_create(130, 26, obj_npc_room);
|
|
61
|
computer.sprite_index = spr_dw_mansion_room_susie_computer;
|
|
62
|
with (computer)
|
|
63
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
64
|
var game = instance_create(368, 330, obj_npc_room_animated);
|
|
65
|
game.sprite_index = spr_dw_mansion_room_susie_video_game;
|
|
66
|
with (game)
|
|
67
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
68
|
var gamebroke = instance_create(450, 302, obj_npc_room_animated);
|
|
69
|
gamebroke.sprite_index = spr_dw_mansion_room_susie_video_game_broken;
|
|
70
|
with (gamebroke)
|
|
71
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
72
|
var talktube = instance_create(124, 168, obj_npc_room);
|
|
73
|
talktube.sprite_index = spr_dw_mansion_room_susie_talk_tube;
|
|
74
|
with (talktube)
|
|
75
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
76
|
}
|