1 | if (room == rm_dunes_elevator) |
2 | { |
3 | with (obj_pl) |
4 | { |
5 | direction = 270 |
6 | image_alpha = 1 |
7 | if (global.dunes_flag[4] >= 3 && global.party_member == noone) |
8 | x = 165 |
9 | else |
10 | x = 150 |
11 | if (global.party_member != noone) |
12 | { |
13 | if (!instance_exists(global.party_member)) |
14 | instance_create(180, 130, global.party_member) |
15 | with (global.party_member) |
16 | { |
17 | x = 180 |
18 | y = 130 |
19 | dir_new[1] = 270 |
20 | } |
21 | } |
22 | y = 130 |
23 | } |
24 | alarm[0] = 30 |
25 | } |