| 1 |
buffer = 0; |
| 2 |
active = 1; |
| 3 |
doorx = 0; |
| 4 |
open = -1; |
| 5 |
side = 0; |
| 6 |
if (room == room_fire_prelab) |
| 7 |
{ |
| 8 |
sprite_index = spr_labdoor_hang; |
| 9 |
if (global.entrance == 5) |
| 10 |
{ |
| 11 |
open = 1; |
| 12 |
doorx = 8; |
| 13 |
} |
| 14 |
if (global.flag[492 enable_alphys_date] == 1) |
| 15 |
{ |
| 16 |
instance_create(x + 0, y + 52, obj_solidsmall); |
| 17 |
active = 0; |
| 18 |
doorx = 0; |
| 19 |
} |
| 20 |
else |
| 21 |
{ |
| 22 |
instance_create(x + 0, y + 50, obj_doorCmusicfade); |
| 23 |
} |
| 24 |
} |
| 25 |
else |
| 26 |
{ |
| 27 |
side = 1; |
| 28 |
if (global.entrance == 4) |
| 29 |
{ |
| 30 |
open = 1; |
| 31 |
doorx = 8; |
| 32 |
} |
| 33 |
if (global.flag[492 enable_alphys_date] == 1) |
| 34 |
{ |
| 35 |
instance_create(x + 15, y + 51, obj_solidsmall); |
| 36 |
active = 0; |
| 37 |
doorx = 0; |
| 38 |
} |
| 39 |
else |
| 40 |
{ |
| 41 |
instance_create(x + 0, y + 50, obj_doorDmusicfade); |
| 42 |
} |
| 43 |
} |
| 44 |
con = 0; |
| 45 |
myinteract = 0; |