1 | customcon = 0; |
2 | con = 0; |
3 | destroyme = 0; |
4 | if (global.chapter != 2 || global.plot >= 20) |
5 | { |
6 | destroyme = 1; |
7 | } |
8 | else if (global.plot < 20) |
9 | { |
10 | with (obj_npc_facing) |
11 | instance_destroy(); |
12 | with (obj_npc_room) |
13 | instance_destroy(); |
14 | con = 1; |
15 | global.interact = 1; |
16 | foreground = layer_get_id_at_depth(5000); |
17 | layer_depth(foreground[0], 900000); |
18 | } |
19 | if (destroyme == 1) |
20 | instance_destroy(); |
21 | drawdoor = 1; |
22 | darkbg = 0; |
23 | depth = 100000; |
24 | xsin = 0; |
25 | siner = 0; |
26 | amt = 0; |