1 | if (waiter == 1) |
2 | { |
3 | if instance_exists(obj_transition) |
4 | instance_destroy(obj_transition) |
5 | obj_pl.state = gml_Script_scr_frozen_state |
6 | obj_pl.image_index = 0 |
7 | obj_pl.image_speed = 0 |
8 | trn = instance_create(x, y, obj_transition) |
9 | trn.newRoom = nextroom |
10 | trn.xx = xx |
11 | trn.yy = yy |
12 | trn.new_dir = new_dir |
13 | waiter = 2 |
14 | if (global.dunes_flag[41] < 3) |
15 | { |
16 | trn.fade_in_speed = 0.05 |
17 | trn.fade_out_speed = 0.02 |
18 | } |
19 | } |