1 | if (live_call()) |
2 | return global.live_result; |
3 | var door = instance_create_depth(100, 160, -100, obj_doorway); |
4 | with (door) |
5 | { |
6 | image_xscale = 2.5; |
7 | image_yscale = 1.25; |
8 | nextroom = 238; |
9 | xx = 200; |
10 | yy = 150; |
11 | } |
12 | layer_set_visible("door_open", true); |
13 | var wall = instance_position(120, 170, obj_wall); |
14 | instance_destroy(wall); |