In line 35, layer need to have a number not a letter so either layer 1-4 and in line 37 and. line 49.
Save your work then look at your portal to see which layer (layer 1, layer 2 etc) is correct to the way you want it to be.
Also, in line 35, 49 and 37. when your character is entering a room write it like this. '@CHARCTERNAME enters from (left or right) to screen (left,center or right) AND CHARACTERNAME moves to layer (1-4)
1 Like