1 | con = 0; |
2 | lightsoff = 0; |
3 | if (global.chapter == 1) |
4 | { |
5 | if (global.plot >= 250) |
6 | { |
7 | con = 99; |
8 | instance_destroy(); |
9 | } |
10 | else |
11 | { |
12 | global.interact = 1; |
13 | lightsoff = 1; |
14 | } |
15 | } |
16 | if (global.chapter == 2) |
17 | { |
18 | con = 50; |
19 | if (global.plot >= 9) |
20 | { |
21 | con = 99; |
22 | lightsoff = 2; |
23 | with (obj_solidblock) |
24 | { |
25 | if (x == 108) |
26 | instance_destroy(); |
27 | } |
28 | with (obj_readable_room1) |
29 | { |
30 | if (x >= 80 && x <= 210) |
31 | instance_destroy(); |
32 | } |
33 | } |
34 | } |