1 |
myinteract = 0; |
2 |
image_speed = 0; |
3 |
read = 0; |
4 |
tempvar = 0; |
5 |
extflag = 0; |
6 |
mydialoguer = -1; |
7 |
skip = 0; |
8 |
selfdestruct = false; |
9 |
if (global.chapter == 2) |
10 |
{ |
11 |
if (room == room_schooldoor && x >= 270 && x <= 470) |
12 |
{ |
13 |
dwt = instance_create(x, y, obj_dw_transition_interactable); |
14 |
dwt.image_xscale = image_xscale; |
15 |
dwt.image_yscale = image_yscale; |
16 |
instance_destroy(); |
17 |
} |
18 |
if (room == room_dw_city_spamton_shop_exterior) |
19 |
{ |
20 |
if (global.flag[386 visited_spamton] >= 1) |
21 |
{ |
22 |
var spamdoor = instance_create(275, 200, obj_doorw_musfade); |
23 |
spamdoor.image_xscale = 4.5; |
24 |
spamdoor.image_yscale = 4.5; |
25 |
instance_destroy(); |
26 |
} |
27 |
else |
28 |
{ |
29 |
var spamcollider = instance_create(241, 257, obj_soliddark); |
30 |
spamcollider.image_xscale = 4; |
31 |
} |
32 |
} |
33 |
if (room == room_dw_cyber_keyboard_puzzle_1) |
34 |
{ |
35 |
if (global.plot < 70) |
36 |
instance_destroy(); |
37 |
} |
38 |
if (room == room_dw_mansion_east_1f_a) |
39 |
{ |
40 |
sprite_index = spr_basement_plaque; |
41 |
visible = true; |
42 |
scr_depth(); |
43 |
} |
44 |
if (room == room_dw_mansion_lightner_hallway) |
45 |
{ |
46 |
if (x < 220 && x > 230 && global.flag[335 shovel_door_open] == 1) |
47 |
instance_destroy(); |
48 |
} |
49 |
if (room == room_dw_mansion_east_2f_transformed_new) |
50 |
visible = false; |
51 |
if (room == room_dw_mansion_east_1f_e) |
52 |
{ |
53 |
if (global.flag[339 found_basement_switch] == 1 && y < 170) |
54 |
instance_destroy(); |
55 |
} |
56 |
if (room == room_dw_mansion_darkbulb_1 || room == room_dw_mansion_darkbulb_2 || room == room_dw_mansion_darkbulb_3) |
57 |
{ |
58 |
var plaque = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (115, 110, spr_mansion_plaque_small); |
59 |
with (plaque) |
60 |
scr_depth(); |
61 |
} |
62 |
} |