1 | function scr_change_room |
2 | { |
3 | if (!instance_exists(obj_transition)) |
4 | { |
5 | trn = instance_create(x, y, obj_transition) |
6 | trn.newRoom = argument0 |
7 | if instance_exists(obj_pl) |
8 | { |
9 | trn.xx = argument1 |
10 | trn.yy = argument2 |
11 | } |
12 | } |
13 | } |