1 |
if (room == room_ruins2) |
2 |
{ |
3 |
if (!instance_exists(obj_persistentfader)) |
4 |
{ |
5 |
trophy_unlock("ruins"); |
6 |
instance_destroy(); |
7 |
} |
8 |
} |
9 |
else if (room == room_ruins12A) |
10 |
{ |
11 |
if (!instance_exists(obj_persistentfader) && obj_mainchara.x >= 100) |
12 |
{ |
13 |
trophy_unlock("mouse"); |
14 |
instance_destroy(); |
15 |
} |
16 |
} |
17 |
else if (room == room_tundra_spaghetti) |
18 |
{ |
19 |
if (!instance_exists(obj_persistentfader) && obj_mainchara.x >= 130) |
20 |
{ |
21 |
trophy_unlock("spaghetti"); |
22 |
instance_destroy(); |
23 |
} |
24 |
} |
25 |
else if (room == room_water1) |
26 |
{ |
27 |
if (!instance_exists(obj_persistentfader) && global.screen_border_dynamic_fade_level == 0) |
28 |
{ |
29 |
trophy_unlock("water"); |
30 |
instance_destroy(); |
31 |
} |
32 |
} |
33 |
else if (room == room_fire5) |
34 |
{ |
35 |
if (!instance_exists(obj_persistentfader)) |
36 |
{ |
37 |
trophy_unlock("fire"); |
38 |
instance_destroy(); |
39 |
} |
40 |
} |
41 |
else if (room == room_fire_elevator_l2 || room == room_fire_elevator_r2) |
42 |
{ |
43 |
if (!instance_exists(obj_persistentfader)) |
44 |
{ |
45 |
trophy_unlock("fire_2"); |
46 |
instance_destroy(); |
47 |
} |
48 |
} |
49 |
else if (room == room_fire_elevator_l3 || room == room_fire_elevator_r3) |
50 |
{ |
51 |
if (!instance_exists(obj_persistentfader)) |
52 |
{ |
53 |
trophy_unlock("fire_2"); |
54 |
trophy_unlock("fire_3"); |
55 |
instance_destroy(); |
56 |
} |
57 |
} |
58 |
else if (room == room_fire_core_premett) |
59 |
{ |
60 |
if (!instance_exists(obj_persistentfader)) |
61 |
{ |
62 |
trophy_unlock("core"); |
63 |
instance_destroy(); |
64 |
} |
65 |
} |
66 |
else |
67 |
{ |
68 |
instance_destroy(); |
69 |
} |