|
1
|
vent_closet = 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;
} (325, 440, spr_noellehouse_vent_main_left);
|
|
2
|
vent_closet.depth = 4999;
|
|
3
|
vent_kitchen = 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;
} (585, 440, spr_noellehouse_vent_main_right);
|
|
4
|
vent_kitchen.depth = 4999;
|
|
5
|
|
|
6
|
disable_vents = function()
|
|
7
|
{
|
|
8
|
vent_closet.sprite_index = spr_noellehouse_vent_closed_cover;
|
|
9
|
with (vent_closet)
|
|
10
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
11
|
vent_kitchen.sprite_index = spr_noellehouse_vent_closed_cover;
|
|
12
|
with (vent_kitchen)
|
|
13
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
14
|
with (obj_homealone_vent_overlay)
|
|
15
|
instance_destroy();
|
|
16
|
};
|
|
17
|
|
|
18
|
var santa_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;
} (704, 486, spr_noellehouse_table);
|
|
19
|
with (santa_table)
|
|
20
|
depth = 100000;
|
|
21
|
var santa_normal = instance_create(713, 451, obj_homealone_dancing_santa);
|
|
22
|
with (santa_normal)
|
|
23
|
santa_type = 0;
|
|
24
|
santa_normal.depth = santa_table.depth - 10;
|
|
25
|
var santa_starved_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;
} (150, 486, spr_noellehouse_table);
|
|
26
|
with (santa_starved_table)
|
|
27
|
depth = 100000;
|
|
28
|
var santa_starved = instance_create(158, 451, obj_homealone_dancing_santa);
|
|
29
|
with (santa_starved)
|
|
30
|
{
|
|
31
|
santa_type = 1;
|
|
32
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
33
|
}
|
|
34
|
var santa_hyper = instance_create(468, 308, obj_homealone_dancing_santa);
|
|
35
|
with (santa_hyper)
|
|
36
|
{
|
|
37
|
santa_type = 2;
|
|
38
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
39
|
}
|
|
40
|
couch_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;
} (405, 512, spr_noellehouse_main_couch_big);
|
|
41
|
with (couch_marker)
|
|
42
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
43
|
if (global.plot >= 50 && global.plot < 95)
|
|
44
|
{
|
|
45
|
with (obj_doorAny)
|
|
46
|
{
|
|
47
|
if (x > 790 && y > 490)
|
|
48
|
instance_destroy();
|
|
49
|
}
|
|
50
|
}
|
|
51
|
if (global.plot >= 50 && global.plot < 55)
|
|
52
|
instance_create(0, 0, obj_ch4_PDC09);
|
|
53
|
if (global.plot < 60)
|
|
54
|
instance_create(0, 0, obj_ch4_PDC09A);
|
|
55
|
if (global.plot >= 50 && global.plot < 60)
|
|
56
|
instance_create(0, 0, obj_ch4_PDC10);
|
|
57
|
var noelle_npc = -4;
|
|
58
|
var susie_npc = -4;
|
|
59
|
if (global.plot >= 60 && global.plot <= 63)
|
|
60
|
{
|
|
61
|
noelle_npc = instance_create(497, 527, obj_npc_room);
|
|
62
|
noelle_npc.normalanim = 4;
|
|
63
|
noelle_npc.sprite_index = spr_noelle_walk_up_lw;
|
|
64
|
noelle_npc.depth = 94140;
|
|
65
|
noelle_npc.extflag = "phone_look_noelle";
|
|
66
|
susie_npc = instance_create(473, 530, obj_npc_room);
|
|
67
|
susie_npc.normalanim = 4;
|
|
68
|
susie_npc.sprite_index = spr_susie_walk_up_lw;
|
|
69
|
susie_npc.depth = 94150;
|
|
70
|
susie_npc.extflag = "phone_look_susie";
|
|
71
|
if (!scr_sideb_active())
|
|
72
|
{
|
|
73
|
var phone_npc = instance_create(400, 542, obj_ch4_PDC10_phone);
|
|
74
|
phone_npc.sprite_index = spr_phone_prop;
|
|
75
|
phone_npc.depth = 94475;
|
|
76
|
if (global.plot == 61)
|
|
77
|
{
|
|
78
|
with (noelle_npc)
|
|
79
|
instance_destroy();
|
|
80
|
with (susie_npc)
|
|
81
|
instance_destroy();
|
|
82
|
var susie_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;
} (430, 520, spr_susie_sit_normal);
|
|
83
|
susie_marker.depth = 94140;
|
|
84
|
var noelle_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;
} (450, 515, spr_noelle_sit_blush);
|
|
85
|
noelle_marker.depth = 94150;
|
|
86
|
}
|
|
87
|
}
|
|
88
|
else
|
|
89
|
{
|
|
90
|
noelle_npc.y = 512;
|
|
91
|
noelle_npc.sprite_index = spr_noelle_sit_blush_left;
|
|
92
|
noelle_npc.depth = 94300;
|
|
93
|
noelle_npc.extflag = "phone_look_noelle_weird";
|
|
94
|
susie_npc.y = 515;
|
|
95
|
susie_npc.sprite_index = spr_susie_sit_normal;
|
|
96
|
susie_npc.depth = 94300;
|
|
97
|
susie_npc.extflag = "phone_look_susie_weird";
|
|
98
|
}
|
|
99
|
}
|
|
100
|
if (global.plot == 61)
|
|
101
|
{
|
|
102
|
disable_vents();
|
|
103
|
instance_create(0, 0, obj_ch4_PDC10B);
|
|
104
|
}
|
|
105
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (737) == 1)
|
|
106
|
{
|
|
107
|
disable_vents();
|
|
108
|
instance_create(0, 0, obj_homealone_main_kris_closet);
|
|
109
|
if (noelle_npc == -4)
|
|
110
|
{
|
|
111
|
noelle_npc = instance_create(497, 527, obj_npc_room);
|
|
112
|
noelle_npc.normalanim = 4;
|
|
113
|
}
|
|
114
|
if (susie_npc == -4)
|
|
115
|
{
|
|
116
|
susie_npc = instance_create(473, 530, obj_npc_room);
|
|
117
|
susie_npc.normalanim = 4;
|
|
118
|
}
|
|
119
|
noelle_npc.y = 512;
|
|
120
|
noelle_npc.sprite_index = spr_noelle_sit_blush_left;
|
|
121
|
noelle_npc.depth = 94300;
|
|
122
|
susie_npc.y = 515;
|
|
123
|
susie_npc.sprite_index = spr_susie_sit_normal;
|
|
124
|
susie_npc.depth = 94300;
|
|
125
|
}
|
|
126
|
snacktray_marker = instance_create(460, 590, obj_marker_palette);
|
|
127
|
snacktray_marker.sprite_index = spr_noellehouse_platter;
|
|
128
|
snacktray_marker.depth = 93560;
|
|
129
|
if (global.plot >= 65)
|
|
130
|
{
|
|
131
|
disable_vents();
|
|
132
|
with (obj_homealone_vent_hidden)
|
|
133
|
instance_destroy();
|
|
134
|
with (obj_homealone_solid)
|
|
135
|
{
|
|
136
|
if (y >= 415 && y <= 460 && x >= 300 && x < 660)
|
|
137
|
instance_destroy();
|
|
138
|
}
|
|
139
|
door_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;
} (423, 295, spr_noellehouse_door_dess);
|
|
140
|
with (door_marker)
|
|
141
|
{
|
|
142
|
image_index = 1;
|
|
143
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
144
|
}
|
|
145
|
var door_entrance = instance_create(428, 320, obj_homealone_vent_hidden);
|
|
146
|
with (door_entrance)
|
|
147
|
{
|
|
148
|
image_xscale = 0.8;
|
|
149
|
image_yscale = 0.65;
|
|
150
|
room_name = room_lw_noellehouse_dess;
|
|
151
|
vent_name = "door";
|
|
152
|
load_type = "bottom";
|
|
153
|
}
|
|
154
|
if (global.plot == 65)
|
|
155
|
{
|
|
156
|
with (snacktray_marker)
|
|
157
|
instance_destroy();
|
|
158
|
instance_create(0, 0, obj_ch4_PDC13D);
|
|
159
|
}
|
|
160
|
if (global.plot > 65 && global.plot < 67)
|
|
161
|
{
|
|
162
|
with (snacktray_marker)
|
|
163
|
instance_destroy();
|
|
164
|
snacktray_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;
} (460, 598, spr_noellehouse_platter);
|
|
165
|
snacktray_marker.depth = 93530;
|
|
166
|
overlay = instance_create(0, 0, obj_noellehouse_basement_overlay);
|
|
167
|
with (overlay)
|
|
168
|
{
|
|
169
|
set_alpha(0.5);
|
|
170
|
set_heart_target(568);
|
|
171
|
heart_glow_show();
|
|
172
|
}
|
|
173
|
table_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;
} (470, 551, spr_noellehouse_table_tray);
|
|
174
|
table_marker.depth = 80000;
|
|
175
|
var angel_x_pos = (global.tempflag[92] == 1) ? 535 : 425;
|
|
176
|
angel_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;
} (angel_x_pos, 610, spr_noellehouse_basement_angel);
|
|
177
|
with (angel_marker)
|
|
178
|
{
|
|
179
|
depth = 80000;
|
|
180
|
image_angle = -180;
|
|
181
|
}
|
|
182
|
}
|
|
183
|
if (global.plot == 67)
|
|
184
|
{
|
|
185
|
with (snacktray_marker)
|
|
186
|
instance_destroy();
|
|
187
|
with (door_marker)
|
|
188
|
instance_destroy();
|
|
189
|
instance_create(0, 0, obj_ch4_PDC14C);
|
|
190
|
with (obj_readable_room1)
|
|
191
|
{
|
|
192
|
if (y >= 580)
|
|
193
|
instance_destroy();
|
|
194
|
}
|
|
195
|
}
|
|
196
|
}
|