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 | } |